/* ==========================================================================
   Sections
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero — home. Light and warm: the copy sits on a cream ground with a soft
   glow behind it, and the photograph is framed rather than flooded.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(7.5rem, 15vh, 11rem);
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -2;
  background: var(--grad-glow);
}
.hero .aurora { z-index: -1; opacity: .85; }
.hero__container { position: relative; z-index: 1; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
.hero__eyebrow { margin-bottom: var(--sp-5); }
.hero__title {
  font-size: var(--fs-4xl);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -.028em;
  color: var(--ink);
  max-width: 13ch;
}
.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 300;
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 9s linear infinite;
}
.hero__lead {
  margin-top: var(--sp-6);
  max-width: 52ch;
  font-size: var(--fs-md);
  color: var(--text-2);
}
.hero__actions { margin-top: var(--sp-7); }

/* Framed photograph */
.hero__figure {
  position: relative;
  margin: 0;
}
.hero__frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--sand);
  box-shadow: var(--sh-lg);
  background: var(--cream-2);
}
.hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 45%;
}
.hero__frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(194 112 58 / .10) 0%, transparent 42%, rgba(46 21 48 / .30) 100%);
  pointer-events: none;
}
.hero__stat {
  position: absolute;
  left: calc(var(--gutter) * -0.45);
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  gap: .2rem;
  padding: 1rem 1.4rem;
  border-radius: var(--r-md);
  background: var(--parchment);
  border: 1px solid var(--sand);
  box-shadow: var(--sh-md);
}
.hero__stat b {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1;
  color: var(--royal);
}
.hero__stat span {
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}
.hero__chips { display: flex; flex-wrap: wrap; gap: var(--sp-6); }
.hero__chip { display: flex; flex-direction: column; gap: .2rem; }
.hero__chip b {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1;
  color: var(--royal);
}
.hero__chip span {
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.scroll-cue {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: var(--fs-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.scroll-cue i {
  display: block;
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--amber), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--royal);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(26rem, 62svh, 40rem);
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(2.75rem, 6vh, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 112%; object-fit: cover; object-position: center 45%; }
.page-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    var(--scrim-light),
    linear-gradient(180deg, rgba(251 247 241 / .55) 0%, transparent 38%, rgba(251 247 241 / .96) 100%);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--fs-3xl); font-weight: 500; margin-top: var(--sp-4); max-width: 18ch; color: var(--ink); }
.page-hero p { margin-top: var(--sp-5); max-width: 58ch; color: var(--text-2); font-size: var(--fs-md); }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  margin-top: var(--sp-6);
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.crumbs a:hover { color: var(--royal); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .55rem; color: var(--amber); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs [aria-current] { color: var(--accent-ink); }

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust {
  position: relative;
  padding-block: clamp(1.5rem, 3vw, 2.4rem);
  background: linear-gradient(90deg, var(--cream-2) 0%, var(--blush) 50%, var(--cream-2) 100%);
  border-block: 1px solid var(--sand);
}
.trust__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  text-align: center;
}
.trust__item {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.trust__item strong { color: var(--ink); }
.trust__item svg { width: 1.15rem; height: 1.15rem; color: var(--royal); flex: none; }

/* --------------------------------------------------------------------------
   Metrics
   -------------------------------------------------------------------------- */
.metrics { background: var(--grad-warm); }
.metrics__grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  background: var(--sand);
  border: 1px solid var(--sand);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.metric {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem);
  background: var(--parchment);
  text-align: center;
  transition: background-color var(--t-mid);
}
.metric:hover { background: var(--blush); }
.metric__value {
  display: flex; align-items: baseline; justify-content: center; gap: .1rem;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  line-height: 1;
  color: var(--royal);
  font-variant-numeric: tabular-nums;
}
.metric__value sup {
  font-size: .42em;
  color: var(--amber);
  font-weight: 700;
  top: -.9em;
  position: relative;
}
.metric__label {
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 700;
}
.metric__note { margin-top: .5rem; font-size: var(--fs-xs); color: var(--text-3); }

