/* Taste Hospitality: inner-page templates.
   Spec: SITE-SPEC.md, locked in DECISIONS.md (2026-09-18).
   Loaded after css/site.css on every page except the homepage. */

.h-page { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.0; font-weight: 400; letter-spacing: -0.055em; word-spacing: .1em; max-width: 16em; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; }
.on-dark { color: var(--paper); }
.on-dark .eyebrow { color: var(--mute-dk); }
.bg-paper { background: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink .eyebrow { color: var(--mute-dk); }

/* ===== 1a. Structured page hero ===== */
.phero {
  position: relative; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h);
  min-height: 560px; display: flex; background: var(--deep); color: var(--paper); isolation: isolate; overflow: hidden;
}
.phero--photo { min-height: max(680px, min(88svh, 860px)); }
.phero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(14,12,11,0) 45%, #0E0C0B 100%),
    linear-gradient(90deg, #0E0C0B 0%, rgba(14,12,11,.88) 32%, rgba(14,12,11,.42) 64%, rgba(14,12,11,.12) 100%);
}
.phero__grid { flex: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; grid-template-rows: 1fr auto auto; position: relative; z-index: 2; }
.phero__head { grid-column: 1 / 11; align-self: end; padding: 112px 0 48px; }
.phero__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 14px; color: var(--mute-dk); transition: color var(--dur-hover) var(--ease-hover); }
.phero__back:hover { color: var(--paper); }
.phero__back svg { width: 14px; height: 14px; transform: scaleX(-1); }
.phero__head .h-page { margin-top: 24px; }
.phero__head h1.h-page { margin-top: 24px; }
.phero__rule { grid-column: 1 / -1; height: 1px; background: var(--line-dk); }
.phero__band { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; padding: 36px 0 56px; }
.phero__intro { grid-column: 1 / 8; }
.phero__intro .lead { color: rgba(247,245,242,.86); max-width: 38em; }
.phero__aside { grid-column: 9 / 13; padding-left: 32px; border-left: 1px solid var(--line-dk); align-self: start; }
.phero__aside .eyebrow { margin-bottom: 16px; }
@media (max-width: 1024px) {
  .phero, .phero--photo { min-height: 0; }
  .phero__head { grid-column: 1 / -1; padding-top: 104px; }
  .phero__band { display: flex; flex-direction: column; gap: 32px; }
  .phero__aside { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line-dk); }
}
@media (max-width: 640px) { .phero__head { padding: 88px 0 36px; } }

