/* =====================================================================
   Vemula Groups — site styles
   Palette: limestone, basalt and brass. Type: Bodoni Moda + Figtree.
   Mobile (< 960px) behaves like an app: top app bar, bottom tab bar,
   bottom-sheet forms, swipeable rails. Desktop is a full website.
   ===================================================================== */

:root {
  --paper: #F3F2EF;
  --paper-2: #FBFBF9;
  --stone: #E6E3DD;
  --line: #D8D4CB;
  --ink: #1A1F1C;
  --ink-2: #4B514C;
  --ink-3: #737872;
  --brass: #A6844C;
  --brass-ink: #7A5F30;
  --brass-soft: #D9C7A2;
  --moss: #2F3A2C;
  --red: #B4232B;
  --ok: #2F6B45;

  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --serif-text: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gut: 20px;
  --bar-h: 66px;
  --tab-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r-img: 4px;
  --r-card: 16px;
  --r-field: 12px;
  --shadow-lift: 0 18px 40px -22px rgba(26, 31, 28, .45);
}
@media (min-width: 960px) {
  :root { --gut: 36px; --bar-h: 92px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 960px) { body { font-size: 17px; } }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }

.only-d { display: none !important; }
@media (min-width: 960px) {
  .only-d { display: flex !important; }
  .only-m { display: none !important; }
}

/* ---------- type ---------- */
.display {
  font-family: var(--serif); font-weight: 500; letter-spacing: .01em;
  font-size: clamp(1.75rem, 2.6vw + .9rem, 3rem); line-height: 1.12;
  font-optical-sizing: auto; text-wrap: balance;
}
.display--xl   { font-size: clamp(2.2rem, 4.6vw + .6rem, 4.9rem); line-height: 1.06; letter-spacing: .005em; }
.display--hero { font-size: clamp(1.95rem, 3.4vw + .9rem, 3.9rem); line-height: 1.08; letter-spacing: .005em; }
.display--md   { font-size: clamp(1.6rem, 1.9vw + .9rem, 2.6rem); line-height: 1.12; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 1.1vw + .95rem, 2rem); line-height: 1.18; letter-spacing: .01em; text-wrap: balance; }
.h3 { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.005em; }
.lead { font-size: clamp(1.05rem, .4vw + 1rem, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.link { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brass-ink); border-bottom: 1px solid var(--brass-soft); padding-bottom: 2px; }
.link:hover { border-color: var(--brass-ink); }
.prose p { max-width: 66ch; color: var(--ink-2); }
.prose .h2, .prose .h3 { margin-bottom: 14px; }

.ic { width: 22px; height: 22px; flex: none; }
.ic--s { width: 17px; height: 17px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; letter-spacing: .005em; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: #2C332E; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { color: var(--ink-2); }
.btn--ghost:hover { color: var(--ink); background: var(--stone); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--light-line { border-color: rgba(243, 242, 239, .7); color: var(--paper); }
.btn--light-line:hover { background: var(--paper); color: var(--ink); }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; }

.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(243,242,239,.16); color: inherit; border: 1px solid currentColor; opacity: .9; }
.tag--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(180, 35, 43, .2); }

/* =====================================================================
   Top bar
   ===================================================================== */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  padding-top: var(--safe-t);
  background: rgba(243, 242, 239, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid rgba(216, 212, 203, .8);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.topbar__inner { height: var(--bar-h); display: flex; align-items: center; gap: 12px; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: calc(var(--gut) - 6px) var(--gut); }
@media (max-width: 959px) { .topbar__inner { padding-inline: 10px 8px; } }

/* transparent over dark heroes until the page scrolls */
.has-dark-hero .topbar:not(.is-solid) { background: transparent; border-color: transparent; color: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-dark-hero .topbar:not(.is-solid)::before { content: ""; position: absolute; inset: 0 0 -30px; background: linear-gradient(rgba(16,19,17,.5), transparent); pointer-events: none; z-index: -1; }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; flex: none; }
@media (min-width: 960px) and (max-width: 1239px) { .topbar .brand .brand__word { display: none; } .dnav > a, .dd__btn { padding: 0 8px; font-size: .9rem; } }
.brand__badge { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: #fff; padding: 4px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 14px -6px rgba(0,0,0,.35); overflow: hidden; }
.brand__badge img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 960px) { .brand__badge { width: 68px; height: 68px; border-radius: 14px; padding: 5px; } .brand { gap: 14px; } }
@media (max-width: 420px) { .brand__badge { width: 48px; height: 48px; } .topbar .brand__word { font-size: .94rem; letter-spacing: .08em; } .brand { gap: 8px; min-width: 0; } .topbar__inner { gap: 6px; } .topbar .appbtn { width: 40px; } }
@media (max-width: 359px) { .brand__badge { width: 42px; height: 42px; } .topbar .brand__word { font-size: .9rem; } }
.brand--footer .brand__badge { width: 72px; height: 72px; }
.brand--footer { align-items: center; gap: 14px; }
.brand--drawer { display: flex; align-items: center; gap: 10px; }
.brand__word { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.brand__word span { font-weight: 500; color: var(--brass-ink); }
@media (min-width: 960px) { .brand__word { font-size: 1.2rem; } }
@media (max-width: 359px) { .brand__word { font-size: .98rem; letter-spacing: .1em; } }
.has-dark-hero .topbar:not(.is-solid) .brand__word span { color: var(--brass-soft); }

.appbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: inherit; flex: none; }
.appbtn:active { background: rgba(26,31,28,.08); }
.appbtn--back { margin-right: -4px; }

/* desktop navigation */
.dnav { align-items: center; gap: 2px; margin-inline: auto; }
.dnav > a, .dd__btn {
  position: relative; display: inline-flex; align-items: center; gap: 3px; height: 40px; padding: 0 10px; white-space: nowrap;
  border: 0; background: none; font-weight: 500; font-size: .95rem; border-radius: 999px;
}
.dnav > a:hover, .dd__btn:hover, .dd.is-open .dd__btn { background: rgba(26,31,28,.06); }
.has-dark-hero .topbar:not(.is-solid) .dnav > a:hover,
.has-dark-hero .topbar:not(.is-solid) .dd__btn:hover,
.has-dark-hero .topbar:not(.is-solid) .dd.is-open .dd__btn { background: rgba(243,242,239,.14); }
.dnav [aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--brass); }
.dd { position: relative; }
.dd__btn .ic { transition: transform .2s var(--ease); }
.dd.is-open .dd__btn .ic { transform: rotate(180deg); }
.dd__panel {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 6px; min-width: 260px;
  display: grid; padding: 10px; border-radius: var(--r-card);
  background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), translate .18s var(--ease), visibility 0s .18s;
}
.dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd.is-open .dd__panel { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }
.dd__panel > a { padding: 10px 12px; border-radius: 10px; font-size: .95rem; }
.dd__panel > a:hover { background: var(--stone); }
.dd:has(.dd__panel--mega) { position: static; }
.topbar__inner { position: relative; }
.dd__panel--mega { width: min(940px, 92vw); padding: 22px 24px 16px; top: calc(100% - 6px); }
.mega { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; }
.mega__col { display: grid; align-content: start; gap: 2px; }
.mega__col a { padding: 5px 0; font-size: .93rem; color: var(--ink-2); }
.mega__col a:hover { color: var(--ink); }
.mega__col .mega__head { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.mega__head .ic { color: var(--brass); }
.mega__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); width: 100%; font-weight: 600; color: var(--brass-ink); }

