:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --white: #fffefa;
  --ink: #172831;
  --quiet: #4e5b60;
  --blue: #135688;
  --navy: #102e45;
  --copper: #855139;
  --rule: #dedcd3;
  --blue-paper: #eaf2f7;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font-size: 16px; line-height: 1.6; background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #986142; outline-offset: 4px; }
.shell { width: min(calc(100% - 44px), 1060px); margin-inline: auto; }
.topbar, .footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar { min-height: 76px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; }
.brand span, .footer > span { color: var(--blue); font-weight: 800; letter-spacing: .12em; }
.brand img { object-fit: contain; }
.topbar .brand { flex-shrink: 0; white-space: nowrap; }
.topbar-tagline { color: var(--blue); font-size: clamp(.8rem, 3.6vw, 1rem); font-weight: 650; line-height: 1.3; text-align: right; }
.draft { font-size: .74rem; font-weight: 650; color: var(--copper); border: 1px solid #dbcbbf; border-radius: 30px; padding: 3px 10px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { line-height: 1.13; letter-spacing: -.045em; }
h1 { font-size: clamp(2.1rem, 4.55vw, 3.3rem); }
h1 em { color: var(--blue); font-style: normal; }
h2 { font-size: clamp(1.82rem, 3.7vw, 2.75rem); }
h3 { font-size: 1.09rem; line-height: 1.35; }
.hero { background: #142c3a; color: #fffaf1; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(22px, 5vw, 68px);
}
.hero-copy { padding: clamp(40px, 6vw, 76px) 0; }
.hero h1 { font-size: clamp(2.15rem, 4.8vw, 3.85rem); }
.hero h1 em { color: #f0c69d; }
.hero-copy > p:not(.eyebrow) { color: #e0e8ec; margin-top: 15px; max-width: 42ch; }
.hero .primary { color: #132d3d; background: #f0c69d; }
.hero .primary:hover { background: #f8d6b4; }
.hero .secondary { color: #fffaf1; background: transparent; border-color: #a3b5bf; }
.hero .secondary:hover { background: #ffffff15; }
.hero-image { background: #244155; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.intro { color: var(--quiet); margin-top: 12px; max-width: 49ch; }
.eyebrow { font-weight: 750; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); margin-bottom: 10px; }
.eyebrow > span { margin-right: 7px; }
.hero nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 21px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; border: 1px solid transparent; border-radius: 9px; padding: 9px 13px; font-size: .875rem; font-weight: 750; text-decoration: none; text-align: center; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: #0e476f; }
.secondary { border-color: #a9bac3; color: var(--blue); background: var(--white); }
.secondary:hover { background: var(--blue-paper); }
.story-section { padding-block: clamp(40px, 7vw, 88px); scroll-margin-top: 8px; }
.project-section { margin-bottom: clamp(20px, 4vw, 42px); background: #e9edf0; scroll-margin-top: 8px; }
.project-header { margin-bottom: 22px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.project-card { overflow: hidden; background: var(--white); color: var(--ink); text-decoration: none; border: 1px solid #cfd8dc; border-radius: 12px; }
.project-card:hover { border-color: var(--blue); }
.project-images { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 2px; aspect-ratio: 4 / 3; background: #d9e0e3; }
.project-images img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.project-images img:first-child { grid-row: span 2; }
.project-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; min-height: 48px; }
.project-caption span { color: var(--blue); font-size: .77rem; }
.section { padding: 38px 0; border-top: 1px solid var(--rule); scroll-margin-top: 14px; }
.discount { display: inline-block; margin-top: 9px; padding: 2px 9px; border-radius: 4px; background: #eee0d4; color: #68412f; font-size: .82rem; font-weight: 750; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.plan { border: 1px solid var(--rule); border-radius: 15px; background: var(--white); padding: clamp(13px, 3vw, 25px); box-shadow: 0 6px 18px #1728310a; }
.plan-full { background: linear-gradient(150deg, #f7fbfd, #e6eff6); border-color: #a9c0d1; }
.plan > p:not(.price) { color: var(--quiet); }
.plan .original-price { font-size: .81rem; line-height: 1.4; margin-top: 7px; }
.original-price s { white-space: nowrap; }
.price { margin: 5px 0 9px; color: var(--blue); line-height: 1.2; }
.price strong { font-size: clamp(1.48rem, 4.2vw, 2.55rem); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.price span { white-space: nowrap; font-size: .81rem; }
.checks { padding: 0; margin: 12px 0 0; list-style: none; font-size: .91rem; line-height: 1.5; }
.checks li { position: relative; padding-left: 17px; margin-top: 8px; }
.checks li::before { position: absolute; content: '✓'; left: 0; color: var(--blue); font-weight: 800; }
.plan .plan-includes { font-size: .9rem; font-weight: 700; margin-top: 12px; color: var(--ink); }
.note { color: var(--quiet); margin-top: 12px; font-size: .86rem; }
.pricing-contact { margin-top: 10px; font-size: .9rem; }
.pricing-contact a { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.samples { margin-top: 16px; border-top: 1px solid var(--rule); }
.sample-link { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 4px; min-height: 64px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.sample-link:hover { background: var(--blue-paper); }
.sample-link strong, .sample-link small { display: block; }
.sample-link small { color: var(--quiet); }
.sample-format { font-size: .8rem; font-weight: 750; color: var(--blue); white-space: nowrap; }
.index { display: grid; place-items: center; aspect-ratio: 1; border-radius: 5px; background: var(--blue-paper); color: var(--blue); font-size: .81rem; font-weight: 800; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin-top: 15px; }
.benefits article { display: flex; gap: 12px; border-bottom: 1px solid var(--rule); padding: 14px 0; }
.benefits article > span { color: var(--copper); font-size: .8rem; font-weight: 700; }
.benefits p { color: var(--quiet); margin-top: 4px; }
.contact { border-radius: 16px; background: linear-gradient(125deg, var(--navy), #1b4b68); color: #fff; padding: clamp(21px, 5vw, 38px); }
.contact .eyebrow { color: #f6c5a7; }
.contact > p:not(.eyebrow) { max-width: 53ch; margin: 9px 0 17px; color: #e1ebf2; }
.contact-button { background: #fffefa; color: var(--navy); }
.footer { padding: 22px 0 30px; font-size: .81rem; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); }
.mobile-contact { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .shell { width: calc(100% - 34px); }
  .topbar { min-height: 64px; }
  .hero-inner { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-copy { padding: 28px 17px 15px; }
  .hero h1 { font-size: clamp(1.8rem, 8.65vw, 2.75rem); }
  .project-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    padding: 3px 3px 10px;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 3px;
    scroll-snap-type: x mandatory;
  }
  .project-card { scroll-snap-align: start; }
  .section { padding: 27px 0; }
  .plan > p:not(.price), .checks { font-size: .81rem; }
  .plan h3 { font-size: 1rem; }
  .plans { gap: 8px; }
  .price span { display: inline-block; }
  .benefits { grid-template-columns: 1fr; }
  .mobile-contact { position: fixed; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--paper); border-top: 1px solid var(--rule); padding: 9px 17px calc(9px + env(safe-area-inset-bottom)); }
  .mobile-contact > span { font-size: .77rem; color: var(--quiet); }
  .mobile-contact .button { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { --reveal-x: 0px; --reveal-y: 28px; }
  [data-reveal="left"] { --reveal-x: -34px; --reveal-y: 14px; }
  [data-reveal="right"] { --reveal-x: 34px; --reveal-y: 14px; }
  [data-reveal].reveal-pending:not(:focus-within) {
    opacity: 0;
    transform: translate(var(--reveal-x), var(--reveal-y));
  }
  .reveal-enter { animation: reveal-enter 760ms cubic-bezier(.2,.7,.2,1) both; }
  @keyframes reveal-enter {
    from { opacity: 0; transform: translate(var(--reveal-x), var(--reveal-y)); }
    to { opacity: 1; transform: translate(0, 0); }
  }
  @media (max-width: 640px) {
    [data-reveal="left"] { --reveal-x: -22px; }
    [data-reveal="right"] { --reveal-x: 22px; }
  }
}