/* hero second-job cells */
.aside-cta p { font-size: 15px; color: var(--mute-dk); margin-bottom: 16px; }
.aside-cta .btn { flex-wrap: nowrap; }
.aside-phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 22px; letter-spacing: -0.03em; color: var(--paper); transition: color var(--dur-hover) var(--ease-hover); }
.aside-phone svg { width: 18px; height: 18px; color: var(--orange); }
.aside-phone:hover { color: var(--orange); }
.aside-phone--big { font-size: clamp(28px, 2.6vw, 38px); margin-top: 8px; }
.aside-stat { display: block; }
.aside-stat__num { display: block; font-size: clamp(56px, 5vw, 80px); line-height: 1; letter-spacing: -0.06em; }
.aside-stat__num em { font-style: normal; color: var(--orange); }
.aside-stat__label { display: block; margin-top: 12px; font-size: 15px; color: var(--mute-dk); }
.aside-stat__link { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 15px; font-weight: 500; color: var(--paper); }
.aside-stat__link svg { width: 14px; height: 14px; color: var(--orange); transition: transform var(--dur-hover) var(--ease-hover); }
.aside-stat:hover .aside-stat__link svg { transform: translateX(3px); }
.aside-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aside-chips a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-dk); font-size: 14px; color: var(--paper); transition: background-color var(--dur-hover) var(--ease-hover), border-color var(--dur-hover) var(--ease-hover); }
.aside-chips a:hover { background: rgba(247,245,242,.08); border-color: rgba(247,245,242,.32); }
.aside-toc ol { counter-reset: toc; display: flex; flex-direction: column; }
.aside-toc li { counter-increment: toc; border-top: 1px solid var(--line-dk); }
.aside-toc li:last-child { border-bottom: 1px solid var(--line-dk); }
.aside-toc a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 12px 0; font-size: 15px; line-height: 1.4; color: rgba(247,245,242,.86); transition: color var(--dur-hover) var(--ease-hover); }
.aside-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--orange); font-size: 13px; padding-top: 2px; }
.aside-toc a:hover { color: var(--paper); }
.aside-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dk); }
.aside-stats > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line-dk); }
.aside-stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-dk); }
.aside-stats .n { font-size: 30px; line-height: 1.05; letter-spacing: -0.045em; }
.aside-stats .n em { font-style: normal; color: var(--orange); }
.aside-stats .l { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--mute-dk); }
.aside-person { display: flex; gap: 18px; align-items: center; background: var(--paper); color: var(--ink); border-radius: var(--r-card); padding: 16px 20px 16px 16px; }
.aside-person img { width: 72px; height: 72px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; object-position: center 20%; background: var(--paper-2); }
.aside-person strong { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.aside-person .role { font-size: 14px; color: var(--mute); }
.aside-person .note { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--mute); }
.aside-person .links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.aside-person .links a { font-size: 15px; color: var(--orange-dk); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(184,72,15,.35); }
.aside-rating { display: block; }
.aside-rating .stars { display: flex; gap: 3px; }
.aside-rating .stars svg { width: 16px; height: 16px; fill: var(--orange); }
.aside-rating .score { display: block; margin-top: 10px; font-size: 56px; line-height: 1; letter-spacing: -0.05em; }
.aside-rating .txt { display: block; margin-top: 8px; font-size: 15px; color: var(--mute-dk); }
.aside-rating .txt strong { color: var(--paper); font-weight: 500; }
.aside-notice { border: 1px solid var(--line-dk); border-radius: var(--r-card); padding: 20px 22px; }
.aside-notice p { font-size: 15px; line-height: 1.6; color: rgba(247,245,242,.86); }
.aside-notice p strong { display: block; color: var(--orange); font-weight: 500; margin-bottom: 6px; }

/* case-study hero: the band is the meta row */
.phero__meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
.phero__meta > div { padding: 0 32px; border-left: 1px solid var(--line-dk); }
.phero__meta > div:first-child { padding-left: 0; border-left: 0; }
.phero__meta .k { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-dk); }
.phero__meta .v { margin-top: 10px; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.phero__meta .v--out { color: var(--orange); font-size: 28px; letter-spacing: -0.035em; }
@media (max-width: 760px) {
  .phero__meta { grid-template-columns: 1fr; }
  .phero__meta > div { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line-dk); }
  .phero__meta > div:first-child { border-top: 0; padding-top: 0; }
}

/* ===== section heads ===== */
.shead { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }

/* ===== 1c. Case card ===== */
.ccards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ccards--one { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.ccard2 { display: flex; flex-direction: column; gap: 20px; }
.ccard2__img { aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden; background: var(--panel); }
.ccard2__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-hover); }
.ccard2__body { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; align-items: end; }
.ccard2__body .chip { grid-column: 1 / -1; justify-self: start; }
.ccard2__title { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.035em; }
.ccard2__sum { grid-column: 1; font-size: 15px; line-height: 1.55; color: var(--mute-dk); max-width: 48ch; }
.ccard2 .arrow-circle { grid-column: 2; grid-row: 2 / 4; align-self: end; border-color: var(--line-dk); color: var(--paper); }
@media (hover: hover) {
  .ccard2:hover .ccard2__img img { transform: scale(1.04); }
  .ccard2:hover .arrow-circle { background: var(--orange); border-color: var(--orange); color: var(--ink); }
}
@media (max-width: 760px) { .ccards { grid-template-columns: 1fr; } }

