/* ==========================================================================
   Atheeq Ifthikar — theme styles
   Converted from the static export. Values are unchanged; inline styles have
   been lifted into classes so sections can be re-ordered and re-skinned.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:          #ECE4D2;
  --sand:        #E3D9C3;
  --cream:       #F4EEE1;
  --navy:        #16212F;
  --navy-deep:   #0E1825;

  /* Ink */
  --ink:         #211D18;
  --ink-3:       #3A352C;
  --ink-soft:    #5A5346;
  --ink-mute:    #7A715F;

  /* Accents */
  --gold:        #C6973A;
  --gold-light:  #E7B85C;
  --gold-dark:   #A77E3F;
  --clay:        #9E3B27;
  --olive:       #5E6B45;
  --teal:        #3C6678;

  /* Type */
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  /* Rhythm */
  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(80px, 11vw, 150px);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--clay); color: var(--cream); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: #bcae90; border-radius: 0; }

/* Accessibility ----------------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--cream); color: var(--navy);
  padding: 12px 20px; font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

.reveal { animation: riseIn 1.1s cubic-bezier(.2,.7,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .scroll-cue span { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   Shared primitives
   -------------------------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; }
.wrap--narrow { max-width: 1100px; margin: 0 auto; }
.wrap--tight  { max-width: 1080px; margin: 0 auto; }

.section { padding: var(--section-y) var(--gutter); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--sand { background: var(--sand); }
.section--clay { background: var(--clay); color: var(--cream); }
/* For a collection item that is still only a card — a full section's padding
   around two lines of content reads as a mistake. */
.section--tight { padding-top: clamp(48px, 6vw, 76px); padding-bottom: clamp(48px, 6vw, 76px); }

/* Eyebrow ------------------------------------------------------------------ */
.eyebrow {
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 600; margin-bottom: 22px;
}
.eyebrow--onDark { color: var(--gold-light); }
.eyebrow--muted  { color: rgba(244,238,225,.7); }
.eyebrow--center { text-align: center; }

