/* =========================================================
   Atwell Built: site design system
   Brand: deepened steel-cerulean (from logo blue #0090CC),
   charcoal + cool grey, on a warm-neutral stone base.
   NOTE: the --olive* token names are kept for stability but now
   carry the brand ACCENT (steel-blue). --brand-blue is the logo's
   bright blue, used for the wordmark and small highlights.
   ========================================================= */

:root {
  --stone-50:  #F4F2ED;
  --stone-100: #EBE8E1;
  --stone-200: #DCD8CD;
  --stone-300: #C5C0B6;
  --paper:     #FBFAF7;
  --paper-2:   #F1EEE7;
  --ink:       #201D1E;
  --ink-soft:  #57544F;
  --ink-faint: #8A8880;
  --olive:     #0B6690;   /* brand accent: deepened cerulean */
  --olive-deep:#084C6B;
  --olive-tint:#E1EDF3;
  --brass:     #A9824A;   /* warm metallic counterpoint */
  --brand-blue:#0090CC;   /* logo blue */
  --line:      #DAD6CC;
  --good:      #4B7A4E;
  --warn:      #B07C24;

  --shadow-sm: 0 1px 2px rgba(26,24,25,.05), 0 8px 22px -12px rgba(26,24,25,.16);
  --shadow:    0 2px 6px rgba(26,24,25,.06), 0 22px 50px -22px rgba(26,24,25,.30);
  --shadow-lg: 0 40px 90px -34px rgba(26,24,25,.44);

  /* CONSTANT tokens: identical in both themes. Use for surfaces that must
     always read as dark, or always as brand-accent, regardless of theme. */
  --c-dark:      #1C191A;
  --c-dark-2:    #121011;
  --c-on-dark:   #DAD7CE;
  --c-on-dark-soft: rgba(218,215,206,.72);
  --c-green:     #0B6690;   /* brand accent (constant) */
  --c-green-deep:#084C6B;
  --c-cream:     #F4F1E8;

  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --sans:  system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono:  ui-monospace, 'SF Mono', Menlo, 'Cascadia Mono', Consolas, monospace;

  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 56px);
}

/* Light theme only (dark mode removed). */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration:.001ms !important; transition-duration:.001ms !important; } }
body {
  margin: 0; background: var(--stone-50); color: var(--ink);
  font-family: var(--sans); line-height: 1.65; font-size: 16.5px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; text-wrap: balance; font-weight: 400; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.wrap-wide { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }

.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--ink-faint); margin: 0;
}
.serif { font-family: var(--serif); }
.accent { color: var(--olive); }