/* ===== Role page: ruled rows with ghost numerals ===== */
.lookfor__side { grid-column: 1 / 5; }
.lookfor__rows { grid-column: 5 / 13; border-top: 1px solid var(--line); counter-reset: lf; }
.lookfor__row { counter-increment: lf; display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 24px; min-height: 132px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.lookfor__row::before { content: counter(lf, decimal-leading-zero); font-size: 96px; line-height: .9; letter-spacing: -0.06em; color: var(--tile); }
.lookfor__row p { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.35; letter-spacing: -0.02em; max-width: 34ch; }
@media (max-width: 1024px) {
  .lookfor .grid-12 { display: block; }
  .lookfor__side { margin-bottom: 40px; }
}
@media (max-width: 640px) {
  .lookfor__row { grid-template-columns: 72px 1fr; min-height: 0; padding: 22px 0; }
  .lookfor__row::before { font-size: 56px; }
}

/* ===== Case study: ruled narrative rows ===== */
.narr__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; padding: 48px 0; border-top: 1px solid var(--line); }
.narr__row h3 { grid-column: 1 / 5; }
.narr__row p { grid-column: 6 / 13; font-size: 20px; line-height: 1.6; letter-spacing: -0.01em; max-width: 58ch; }
.narr__row--out { margin-top: 24px; padding: 48px 40px; border-top: 0; background: var(--tile); border-radius: var(--r-card) var(--r-card) 0 0; }
.narr__plinth { height: 4px; background: var(--orange); }
@media (max-width: 900px) {
  .narr__row { display: block; padding: 36px 0; }
  .narr__row p { margin-top: 16px; font-size: 18px; }
  .narr__row--out { padding: 32px 24px; }
}
.more__foot { margin-top: 48px; }

/* ===== Case studies index: mixed-width grid ===== */
.cgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 20px; }
.cgrid > .ccard2:nth-child(4n+1), .cgrid > .ccard2:nth-child(4n+4) { grid-column: span 7; }
.cgrid > .ccard2:nth-child(4n+2), .cgrid > .ccard2:nth-child(4n+3) { grid-column: span 5; }
.cgrid .ccard2__img { aspect-ratio: auto; height: clamp(280px, 28vw, 440px); }
@media (max-width: 900px) {
  .cgrid { grid-template-columns: 1fr; }
  .cgrid > .ccard2:nth-child(n) { grid-column: auto; }
  .cgrid .ccard2__img { height: auto; aspect-ratio: 16 / 10; }
}

/* ===== Articles index: ruled grid with hover fill ===== */
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--paper); }
.rcell {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 360px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 24px);
  transition: background-color var(--dur-hover) var(--ease-hover);
}
.rcell:nth-child(3n) { border-right: 0; }
.rcell:nth-last-child(-n+3) { border-bottom: 0; }
.rcell h3 { font-size: 24px; line-height: 1.2; font-weight: 400; letter-spacing: -0.03em; }
.rcell p { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--mute); }
.rcell .more { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 15px; font-weight: 500; color: var(--orange-dk); }
.rcell .more svg { width: 16px; height: 16px; transition: transform var(--dur-hover) var(--ease-hover); }
.rcell .icon-tile { margin-bottom: 0; }
@media (hover: hover) {
  .rcell:hover { background: var(--tile); }
  .rcell:hover .more svg { transform: translateX(3px); }
}
.rcell:target { background: var(--tile); }
@media (max-width: 1024px) {
  .rgrid { grid-template-columns: 1fr 1fr; }
  .rcell:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .rcell:nth-child(2n) { border-right: 0; }
  .rcell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .rgrid { grid-template-columns: 1fr; }
  .rcell:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .rcell:last-child { border-bottom: 0; }
}