/* Headings ----------------------------------------------------------------- */
.h-display,
.h-section,
.h-lead {
  font-family: var(--serif);
  letter-spacing: -.02em;
  font-weight: 400;
}
.h-display { font-size: clamp(38px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -.015em; }
.h-section { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.08; }
.h-lead    { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; letter-spacing: -.015em; }

/* Inline accent spans authored in the admin.
   `<em>` picks up the section accent; the utility classes override it. */
.h-display em, .h-section em, .h-lead em,
.h-display i, .h-section i, .h-lead i { font-style: italic; }

.a-gold  { color: var(--gold-light); font-style: italic; }
.a-clay  { color: var(--clay);       font-style: italic; }
.a-olive { color: var(--olive);      font-style: italic; }
.a-teal  { color: var(--teal);       font-style: italic; }
.a-cream { color: var(--cream);      font-style: italic; }

/* Body copy ---------------------------------------------------------------- */
.body-lg { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; color: var(--ink-soft); }
.body-lg + .body-lg { margin-top: 18px; }
.body-lg--onDark { color: rgba(244,238,225,.78); }

.measure-58 { max-width: 58ch; }
.measure-60 { max-width: 60ch; }
.measure-56 { max-width: 56ch; }
.measure-62 { max-width: 62ch; }

/* Links -------------------------------------------------------------------- */
.link-underline {
  display: inline-block; text-decoration: none;
  color: var(--navy); font-weight: 600; font-size: 14px; letter-spacing: .02em;
  border-bottom: 1.5px solid var(--gold); padding-bottom: 3px;
  transition: border-color .3s ease, color .3s ease;
}
.link-underline:hover { border-color: var(--clay); }
.section--navy .link-underline { color: var(--cream); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  padding: 16px 30px; border-radius: 2px; border: none;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.btn--cream { background: var(--cream); color: var(--navy); }
.btn--cream:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn--gold {
  background: var(--gold-light); color: var(--navy);
  padding: 17px 40px; font-weight: 700; letter-spacing: .03em;
}
.btn--gold:hover { background: var(--cream); transform: translateY(-2px); }

.btn-ghost {
  text-decoration: none; color: var(--cream);
  padding: 16px 8px; font-size: 14px; font-weight: 500; letter-spacing: .02em;
  border-bottom: 1px solid rgba(244,238,225,.4);
  transition: border-color .3s ease;
}
.btn-ghost:hover { border-color: var(--gold-light); }

/* Media frames ------------------------------------------------------------- */
.frame {
  position: relative; overflow: hidden;
  border: 1px solid rgba(33,29,24,.12);
  background: linear-gradient(160deg, #D8CCB1, #C3B492);
}
.frame img,
.frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.frame--4x5 { aspect-ratio: 4/5; }
.frame--3x4 { aspect-ratio: 3/4; }
.frame--5x6 { aspect-ratio: 5/6; }
.frame--3x2 { aspect-ratio: 3/2; }

.frame__sheen {
  position: absolute; inset: 0;
  background: radial-gradient(80% 70% at 30% 25%, rgba(255,255,255,.25), transparent 60%);
}

/* Placeholder annotations — shown only while no image is set. */
.frame__label {
  position: absolute; top: 18px; left: 18px;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(33,29,24,.5);
}
.frame__caption {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.5;
  color: rgba(33,29,24,.62);
}
.frame--onDark .frame__label   { color: rgba(244,238,225,.6); }
.frame--onDark .frame__caption { color: rgba(244,238,225,.82); }

.frame--sm .frame__label   { top: 16px; left: 16px; font-size: 10px; letter-spacing: .16em; }
.frame--sm .frame__caption { bottom: 16px; left: 16px; right: 16px; font-size: 14px; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .5s ease, border-color .5s ease, box-shadow .5s ease;
}
.site-header.is-scrolled {
  background: rgba(236,228,210,.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(33,29,24,.10);
}

.site-header__inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.wordmark { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.wordmark__name {
  font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -.01em;
  color: var(--cream); transition: color .5s ease;
}
.wordmark__sub {
  font-family: var(--sans); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; margin-top: 4px;
  color: rgba(244,238,225,.6); transition: color .5s ease;
}
.wordmark__logo { max-height: 44px; width: auto; }

.is-scrolled .wordmark__name { color: var(--navy); }
.is-scrolled .wordmark__sub  { color: var(--gold-dark); }

.desk-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav-link {
  color: rgba(244,238,225,.9); text-decoration: none;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; letter-spacing: .02em;
  transition: color .5s ease;
}
.is-scrolled .nav-link { color: var(--ink-3); }
.nav-link:hover { color: var(--gold-light); }
.is-scrolled .nav-link:hover { color: var(--clay); }

.nav-cta {
  color: var(--navy); background: var(--cream);
  text-decoration: none; font-family: var(--sans); font-size: 13px;
  font-weight: 600; letter-spacing: .02em; padding: 11px 20px; border-radius: 2px;
  transition: background .5s ease, color .5s ease;
}
.is-scrolled .nav-cta { color: var(--cream); background: var(--navy); }

.mob-burger {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
  color: var(--cream); transition: color .5s ease;
}
.is-scrolled .mob-burger { color: var(--ink); }
.mob-burger span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; }

/* Mobile overlay ----------------------------------------------------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: #14202E;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  color: var(--cream); text-decoration: none;
  font-family: var(--serif); font-size: 32px;
}
.mobile-menu a.is-cta { color: var(--gold); font-style: italic; }
.mobile-menu__close {
  position: absolute; top: 26px; right: 26px;
  background: none; border: none; color: var(--cream);
  font-size: 30px; cursor: pointer; font-family: var(--serif);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
  background: radial-gradient(130% 100% at 50% -10%, #2A3D55 0%, #1B2A40 42%, #121E2E 78%, #0E1825 100%);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; }

.hero__scrim   { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,30,46,0) 30%, rgba(12,20,32,.55) 100%); }
.hero__bloom   { position: absolute; inset: 0; opacity: .5; background: radial-gradient(60% 50% at 78% 28%, rgba(198,151,58,.16), transparent 70%), radial-gradient(50% 40% at 16% 70%, rgba(62,107,124,.20), transparent 70%); }
.hero__hairline{ position: absolute; left: 0; right: 0; top: 54%; height: 1px; background: linear-gradient(90deg, transparent, rgba(244,238,225,.14), transparent); }

.hero__note {
  position: absolute; top: 120px; right: var(--gutter);
  max-width: 230px; text-align: right;
  color: rgba(244,238,225,.5);
  font-size: 11px; letter-spacing: .14em; line-height: 1.7; text-transform: uppercase;
}
.hero__note em {
  display: block;
  text-transform: none; letter-spacing: .02em; font-style: italic;
  font-family: var(--serif); font-size: 13px; color: rgba(244,238,225,.62);
}

.hero__inner {
  position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 0 var(--gutter) clamp(64px, 9vh, 110px);
}
.hero__eyebrow {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 30px;
}
.hero__title { color: var(--cream); max-width: 16ch; animation-delay: .08s; }
.hero__intro {
  margin-top: 34px; max-width: 54ch; color: rgba(244,238,225,.78);
  font-size: clamp(16px, 1.5vw, 20px); line-height: 1.65; animation-delay: .18s;
}
.hero__actions {
  margin-top: 42px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  animation-delay: .28s;
}

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1px solid rgba(244,238,225,.35);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 7px;
}
.scroll-cue span {
  width: 3px; height: 7px; background: rgba(244,238,225,.7);
  border-radius: 2px; animation: scrollDot 2s infinite;
}

/* --------------------------------------------------------------------------
   Positioning strip
   -------------------------------------------------------------------------- */
.strip { padding: clamp(56px,8vw,96px) var(--gutter); }
.strip__text {
  font-family: var(--serif); font-size: clamp(22px,3vw,38px);
  line-height: 1.4; font-weight: 300; letter-spacing: -.01em; text-align: center;
}

/* --------------------------------------------------------------------------
   Split sections (Intro, Ceylon, About)
   -------------------------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.split--center { align-items: center; }
.split--start  { align-items: start; }

.split__media-5 { grid-column: span 5; }
.split__copy-7  { grid-column: span 7; }
.split__media-6 { grid-column: span 6; }
.split__copy-6  { grid-column: span 6; }

.split--reverse .split__copy-6  { order: 2; }
.split--reverse .split__media-6 { order: 1; }

.is-sticky { position: sticky; top: 100px; }

.pull-quote {
  border-left: 2px solid var(--gold); padding-left: 24px; margin-top: 8px;
}
.pull-quote p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px); line-height: 1.45; color: var(--ink);
}

/* Pill tags ---------------------------------------------------------------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill {
  border: 1px solid rgba(33,29,24,.2); border-radius: 100px;
  padding: 8px 16px; font-size: 13px; color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Services grid
   -------------------------------------------------------------------------- */
.services__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.services__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: rgba(33,29,24,.12); border: 1px solid rgba(33,29,24,.12);
}
.service {
  background: var(--bg); padding: clamp(28px, 3vw, 42px);
  display: flex; flex-direction: column; min-height: 280px;
  transition: background .4s ease;
}
.service:hover { background: var(--cream); }
.service__num   { font-family: var(--serif); font-size: 15px; color: var(--gold-dark); }
.service__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2vw, 26px);
  line-height: 1.18; margin: 14px 0; letter-spacing: -.01em;
}
.service__body { font-size: 15px; line-height: 1.7; color: var(--ink-soft); flex: 1; }
.service__tags { margin-top: 18px; font-size: 12.5px; letter-spacing: .04em; color: var(--ink-mute); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Transformation / triptych
   -------------------------------------------------------------------------- */
.transform { padding: clamp(80px,12vw,160px) var(--gutter); text-align: center; }
.transform__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 5vw, 64px); line-height: 1.18; letter-spacing: -.02em;
}
.transform__body {
  max-width: 62ch; margin: 36px auto 0;
  font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; color: var(--ink-soft);
}
.triptych {
  max-width: var(--wrap); margin: clamp(48px, 6vw, 80px) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px);
}
.triptych > *:nth-child(2) { transform: translateY(clamp(14px, 3vw, 40px)); }
.triptych .frame:nth-child(1) { background: linear-gradient(160deg, #C9BB9C, #B6A684); }

/* --------------------------------------------------------------------------
   Selected work
   -------------------------------------------------------------------------- */
.work__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: clamp(40px, 5vw, 64px);
}
.work__head-copy { max-width: 680px; }
.work__note { max-width: 38ch; color: rgba(244,238,225,.66); font-size: 15px; line-height: 1.7; }
.work__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.work-card {
  text-decoration: none; color: inherit; position: relative; aspect-ratio: 4/5;
  border: 1px solid rgba(244,238,225,.16); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  background: linear-gradient(180deg, rgba(20,32,48,.1), rgba(14,22,34,.55));
  transition: border-color .4s ease;
}
.work-card:hover { border-color: rgba(231,184,92,.6); }
.work-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.work-card:hover .work-card__img { transform: scale(1.04); }
.work-card__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,32,48,.15), rgba(14,22,34,.72));
}
.work-card__tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(244,238,225,.42);
}
.work-card__title {
  font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15;
  position: relative; z-index: 2;
}
.work-card__note {
  margin-top: 8px; font-size: 13px; line-height: 1.55;
  color: rgba(244,238,225,.6); position: relative; z-index: 2;
}
.work__footnote {
  margin-top: 32px; font-size: 13px; color: rgba(244,238,225,.5);
  font-style: italic; font-family: var(--serif);
}