/* --------------------------------------------------------------------------
   Split (image + copy)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
.split--reverse .split__media { order: -1; }
.split__copy > * + * { margin-top: var(--sp-5); }
.split__copy p { color: var(--text-2); }

.collage { position: relative; }
.collage__main {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--sand);
  box-shadow: var(--sh-lg);
}
.collage__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.collage__inset {
  position: absolute;
  /* Overhang is tied to the page gutter so the inset can never escape the
     container, at any viewport width. */
  right: calc(var(--gutter) * -0.55);
  bottom: -12%;
  width: 46%;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 5px solid var(--bg);
  box-shadow: var(--sh-lg);
}
.collage__inset img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.collage__badge {
  position: absolute;
  left: calc(var(--gutter) * -0.4);
  top: -8%;
  padding: 1rem 1.35rem;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--royal), var(--royal-deep));
  border: 1px solid rgba(230 199 102 / .45);
  box-shadow: var(--sh-royal);
  text-align: center;
}
.collage__badge b { display: block; font-family: var(--font-display); font-size: var(--fs-lg); color: var(--gold-soft); line-height: 1; }
.collage__badge span { display: block; margin-top: .3rem; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255 255 255 / .78); }

/* --------------------------------------------------------------------------
   Services grid
   -------------------------------------------------------------------------- */
.svc-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

/* Detailed service block (services page) */
.svc-block {
  display: grid;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
  grid-template-columns: 1fr;
  padding-block: clamp(2.75rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
  scroll-margin-top: 7rem;
}
.svc-block:first-of-type { border-top: 0; padding-top: 0; }
.svc-block--flip .svc-block__media { order: -1; }
.svc-block__media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.svc-block__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.svc-block__media:hover img { transform: scale(1.05); }
.svc-block__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.35rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(29 12 31 / .88));
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.svc-block__copy > * + * { margin-top: var(--sp-5); }
.svc-block__copy p { color: var(--text-2); }
.svc-cols { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); margin-top: var(--sp-6); padding-top: var(--sp-6); border-top: 1px solid var(--border); }
.svc-cols h4 { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: var(--sp-4); }

/* Sticky anchor rail */
.anchor-rail {
  position: sticky;
  top: 6.5rem;
  z-index: var(--z-sticky);
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: .6rem;
  margin-bottom: var(--sp-8);
  background: rgba(251 247 241 / .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--sand);
  box-shadow: var(--sh-sm);
  border-radius: var(--r-pill);
}
.anchor-rail::-webkit-scrollbar { display: none; }
.anchor-rail a {
  flex: none;
  padding: .5rem 1.05rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
  transition: all var(--t-fast) var(--ease-out);
}
.anchor-rail a:hover { color: var(--text); background: var(--surface-2); }
.anchor-rail a.is-active { background: var(--grad-royal); color: #fff; }

/* --------------------------------------------------------------------------
   Process timeline
   -------------------------------------------------------------------------- */
.process { position: relative; display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.process::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 1.35rem;
  height: 1px;
  background: var(--grad-rule);
  display: none;
}
.step { position: relative; padding-top: 0; }
.step__dot {
  position: relative;
  width: 2.7rem; height: 2.7rem;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--parchment);
  border: 1px solid rgba(124 40 125 / .30);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--royal);
  margin-bottom: var(--sp-5);
  z-index: 1;
  transition: background var(--t-mid), transform var(--t-mid) var(--ease-spring);
}
.step:hover .step__dot { background: var(--grad-royal); color: #fff; transform: scale(1.08); }
.step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-3); }
.step p { font-size: var(--fs-sm); color: var(--text-2); }

/* --------------------------------------------------------------------------
   Industry tiles
   -------------------------------------------------------------------------- */