/* ===== Article body ===== */
.article__body { grid-column: 2 / 9; }
.article__body--wide { grid-column: 2 / 11; }
.article__body > div + div { margin-top: 48px; }
.article__body h2, .article__body h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; font-weight: 400; letter-spacing: -0.035em; margin-bottom: 16px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.article__body p, .article__body li { font-size: 18px; line-height: 1.7; color: #2E2A26; max-width: var(--measure); }
.article__body p + p { margin-top: 18px; }
.article__body ul { list-style: disc; padding-left: 1.2em; margin-top: 12px; }
.article__body ol { list-style: decimal; padding-left: 1.2em; margin-top: 12px; }
.article__body li + li { margin-top: 8px; }
.article__body a { color: var(--orange-dk); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(184,72,15,.35); }
.article__body strong { font-weight: 500; color: var(--ink); }
.article__callout { background: var(--tile); border-radius: var(--r-card); padding: 32px 36px; }
.article__callout p { color: var(--ink); }
.article__callout p:first-child { font-size: 22px; letter-spacing: -0.02em; }
.article__side { grid-column: 10 / 13; align-self: start; position: sticky; top: calc(var(--nav-h) + 40px); }
.side-card { background: var(--paper-2); border-radius: var(--r-card); padding: 28px; }
.side-card h2 { font-size: 24px; line-height: 1.2; font-weight: 400; letter-spacing: -0.03em; }
.side-card p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--mute); }
.side-card .btn { margin-top: 20px; }
@media (max-width: 1024px) {
  .article .grid-12 { display: block; }
  .article__side { position: static; margin-top: 56px; }
}

/* ===== How we work ===== */
.expand { height: clamp(420px, 82vh, 860px); overflow: hidden; background: var(--paper); }
.expand img { width: 100%; height: 100%; object-fit: cover; }
@keyframes expand-bleed { from { clip-path: inset(12% 8% round 24px); } to { clip-path: inset(0 0 round 0); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .expand img { animation: expand-bleed linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  }
}

/* hover accordion with image swap */
.hacc__grid { align-items: start; }
.hacc__text { grid-column: 1 / 7; }
.hacc__text .diff-intro { margin-top: 24px; font-size: 18px; line-height: 1.6; color: rgba(247,245,242,.8); max-width: 44ch; }
.hacc__list { margin-top: 48px; border-top: 1px solid var(--line-dk); }
.hacc__item { border-bottom: 1px solid var(--line-dk); }
.hacc__q { width: 100%; display: grid; grid-template-columns: 48px 1fr 40px; align-items: center; gap: 12px; padding: 24px 0; text-align: left; }
.hacc__num { font-size: 15px; font-weight: 500; color: var(--orange); }
.hacc__q .h3 { color: var(--paper); transition: color var(--dur-hover) var(--ease-hover); }
.hacc__icon { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dk); transition: background-color var(--dur-hover) var(--ease-hover), transform var(--dur-hover) var(--ease-hover), border-color var(--dur-hover) var(--ease-hover); }
.hacc__icon::before, .hacc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--paper); translate: -50% -50%; }
.hacc__icon::after { rotate: 90deg; }
.hacc__a p { padding: 0 56px 28px 60px; font-size: 16px; line-height: 1.65; color: var(--mute-dk); max-width: 52ch; }
.hacc__media { grid-column: 8 / 13; position: sticky; top: calc(var(--nav-h) + 40px); height: clamp(420px, 64vh, 640px); border-radius: var(--r-card); overflow: hidden; background: var(--panel); }
.hacc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 500ms var(--ease-hover); }
.hacc__media img:first-child { opacity: 1; }
/* With the script running: only the active row is open and dimming applies. */
.ready .hacc__media img { opacity: 0; }
.ready .hacc__media img.is-active { opacity: 1; }
.ready .hacc__item:not(.is-open) .h3 { color: rgba(247,245,242,.58); }
.ready .hacc__item.is-open .hacc__icon { background: var(--orange); border-color: var(--orange); transform: rotate(45deg); }
.ready .hacc__item.is-open .hacc__icon::before, .ready .hacc__item.is-open .hacc__icon::after { background: var(--ink); }
.ready .hacc__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--dur-hover) var(--ease-hover), visibility 0s var(--dur-hover); }
.ready .hacc__a > div { overflow: hidden; }
.ready .hacc__item.is-open .hacc__a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--dur-hover) var(--ease-hover), visibility 0s; }
.hacc__thumb { display: none; }
@media (max-width: 900px) {
  .hacc__grid { display: block; }
  .hacc__media { display: none; }
  .hacc__thumb { display: block; margin: 0 0 24px 60px; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; }
  .hacc__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .hacc__a p { padding: 0 0 20px 60px; }
}