/* --------------------------------------------------------------------------
   Philosophy
   -------------------------------------------------------------------------- */
.beliefs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0; border-top: 1px solid rgba(244,238,225,.22);
}
.belief {
  padding: 26px 28px 26px 0; border-bottom: 1px solid rgba(244,238,225,.22);
  display: flex; gap: 18px; align-items: flex-start;
}
.belief__n {
  font-family: var(--serif); font-style: italic; font-size: 16px;
  color: var(--gold-light); flex: none; width: 26px;
}
.belief__text { font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; color: rgba(244,238,225,.92); }

.philosophy__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.22; letter-spacing: -.01em;
  max-width: 20ch; margin-bottom: clamp(40px, 5vw, 64px);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.voices { padding: clamp(72px,9vw,130px) var(--gutter); }
.voices__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 2.5vw, 40px);
}
.voice {
  background: var(--bg); border: 1px solid rgba(33,29,24,.1);
  padding: clamp(28px, 2.6vw, 40px);
  display: flex; flex-direction: column; min-height: 260px;
}
.voice blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-3); flex: 1;
}
.voice figcaption { margin-top: 24px; font-size: 13px; letter-spacing: .04em; color: var(--ink-mute); }

/* --------------------------------------------------------------------------
   Journal
   -------------------------------------------------------------------------- */