.topbar__actions { display: flex; align-items: center; gap: 4px; }
@media (min-width: 960px) { .topbar__actions { gap: 16px; } }
.topbar__phone { align-items: center; gap: 6px; font-size: .92rem; font-weight: 500; white-space: nowrap; }
@media (max-width: 1599px) { .topbar__phone { display: none !important; } }

/* =====================================================================
   Mobile drawer (menu)
   ===================================================================== */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(16,19,17,.45); opacity: 0; transition: opacity .25s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 400px);
  background: var(--paper); display: flex; flex-direction: column;
  padding: calc(var(--safe-t) + 8px) 0 calc(var(--safe-b) + 16px);
  transform: translateX(100%); transition: transform .32s var(--ease);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 8px 22px; }
.drawer__nav { flex: 1; overflow: auto; padding: 8px 10px; display: grid; align-content: start; }
.drawer__nav > a, .drawer__nav summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 12px; font-family: var(--serif); font-size: 1.12rem; letter-spacing: .04em; border-radius: 12px; }
.drawer__nav summary { list-style: none; cursor: pointer; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav details[open] summary .ic { transform: rotate(180deg); }
.drawer__nav details a { display: block; padding: 10px 12px 10px 24px; color: var(--ink-2); font-size: 1rem; }
.drawer__nav a:active, .drawer__nav summary:active { background: var(--stone); }
.drawer__foot { padding: 12px 22px 0; border-top: 1px solid var(--line); }
.drawer__foot p { margin: 10px 0 0; font-size: .85rem; color: var(--ink-3); text-align: center; }

/* =====================================================================
   Mobile tab bar
   ===================================================================== */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch;
  background: rgba(251, 251, 249, .94); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  border-top: 1px solid var(--line);
}
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: var(--ink-3); font-size: .7rem; font-weight: 600; letter-spacing: .01em; }
.tab .ic { width: 23px; height: 23px; }
.tab[aria-current="page"] { color: var(--ink); }
.tab[aria-current="page"] .ic { stroke-width: 1.9; }
.tab--cta { color: var(--ink); }
.tab__dot { width: 48px; height: 48px; margin-top: -22px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); box-shadow: 0 0 0 4px var(--paper-2), 0 10px 22px -8px rgba(26,31,28,.6); }
.tab__dot .ic { width: 21px; height: 21px; }
.tab:active .ic { transform: scale(.9); }
@media (max-width: 959px) {
  body { padding-bottom: calc(var(--tab-h) + var(--safe-b)); }
}

/* =====================================================================
   Enquiry sheet
   ===================================================================== */
.sheet { position: fixed; inset: 0; z-index: 70; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(16,19,17,.5); opacity: 0; transition: opacity .28s var(--ease); }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 94svh;
  display: flex; flex-direction: column; background: var(--paper);
  border-radius: 22px 22px 0 0; box-shadow: 0 -20px 50px -20px rgba(0,0,0,.35);
  transform: translateY(100%); transition: transform .38s var(--ease);
}
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grab { width: 40px; height: 5px; border-radius: 4px; background: var(--line); margin: 10px auto 0; flex: none; }
.sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 12px 6px 22px; }
.sheet__head h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.1; }
.sheet__ctx { margin: 6px 0 0; font-size: .92rem; color: var(--ink-2); }
.sheet__body { overflow: auto; overscroll-behavior: contain; padding: 10px 22px calc(var(--safe-b) + 22px); }
.sheet__alt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.sheet__alt a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 12px; background: var(--stone); font-size: .9rem; font-weight: 600; }
@media (min-width: 960px) {
  .sheet__panel { left: auto; top: 0; width: 520px; max-height: none; border-radius: 0; transform: translateX(100%); }
  .sheet__grab { display: none; }
  .sheet__head { padding: 28px 22px 8px 34px; }
  .sheet__body { padding: 10px 34px 34px; }
}
body.is-locked { overflow: hidden; }

/* =====================================================================
   Forms
   ===================================================================== */
.eform { display: grid; gap: 12px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 58px; padding: 24px 14px 8px; border-radius: var(--r-field);
  border: 1px solid var(--line); background: var(--paper-2); color: var(--ink);
  font: 500 1rem/1.4 var(--sans); appearance: none; -webkit-appearance: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; }