/* flush row stack */
.rowstack__row {
  position: sticky; top: var(--nav-h);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px;
  min-height: 380px; padding: 40px 0; background: var(--paper); border-top: 1px solid var(--line);
}
.rowstack__row:last-child { border-bottom: 1px solid var(--line); }
.rowstack__num { grid-column: 1 / 3; align-self: end; font-size: clamp(88px, 9vw, 150px); line-height: .82; letter-spacing: -0.07em; color: var(--tile); }
.rowstack__body { grid-column: 4 / 11; }
.rowstack__body .pcard__step { margin-bottom: 10px; }
.rowstack__body > p { margin-top: 14px; font-size: 17px; line-height: 1.65; color: #2E2A26; max-width: 58ch; }
.rowstack__body .in-practice { margin-top: 20px; padding: 18px 22px; border-radius: var(--r-small); background: var(--paper-2); border-left: 3px solid var(--orange); font-size: 15px; line-height: 1.6; color: var(--mute); max-width: 58ch; }
.rowstack__icon { grid-column: 12 / 13; justify-self: end; }
@media (max-width: 900px) {
  .rowstack__row { position: static; display: block; min-height: 0; padding: 36px 0; }
  .rowstack__num { font-size: 72px; margin-bottom: 12px; }
  .rowstack__icon { display: none; }
}

/* ===== About ===== */
.statement p { grid-column: 1 / 11; font-size: clamp(28px, 3vw, 44px); line-height: 1.22; letter-spacing: -0.035em; color: var(--paper); }
.statement .w { transition: color 200ms linear; }
.scrubbing .w { color: var(--mute-dk); }
.scrubbing .w.is-lit { color: var(--paper); }
.story__photo { grid-column: 1 / 5; height: clamp(420px, 44vw, 620px); border-radius: var(--r-card); overflow: hidden; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__text { grid-column: 6 / 13; align-self: center; }
.story__text p { font-size: 18px; line-height: 1.7; color: #2E2A26; max-width: var(--measure); }
.story__text p + p { margin-top: 20px; }
@media (max-width: 900px) {
  .story .grid-12 { display: block; }
  .story__photo { height: 360px; margin-bottom: 40px; }
}

/* ===== Testimonials: ruled quote grid with featured cells ===== */
.qgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.qcell { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 300px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qcell blockquote p { font-size: 17px; line-height: 1.6; letter-spacing: -0.01em; }
.qcell figcaption { display: flex; align-items: center; gap: 12px; }
.qcell figcaption strong { display: block; font-size: 15px; font-weight: 500; }
.qcell figcaption .src { display: block; font-size: 14px; color: var(--mute); }
.qcell--feat { grid-column: span 2; background: var(--ink); color: var(--paper); }
.qcell--feat blockquote p { font-size: clamp(22px, 2vw, 28px); line-height: 1.35; letter-spacing: -0.025em; max-width: 34ch; }
.qcell--feat .avatar { background: var(--orange); color: var(--ink); }
.qcell--feat figcaption .src { color: var(--mute-dk); }
@media (max-width: 900px) {
  .qgrid { grid-template-columns: 1fr 1fr; }
  .qcell--feat { grid-column: span 2; }
}
@media (max-width: 640px) {
  .qgrid { grid-template-columns: 1fr; }
  .qcell--feat { grid-column: auto; }
  .qcell { min-height: 0; padding: 28px 24px; }
}

/* ===== Contact cards (space-between cards, site.css) ===== */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.contact-cards .pcard { min-height: 280px; }
.contact-cards .c-value { font-size: 22px; line-height: 1.25; letter-spacing: -0.025em; font-weight: 400; overflow-wrap: anywhere; }
.contact-cards .c-sub { font-size: 15px; line-height: 1.5; color: var(--mute); }
@media (max-width: 1100px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
.brief-cta__panel--ink { background: var(--ink); color: var(--paper); }

/* ===== 1d. Form system ===== */
.fsec__grid { align-items: start; }
.fcard { grid-column: 1 / 8; background: var(--paper); border-radius: var(--r-panel); padding: 44px; }
.fcard--centre { grid-column: 3 / 11; }
.fcard form { display: flex; flex-direction: column; gap: 20px; }
.fcard .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fcard .field { display: flex; flex-direction: column; gap: 8px; }
.fcard label { font-size: 14px; font-weight: 500; color: var(--ink); }
.fcard input, .fcard select, .fcard textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid rgba(22,20,18,.22); border-radius: var(--r-small);
  transition: border-color var(--dur-hover) var(--ease-hover), box-shadow var(--dur-hover) var(--ease-hover);
}
.fcard textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.fcard input::placeholder, .fcard textarea::placeholder { color: #8C867D; }
.fcard select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 3.5 5 7l3.5-3.5' fill='none' stroke='%23161412' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px;
}
.fcard input:focus, .fcard select:focus, .fcard textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(240,99,29,.35); }
.fcard input[type="file"] { min-height: 0; padding: 20px; border: 1.5px dashed rgba(22,20,18,.28); background: var(--paper-2); cursor: pointer; font-size: 15px; color: var(--mute); }
.fcard input[type="file"]::file-selector-button { margin-right: 16px; height: 40px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.fcard .file-hint { font-size: 13px; color: var(--mute); }
.fcard .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fcard button[type="submit"] { align-self: flex-start; margin-top: 8px; }
.fcard button[type="submit"]:disabled { opacity: .6; cursor: progress; }
.fcard .form-note { font-size: 14px; line-height: 1.55; color: var(--mute); }
.fcard .form-note a { color: var(--orange-dk); text-decoration: underline; text-underline-offset: 3px; }
.form-error { display: none; margin-bottom: 20px; padding: 14px 18px; border-left: 3px solid var(--orange-dk); background: #FBEFE8; border-radius: 0 var(--r-small) var(--r-small) 0; color: var(--orange-dk); font-size: 15px; line-height: 1.5; }
.form-error.show { display: block; }
.brief-form.hide { display: none; }
.form-success { display: none; padding: 16px 0; }
.form-success.show { display: block; }
.form-success .ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-small); background: var(--orange); color: var(--ink); }
.form-success .ico svg { width: 26px; height: 26px; }
.form-success h3 { margin-top: 24px; font-size: 32px; font-weight: 400; letter-spacing: -0.04em; }
.form-success p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--mute); max-width: 44ch; }
.fside { grid-column: 9 / 13; position: sticky; top: calc(var(--nav-h) + 40px); }
.fside h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.03em; }
.fside ol { margin-top: 20px; border-top: 1px solid var(--line); }
.fside li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fside li .n { font-size: 14px; font-weight: 500; color: var(--orange-dk); padding-top: 2px; }
.fside li strong { display: block; font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.fside li span.d { display: block; margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--mute); }
.fside__direct { margin-top: 28px; padding: 22px; background: var(--tile); border-radius: var(--r-card); }
.fside__direct p { font-size: 15px; color: var(--mute); }
.fside__direct a { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 26px; letter-spacing: -0.035em; color: var(--ink); }
.fside__direct a svg { width: 18px; height: 18px; color: var(--orange-dk); }
@media (max-width: 1024px) {
  .fsec .grid-12 { display: block; }
  .fside { position: static; margin-top: 48px; }
}
@media (max-width: 640px) {
  .fcard { padding: 28px 20px; border-radius: var(--r-card); }
  .fcard .row-2 { grid-template-columns: 1fr; }
}