.journal__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin-bottom: clamp(40px, 5vw, 64px);
}
.journal__note { max-width: 40ch; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.journal__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}
.essay { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.essay .frame {
  margin-bottom: 18px;
  background: linear-gradient(160deg, #D2C4A6, #bdac88);
}
.essay .frame img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.essay:hover .frame img { transform: scale(1.04); }
.essay__cat {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 10px;
}
.essay__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(19px, 1.7vw, 23px); line-height: 1.25; letter-spacing: -.01em;
}
.essay:hover .essay__title { color: var(--clay); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact__head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 5vw, 72px); }
.contact__title { font-size: clamp(30px, 4.8vw, 60px); line-height: 1.08; }
.contact__intro {
  margin-top: 24px; color: rgba(244,238,225,.74);
  font-size: clamp(16px, 1.4vw, 18px); line-height: 1.7;
}

.form-legend {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(244,238,225,.55); margin-bottom: 18px;
}
.inquiry-set { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 4vw, 52px); border: 0; }
.inquiry {
  font-family: var(--sans); font-size: 13.5px; line-height: 1.3;
  text-align: left; cursor: pointer; border-radius: 100px; padding: 11px 18px;
  transition: all .3s ease;
  background: transparent; color: rgba(244,238,225,.82);
  border: 1px solid rgba(244,238,225,.28); font-weight: 500;
}
.inquiry:hover { border-color: rgba(231,184,92,.7); }
.inquiry.is-active {
  background: var(--gold-light); color: var(--navy);
  border-color: var(--gold-light); font-weight: 600;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 28px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 12px; letter-spacing: .06em; color: rgba(244,238,225,.7); }