.field select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B514C' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field label { position: absolute; left: 15px; top: 18px; color: var(--ink-3); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .15s var(--ease), color .15s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-10px) scale(.78); color: var(--brass-ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(166,132,76,.22); }
.field-row { display: grid; gap: 12px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.eform--sheet .field-row { grid-template-columns: 1fr; }
@media (min-width: 600px) { .eform--sheet .field-row { grid-template-columns: 1fr 1fr; } }

.chips-field { border: 0; margin: 4px 0 0; padding: 0; min-width: 0; }
.chips-field legend { font-size: .86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); font-size: .88rem; font-weight: 500; color: var(--ink-2); transition: all .15s var(--ease); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (max-width: 599px) {
  .eform .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -22px; padding: 2px 22px 6px; scrollbar-width: none; }
  .eform .chips::-webkit-scrollbar { display: none; }
  .eform .chip span { white-space: nowrap; }
}
.is-bad input, .is-bad textarea, .chips-field.is-bad .chip span { border-color: var(--red); }
.field__err { display: block; margin-top: 5px; font-size: .82rem; color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eform__status { margin: 0; font-size: .92rem; min-height: 0; }
.eform__status.is-err { color: var(--red); }
.eform__note { margin: 0; font-size: .8rem; color: var(--ink-3); text-align: center; }
.eform.is-busy .btn { opacity: .6; pointer-events: none; }
.eform.is-busy .btn__label::after { content: "…"; }
.eform-done { display: grid; justify-items: start; gap: 12px; padding: 8px 0; }
.eform-done .done__mark { margin: 0; }
.eform-done h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.eform-done p { color: var(--ink-2); margin: 0; }
.alert { padding: 12px 14px; border-radius: 12px; background: #F6E4E2; color: #7D1C21; font-size: .95rem; }

/* =====================================================================
   Home hero (stories)
   ===================================================================== */
.hero { position: relative; height: calc(100svh - var(--tab-h) - var(--safe-b)); min-height: 600px; max-height: 1100px; color: var(--paper); background: var(--ink); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__slide.is-on { opacity: 1; }
.hero__slide.is-on img { transform: scale(1); transition: transform 7.5s linear; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,19,17,.5) 0%, rgba(16,19,17,.05) 32%, rgba(16,19,17,.25) 55%, rgba(16,19,17,.86) 100%); pointer-events: none; }
.hero > .wrap { position: relative; z-index: 2; }
.hero__ticks { position: absolute !important; top: calc(var(--safe-t) + var(--bar-h) + 6px); left: 0; right: 0; display: flex; gap: 5px; }
.tick { flex: 1; height: 2px; background: rgba(243,242,239,.3); border-radius: 2px; overflow: hidden; }
.tick i { display: block; height: 100%; width: 0; background: var(--paper); }
.tick.is-done i { width: 100%; }
.tick.is-on i { animation: tick var(--dur, 6s) linear forwards; }
.hero.is-paused .tick.is-on i { animation-play-state: paused; }
@keyframes tick { to { width: 100%; } }
.hero__copy { padding-bottom: 18px; }
.hero__copy .display { max-width: 16ch; }
@media (max-width: 959px) {
  .hero { min-height: 520px; }
  .hero__copy .display--xl { font-size: clamp(1.85rem, 8.4vw, 3rem); line-height: 1.1; max-width: 14ch; }
  .hero__lead { font-size: .98rem; line-height: 1.5; margin: 12px 0 18px; max-width: 34ch; }
  .hero .btnrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .btnrow .btn { min-height: 46px; padding: 0 12px; font-size: .92rem; }
  .hero .hero__plate { padding-bottom: 14px; }
  .plate { padding: 11px 14px; }
}
@media (min-width: 600px) and (max-width: 959px) {
  .hero__copy .display--xl { font-size: clamp(2.6rem, 6.4vw, 3.8rem); }
  .hero__lead { font-size: 1.08rem; max-width: 44ch; }
  .hero .btnrow { display: flex; }
  .hero .btnrow .btn { padding: 0 22px; }
  .hero__plate .plate { max-width: 420px; }
}
/* small or short phones */
@media (max-width: 359px), (max-width: 959px) and (max-height: 680px) {
  .hero__copy .display--xl { font-size: 1.75rem; }
  .hero__lead { font-size: .92rem; margin: 10px 0 14px; }
  .hero__lead { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
/* phones turned sideways */
@media (max-width: 959px) and (orientation: landscape) and (max-height: 500px) {
  .hero { height: auto; min-height: 100svh; padding-top: calc(var(--bar-h) + 24px); }
  .hero__ticks { display: none; }
  .hero__copy .display--xl { font-size: 1.8rem; max-width: 26ch; }
  .hero__lead { max-width: 60ch; }
  .hero .btnrow { display: flex; }
  .hero .hero__plate { display: none; }
}
.hero__lead { max-width: 46ch; margin: 18px 0 26px; font-size: clamp(1.02rem, .5vw + .9rem, 1.2rem); color: rgba(243,242,239,.88); }
.hero__plate { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 22px; }
.plate { grid-area: 1 / 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(243,242,239,.12); border: 1px solid rgba(243,242,239,.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.plate.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.plate__cat { font-size: .78rem; color: var(--brass-soft); font-weight: 600; flex: none; }
.plate__title { flex: 1; font-weight: 600; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 960px) {
  .hero { height: 100svh; }
  .hero__ticks { top: auto; bottom: 38px; left: auto; right: max(var(--gut), calc((100vw - var(--wrap)) / 2)); width: 260px; padding: 0; }
  .hero__copy { padding-bottom: 46px; }
  .hero__plate { position: absolute !important; right: 0; bottom: 56px; width: auto; max-width: none; display: grid; justify-items: end; padding-right: max(var(--gut), calc((100vw - var(--wrap)) / 2)); padding-bottom: 0; }
  .plate { width: 340px; }
  .hero__copy { padding-right: 400px; }
}

/* =====================================================================
   Intro + stats
   ===================================================================== */
.intro { display: grid; gap: 28px; padding-block: 64px 56px; }
.intro__statement { font-family: var(--serif-text); font-weight: 500; font-size: clamp(1.6rem, 1.7vw + 1.05rem, 2.6rem); line-height: 1.22; letter-spacing: -.008em; margin: 0; text-wrap: pretty; }
.intro__side p { color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 0; margin-bottom: 20px; border-block: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { font-family: var(--serif); font-size: clamp(2rem, 2vw + 1.2rem, 2.9rem); line-height: 1; }
.stats dt { font-size: .82rem; color: var(--ink-3); margin-top: 6px; }
@media (min-width: 960px) {
  .intro { grid-template-columns: 1.35fr 1fr; gap: 80px; padding-block: 120px 100px; align-items: start; }
}

/* =====================================================================
   Selected work (home page)
   ===================================================================== */
.work { padding-block: 56px 24px; background: var(--paper-2); border-block: 1px solid var(--line); }
.work > .wrap:first-child { margin-bottom: 8px; }
.work__row { display: grid; gap: 18px; padding-block: 28px; border-top: 1px solid var(--line); }
.work__row:nth-child(2) { border-top: 0; }
.work__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--brass-soft); color: var(--brass-ink); margin-bottom: 14px; }
.work__intro p { color: var(--ink-2); margin: 10px 0 14px; max-width: 40ch; }
.work__cards { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 6px; scroll-padding-inline: var(--gut); }
.work__cards::-webkit-scrollbar { display: none; }
.work__cards > * { scroll-snap-align: start; }
.work__cards .pcard__img { aspect-ratio: 4 / 3; }
@media (min-width: 600px) { .work__cards { grid-auto-flow: row; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; overflow: visible; } }
@media (min-width: 960px) {
  .work { padding-block: 110px 60px; }
  .work__row { grid-template-columns: 320px 1fr; gap: 60px; padding-block: 52px; align-items: start; }
  .work__cards { gap: 28px; }
}

/* =====================================================================
   Homes section (home page)
   ===================================================================== */
.homes { background: var(--paper-2); border-block: 1px solid var(--line); padding-block: 56px; }
.homes__head { display: grid; gap: 18px; margin-bottom: 24px; }
.homes__head p { color: var(--ink-2); margin: 12px 0 0; max-width: 54ch; }
.homes__head .btn { justify-self: start; }
.homes__grid { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 4px var(--gut) 14px; scrollbar-width: none; }
.homes__grid::-webkit-scrollbar { display: none; }
.homes__grid > * { scroll-snap-align: start; }
.homes__grid .pcard__img { aspect-ratio: 4 / 3; }
.homes__offer { display: grid; gap: 18px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.homes__offer > div { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
.homes__offer > div .ic { grid-row: span 2; width: 28px; height: 28px; color: var(--brass-ink); }
.homes__offer p { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem; }
.homes__offer .btn { justify-self: start; }
@media (min-width: 600px) { .homes__grid { grid-auto-columns: 46%; } }
@media (min-width: 960px) {
  .homes { padding-block: 110px; }
  .homes__head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 40px; }
  .homes__grid { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 44px 26px; overflow: visible; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding: 0 var(--gut); }
  .homes__grid .pcard--feature { grid-column: span 2; grid-row: span 2; }
  .homes__grid .pcard--feature .pcard__img { aspect-ratio: auto; flex: 1; min-height: 420px; }
  .homes__grid .pcard--feature .pcard__title { font-size: 1.5rem; }
  .homes__offer { grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 32px; margin-top: 56px; }
}

/* =====================================================================
   Segmented control + rails + cards
   ===================================================================== */
.discipline { padding-bottom: 72px; }
.discipline__head { display: grid; gap: 18px; margin-bottom: 18px; }
.seg { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut); scroll-snap-type: x proximity; }
.seg::-webkit-scrollbar { display: none; }
.seg__btn { display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); font-weight: 600; font-size: .92rem; color: var(--ink-2); scroll-snap-align: start; transition: background-color .15s var(--ease), color .15s var(--ease); }
.seg__btn .ic { color: var(--brass); }
.seg__btn[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg__btn[aria-selected="true"] .ic { color: var(--brass-soft); }
.seg__n { font-weight: 500; opacity: .6; font-size: .82rem; }
.seg__blurb { color: var(--ink-2); margin-bottom: 18px; }
@media (min-width: 960px) {
  .discipline__head { grid-template-columns: auto 1fr; align-items: center; gap: 32px; }
  .discipline__head .seg { justify-content: flex-end; margin: 0; padding: 0; flex-wrap: wrap; }
}

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
  padding: 4px var(--gut) 14px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 600px) { .rail { grid-auto-columns: 44%; } }
@media (min-width: 960px) {
  .rail { grid-auto-columns: 340px; gap: 24px; padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
}
.rail-nav { display: none; justify-content: flex-end; gap: 8px; margin-top: 10px; }
@media (min-width: 960px) { .rail-nav.is-needed { display: flex; } }
.rail-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-2); display: grid; place-items: center; transition: border-color .15s var(--ease); }
.rail-nav button:hover:not(:disabled) { border-color: var(--ink); }
.rail-nav button:disabled { opacity: .35; cursor: default; }

.pcard { display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.pcard__img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-img); background: var(--stone); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.035); }
.pcard__body { display: grid; gap: 4px; align-content: start; }
.pcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--brass-ink); }
.pcard__meta i { width: 14px; height: 1px; background: var(--brass-soft); }
.pcard__title { font-family: var(--serif); font-size: 1.12rem; line-height: 1.25; letter-spacing: .01em; font-weight: 500; }
.pcard__text { font-size: .92rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .tag { justify-self: start; margin-top: 6px; color: var(--ink-2); background: transparent; border-color: var(--line); }

/* image placeholder when a photo is missing on the server */
.img-missing { background: linear-gradient(135deg, var(--stone), #D5D0C5) !important; }
.img-missing img { opacity: 0; }

/* =====================================================================
   Feature bands (airport / landscape)
   ===================================================================== */
.feature { padding-block: 64px; }
.feature--dark { background: var(--ink); color: var(--paper); }
.feature--stone { background: var(--stone); }
.feature__grid { display: grid; gap: 30px; }
.feature__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-img); background: rgba(255,255,255,.06); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__where { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--brass-ink); margin-bottom: 18px; }
.feature--dark .feature__where { color: var(--brass-soft); }
.feature__copy .display { margin-bottom: 18px; }
.feature__copy > p { color: var(--ink-2); max-width: 52ch; }
.feature--dark .feature__copy > p { color: rgba(243,242,239,.78); }
.rows { margin-top: 26px; border-top: 1px solid var(--line); }
.feature--dark .rows { border-color: rgba(243,242,239,.18); }
.rows a { display: grid; grid-template-columns: 1fr auto 20px; align-items: center; gap: 12px; padding: 16px 2px; border-bottom: 1px solid var(--line); transition: padding .2s var(--ease); }
.feature--dark .rows a { border-color: rgba(243,242,239,.18); }
.rows a span { font-weight: 600; }
.rows a small { font-size: .82rem; color: var(--ink-3); text-align: right; }
.feature--dark .rows a small { color: rgba(243,242,239,.55); }
.rows a:hover { padding-left: 8px; }
.rows a .ic { color: var(--brass); }
@media (min-width: 960px) {
  .feature { padding-block: 120px; }
  .feature__grid { grid-template-columns: 1.05fr 1fr; gap: 88px; align-items: center; }
  .feature__grid--flip .feature__img { order: 2; }
  .feature__img { aspect-ratio: 4 / 5; }
}

/* =====================================================================
   Services accordion (home) & generic accordion
   ===================================================================== */
.svc { display: grid; gap: 28px; padding-block: 72px; }
.svc__intro p { color: var(--ink-2); margin: 14px 0 22px; max-width: 46ch; }
@media (min-width: 960px) { .svc { grid-template-columns: 1fr 1.4fr; gap: 80px; padding-block: 120px; } .svc__intro { position: sticky; top: 120px; align-self: start; } }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; cursor: pointer; list-style: none; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__h { font-family: var(--serif); font-size: clamp(1.05rem, .6vw + .9rem, 1.4rem); line-height: 1.3; }
.acc__plus { position: relative; width: 18px; height: 18px; flex: none; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease); }
.acc__plus::after { transform: rotate(90deg); }
.acc__item[open] .acc__plus::after { transform: rotate(0); }
.acc__body { padding: 0 2px 22px; color: var(--ink-2); }
.acc__body p { max-width: 62ch; }

