/* GBI Abogados. Tokens mirror DESIGN.md; everything below references them. */
:root {
  --navy: #1b3a6b;
  --navy-deep: #12284b;
  --navy-hover: #244a85;
  --navy-ink: #0b1a33;
  --gold: #c9a84c;
  --gold-light: #d8be78;
  --gold-deep: #8a6d1f;
  --white: #ffffff;
  --surface: #f5f6f8;
  --surface-alt: #eceff3;
  --border: #dde2ea;
  --border-strong: #b8c2d1;
  --portrait-ground: #2b2522;
  --portrait-ink: #cfc6be;
  --ink: #14213a;
  --ink-soft: #4a5568;
  --on-navy: #ffffff;
  --on-navy-soft: #c3cde0;
  --hair-dark: rgba(195, 205, 224, 0.18);
  --error: #a61b1b;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --display-xl: clamp(2.5rem, 0.9rem + 4.6vw, 5rem);
  --display: clamp(2.125rem, 1.1rem + 3.3vw, 4.25rem);
  --headline: clamp(1.875rem, 1.35rem + 1.8vw, 3.125rem);
  --title: 1.25rem;
  --lead: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --label: 1rem;

  --radius: 2px;
  --container: 1200px;
  --gutter: clamp(20px, 3vw, 32px);
  --section: clamp(72px, 9vw, 128px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 var(--body)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:not(.btn):not(.skip):hover { color: var(--navy-hover); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--gold-light); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
html { scrollbar-color: var(--border-strong) var(--surface); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 50; background: var(--gold); color: var(--navy-deep); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: 8px; }
.skip:hover { color: var(--navy-deep); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- type */
.display-xl { font-size: var(--display-xl); line-height: 1.02; letter-spacing: -0.02em; max-width: none; text-wrap: nowrap; }
.display { font-size: var(--display); line-height: 1.06; letter-spacing: -0.018em; max-width: 22ch; }
.headline { font-size: var(--headline); line-height: 1.1; letter-spacing: -0.014em; }
.title { font-family: var(--serif); font-size: var(--title); font-weight: 600; line-height: 1.25; }
.lead { font-size: var(--lead); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--title); font-weight: 600; margin-top: 2em; }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--gold-deep); }
.rule { display: block; width: 56px; height: 2px; background: var(--gold); margin-top: 24px; }
.muted { color: var(--ink-soft); }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px;
  font: 600 var(--label)/1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-hover); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--surface); color: var(--navy); }
.btn-accent { background: var(--gold); color: var(--navy-deep); }
.btn-accent:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn-ghost-light { background: transparent; color: var(--on-navy); border-color: var(--on-navy-soft); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); color: var(--on-navy); }
.navy :focus-visible, .dark :focus-visible, .footer :focus-visible, .topbar :focus-visible { outline-color: var(--white); }
.dark { background: var(--navy-deep); color: var(--on-navy-soft); }
.dark h1, .dark h2, .dark h3 { color: var(--on-navy); }
.dark .lead { color: var(--on-navy-soft); }
.dark .more { color: var(--gold-light); }
.dark .more:hover { color: var(--on-navy); }
.dark ::selection { background: var(--gold); color: var(--navy-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 600; text-decoration: none; }
.more::after { content: "→"; transition: transform 150ms var(--ease-out); }
.more:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------- header + nav */
.topbar { background: var(--navy-ink); color: var(--on-navy-soft); font-size: var(--label); }
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 28px; height: 40px; }
.topbar a { color: var(--on-navy-soft); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--on-navy); }
.topbar svg { width: 16px; height: 16px; }

.header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--hair-dark); /* taste-skill-ignore: DESIGN.md header edge */
  transition: box-shadow 200ms ease;
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(6, 14, 28, 0.35); } /* taste-skill-ignore: sticky bar */
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 88px; transition: height 200ms var(--ease-out); }
.header.is-scrolled .container { height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; transition: height 200ms var(--ease-out); }
.header.is-scrolled .brand img { height: 34px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  position: relative; display: block; padding: 10px 0;
  color: var(--on-navy); font: 600 var(--label)/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); background: var(--hair-dark); }