.field input,
.field textarea {
  background: transparent; border: none;
  border-bottom: 1px solid rgba(244,238,225,.28);
  color: var(--cream); font-family: var(--sans); font-size: 16px;
  padding: 10px 2px; outline: none;
  transition: border-color .3s ease;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--gold-light); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(244,238,225,.32); }
.field--required > span::after { content: ' *'; color: var(--gold-light); }

.form-note { margin-top: 18px; font-size: 12.5px; color: rgba(244,238,225,.5); }

.form-error {
  margin-bottom: 24px; padding: 14px 18px;
  border: 1px solid rgba(231,184,92,.5); color: var(--gold-light);
  font-size: 14px; line-height: 1.6;
}

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.thanks {
  text-align: center; padding: clamp(48px, 6vw, 90px) 24px;
  border: 1px solid rgba(244,238,225,.2);
}
.thanks__title {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(26px, 3vw, 40px); color: var(--gold-light); margin-bottom: 18px;
}
.thanks__body {
  color: rgba(244,238,225,.8); font-size: 17px; line-height: 1.7;
  max-width: 46ch; margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep); color: rgba(244,238,225,.7);
  padding: clamp(56px,7vw,96px) var(--gutter) 40px;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 3vw, 48px); }
.foot__brand { font-family: var(--serif); font-size: 22px; color: var(--cream); margin-bottom: 14px; }
.foot__blurb { font-size: 14px; line-height: 1.7; max-width: 34ch; }
.foot__head {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 16px;
}
.foot__link {
  display: block; text-decoration: none; font-size: 14px;
  margin-bottom: 10px; color: rgba(244,238,225,.7);
  transition: color .3s ease;
}
.foot__link:last-child { margin-bottom: 0; }
.foot__link:hover { color: var(--gold-light); }
.foot__bar {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 24px;
  border-top: 1px solid rgba(244,238,225,.14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  font-size: 12.5px; color: rgba(244,238,225,.45);
}

/* --------------------------------------------------------------------------
   Interior pages (blog, single, 404, search)
   -------------------------------------------------------------------------- */
.page-shell { padding: calc(var(--section-y) + 60px) var(--gutter) var(--section-y); }
.page-shell .entry-content { max-width: 68ch; }
.page-shell .entry-content > * + * { margin-top: 1.1em; }
.page-shell .entry-content h2 { font-family: var(--serif); font-size: clamp(26px,3vw,38px); font-weight: 400; margin-top: 1.6em; }
.page-shell .entry-content h3 { font-family: var(--serif); font-size: clamp(20px,2.2vw,27px); font-weight: 500; margin-top: 1.4em; }
.page-shell .entry-content p,
.page-shell .entry-content li { font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.page-shell .entry-content ul,
.page-shell .entry-content ol { padding-left: 1.3em; }
.page-shell .entry-content blockquote {
  border-left: 2px solid var(--gold); padding-left: 24px;
  font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink);
}
.page-shell .entry-content a { color: var(--clay); }
.entry-meta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; }
.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: clamp(20px,2.4vw,36px); margin-top: 48px; }
.pagination { margin-top: 56px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid rgba(33,29,24,.2); text-decoration: none; }
.pagination .current { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.crumbs { margin-bottom: clamp(28px, 4vw, 48px); }
.crumbs__list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  list-style: none; padding: 0; margin: 0;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
}
.crumbs__item { display: flex; align-items: center; gap: 10px; color: var(--ink-mute); }
.crumbs__item + .crumbs__item::before {
  content: '/'; color: rgba(33,29,24,.28); letter-spacing: 0;
}
.crumbs__item a { color: var(--ink-soft); text-decoration: none; transition: color .3s ease; }
.crumbs__item a:hover { color: var(--clay); }
.crumbs__item [aria-current] { color: var(--gold-dark); }