.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 6px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: translateY(-50%) rotate(-45deg); }

/* =====================================================================
   Clients, duo tiles, quotes
   ===================================================================== */
.clients { border-block: 1px solid var(--line); padding-block: 26px; }
.clients__inner { display: grid; gap: 16px; align-items: center; }
.clients__h { font-size: .9rem; font-weight: 600; color: var(--ink-3); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex: none; }
.marquee__set img { height: 52px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; opacity: .8; transition: filter .25s var(--ease), opacity .25s var(--ease); }
.marquee__set img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .marquee { overflow-x: auto; } }
@media (min-width: 960px) { .clients__inner { grid-template-columns: 160px minmax(0, 1fr); } .marquee__set img { height: 64px; } .marquee__set { gap: 80px; padding-right: 80px; } }

.duo { display: grid; gap: 14px; padding-block: 72px; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 110px; } }
.duo__tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-img); background: var(--moss); color: var(--paper); }
.duo__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.duo__tile:hover img { transform: scale(1.03); }
.duo__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(16,19,17,.82)); }
.duo__copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; padding: 22px; font-size: .95rem; color: rgba(243,242,239,.86); }
.duo__title { font-family: var(--serif); font-size: clamp(1.5rem, 1vw + 1.1rem, 2.1rem); color: var(--paper); }