/* ===== 404 ===== */
.err { position: relative; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); min-height: 100svh; display: flex; align-items: center; background: var(--ink); color: var(--paper); overflow: hidden; }
.err__num { position: absolute; right: -2vw; bottom: -6vw; font-size: clamp(160px, 26vw, 380px); line-height: .8; letter-spacing: -0.08em; color: var(--panel); pointer-events: none; user-select: none; z-index: 0; }
.err .container { position: relative; z-index: 2; padding-block: 80px; }
.err h1 { margin-top: 24px; }
.err__sub { margin-top: 24px; font-size: 18px; line-height: 1.6; color: rgba(247,245,242,.8); max-width: 46ch; }
.err .btn-row { margin-top: 36px; }
.err__help { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dk); max-width: 560px; font-size: 15px; color: var(--mute-dk); }
.err__help a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* ===== /hire ===== */
.lp-header .nav { justify-content: space-between; }
.lp-hero { background: var(--deep); color: var(--paper); margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + 72px) 0 96px; }
.lp-hero__grid { align-items: center; row-gap: 48px; }
.lp-hero__text { grid-column: 1 / 7; }
.lp-hero__text h1 { margin-top: 24px; font-size: clamp(40px, 4.6vw, 68px); }
.lp-hero__text .lead { margin-top: 24px; color: rgba(247,245,242,.86); max-width: 36em; }
.lp-hero__text .btn-row { margin-top: 32px; }
.lp-hero__media { grid-column: 7 / 13; position: relative; }
.lp-hero__photo { height: clamp(420px, 44vw, 620px); border-radius: var(--r-panel); overflow: hidden; }
.lp-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.lp-rating { position: absolute; left: -32px; bottom: 32px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--paper); color: var(--ink); border-radius: var(--r-card); box-shadow: 0 24px 48px -20px rgba(0,0,0,.55); }
.lp-rating .stars { display: flex; gap: 2px; }
.lp-rating .stars svg { width: 14px; height: 14px; fill: var(--orange); }
.lp-rating .score { font-size: 32px; line-height: 1; letter-spacing: -0.04em; }
.lp-rating .txt { font-size: 14px; line-height: 1.4; color: var(--mute); max-width: 12em; }
@media (max-width: 1024px) {
  .lp-hero__text, .lp-hero__media { grid-column: 1 / -1; }
  .lp-rating { left: 16px; bottom: 16px; }
}
@media (max-width: 640px) { .lp-hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 72px; } .lp-hero__photo { height: 340px; } }