.crumbs--onDark .crumbs__item { color: rgba(244,238,225,.55); }
.crumbs--onDark .crumbs__item + .crumbs__item::before { color: rgba(244,238,225,.28); }
.crumbs--onDark .crumbs__item a { color: rgba(244,238,225,.72); }
.crumbs--onDark .crumbs__item a:hover { color: var(--gold-light); }
.crumbs--onDark .crumbs__item [aria-current] { color: var(--gold-light); }

/* --------------------------------------------------------------------------
   Collection index pages
   -------------------------------------------------------------------------- */
.page-shell--sand { background: var(--sand); }
.page-shell--navy { background: var(--navy); color: var(--cream); }
.page-shell--navy .h-section,
.page-shell--navy .h-lead { color: var(--cream); }

.archive-head { max-width: 820px; margin-bottom: clamp(32px, 4vw, 52px); }
.archive-head__title { margin-bottom: 22px; }
.archive-head__intro { margin: 0; }

/* Term chips ---------------------------------------------------------------- */
.chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: clamp(36px, 4.5vw, 60px);
}
.chip {
  border: 1px solid rgba(33,29,24,.2); border-radius: 100px;
  padding: 8px 16px; font-size: 13px; color: var(--ink-3);
  text-decoration: none; transition: all .3s ease;
}
.chip:hover { border-color: var(--gold-dark); color: var(--clay); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.chips--onDark .chip { border-color: rgba(244,238,225,.28); color: rgba(244,238,225,.82); }
.chips--onDark .chip:hover { border-color: rgba(231,184,92,.7); color: var(--gold-light); }
.chips--onDark .chip.is-active {
  background: var(--gold-light); border-color: var(--gold-light);
  color: var(--navy); font-weight: 600;
}

/* "See all" links under a homepage section --------------------------------- */
.section__more { margin-top: clamp(32px, 4vw, 48px); }

.page-shell--navy .pagination .page-numbers { border-color: rgba(244,238,225,.28); }
.page-shell--navy .pagination .current {
  background: var(--gold-light); color: var(--navy); border-color: var(--gold-light);
}

.service--link { text-decoration: none; color: inherit; }
.service__more {
  margin-top: 20px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--gold-dark); transition: color .3s ease;
}
.service--link:hover .service__more { color: var(--clay); }
.service--link:hover .service__title { color: var(--clay); }

.services__head--related { margin-bottom: clamp(32px, 4vw, 48px); }

/* Journal cards on the archive get a dek and a date ------------------------ */
.journal__grid--archive { row-gap: clamp(36px, 4vw, 56px); }
.essay__dek {
  margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--ink-soft);
}
.essay__date {
  margin-top: 14px; font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-mute);
}

/* --------------------------------------------------------------------------
   Journal entry
   -------------------------------------------------------------------------- */