.voices { padding-bottom: 72px; }
.voices .h2 { margin-bottom: 24px; }
.rail--quotes { grid-auto-columns: 86%; }
@media (min-width: 600px) { .rail--quotes { grid-auto-columns: 60%; } }
@media (min-width: 960px) { .rail--quotes { grid-auto-columns: 440px; } .voices { padding-bottom: 120px; } }
.qcard { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 26px; border-radius: var(--r-card); background: var(--paper-2); border: 1px solid var(--line); }
.qcard blockquote { font-family: var(--serif-text); font-style: italic; font-size: 1.32rem; line-height: 1.45; }
.qcard figcaption { display: grid; font-size: .88rem; color: var(--ink-3); }
.qcard figcaption strong { color: var(--ink); font-weight: 600; }

/* =====================================================================
   Home enquiry block
   ===================================================================== */
.ask { background: var(--stone); padding-block: 64px; }
.ask__grid { display: grid; gap: 28px; }
.ask__copy p { color: var(--ink-2); margin: 16px 0 22px; max-width: 46ch; }
.contact-list { display: grid; gap: 10px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.contact-list .ic { color: var(--brass); }
.card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
@media (min-width: 960px) { .ask { padding-block: 120px; } .ask__grid { grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; } .card { padding: 32px; } }

/* =====================================================================
   Footer
   ===================================================================== */
.footer { background: var(--ink); color: rgba(243,242,239,.72); padding-top: 56px; font-size: .94rem; }
.footer__grid { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand .brand__word { color: var(--paper); font-size: 1.7rem; }
.brand--footer { display: inline-flex; }
.footer__brand .brand__word span { color: var(--brass-soft); }
.footer__brand p { margin: 14px 0 20px; max-width: 42ch; }
.footer__grid > div { display: grid; align-content: start; gap: 9px; }
.footer__grid a:hover { color: var(--paper); }
.footer__h { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--brass-soft); margin-bottom: 6px; }
.footer__contact { grid-column: 1 / -1; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 44px; padding-block: 20px; border-top: 1px solid rgba(243,242,239,.12); font-size: .82rem; color: rgba(243,242,239,.5); }
.btn--light.btn--line, .footer .btn--line { border-color: rgba(243,242,239,.5); color: var(--paper); }
.footer .btn--line:hover { background: var(--paper); color: var(--ink); }
@media (min-width: 960px) {
  .footer { padding-top: 90px; }
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .footer__contact { grid-column: auto; }
}

@media (min-width: 1200px) {
  .footer__grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)) 1.25fr; }
  .footer__brand { grid-column: auto; }
}