.tiles { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.tile {
  position: relative;
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(16rem, 34vw, 24rem);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
}
.tile img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter var(--t-slow);
  filter: saturate(.92) contrast(1.03) brightness(.94);
}
.tile::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--scrim-dark);
  transition: background var(--t-slow);
}
.tile:hover img, .tile:focus-within img { transform: scale(1.07); filter: saturate(1) contrast(1.06); }
.tile:hover::after, .tile:focus-within::after {
  background: linear-gradient(180deg,
    rgba(46 21 48 / 0) 0%,
    rgba(90 26 92 / .34) 42%,
    rgba(90 26 92 / .78) 70%,
    rgba(29 12 31 / .97) 100%);
}
.tile h3 { font-size: var(--fs-lg); color: var(--on-dark); text-shadow: 0 2px 12px rgba(0 0 0 / .55); }
.tile p {
  margin-top: .55rem;
  font-size: var(--fs-sm);
  color: var(--on-dark-2);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease-out), opacity var(--t-mid), margin-top var(--t-slow);
}
.tile:hover p, .tile:focus-within p { max-height: 9rem; opacity: 1; }
.tile__rule { height: 1px; background: var(--grad-rule); margin-bottom: var(--sp-4); transform: scaleX(.2); transform-origin: left; transition: transform var(--t-slow) var(--ease-out); }
.tile:hover .tile__rule, .tile:focus-within .tile__rule { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Projects
   -------------------------------------------------------------------------- */
.proj-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.proj {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  text-align: left;
  transition: transform var(--t-mid) var(--ease-out), border-color var(--t-mid), box-shadow var(--t-mid);
}
.proj:hover, .proj:focus-visible { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--sh-md); }
.proj__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; }
.proj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.proj:hover .proj__media img { transform: scale(1.07); }
.proj__tag {
  position: absolute; top: .85rem; left: .85rem;
  padding: .35rem .8rem;
  border-radius: var(--r-pill);
  background: rgba(29 12 31 / .82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(230 199 102 / .38);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.proj__body { padding: clamp(1.15rem, 2.6vw, 1.65rem); display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.proj__title { font-size: var(--fs-md); }
.proj__meta { font-size: var(--fs-xs); color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; }
.proj__more { margin-top: auto; padding-top: var(--sp-4); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--royal); display: inline-flex; align-items: center; gap: .45rem; }
.proj__more svg { width: .85rem; height: .85rem; transition: transform var(--t-mid); }
.proj:hover .proj__more svg { transform: translateX(4px); }
.proj[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Beliefs
   -------------------------------------------------------------------------- */
.beliefs { display: grid; gap: 0; counter-reset: belief; }
.belief {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  align-items: baseline;
  padding-block: clamp(1.5rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--border);
  counter-increment: belief;
  transition: background-color var(--t-mid), padding-left var(--t-mid) var(--ease-out);
}
.belief:last-child { border-bottom: 1px solid var(--border); }
.belief:hover { background: linear-gradient(90deg, rgba(240 211 188 / .55), transparent 72%); }
.belief__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .2em;
  color: var(--accent-ink);
}
.belief__num::before { content: "0" counter(belief); }
.belief p {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--text);
  max-width: 34ch;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quotes { position: relative; }
.quotes__viewport { overflow: hidden; }
.quotes__track { display: flex; transition: transform var(--t-slow) var(--ease-out); }
.quote {
  flex: 0 0 100%;
  padding-inline: clamp(0rem, 2vw, 1.5rem);
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -.018em;
  color: var(--text);
  max-width: 34ch;
  margin-inline: auto;
  text-align: center;
}
.quote blockquote::before {
  content: "\201C";
  display: block;
  font-size: 3em;
  line-height: .55;
  color: var(--amber);
  margin-bottom: .2em;
}
.quote figcaption {
  margin-top: var(--sp-6);
  text-align: center;
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.quotes__nav { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-7); }
.quotes__dots { display: flex; gap: .5rem; }
.quotes__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sand);
  transition: all var(--t-mid) var(--ease-out);
}
.quotes__dots button[aria-current="true"] { width: 26px; border-radius: var(--r-pill); background: var(--royal); }
.quotes__arrow {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  color: var(--text-2);
  transition: all var(--t-mid) var(--ease-out);
}
.quotes__arrow:hover { color: #fff; background: var(--grad-royal); border-color: transparent; }
.quotes__arrow svg { width: 1rem; height: 1rem; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(251 247 241 / .93) 0%, rgba(247 230 216 / .90) 55%, rgba(251 247 241 / .95) 100%);
}
.cta-band__inner { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { font-size: var(--fs-2xl); font-weight: 500; max-width: 20ch; margin-inline: auto; color: var(--ink); }
.cta-band p { margin-top: var(--sp-5); color: var(--text-2); max-width: 52ch; margin-inline: auto; }
.cta-band .btn-row { margin-top: var(--sp-7); }

/* --------------------------------------------------------------------------
   Tools marquee band
   -------------------------------------------------------------------------- */
.tools { padding-block: clamp(2.25rem, 5vw, 4rem); background: var(--bg-alt); border-block: 1px solid var(--sand); }
.tools__label {
  text-align: center;
  margin-bottom: var(--sp-6);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   Coverage / licensing
   -------------------------------------------------------------------------- */
.coverage { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.coverage__card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--blush), var(--parchment) 72%);
  box-shadow: var(--sh-sm);
}
.coverage__card b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  line-height: 1;
  color: var(--royal);
  margin-bottom: var(--sp-4);
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2.25rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
.office-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color var(--t-mid), transform var(--t-mid) var(--ease-out);
}
.office-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.office-card + .office-card { margin-top: var(--sp-5); }
.office-card h3 { font-size: var(--fs-md); }
.office-card .pill { margin-top: var(--sp-3); }
.office-card dl { margin-top: var(--sp-5); display: grid; gap: var(--sp-4); }
.office-card dt { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .25rem; }
.office-card dd { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.65; }
.office-card dd a:hover { color: var(--royal); }