.entry-head { max-width: 68ch; margin-bottom: clamp(32px, 4vw, 44px); }
.entry-head__title { margin-bottom: 22px; }
.entry-dek {
  font-family: var(--serif); font-size: clamp(19px, 2vw, 25px);
  line-height: 1.5; color: var(--ink-3); max-width: 60ch;
}
.entry-media { margin-bottom: clamp(36px, 5vw, 60px); }
.entry-media .frame { background: linear-gradient(160deg, #D2C4A6, #bdac88); }

.entry-terms {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 28px; border-top: 1px solid rgba(33,29,24,.14);
}
/* Nothing above it to divide from. */
.entry-terms:first-child,
.prev-next:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.entry-terms__label {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-mute); margin-right: 6px;
}
.entry-terms .pill { text-decoration: none; transition: all .3s ease; }
.entry-terms a.pill:hover { border-color: var(--gold-dark); color: var(--clay); }

/* --------------------------------------------------------------------------
   Case study
   -------------------------------------------------------------------------- */
.case-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--section-y) + 60px) var(--gutter) clamp(56px, 7vw, 96px);
  background: radial-gradient(120% 100% at 50% -10%, #2A3D55 0%, #1B2A40 45%, #16212F 100%);
  color: var(--cream);
}
.case-hero__media { position: absolute; inset: 0; }
.case-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.case-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,30,46,.62), rgba(12,20,32,.86));
}
.case-hero__inner { position: relative; }
.case-hero__title { max-width: 18ch; margin-bottom: 26px; }
.case-hero__summary {
  max-width: 56ch; color: rgba(244,238,225,.82);
  font-family: var(--serif); font-size: clamp(18px, 1.9vw, 24px); line-height: 1.5;
}

.case-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px clamp(20px, 3vw, 44px);
  margin-top: clamp(36px, 4.5vw, 56px);
  padding-top: 28px; border-top: 1px solid rgba(244,238,225,.22);
}
.case-facts dt {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 8px;
}
.case-facts dd { font-size: 15px; line-height: 1.5; color: rgba(244,238,225,.9); }

.case-blocks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.case-block__label {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 600;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(33,29,24,.14);
}
.case-block__body .body-lg { font-size: 16px; }

.case-quote {
  margin: clamp(48px, 6vw, 80px) 0;
  border-left: 2px solid var(--gold); padding-left: clamp(20px, 3vw, 34px);
  max-width: 62ch;
}
.case-quote blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px); line-height: 1.42; color: var(--ink);
}
.case-quote figcaption {
  margin-top: 18px; font-size: 12.5px; letter-spacing: .06em; color: var(--ink-mute);
}

.case-body { margin-top: clamp(40px, 5vw, 64px); }

.case-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(48px, 6vw, 80px);
}

.case-credits { margin-top: clamp(48px, 6vw, 76px); }
.case-credits__list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px clamp(20px, 3vw, 44px);
}
.case-credits dt {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 6px;
}
.case-credits dd { font-size: 15.5px; color: var(--ink-3); }

.case-cta { margin-top: clamp(48px, 6vw, 76px); }

/* --------------------------------------------------------------------------
   Service page
   -------------------------------------------------------------------------- */
.service-page__solo { max-width: 68ch; }
.service-page__title { margin-bottom: 26px; }
.service-page__intro {
  font-family: var(--serif); font-size: clamp(19px, 2vw, 26px);
  line-height: 1.48; color: var(--ink-3); max-width: 46ch;
}
.service-page__tags { margin-top: 28px; max-width: 52ch; }
.service-page__body { margin-top: clamp(44px, 5vw, 68px); }

.svc-points { margin-top: clamp(48px, 6vw, 80px); }
.svc-points__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 3vw, 44px);
}
.svc-point__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(19px, 1.8vw, 23px); line-height: 1.2; margin-bottom: 12px;
}
.svc-point__body { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

.svc-deliverables { margin-top: clamp(48px, 6vw, 76px); }
.svc-deliverables .pills { margin-top: 0; }

/* --------------------------------------------------------------------------
   Previous / next
   -------------------------------------------------------------------------- */
.prev-next {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 28px; border-top: 1px solid rgba(33,29,24,.14);
}
.prev-next__link {
  text-decoration: none; color: inherit; max-width: 34ch;
  display: flex; flex-direction: column; gap: 8px;
}
.prev-next__link--next { text-align: right; margin-left: auto; }
.prev-next__dir {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark);
}
.prev-next__title {
  font-family: var(--serif); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.25;
  transition: color .3s ease;
}
.prev-next__link:hover .prev-next__title { color: var(--clay); }