.nav-links a[aria-current="page"]::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); background: var(--gold); }
.menu-toggle { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; }
.hero .container { display: flex; align-items: center; min-height: min(820px, calc(100svh - 128px)); padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.hero-copy { max-width: calc(100% - min(42vw, 620px)); padding-right: var(--gutter); }
.hero-copy .lead { margin-top: 28px; max-width: 46ch; }
.hero-copy .actions { margin-top: 40px; }
.hero-points { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--on-navy-soft); font-size: var(--label); }
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.hero-figure { position: absolute; top: 0; right: 0; bottom: 0; width: min(42vw, 620px); margin: 0; }
.hero-figure .portrait { aspect-ratio: auto; height: 100%; }
.hero-figure .portrait img { object-position: center 18%; }
.hero-caption { position: absolute; left: 0; bottom: 0; display: grid; gap: 2px; padding: 18px 24px 20px; background: var(--navy-deep); color: var(--on-navy-soft); font-size: 1rem; }
.hero-caption-name { font: 600 var(--title)/1.25 var(--serif); color: var(--on-navy); }

/* ------------------------------------------------------------ portrait */
.portrait {
  aspect-ratio: 2 / 3; width: 100%;
  background: var(--portrait-ground); color: var(--portrait-ink);
  display: grid; place-items: center; font-size: var(--label);
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait-caption { padding-top: 14px; display: grid; gap: 2px; }
.portrait-caption .title { color: var(--ink); }
.portrait-caption span { color: var(--ink-soft); font-size: 1rem; }
.portrait-caption .city { color: var(--gold-deep); font-weight: 600; font-size: var(--label); }
.dark .portrait-caption .title { color: var(--on-navy); }
.dark .portrait-caption span { color: var(--on-navy-soft); }
.dark .portrait-caption .city { color: var(--gold); }

/* ------------------------------------------------------------ sections */
.section { padding: var(--section) 0; }
.section-surface { background: var(--surface); }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--navy-deep); }
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > div { grid-column: 1 / span 6; }
.section-head .lead { grid-column: 8 / span 5; }

/* practice-area index */
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 5vw, 80px); }
.area-list-single { grid-template-columns: 1fr; }
.area-row {
  display: flex; align-items: center; gap: 24px; height: 100%;
  padding: 26px 0; border-top: 1px solid var(--border); /* taste-skill-ignore: DESIGN.md index rule */
  color: var(--ink); text-decoration: none;
}
.area-text { display: grid; gap: 6px; flex: 1; }
.area-name { font: 500 1.5rem/1.2 var(--serif); letter-spacing: -0.01em; transition: color 150ms ease; }
.area-short { color: var(--ink-soft); font-size: 1rem; line-height: 1.5; max-width: 46ch; }
.area-arrow { flex: none; color: var(--gold-deep); font-size: 1.375rem; transition: transform 200ms var(--ease-out), color 150ms ease; }
.area-row:hover { color: var(--ink); }
.area-row:hover .area-name { color: var(--navy); }
.area-row:hover .area-arrow { transform: translateX(6px); color: var(--navy); }

/* reasons */
.reasons { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.reasons-head { grid-column: 1 / span 5; }
.reasons-head .lead { margin-top: 24px; }
.reasons-list { grid-column: 7 / span 6; display: grid; gap: 36px; }
.reasons-list li { display: grid; gap: 8px; }
.reasons-list li::before { content: ""; width: 32px; height: 3px; background: var(--gold); margin-bottom: 8px; }
.reasons-list p { color: var(--ink-soft); }

/* team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px var(--gutter); }
.team a { text-decoration: none; color: inherit; display: block; }
.team .portrait img { transition: transform 600ms var(--ease-out); }
.team a:hover .portrait img { transform: scale(1.035); }
.team a:hover .title { color: var(--navy); }
.dark .team a:hover .title { color: var(--gold-light); }

/* ways we work */
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.modes li { display: flex; flex-direction: column; gap: 10px; padding: clamp(28px, 3vw, 40px); background: var(--white); border-radius: var(--radius); }
.modes li p { color: var(--ink-soft); max-width: 46ch; }
.modes .more { margin-top: auto; padding-top: 12px; }

/* closing band */
.band { background: var(--navy); color: var(--on-navy); padding: clamp(64px, 8vw, 104px) 0; }
.band .container { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end; }
.band h2 { color: var(--on-navy); grid-column: 1 / span 7; }
.band p { grid-column: 1 / span 7; margin-top: 16px; color: var(--on-navy-soft); font-size: var(--lead); max-width: 52ch; }
.band .actions { grid-column: 9 / span 4; grid-row: 1 / span 2; justify-content: flex-end; margin-top: 0; }

/* ---------------------------------------------------------- inner pages */
.page-head { padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); }
.page-head .lead { margin-top: 24px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; font-size: var(--label); color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--navy); }
.dark .crumbs, .dark .crumbs a { color: var(--on-navy-soft); }
.dark .crumbs a:hover { color: var(--on-navy); }
.dark .crumbs li + li::before { color: var(--hair-dark); }
.layout { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding: clamp(56px, 7vw, 96px) 0; }
.layout-main { grid-column: 1 / span 8; }
.layout-side { grid-column: 10 / span 3; }
.side-card { position: sticky; top: 104px; background: var(--surface); padding: 28px; border-radius: var(--radius); display: grid; gap: 12px; }
.side-card .title { font-size: 1.25rem; }
.side-card p { color: var(--ink-soft); font-size: 1rem; }
.side-card .btn { width: 100%; }
.side-card ul { display: grid; gap: 6px; font-size: 1rem; }
.block + .block { margin-top: clamp(88px, 9vw, 120px); }
.block > h2 { font-size: var(--headline); line-height: 1.15; margin-bottom: 20px; }
.steps { counter-reset: step; display: grid; gap: 24px; list-style: none; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; }
.steps li::before { content: counter(step); grid-row: 1 / span 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; font: 600 1.125rem/1 var(--serif); color: var(--navy); }
.steps strong { font-family: var(--serif); font-size: var(--title); font-weight: 600; }
.steps p { color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; background: var(--surface); border-radius: var(--radius); font-size: 1rem; }
.chips a { text-decoration: none; }
.note { padding: 16px 20px; background: var(--surface-alt); border-radius: var(--radius); color: var(--ink); font-size: 1rem; }

