/* Ofício Hospitality
   Paleta: cobalto de azulejo sobre fundo claro frio. Cantos retos em todo o site. */

@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(../fonts/cormorant-garamond-latin-wght-normal.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-display: swap;
  font-weight: 300 700;
  src: url(../fonts/cormorant-garamond-latin-wght-italic.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(../fonts/instrument-sans-latin-wght-normal.woff2) format('woff2-variations');
}

:root {
  --bg: #F2F1EC;
  --surface: #FAFAF7;
  --ink: #15171C;
  --muted: #545A66;
  --line: #D6D4CC;
  --accent: #1E3E9E;
  --accent-hover: #17317F;
  --on-accent: #F5F4EF;
  --panel: #1E3E9E;
  --panel-ink: #F5F4EF;
  --panel-muted: #C5CEEB;
  --tint: #E4E7F1;
  --error: #A3261D;
  --ph-bg: #FFF1C9;
  --ph-ink: #6B4A00;

  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1015;
    --surface: #161920;
    --ink: #ECEAE4;
    --muted: #A4A9B4;
    --line: #2B2F39;
    --accent: #93AAF5;
    --accent-hover: #B3C4FA;
    --on-accent: #0E1015;
    --panel: #1A2C68;
    --panel-ink: #F0EFEA;
    --panel-muted: #B4C0E6;
    --tint: #1A1F2C;
    --error: #F08A80;
    --ph-bg: #3A2E0E;
    --ph-ink: #F5D88A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1015; --surface: #161920; --ink: #ECEAE4; --muted: #A4A9B4; --line: #2B2F39;
  --accent: #93AAF5; --accent-hover: #B3C4FA; --on-accent: #0E1015; --panel: #1A2C68;
  --panel-ink: #F0EFEA; --panel-muted: #B4C0E6; --tint: #1A1F2C; --error: #F08A80;
  --ph-bg: #3A2E0E; --ph-ink: #F5D88A; color-scheme: dark;
}

/* ------------------------------ base ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; margin-bottom: 0.5em; }
h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46ch; line-height: 1.55; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.section { padding-block: var(--section); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* Valores por preencher em config.json (só visíveis enquanto faltarem). */
.ph { background: var(--ph-bg); color: var(--ph-ink); font-family: var(--sans); font-size: 0.85em; padding: 0.1em 0.45em; white-space: nowrap; }

/* ----------------------------- buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 50px; padding: 0 1.5em; border: 1px solid transparent; border-radius: 0;
  font: 600 0.98rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 1.1em; font-size: 0.92rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--panel-ink); color: #15204A; }
.btn-light:hover { background: #FFFFFF; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em; margin-top: 1.5rem;
  font-weight: 600; color: var(--accent); text-decoration: none;
}
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ----------------------------- header ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 0.55em; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-size: 0.96rem; font-weight: 500; color: var(--ink); padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav .lang { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line); color: var(--ink); cursor: pointer;
  }
  .nav-toggle .icon { width: 22px; height: 22px; }
  .nav-toggle-close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-size: 1.15rem; padding-block: 14px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
  .nav .nav-cta { margin-top: 20px; min-height: 50px; }
  html:not(.js) .nav { position: static; opacity: 1; visibility: visible; transform: none; }
}

/* ------------------------------ hero ------------------------------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { max-width: 19ch; }
.hero-copy .lead { margin-top: 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-panel {
  background: var(--panel); color: var(--panel-ink);
  padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; position: relative; overflow: hidden;
}
/* Malha discreta inspirada na quadrícula do azulejo. */
.hero-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background-image:
    linear-gradient(var(--panel-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--panel-ink) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
.hero-figure { position: relative; font-family: var(--serif); font-size: clamp(6rem, 11vw, 9.5rem); line-height: .9; font-weight: 500; margin: 0; }
.hero-figure-label { position: relative; font-size: 1.1rem; max-width: 22ch; margin: 0.75rem 0 2rem; }
.hero-panel-list { position: relative; border-top: 1px solid color-mix(in srgb, var(--panel-ink) 35%, transparent); padding-top: 1.25rem; display: grid; gap: 0.35rem; color: var(--panel-muted); font-size: 0.95rem; }

/* ----------------------------- figures ----------------------------- */
.figures { border-block: 1px solid var(--line); background: var(--surface); }
.figures-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figure { padding: clamp(28px, 4vw, 44px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.figure:first-child { border-left: 0; padding-left: 0; }
.figure-n { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; margin: 0 0 0.35rem; color: var(--accent); font-weight: 500; }
.figure-l { margin: 0; color: var(--muted); font-size: 0.98rem; max-width: 20ch; }

/* ---------------------------- audiences ---------------------------- */
.audiences h2 { max-width: 18ch; margin-bottom: clamp(32px, 4vw, 56px); }
.audience-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch; }
.audience { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.audience h3 { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 500; margin-bottom: 0.4em; }
.audience > p { max-width: 36ch; }
.audience ul { margin-top: 0.75rem; display: grid; gap: 0.7rem; }
.audience li { padding-left: 1.4em; position: relative; }
.audience li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.7em; height: 1px; background: currentColor; }
.audience .link-arrow { margin-top: auto; padding-top: 2rem; }
.audience-hotels { background: var(--panel); color: var(--panel-ink); }
.audience-hotels > p { color: var(--panel-muted); }
.audience-hotels .link-arrow { color: var(--panel-ink); }
.audience-restaurants { background: var(--surface); border: 1px solid var(--line); border-left: 0; }
.audience-restaurants > p { color: var(--muted); }

/* ------------------------ services overview ------------------------ */
.services-overview { background: var(--surface); border-block: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-head { position: sticky; top: 112px; }
.svc-head p { color: var(--muted); max-width: 34ch; }
.svc-list { border-top: 1px solid var(--line); }
.svc-list a {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.svc-title { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.15; font-weight: 500; transition: color .25s var(--ease); }
.svc-short { grid-column: 1; color: var(--muted); margin-top: 0.35rem; }
.svc-list .icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 28px; height: 28px; color: var(--accent); transition: transform .3s var(--ease); }
.svc-list a:hover .svc-title { color: var(--accent); }
.svc-list a:hover .icon { transform: translate(3px, -3px); }

/* ---------------------------- approach ----------------------------- */
.approach-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.approach-quote { margin: 0; }
.approach-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.15; margin: 0 0 1.25rem; padding-bottom: 0.1em; }
.approach-quote footer { color: var(--muted); font-size: 0.95rem; }
.principles { display: grid; gap: 32px; padding-top: 0.6rem; }
.principle { padding-left: 24px; border-left: 2px solid var(--accent); }
.principle h3 { margin-bottom: 0.35rem; }
.principle p { color: var(--muted); margin: 0; }

/* ------------------------------ method ----------------------------- */
.method { background: var(--tint); }
.method h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--ink); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -0.85em; left: 0; background: var(--tint); padding-right: 12px;
  font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--accent);
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ------------------------------ career ----------------------------- */
.career-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: clamp(24px, 3vw, 40px); }
.career-grid li { padding: clamp(20px, 2.5vw, 32px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.career-name { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; margin: 0 0 0.4rem; font-weight: 500; }
.career-role { margin: 0; color: var(--muted); }
.career-years { margin: 0.5rem 0 0; font-size: 0.88rem; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------------------------- final CTA ---------------------------- */
.final-cta { background: var(--panel); color: var(--panel-ink); padding-block: clamp(72px, 10vw, 120px); }
.final-cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.final-cta h2 { margin: 0; }
.final-cta-inner > p { color: var(--panel-muted); margin: 0; max-width: 42ch; grid-column: 1; }
.final-cta-actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.final-cta-alt { margin: 1rem 0 0; color: var(--panel-muted); }
.final-cta-alt a { color: var(--panel-ink); }

/* ------------------------------ footer ----------------------------- */
.site-footer { padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); max-width: 36ch; }
.footer-sig { margin: 0.5rem 0 1rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink) !important; }
.footer-h { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-list { display: grid; gap: 0.6rem; }
.footer-list a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.5em; }
.footer-list a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.footer-base p { margin: 0; }

/* ---------------------------- page heads --------------------------- */
.page-head { padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-head .lead { margin-top: 1.25rem; max-width: 56ch; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.toc a { border: 1px solid var(--line); padding: 10px 16px; text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: border-color .2s var(--ease), color .2s var(--ease); }
.toc a:hover { border-color: var(--accent); color: var(--accent); }

/* ----------------------------- services ---------------------------- */
.service { padding-block: clamp(64px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.service:nth-of-type(even) { background: var(--surface); }
.service-head { max-width: 760px; }
.service-head h2 { margin-top: 0.6rem; }
.service-intro { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.tags { display: flex; gap: 8px; margin: 0; }
.tags span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: var(--tint); padding: 5px 10px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 4vw, 48px); }
.service-problems, .service-includes { padding: clamp(24px, 3vw, 40px); }
.service-problems { border: 1px solid var(--line); background: var(--bg); }
.service-includes { background: var(--panel); color: var(--panel-ink); }
.service:nth-of-type(even) .service-problems { background: var(--surface); }
.service-problems h3, .service-includes h3 { margin-bottom: 1.25rem; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.service-problems h3 { color: var(--muted); }
.service-includes h3 { color: var(--panel-muted); }
.service-problems ul, .service-includes ul { display: grid; gap: 0.85rem; }
.service-problems li, .service-includes li { position: relative; padding-left: 1.6em; line-height: 1.45; }
.service-problems li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 0.7em; height: 0.7em;
  border: 1px solid var(--muted); transform: rotate(45deg);
}
.service-includes li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.9em; height: 1px; background: var(--panel-ink); }
.basis { margin-top: clamp(24px, 3vw, 32px); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: baseline; max-width: 980px; }
.basis h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.3rem; }
.basis p { margin: 0; color: var(--muted); }

/* ---------------------------- experience --------------------------- */
.timeline { border-top: 1px solid var(--line); }
.tl-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(16px, 4vw, 64px); padding-block: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.tl-years { font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; margin: 0; padding-top: 0.4rem; }
.tl-body { max-width: 720px; }
.tl-body h3 { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 500; line-height: 1.15; }
.tl-role { color: var(--ink); font-weight: 600; margin: 0.35rem 0 0.9rem; display: flex; flex-wrap: wrap; gap: 0 16px; }
.tl-role span { color: var(--muted); font-weight: 400; }
.tl-body > p:not(.tl-role) { color: var(--muted); }
.tl-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0.25rem; }
.tl-highlights li { background: var(--tint); padding: 6px 12px; font-size: 0.92rem; font-weight: 500; }
.edu { background: var(--surface); border-block: 1px solid var(--line); }
.edu-grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(40px, 6vw, 96px); }
.edu-list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 1.5rem; }
.edu-list li { display: grid; grid-template-columns: 130px 1fr; column-gap: 24px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.edu-years { grid-row: 1 / span 2; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.edu-title { font-weight: 600; }
.edu-org { color: var(--muted); }
.edu-lang { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; margin-top: 1.5rem; }

/* ------------------------------ contact ---------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.channels { display: grid; gap: 0; border-top: 1px solid var(--line); }
.channel { padding-block: 28px; border-bottom: 1px solid var(--line); }
.channel-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--tint); color: var(--accent); margin-bottom: 1rem; }
.channel-icon .icon { width: 22px; height: 22px; }
.channel h2 { font-size: 1.9rem; margin-bottom: 0.3rem; }
.channel p { color: var(--muted); margin: 0; }
.channel .channel-value { color: var(--ink); font-weight: 500; margin-top: 0.5rem; }
.channel .link-arrow { margin-top: 0.75rem; }

.contact-form { background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); display: grid; gap: 22px; }
.contact-form h2 { font-size: 2.2rem; margin: 0; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
.field-help { margin: -4px 0 0; color: var(--muted); font-size: 0.9rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid #8C909A; border-radius: 0; padding: 12px 14px; min-height: 50px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { margin: 0; color: var(--error); font-size: 0.9rem; min-height: 0; }
.field-error:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 10px 16px; border: 1px solid #8C909A; font-weight: 500; font-size: 0.95rem; transition: all .2s var(--ease); }
.choice input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 0.95rem !important; line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: var(--error); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .field input[type="text"], :root:not([data-theme="light"]) .field input[type="email"],
  :root:not([data-theme="light"]) .field input[type="tel"], :root:not([data-theme="light"]) .field textarea,
  :root:not([data-theme="light"]) .choice span { border-color: #5E6370; }
}

/* ------------------------------- prose ----------------------------- */
.prose h2 { font-size: 1.7rem; margin: 2.2rem 0 0.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose a { color: var(--accent); }

/* ---------------------------- reveal motion ------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .hero-copy > *, .hero-panel { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-panel { animation-delay: .22s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ----------------------------- responsive -------------------------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .career-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-grid, .svc-grid, .approach-grid, .final-cta-inner, .contact-grid, .edu-grid, .audience-grid, .service-grid { grid-template-columns: 1fr; }
  .hero-panel { min-height: 300px; }
  .svc-head { position: static; }
  .figures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure { border-left: 0; padding-left: 0; }
  .figure:nth-child(even) { border-left: 1px solid var(--line); padding-left: 20px; }
  .figure:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .audience-restaurants { border-left: 1px solid var(--line); border-top: 0; }
  .final-cta-actions, .final-cta-inner > p { grid-column: 1; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; }
  .basis { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  .steps, .career-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .edu-list li { grid-template-columns: 1fr; }
  .edu-years { grid-row: auto; }
  .brand-sub { display: none; }
}