.prev-next--onDark { border-top-color: rgba(244,238,225,.2); }
.prev-next--onDark .prev-next__dir { color: var(--gold-light); }
.prev-next--onDark .prev-next__link:hover .prev-next__title { color: var(--gold-light); }

.related .journal__head,
.related .work__head { margin-bottom: clamp(32px, 4vw, 48px); }

/* --------------------------------------------------------------------------
   Comments
   Collection items do not take comments — the enquiry form is the reply the
   site wants. Ordinary posts and pages still can, so give the default markup
   the theme's own treatment rather than the browser's.
   -------------------------------------------------------------------------- */
.comments { max-width: 68ch; }
.comments__title,
.comments .comment-reply-title {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 20px;
}
.comments ol { list-style: none; padding: 0; }
.comments .children { list-style: none; padding-left: clamp(16px, 3vw, 34px); }

.comments .comment-body {
  padding: 24px 0; border-bottom: 1px solid rgba(33,29,24,.14);
}
.comments .comment-author { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.comments .comment-author img { border-radius: 50%; }
.comments .comment-author .fn { font-style: normal; font-weight: 600; color: var(--ink); }
.comments .comment-metadata,
.comments .comment-metadata a {
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); text-decoration: none;
}
.comments .comment-content { margin: 14px 0; }
.comments .comment-content p { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.comments .reply a {
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--gold-dark); text-decoration: none;
}
.comments .reply a:hover { color: var(--clay); }

/* The default comment form, wearing the enquiry form's clothes. */
.comment-form { margin-top: 40px; }
.comment-respond .logged-in-as,
.comment-form-cookies-consent,
.comment-notes {
  font-size: 12.5px; line-height: 1.6; color: var(--ink-mute); margin-bottom: 20px;
}
.comment-form p:not(.form-submit) { margin-bottom: 22px; }
.comment-form label {
  display: block; margin-bottom: 8px;
  font-size: 12px; letter-spacing: .06em; color: var(--ink-soft);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid rgba(33,29,24,.24);
  color: var(--ink); font-family: var(--sans); font-size: 16px;
  padding: 10px 2px; outline: none; transition: border-color .3s ease;
}
.comment-form textarea { resize: vertical; line-height: 1.6; }
.comment-form input:focus,
.comment-form textarea:focus { border-bottom-color: var(--gold); }
.comment-form-cookies-consent { display: flex; align-items: center; gap: 10px; }
.comment-form-cookies-consent label { margin: 0; }
.comment-form input[type="checkbox"] { width: auto; }

/* --------------------------------------------------------------------------
   Stacked dark sections
   A case study ends on navy "Related work" and the enquiry form is navy too —
   without a hairline the two read as one undifferentiated slab.
   -------------------------------------------------------------------------- */
.section--navy + .section--navy { border-top: 1px solid rgba(244,238,225,.14); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .case-facts { grid-template-columns: 1fr 1fr; }
  .prev-next__link--next { text-align: left; margin-left: 0; }

  .desk-nav { display: none !important; }
  .mob-burger { display: block !important; }

  .split { grid-template-columns: 1fr !important; }
  .split > * { grid-column: 1 / -1 !important; }
  .split--reverse .split__media-6,
  .split .split__media-5,
  .split .split__media-6 { order: 0 !important; }
  .is-sticky { position: static; }

  .triptych { grid-template-columns: 1fr !important; }
  .triptych > * { transform: none !important; }

  .form-grid { grid-template-columns: 1fr !important; }
  .foot-grid { grid-template-columns: 1fr 1fr !important; }

  .hero__note { display: none; }
}

@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr !important; }
}