/* lawyer profile */
.profile-crumbs { padding-top: clamp(32px, 4vw, 48px); }
.profile-crumbs .crumbs { margin-bottom: 0; }
.profile { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: center; padding: clamp(32px, 4vw, 56px) 0 clamp(64px, 8vw, 112px); }
.profile-photo { grid-column: 1 / span 5; }
.profile-info { grid-column: 7 / span 6; }
.profile-info .role { margin-top: 10px; font-size: var(--lead); }
.facts { margin-top: 36px; display: grid; grid-template-columns: max-content 1fr; gap: 16px 28px; }
.facts dt { font-size: 1rem; font-weight: 600; color: var(--ink-soft); padding-top: 2px; }
.facts dd { color: var(--ink); }
.dark .facts dt { color: var(--on-navy-soft); }
.dark .facts dd { color: var(--on-navy); }
.dark .chips li { background: rgba(255, 255, 255, 0.08); }
.dark .chips a { color: var(--on-navy); }
.dark .chips a:hover { color: var(--gold-light); }
.plain { display: grid; gap: 6px; }
.profile-bio { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding: clamp(56px, 7vw, 96px) 0; }
.profile-bio h2 { grid-column: 1 / span 5; font-size: var(--headline); font-weight: 500; }
.profile-bio .prose { grid-column: 7 / span 6; }

/* faq */
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: var(--title); font-weight: 600; margin-bottom: 8px; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: var(--radius); padding: 0 24px; transition: background-color 150ms ease; }
.faq details[open] { background: var(--surface-alt); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; font: 600 var(--title)/1.35 var(--serif); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: var(--navy); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 64ch; }

/* forms */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { font-size: var(--label); font-weight: 600; color: var(--ink); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; height: 52px; padding: 12px 14px;
  font: 400 1.0625rem/1.4 var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 150ms ease;
}
.form textarea { height: auto; min-height: 150px; resize: vertical; }
.form select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b3a6b' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--border-strong); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); }
.form [aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: var(--label); color: var(--error); }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--navy); flex: none; }
.check label { font-weight: 400; font-size: 1rem; color: var(--ink-soft); }
.form-status { font-size: 1rem; color: var(--ink-soft); min-height: 1.5em; }
.form .btn { justify-self: start; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding: clamp(56px, 7vw, 96px) 0; }
.contact-form { grid-column: 1 / span 7; }
.contact-side { grid-column: 9 / span 4; display: grid; gap: 32px; align-content: start; }
.contact-side h2 { font-size: var(--title); font-weight: 600; margin-bottom: 10px; }
.contact-side ul { display: grid; gap: 14px; }
.contact-side li strong { display: block; font-family: var(--serif); font-size: var(--body); }
.contact-side li span { color: var(--ink-soft); font-size: 1rem; }

/* legal */
.legal .prose h2 { font-size: var(--title); }