/* =====================================================================
   Page heroes (about, services) and list headers
   ===================================================================== */
.pagehero, .phero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; color: var(--paper); background: var(--ink); overflow: hidden; }
.pagehero--short { min-height: 60svh; }
.pagehero__media, .phero__media { position: absolute; inset: 0; }
.pagehero__media img, .phero__media img, .phero__media video { width: 100%; height: 100%; object-fit: cover; }
.pagehero::after, .phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,19,17,.5) 0%, rgba(16,19,17,.08) 30%, rgba(16,19,17,.85) 100%); }
.pagehero__copy, .phero__copy { position: relative; z-index: 1; padding-top: calc(var(--bar-h) + 40px); padding-bottom: 36px; }
.pagehero__copy .display, .phero__copy .display { max-width: 18ch; }
.phero__lead { max-width: 56ch; margin: 18px 0 18px; color: rgba(243,242,239,.86); font-size: clamp(1rem, .4vw + .95rem, 1.18rem); }
.crumbs { display: flex; gap: 8px; font-size: .86rem; font-weight: 600; margin-bottom: 16px; color: rgba(243,242,239,.7); }
.crumbs a:hover { color: var(--paper); }
@media (min-width: 960px) { .pagehero__copy, .phero__copy { padding-bottom: 64px; } .phero { min-height: 82vh; } }

.page-plain main { padding-top: calc(var(--bar-h) + var(--safe-t)); }
.listhead { padding-block: 36px 20px; }
.listhead .lead { margin-top: 14px; }
@media (min-width: 960px) { .listhead { padding-block: 80px 32px; } }

/* =====================================================================
   Project page
   ===================================================================== */
.specbar { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.specbar__inner { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(62%, 1fr); gap: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding-inline: 0; }
.specbar__inner::-webkit-scrollbar { display: none; }
.specbar__inner > div { padding: 18px var(--gut); border-right: 1px solid var(--line); scroll-snap-align: start; }
.specbar dt { font-size: .78rem; font-weight: 600; color: var(--brass-ink); }
.specbar dd { font-size: .95rem; font-weight: 500; line-height: 1.35; margin-top: 4px; }
@media (min-width: 960px) {
  .specbar__inner { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-inline: var(--gut); overflow: visible; }
  .specbar__inner > div { padding: 24px 24px 24px 0; margin-right: 24px; }
  .specbar__inner > div:last-child { border-right: 0; }
}

.pbody { display: grid; gap: 40px; padding-block: 48px; }
.pbody__main { display: grid; gap: 40px; align-content: start; }
@media (min-width: 960px) {
  .pbody { grid-template-columns: minmax(0, 1fr) 360px; gap: 88px; padding-block: 96px; }
  .pbody__side { position: relative; }
  .factcard { position: sticky; top: calc(var(--bar-h) + 24px); }
}
.factcard { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 10px; }
.factcard__h { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; margin-bottom: 4px; }
.factcard dl { display: grid; margin-bottom: 10px; }
.factcard dl > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.factcard dt { font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.factcard dd { font-size: .95rem; font-weight: 500; }

.quote { padding: 26px 0 0; border-top: 1px solid var(--line); }
.quote p { font-family: var(--serif-text); font-style: italic; font-size: clamp(1.3rem, .8vw + 1rem, 1.7rem); line-height: 1.35; max-width: 34ch; }
.quote cite { font-style: normal; font-size: .88rem; color: var(--ink-3); }
.where { display: flex; gap: 14px; padding: 22px; border-radius: var(--r-card); background: var(--stone); }
.where > .ic { color: var(--brass-ink); margin-top: 2px; }
.where p { margin: 6px 0 0; color: var(--ink-2); }

.gallery { padding-bottom: 64px; }
.gallery__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.gallery__count { font-size: .9rem; color: var(--ink-3); }
.gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 0 var(--gut) 8px; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { scroll-snap-align: start; display: grid; gap: 10px; align-content: start; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--stone); aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-img); cursor: zoom-in; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__btn:hover img { transform: scale(1.03); }
.gallery__item figcaption { font-size: .9rem; color: var(--ink-2); }
@media (min-width: 960px) {
  .gallery { padding-bottom: 110px; }
  .gallery__track { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); gap: 28px 24px; overflow: visible; padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
  .gallery__item { grid-column: span 2; }
  .gallery__item:nth-child(5n + 1) { grid-column: span 4; grid-row: span 2; }
  .gallery__item:nth-child(5n + 4), .gallery__item:nth-child(5n + 5) { grid-column: span 3; }
  .gallery__item:nth-child(5n + 1) .gallery__btn { aspect-ratio: auto; height: calc(100% - 34px); min-height: 420px; }
}

.band { padding-block: 64px; background: var(--stone); }
.band--dark { background: var(--ink); color: var(--paper); }
.band__inner { display: grid; gap: 24px; }
.band__inner p { margin: 14px 0 0; max-width: 56ch; color: var(--ink-2); }
.band--dark .band__inner p { color: rgba(243,242,239,.75); }
@media (min-width: 960px) { .band { padding-block: 100px; } .band__inner { grid-template-columns: 1.3fr auto; align-items: end; gap: 60px; } }

.rail-sec { padding-block: 64px; }
.rail-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
@media (min-width: 960px) { .rail-sec { padding-block: 110px; } }

/* =====================================================================
   Portfolio
   ===================================================================== */
.filterbar { position: sticky; top: calc(var(--bar-h) + var(--safe-t)); z-index: 20; background: rgba(243,242,239,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding-block: 10px; border-bottom: 1px solid var(--line); }
.seg--scroll { margin-inline: calc(var(--gut) * -1); }
@media (min-width: 960px) { .seg--scroll { margin: 0; padding: 0; flex-wrap: wrap; } }
.pgrid { display: grid; grid-template-columns: 1fr; gap: 34px 20px; padding-block: 28px 72px; }
.pgrid .pcard__img { aspect-ratio: 4 / 3; }
@media (min-width: 600px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 56px 28px; padding-block: 48px 120px; }
  .pgrid .pcard--wide { grid-column: span 2; }
  .pgrid .pcard--wide .pcard__img { aspect-ratio: 16 / 9.4; }
  .pgrid .pcard--wide .pcard__title { font-size: 1.5rem; }
}
.pgrid .pcard.is-hidden { display: none; }
.pgrid.is-filtered .pcard--wide { grid-column: auto; }
.pgrid.is-filtered .pcard--wide .pcard__img { aspect-ratio: 4 / 3; }
.pgrid.is-filtered .pcard--wide .pcard__title { font-size: 1.12rem; }

/* =====================================================================
   Services page
   ===================================================================== */
.svclist { padding-block: 40px 40px; }
.svcrow { display: grid; gap: 18px; padding-block: 34px; border-top: 1px solid var(--line); }
.svcrow__head { display: flex; align-items: center; gap: 14px; }
.svcrow__ic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--brass-soft); color: var(--brass-ink); }
.svcrow__lead { font-size: 1.1rem; color: var(--ink); max-width: 56ch; }
.svcrow__ideal { margin: 16px 0; color: var(--ink-2); font-size: .95rem; }
.svcrow__eg { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.svcrow__eg a { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); font-size: .88rem; font-weight: 600; }
.svcrow__eg img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--stone); }
@media (min-width: 960px) { .svclist { padding-block: 96px 60px; } .svcrow { grid-template-columns: 380px 1fr; gap: 60px; padding-block: 48px; } .svcrow__head { align-items: flex-start; flex-direction: column; } }