/* ---------- buttons ---------- */
.btn, .btn-ghost, .btn-dark {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn { background: var(--olive); color: #F5F3ED; }
.btn:hover { background: var(--olive-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--olive); color: var(--olive); }
.btn-onhero { background: rgba(245,243,237,.95); color: #23271A; }
.btn-onhero:hover { background: #fff; transform: translateY(-1px); }
.btn-outhero { background: rgba(20,18,20,.28); color: #F5F3ED; border-color: rgba(245,243,237,.6); backdrop-filter: blur(2px); }
.btn-outhero:hover { border-color: #fff; background: rgba(20,18,20,.45); }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: env(safe-area-inset-top);   /* clear the iPhone Dynamic Island / notch */
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.site-header .bar { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 44px; height: 40px; flex-shrink: 0; background: url(../logo/mark.png) center/contain no-repeat; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .wm { font-family: var(--sans); font-weight: 800; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; }
.brand-word .wm b { color: var(--brand-blue); font-weight: 800; }
.brand-word .wm span { color: var(--ink); }
.brand-word .est { font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-top: 7px; }
/* reversed treatment for dark surfaces */
.brand--light .brand-mark { background-image: url(../logo/mark-light.png); }
.brand--light .brand-word .wm span { color: var(--c-cream); }
.brand--light .brand-word .est { color: var(--c-on-dark-soft); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a.lnk {
  font-family: var(--mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-soft); padding: 9px 13px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a.lnk:hover { color: var(--olive); background: var(--olive-tint); }
.nav .btn { margin-left: 10px; padding: 10px 18px; }
.theme-toggle {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; font-size: 15px;
  transition: background .2s, border-color .2s; flex-shrink: 0;
}
.theme-toggle:hover { background: var(--olive-tint); border-color: var(--olive); }
.burger { display: none; }

/* transparent-over-hero variant */
.site-header.over { color: #F3F0E8; }
.site-header.over .nav a.lnk { color: rgba(243,240,232,.82); }
.site-header.over .brand-mark { background-image: url(../logo/mark-light.png); }
.site-header.over .brand-word .wm span { color: #F4F1E8; }
.site-header.over .brand-word .est { color: rgba(243,240,232,.75); }
/* legibility scrim + shadows so the logo/nav read over any hero imagery */
.site-header.over::before {
  content: ""; position: absolute; inset: 0; height: 210%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(18,17,19,.6) 0%, rgba(18,17,19,.28) 45%, rgba(18,17,19,0) 100%);
}
.site-header.over .brand-mark { filter: drop-shadow(0 1px 7px rgba(0,0,0,.55)); }
.site-header.over .brand-word { text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.site-header.over .nav a.lnk { text-shadow: 0 1px 9px rgba(0,0,0,.45); }
.site-header.over .nav a.lnk:hover { color:#fff; background: rgba(243,240,232,.14); }
.site-header.over .theme-toggle { border-color: rgba(243,240,232,.4); }
.site-header.over .theme-toggle:hover { background: rgba(243,240,232,.14); }
.site-header.over .burger span { background:#F3F0E8; }
.site-header.solid {
  background: color-mix(in srgb, var(--stone-50) 90%, transparent);
  backdrop-filter: blur(12px); border-bottom-color: var(--line); color: var(--ink);
}
.site-header.solid .brand-mark { background-image: url(../logo/mark.png); }
.site-header.solid .brand-word .wm span { color: var(--ink); }
.site-header.solid .brand-word .est { color: var(--ink-faint); }
.site-header.solid .nav a.lnk { color: var(--ink-soft); }
.site-header.solid .theme-toggle { border-color: var(--line); }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.pad { padding: clamp(64px, 9vw, 130px) 0; }
.pad-sm { padding: clamp(48px, 6vw, 84px) 0; }
.sec-head { margin-bottom: clamp(34px, 5vw, 60px); }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head h2 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.015em; }
.sec-head h2 em { font-style: italic; color: var(--olive); }
.sec-head .sub { color: var(--ink-soft); max-width: 56ch; margin-top: 20px; font-size: 17px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,20,.42) 0%, rgba(20,18,20,.14) 30%, rgba(20,18,20,.5) 66%, rgba(20,18,20,.82) 100%);
}
.hero-inner { position: relative; color: #F4F1E8; padding-bottom: clamp(56px, 8vw, 104px); padding-top: 120px; max-width: 900px; text-shadow: 0 1px 24px rgba(20,18,20,.35); }
.hero .eyebrow { color: rgba(244,241,232,.82); }
.hero h1 {
  font-family: var(--serif); font-size: clamp(40px, 7.4vw, 88px); line-height: 1.0;
  letter-spacing: -.02em; margin: 20px 0 22px; color: #F7F4EC;
}
.hero h1 em { font-style: italic; color: #E6E1D0; }
.hero .lede { font-size: clamp(16px, 2vw, 20px); color: rgba(244,241,232,.9); max-width: 52ch; margin-bottom: 32px; }
.hero .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: calc(26px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); color: rgba(244,241,232,.7); font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll .line { width: 1px; height: 34px; background: linear-gradient(rgba(244,241,232,.7), transparent); }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { background: var(--stone-50); padding: 30px var(--gut); }
.stat .v { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: .5em; color: var(--olive); }
.stat .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-top: 12px; }

/* ---------- intro split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 6vw, 88px); align-items: center; }
.split.reverse { direction: rtl; } .split.reverse > * { direction: ltr; }
.split-media { position: relative; }
.split-media img { border-radius: 4px; box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split-media .badge { position: absolute; bottom: -22px; left: -22px; background: var(--c-green); color: var(--c-cream); padding: 18px 22px; border-radius: 4px; max-width: 220px; box-shadow: var(--shadow); }
.split-media .badge .n { font-family: var(--serif); font-size: 30px; line-height: 1; }
.split-media .badge .l { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-top: 8px; opacity: .85; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--ink-soft); font-size: 17px; }
.prose .lead { color: var(--ink); font-size: clamp(19px,2.4vw,24px); font-family: var(--serif); line-height: 1.4; margin-bottom: 22px; }
/* The global reset makes every link inherit the text colour with no underline,
   which is right for nav and cards but leaves a link inside body copy looking
   exactly like the words around it. */
.prose a { color: var(--olive); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px; transition: text-decoration-thickness .15s; }
.prose a:hover, .prose a:focus-visible { text-decoration-thickness: 2px; }

/* ---------- featured project (full-bleed image cards) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(158px, 15vw, 226px); gap: 14px; }
.fcard { position: relative; overflow: hidden; border-radius: 4px; background: var(--stone-200); height: 100%; }
.fcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.fcard:hover img { transform: scale(1.045); }
.fcard .cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 22px; color: #F4F1E8; background: linear-gradient(transparent, rgba(20,18,20,.72)); }
.fcard .cap b { font-family: var(--serif); font-size: 20px; font-weight: 400; display: block; }
.fcard .cap span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .82; }
/* mosaic: tall hero left, two stacked on the right, two across the bottom, fills the block, no gaps */
.f-hero { grid-column: 1 / 8;  grid-row: 1 / 3; }
.f-tr   { grid-column: 8 / 13; grid-row: 1; }
.f-mr   { grid-column: 8 / 13; grid-row: 2; }
.f-bl   { grid-column: 1 / 7;  grid-row: 3; }
.f-br   { grid-column: 7 / 13; grid-row: 3; }

/* ---------- services / process ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.svc { background: var(--paper); padding: clamp(26px,3vw,40px); }
.svc .n { font-family: var(--serif); font-style: italic; color: var(--olive); font-size: 18px; }
.svc h3 { font-family: var(--serif); font-size: 23px; margin: 14px 0 10px; }
.svc p { color: var(--ink-soft); font-size: 15px; }

.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); align-items: baseline; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num { font-family: var(--serif); font-size: 40px; color: var(--olive); line-height: 1; }
.step h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); max-width: 60ch; }

/* ---------- testimonial ---------- */
.quote-band { background: var(--c-green); color: var(--c-cream); }
.quote-band blockquote { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 40px); line-height: 1.32; letter-spacing: -.01em; max-width: 26ch; margin: 0; font-style: italic; }
.quote-band cite { display: block; margin-top: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-style: normal; opacity: .82; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); cursor: pointer;
  transition: all .2s;
}
.filters button:hover { border-color: var(--olive); color: var(--olive); }
.filters button.active { background: var(--c-green); color: var(--c-cream); border-color: var(--c-green); }
.gallery { columns: 3; column-gap: 14px; }
.gallery .g-item { break-inside: avoid; margin-bottom: 14px; border-radius: 4px; overflow: hidden; background: var(--stone-200); cursor: zoom-in; position: relative; display: block; }
.gallery .g-item img { width: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.gallery .g-item:hover img { transform: scale(1.04); }
.gallery .g-item .lbl { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 14px 12px; color: #F4F1E8; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; background: linear-gradient(transparent, rgba(20,18,20,.66)); opacity: 0; transition: opacity .3s; }
.gallery .g-item:hover .lbl { opacity: 1; }
.credit { margin-top: 24px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.g-hidden { display: none !important; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(12,14,9,.94); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 3px; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lb .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(244,241,232,.85); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.lb button { position: absolute; background: rgba(244,241,232,.12); border: 1px solid rgba(244,241,232,.28); color: #F4F1E8; width: 50px; height: 50px; border-radius: 999px; cursor: pointer; font-size: 20px; display: grid; place-items: center; transition: background .2s; }
.lb button:hover { background: rgba(244,241,232,.24); }
.lb .lb-close { top: calc(22px + env(safe-area-inset-top)); right: 22px; } .lb .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); } .lb .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* video block */
.video-block { position: relative; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-lg); background:#000; }
.video-block video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 6px; padding: 13px 15px; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--olive); outline-offset: 1px; border-color: var(--olive); }
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { background: var(--c-dark); color: var(--c-on-dark); padding: clamp(56px,7vw,90px) 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand-mark { background-image: url(../logo/mark-light.png); }
.site-footer .brand-word .wm span { color: #F4F1E8; } .site-footer .brand-word .est { color: rgba(218,215,206,.55); }
.site-footer p { color: rgba(217,214,201,.72); font-size: 14.5px; max-width: 34ch; margin-top: 18px; }
.footer-col h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(217,214,201,.5); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: rgba(217,214,201,.82); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--olive); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(217,214,201,.14); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(217,214,201,.5); }

/* ---------- app showcase (iPhone 17 Pro Max) ---------- */
.app-sec { background: var(--stone-100); overflow: hidden; }
.phones { display: flex; gap: clamp(16px, 3vw, 44px); justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.phone-col { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-col .plabel { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }

.iphone {
  /* true iPhone 17 Pro Max body proportions: 78 x 163.4 mm */
  width: 286px; max-width: 82vw; aspect-ratio: 780 / 1634;
  background: linear-gradient(155deg, #3c3f45 0%, #17181c 46%, #0b0c0e 100%);
  border-radius: 54px; padding: 10px; position: relative;
  box-shadow: 0 46px 88px -34px rgba(0,0,0,.55), 0 8px 20px -10px rgba(0,0,0,.4), inset 0 0 0 2px rgba(255,255,255,.06);
}
.iphone::after { content: ""; position: absolute; inset: 3px; border-radius: 50px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.09); pointer-events: none; }
.iphone .rail { position: absolute; width: 3px; border-radius: 3px; background: linear-gradient(#4a4d53,#25272b); }
.iphone .rail.v1 { left: -2px; top: 128px; height: 30px; } .iphone .rail.v2 { left: -2px; top: 172px; height: 54px; } .iphone .rail.v3 { left: -2px; top: 236px; height: 54px; }
.iphone .rail.pw { right: -2px; top: 186px; height: 74px; }
.iscreen { width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: var(--stone-50); position: relative; display: flex; flex-direction: column; }
.iisland { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 86px; height: 25px; background: #050505; border-radius: 999px; z-index: 30; }
.istatus { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 5px; position: relative; z-index: 10; }
.istatus b { font: 650 12.5px/1 var(--sans); color: var(--ink); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.istatus .sig { display: flex; align-items: center; gap: 5px; color: var(--ink); }
.istatus .sig svg { display: block; }

.iapp-top { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 6px 16px 8px; }
.iapp-top .m { width: 26px; height: 24px; background: url(../logo/mark.png) center/contain no-repeat; flex-shrink: 0; }
.iapp-top .tt { font: 800 12.5px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.iapp-top .tt b { color: var(--brand-blue); } .iapp-top .tt span { color: var(--ink); }
.iapp-top .bell { margin-left: auto; width: 28px; height: 28px; border-radius: 999px; background: var(--stone-200); position: relative; }
.iapp-top .bell::after { content: ""; position: absolute; top: 6px; right: 7px; width: 6px; height: 6px; border-radius: 999px; background: var(--olive); }
.iapp-h { font-family: var(--serif); font-size: 18px; padding: 2px 16px 8px; }
.iapp-body { flex: 1 1 auto; overflow: hidden; padding: 0 16px 8px; }
.itab { flex: 0 0 auto; display: flex; justify-content: space-around; align-items: center; padding: 11px 20px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.itab i { width: 22px; height: 22px; border-radius: 7px; background: var(--stone-300); display: block; }
.itab i.on { background: var(--olive); }

/* home screen */
.ahero { position: relative; height: 138px; border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
.ahero img { width: 100%; height: 100%; object-fit: cover; }
.ahero .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; color: #fff; background: linear-gradient(transparent, rgba(6,8,10,.74)); }
.ahero .cap b { font-family: var(--serif); font-size: 15px; font-weight: 400; display: block; }
.ahero .cap span { font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; opacity: .86; }
.aprog { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 11px; margin-bottom: 11px; }
.aprog .ring { --p: 68; width: 50px; height: 50px; border-radius: 999px; flex-shrink: 0; background: conic-gradient(var(--olive) calc(var(--p)*1%), var(--stone-200) 0); display: grid; place-items: center; }
.aprog .ring i { width: 37px; height: 37px; border-radius: 999px; background: var(--paper); display: grid; place-items: center; font: 700 11px var(--sans); font-style: normal; }
.aprog .pl b { font-size: 13px; display: block; } .aprog .pl span { font-size: 10.5px; color: var(--ink-soft); }
.atiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.atile { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 11px; display: flex; flex-direction: column; gap: 7px; }
.atile .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--olive-tint); }
.atile b { font-size: 12px; } .atile span { font-size: 8.5px; color: var(--ink-faint); font-family: var(--mono); letter-spacing: .05em; text-transform: uppercase; }

/* timeline screen */
.atl { list-style: none; margin: 0; padding: 2px 0 0; }
.atl li { display: flex; gap: 10px; padding: 8px 0; position: relative; }
.atl li::before { content: ""; position: absolute; left: 6px; top: 20px; bottom: -6px; width: 2px; background: var(--line); }
.atl li:last-child::before { display: none; }
.atl .d { width: 14px; height: 14px; border-radius: 999px; flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; font-size: 7px; color: #fff; z-index: 1; }
.atl .dn { background: var(--good); } .atl .dc { background: var(--olive); box-shadow: 0 0 0 3px var(--olive-tint); } .atl .du { background: var(--paper); border: 2px solid var(--stone-300); }
.atl .b b { font-size: 12px; } .atl .b span { display: block; font-family: var(--mono); font-size: 8px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); margin-top: 2px; }
.atl .b em { font-family: var(--mono); font-style: normal; font-size: 7px; letter-spacing: .06em; text-transform: uppercase; background: var(--olive-tint); color: var(--olive-deep); padding: 1px 6px; border-radius: 999px; margin-left: 5px; }

/* photos/updates screen */
.apush { display: flex; gap: 9px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 10px; margin-bottom: 11px; box-shadow: var(--shadow-sm); }
.apush .pi { width: 30px; height: 30px; border-radius: 8px; background: var(--olive); flex-shrink: 0; display: grid; place-items: center; }
.apush .pi::after { content: ""; width: 15px; height: 14px; background: url(../logo/mark-light.png) center/contain no-repeat; filter: brightness(0) invert(1); opacity: .95; }
.apush b { font-size: 11px; display: block; } .apush span { font-size: 10px; color: var(--ink-soft); }
.aphotos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aphotos img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 11px; }

/* other-offerings tiles */
.offer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: clamp(40px, 6vw, 72px); }
.offer { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; border-top: 2px solid var(--olive); }
.offer b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 400; margin-bottom: 5px; }
.offer span { font-size: 12.5px; color: var(--ink-soft); }
@media (max-width: 940px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------- scroll reveal + image slide ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1); transition-delay: var(--rd, 0s); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.from-l { transform: translateX(-44px); } .reveal.from-r { transform: translateX(44px); }
.reveal.from-l.in, .reveal.from-r.in { transform: none; }

/* staggered groups — children rise in sequence when the group scrolls in */
.rvg > * { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.16,1,.3,1) var(--rd, 0s), transform .8s cubic-bezier(.16,1,.3,1) var(--rd, 0s); will-change: opacity, transform; }
.rvg.in > * { opacity: 1; transform: none; }
.rvg > :nth-child(2) { --rd: .09s; } .rvg > :nth-child(3) { --rd: .18s; } .rvg > :nth-child(4) { --rd: .27s; }
.rvg > :nth-child(5) { --rd: .36s; } .rvg > :nth-child(6) { --rd: .45s; } .rvg > :nth-child(7) { --rd: .54s; }

/* images wipe + slide into place */
.reveal-img { transition: clip-path 1.05s cubic-bezier(.76,0,.24,1), transform 1.15s cubic-bezier(.16,1,.3,1); transition-delay: var(--rd, 0s); will-change: clip-path, transform; }
.reveal-img:not(.in) { clip-path: inset(0 0 0 100%); transform: translateX(28px) scale(1.05); }
.reveal-img.in { clip-path: inset(0 0 0 0); transform: none; }

/* hero slow zoom on load */
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-media img, .page-hero .hero-media img { animation: heroZoom 15s cubic-bezier(.22,.6,.24,1) both; }
@media (prefers-reduced-motion: reduce) {
  .hero-media img, .page-hero .hero-media img { animation: none; }
  .reveal, .reveal-img, .rvg > * { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; } .split.reverse { direction: ltr; }
  .split-media .badge { left: 16px; bottom: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .footer-grid > :first-child { grid-column: 1 / -1; }   /* brand full-width; Explore + Contact side by side */
  .feature-grid { grid-auto-rows: clamp(190px, 52vw, 300px); }
  .feature-grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .form-grid { grid-template-columns: 1fr; }
  .nav .lnk, .nav .btn { display: none; }
  .hero-scroll { display: none; }
  .burger { display: inline-flex; flex-direction: column; gap: 4px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; align-items: center; justify-content: center; margin-left: 8px; }
  .burger span { width: 16px; height: 1.6px; background: var(--ink); display: block; }
  .site-header.solid .burger span { background: var(--ink); }
  .mnav { position: fixed; inset: 0; z-index: 150; background: var(--stone-50); transform: translateY(-100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; padding: calc(90px + env(safe-area-inset-top)) var(--gut) calc(40px + env(safe-area-inset-bottom)); gap: 6px; }
  .mnav.open { transform: none; }
  .mnav a { font-family: var(--serif); font-size: 30px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mnav .close { position: absolute; top: calc(26px + env(safe-area-inset-top)); right: var(--gut); width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 22px; cursor: pointer; }
}
@media (min-width: 941px) { .mnav, .burger { display: none; } }
@media (max-width: 560px) {
  .gallery { columns: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; }
}