.lp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lp-stat { min-height: 200px; padding: 28px; border-radius: var(--r-card); background: var(--tile); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.lp-stat .n { font-size: clamp(36px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.05em; }
.lp-stat .n em { font-style: normal; color: var(--orange-dk); }
.lp-stat .l { font-size: 15px; line-height: 1.5; color: var(--mute); }
@media (max-width: 900px) { .lp-stats { grid-template-columns: 1fr 1fr; } }

.lp-marquee-wrap { position: relative; }
.quote-marquee { overflow: hidden; -webkit-mask-image: var(--edge-fade, linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%)); mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%); }
.quote-track { display: flex; gap: 20px; width: max-content; animation: qscroll 70s linear infinite; }
.quote-marquee:hover .quote-track, .quote-marquee:focus-within .quote-track, .quote-marquee.is-paused .quote-track { animation-play-state: paused; }
@keyframes qscroll { to { transform: translateX(calc(-50% - 10px)); } }
.proof-card { width: 380px; flex: 0 0 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 28px; border-radius: var(--r-card); background: var(--panel); color: var(--paper); }
.proof-card p { font-size: 16px; line-height: 1.6; }
.proof-card .who { font-size: 14px; color: var(--mute-dk); }
.proof-card .stars-mini { display: none; }
.marquee-pause { display: none; }
.ready .marquee-pause { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-dk); color: var(--paper); font-size: 14px; }
.marquee-pause svg { width: 12px; height: 12px; }
.marquee-pause .i-play { display: none; }
.marquee-pause[aria-pressed="true"] .i-play { display: block; }
.marquee-pause[aria-pressed="true"] .i-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .quote-marquee { overflow-x: auto; }
  .quote-track { animation: none; }
  .ready .marquee-pause { display: none; }
}