/* --------------------------------------------------------------- footer */
.footer { background: var(--navy-deep); color: var(--on-navy-soft); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 1rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px var(--gutter); }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 30ch; }
.footer h2 { font: 600 var(--label)/1.4 var(--sans); color: var(--on-navy); margin-bottom: 14px; letter-spacing: 0.01em; }
.footer li + li { margin-top: 8px; }
.footer a { color: var(--on-navy-soft); text-decoration: none; }
.footer a:hover { color: var(--on-navy); text-decoration: underline; }
.footer-legal { margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: var(--label); }
.footer-legal p { max-width: 62ch; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal li + li { margin-top: 0; }

/* WhatsApp float (phones only) */
.wa-float {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 45;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--navy-deep); place-items: center;
  box-shadow: 0 8px 20px rgba(6, 14, 28, 0.35); /* taste-skill-ignore: fixed floating button */
}
.wa-float svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- motion */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 400ms ease, transform 400ms var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Home hero: the one authored moment. Copy rises in sequence, the gold rule draws, the portrait settles. */
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes hero-rule { from { transform: scaleX(0); } }
@keyframes hero-settle { from { opacity: 0; transform: scale(1.06); } }
@keyframes hero-caption { from { opacity: 0; transform: translateY(100%); } }
.js .hero-copy > * { animation: hero-rise 900ms var(--ease-expo) both; }
.js .hero-copy > :nth-child(2) { animation: hero-rule 900ms var(--ease-expo) 220ms both; transform-origin: left; }
.js .hero-copy > :nth-child(3) { animation-delay: 300ms; }
.js .hero-copy > :nth-child(4) { animation-delay: 400ms; }
.js .hero-copy > :nth-child(5) { animation-delay: 500ms; }
.js .hero-figure img { animation: hero-settle 1600ms var(--ease-expo) both; }
.js .hero-caption { animation: hero-caption 700ms var(--ease-expo) 700ms both; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero-copy > *, .js .hero-figure img, .js .hero-caption { animation: none; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .hero .container { min-height: 0; }
  .hero-copy { max-width: none; padding-right: 0; }
  .hero-figure { position: relative; width: 100%; height: min(78vw, 640px); }
  .area-list { grid-template-columns: 1fr; }
  .section-head > div, .section-head .lead { grid-column: 1 / -1; }
  .section-head .lead { margin-top: 20px; }
  .reasons-head, .reasons-list { grid-column: 1 / -1; }
  .reasons-list { margin-top: 40px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .layout-main, .layout-side { grid-column: 1 / -1; }
  .layout-side { margin-top: 56px; }
  .side-card { position: static; }
  .profile { align-items: start; }
  .profile-info { grid-column: 1 / -1; grid-row: 1; }
  .profile-photo { grid-column: 1 / -1; grid-row: 2; max-width: 360px; margin-top: 40px; }
  .profile-bio h2, .profile-bio .prose { grid-column: 1 / -1; }
  .profile-bio .prose { margin-top: 24px; }
  .contact-form, .contact-side { grid-column: 1 / -1; }
  .contact-side { margin-top: 56px; }
  .band h2, .band p, .band .actions { grid-column: 1 / -1; grid-row: auto; }
  .band .actions { justify-content: flex-start; margin-top: 32px; }
}
@media (max-width: 900px) {
  .topbar .email { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 4px;
    background: none; border: 0; color: var(--on-navy); font: 600 var(--label)/1 var(--sans); cursor: pointer;
  }
  .menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; } /* taste-skill-ignore: draws the menu icon bars */
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 24px; padding: 16px var(--gutter) 28px; background: var(--navy-deep); box-shadow: 0 16px 32px rgba(6, 14, 28, 0.4); } /* taste-skill-ignore: open menu overlay */
  .nav.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 14px 0; font-size: 1.0625rem; }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current] { color: var(--gold-light); text-decoration: underline 2px var(--gold); text-underline-offset: 8px; }
  .nav .btn { width: 100%; }
}
@media (max-width: 720px) {
  .topbar .container { justify-content: space-between; gap: 12px; }
  .header .container { height: 72px; }
  .brand img { height: 32px; }
  .area-name { font-size: var(--title); }
  .area-row { padding: 22px 0; }
  .team { gap: 28px 16px; }
  .modes { grid-template-columns: 1fr; }
  .profile-photo { max-width: 300px; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 14px; }
  .field-pair { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .wa-float { display: grid; }
}