/* --------------------------------------------------------------------------
   Careers
   -------------------------------------------------------------------------- */
.perks { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.perk {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--t-mid), background-color var(--t-mid), transform var(--t-mid) var(--ease-out);
}
.perk:hover { border-color: rgba(124 40 125 / .30); background: var(--blush); transform: translateY(-4px); }
.perk__num { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--accent-ink); letter-spacing: .18em; }
.perk h3 { font-size: var(--fs-md); margin-block: var(--sp-4) var(--sp-3); }
.perk p { font-size: var(--fs-sm); color: var(--text-2); }

.roles { border-top: 1px solid var(--border); }
.role {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  align-items: center;
  padding-block: clamp(1.25rem, 3vw, 1.9rem);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--t-mid);
}
.role:hover { background: linear-gradient(90deg, rgba(240 211 188 / .50), transparent 74%); }
.role h3 { font-size: var(--fs-md); }
.role__meta { display: flex; flex-wrap: wrap; gap: .5rem; }

/* --------------------------------------------------------------------------
   Timeline (about)
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: "";
  position: absolute; left: .42rem; top: .5rem; bottom: .5rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(124 40 125 / .35) 12%, rgba(124 40 125 / .35) 88%, transparent);
}
.tl-item { position: relative; padding-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute; left: -1.72rem; top: .55rem;
  width: .62rem; height: .62rem;
  border-radius: 50%;
  background: var(--royal);
  box-shadow: 0 0 0 4px rgba(124 40 125 / .14);
}
.tl-item h3 { font-size: var(--fs-md); margin-bottom: .5rem; }
.tl-item p { font-size: var(--fs-sm); color: var(--text-2); max-width: 60ch; }
.tl-item .pill { margin-bottom: var(--sp-3); }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.notfound {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(6rem, 14vh, 9rem) 0 var(--sp-9);
  isolation: isolate;
  overflow: hidden;
}
.notfound__media { position: absolute; inset: 0; z-index: -2; }
.notfound__media img { width: 100%; height: 100%; object-fit: cover; }
.notfound__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251 247 241 / .94), rgba(247 230 216 / .96)); }
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 22vw, 14rem);
  line-height: .85;
  font-weight: 300;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound { background: var(--bg); }

/* --------------------------------------------------------------------------
   Legal / prose
   -------------------------------------------------------------------------- */
.prose > * + * { margin-top: var(--sp-5); }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-8); }
.prose h3 { font-size: var(--fs-md); margin-top: var(--sp-6); }
.prose p, .prose li { color: var(--text-2); }
.prose ul { display: grid; gap: .6rem; padding-left: 1.2rem; list-style: disc; }
.prose a { color: var(--royal); text-decoration: underline; text-underline-offset: 3px; }