.models { background: var(--stone); padding-block: 64px; }
.models .h2 { margin-bottom: 26px; }
.models__grid { display: grid; gap: 16px; }
.model { padding: 26px; border-radius: var(--r-card); background: var(--paper-2); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.model p { margin: 0; color: var(--ink-2); }
.model--main { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.model--main p, .model--main .ticks li { color: rgba(243,242,239,.78); }
.model__time { font-size: .88rem; font-weight: 600; color: var(--brass-ink) !important; padding-top: 8px; border-top: 1px solid var(--line); }
.model--main .model__time { color: var(--brass-soft) !important; border-color: rgba(243,242,239,.18); }
@media (min-width: 960px) { .models { padding-block: 110px; } .models__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.process, .faq { padding-block: 64px; }
.process .h2, .faq .h2 { margin-bottom: 26px; }
@media (min-width: 960px) { .process, .faq { padding-block: 110px; } .faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; } }
.steps { counter-reset: s; display: grid; gap: 0; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 26px 54px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--brass-soft); font-family: var(--serif); font-size: 1.05rem; color: var(--brass-ink); background: var(--paper); }
.steps > li::after { content: ""; position: absolute; left: 18px; top: 34px; bottom: 2px; width: 1px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps p { margin: 6px 0 4px; color: var(--ink-2); }
.steps small { font-size: .88rem; color: var(--ink-3); }
.steps--small > li { padding-bottom: 18px; }
.steps--small p { margin: 0; }
@media (min-width: 960px) {
  .process .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .process .steps > li { padding: 56px 0 0; }
  .process .steps > li::after { left: 46px; right: -18px; top: 14px; bottom: auto; width: auto; height: 1px; }
}

/* =====================================================================
   About page
   ===================================================================== */
.founder { background: var(--ink); color: var(--paper); padding-block: 64px; }
.founder__grid { display: grid; gap: 28px; align-items: center; }
.founder__img { aspect-ratio: 4 / 5; max-width: 360px; overflow: hidden; border-radius: var(--r-img); background: rgba(255,255,255,.06); }
.founder__img img { width: 100%; height: 100%; object-fit: cover; }
.founder__quote p { font-family: var(--serif-text); font-style: italic; font-size: clamp(1.45rem, 1.5vw + 1rem, 2.4rem); line-height: 1.28; text-wrap: pretty; }
.founder__quote footer { display: grid; gap: 2px; margin-top: 18px; color: rgba(243,242,239,.66); font-size: .92rem; }
.founder__quote strong { color: var(--paper); font-weight: 600; }
@media (min-width: 960px) { .founder { padding-block: 110px; } .founder__grid { grid-template-columns: 360px 1fr; gap: 90px; } }

.pillars { display: grid; gap: 26px; padding-block: 64px; }
.pillars p { color: var(--ink-2); margin-top: 8px; }
.pillars > div { padding-top: 18px; border-top: 1px solid var(--ink); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 40px; padding-block: 100px; } }

.timeline-sec { background: var(--stone); padding-block: 64px; }
.timeline-sec .h2 { margin-bottom: 28px; }
.timeline { display: grid; }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.timeline__year { font-family: var(--serif); font-size: 1.7rem; line-height: 1; color: var(--brass-ink); }
.timeline p { margin: 6px 0 0; color: var(--ink-2); max-width: 60ch; }
@media (min-width: 960px) { .timeline-sec { padding-block: 110px; } .timeline li { grid-template-columns: 220px 1fr; padding: 28px 0; } .timeline__year { font-size: 2.6rem; } }

.team { padding-block: 64px; }
.team .h2 { margin-bottom: 26px; }
.team__grid { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
.team__grid::-webkit-scrollbar { display: none; }
.person { scroll-snap-align: start; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-img); background: var(--stone); margin-bottom: 14px; }
.person__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.person__role { font-size: .88rem; font-weight: 600; color: var(--brass-ink); margin: 2px 0 8px; }
.person p:last-child { color: var(--ink-2); font-size: .95rem; }
@media (min-width: 960px) { .team { padding-block: 110px; } .team__grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; overflow: visible; } }