.ghostcells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ghostcell { position: relative; overflow: hidden; min-height: 340px; padding: 32px; border-radius: var(--r-card); background: var(--paper-2); display: flex; flex-direction: column; justify-content: flex-end; }
.ghostcell__num { position: absolute; top: -16px; right: 8px; font-size: 180px; line-height: 1; letter-spacing: -0.08em; color: var(--tile); }
.ghostcell h3, .ghostcell p { position: relative; }
.ghostcell p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--mute); }
@media (max-width: 900px) { .ghostcells { grid-template-columns: 1fr; } .ghostcell { min-height: 260px; } }

.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.result { display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: var(--paper); }
.result__img { aspect-ratio: 16 / 9; overflow: hidden; }
.result__img img { width: 100%; height: 100%; object-fit: cover; }
.result__body { padding: 28px 28px 24px; flex: 1; }
.result__body .chip { margin-bottom: 14px; }
.result__body p { font-size: 16px; line-height: 1.6; color: #2E2A26; }
.result__out { padding: 20px 28px; background: var(--tile); border-bottom: 4px solid var(--orange); font-size: 15px; line-height: 1.55; }
.result__out strong { font-weight: 500; }
@media (max-width: 900px) { .results { grid-template-columns: 1fr; } }

.lp-final { background: var(--orange); color: var(--ink); border-radius: var(--r-panel); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.lp-final p { margin-top: 16px; font-size: 18px; line-height: 1.6; max-width: 40ch; }
@media (max-width: 900px) { .lp-final { grid-template-columns: 1fr; } }

.lp-footer { background: var(--ink); color: var(--mute-dk); padding: 48px 0; font-size: 14px; }
.lp-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-footer img { height: 28px; width: auto; }
.lp-footer a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(247,245,242,.3); }

/* Switzer's word gap closes up under negative tracking: open it on display sizes. */
.ccard2__title, .h3-lg, .rcell h3, .side-card h2, .article__body h2, .fside h3, .form-success h3, .qcell--feat blockquote p, .statement p, .aside-person strong, .phero__meta .v { word-spacing: .05em; }
.contact-cards .c-value--sm { font-size: 18px; letter-spacing: -0.01em; overflow-wrap: normal; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; flex: 0 0 auto; }
/* /hire header: no menu, so keep the actions on one row at every width */
.lp-header .nav-actions { flex-direction: row !important; align-items: center; gap: 16px; }
@media (max-width: 640px) {
  .lp-header .nav-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lp-header .nav-call { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--line-dk); border-radius: 50%; }
  .lp-header .nav-actions .btn__arrow { display: none; }
}

/* Role-page brief cell: always stacked (eyebrow, button, phone), whatever the
   column width, so all ten role pages match. */
.aside-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.aside-cta .eyebrow { margin-bottom: 0; }
.aside-cta .aside-phone { margin-top: 4px; }
.aside-cta .btn__label { white-space: normal; text-align: left; }
/* Head Chef hero: the pans sit low in the frame, so anchor the crop to the
   bottom to lift them clear of the fade. */
.phero__photo[src*="head-chef-seafood-grill"] { object-position: center 88%; }