/* =====================================================================
   Contact page
   ===================================================================== */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 28px; }
.quick__item { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; border-radius: var(--r-card); background: var(--paper-2); border: 1px solid var(--line); min-width: 0; }
.quick__item .ic { color: var(--brass-ink); }
.quick__item span { display: grid; font-size: .85rem; color: var(--ink-2); overflow-wrap: anywhere; }
.quick__item strong { font-size: 1rem; color: var(--ink); font-weight: 600; }
.quick__item:active { background: var(--stone); }
@media (min-width: 960px) { .quick { grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 48px; } .quick__item:hover { border-color: var(--ink); } }
.contact-grid { display: grid; gap: 20px; padding-bottom: 40px; }
.card--form .h2 { margin-bottom: 8px; }
.card--form > .muted { margin-bottom: 20px; font-size: .92rem; }
.contact-side { display: grid; gap: 20px; align-content: start; }
.contact-side .h3 { margin-bottom: 12px; }
.contact-side p { color: var(--ink-2); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.45fr 1fr; gap: 28px; padding-bottom: 60px; } }

/* =====================================================================
   Thank-you / 404
   ===================================================================== */
.done { display: grid; justify-items: center; text-align: center; gap: 16px; padding-block: 80px 100px; }
.done .lead { margin-inline: auto; }
.done__mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); margin-bottom: 8px; }
.done__mark .ic { width: 28px; height: 28px; }
.done .btnrow { justify-content: center; margin-top: 10px; }

/* =====================================================================
   Photo viewer
   ===================================================================== */
.viewer { position: fixed; inset: 0; z-index: 80; background: #0E100F; color: var(--paper); display: flex; flex-direction: column; }
.viewer__close { position: absolute; top: calc(var(--safe-t) + 10px); right: 10px; z-index: 2; background: rgba(255,255,255,.1); }
.viewer__track { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.viewer__track::-webkit-scrollbar { display: none; }
.viewer__track img { width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; padding: calc(var(--safe-t) + 60px) 0 10px; }
.viewer__cap { margin: 0; padding: 14px var(--gut) calc(var(--safe-b) + 18px); text-align: center; font-size: .95rem; color: rgba(243,242,239,.8); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__slide img, .hero__slide.is-on img { transform: none !important; }
}

/* partner (Hanvaya Infra) */
.partner-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(217,199,162,.6); color: var(--brass-soft); font-size: .84rem; font-weight: 600; background: rgba(16,19,17,.25); }
.partner-tag:hover { background: rgba(16,19,17,.45); }
.mega__all.mega__partner { margin-top: 12px; padding-top: 12px; color: var(--ink); }
.mega__partner + .mega__all { margin-top: 4px; border-top: 0; padding-top: 6px; }
.partnerhead { padding-block: 40px 28px; }
.partnerhead__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--brass-soft); color: var(--brass-ink); font-weight: 600; font-size: .9rem; margin-bottom: 18px; }
@media (min-width: 960px) { .partnerhead { padding-block: 90px 40px; } }

/* featured community (home) */
.community { background: var(--moss); color: var(--paper); padding-block: 56px; }
.community__grid { display: grid; gap: 28px; align-items: center; }
.community__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-img); background: rgba(255,255,255,.06); }
.community__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.community__img:hover img { transform: scale(1.03); }
.community__copy > p { color: rgba(243,242,239,.8); margin: 16px 0 20px; max-width: 50ch; }
.community__list { display: grid; gap: 12px; margin-bottom: 26px; padding-top: 18px; border-top: 1px solid rgba(243,242,239,.18); }
.community__list li { display: grid; padding-left: 22px; position: relative; }
.community__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--brass-soft); }
.community__list span { color: rgba(243,242,239,.7); font-size: .94rem; }
.partner-tag--light { background: rgba(0,0,0,.18); }
@media (min-width: 960px) {
  .community { padding-block: 110px; }
  .community__grid { grid-template-columns: 1.15fr 1fr; gap: 80px; }
  .community__img { aspect-ratio: 5 / 4; }
}
@media (max-width: 480px) {
  .brand--footer .brand__badge { width: 56px; height: 56px; }
  .footer__brand .brand__word { font-size: 1.2rem; }
}
/* logo without a background box */
.brand__badge { background: none !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; overflow: visible; }

/* extra galleries: plans and work in progress */
.gallery__head > div { display: grid; gap: 6px; }
.gallery__note { margin: 0; color: var(--ink-2); max-width: 60ch; }
.gallery + .gallery { padding-top: 8px; }
.gallery--plans .gallery__btn { background: #fff; border: 1px solid var(--line); }
.gallery--plans .gallery__btn img { object-fit: contain; padding: 8px; }
.gallery--progress .gallery__item figcaption::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(180,35,43,.18); vertical-align: 1px; }
.viewer--plans { background: #F3F2EF; color: var(--ink); }
.viewer--plans .viewer__cap { color: var(--ink-2); }
.viewer--plans .viewer__close { background: rgba(26,31,28,.08); }

.where__map { margin-top: 14px; }
