/* Massimum Sports Training · design system
   Palette sampled from the logo: near-black, electric blue, white. */
:root {
  --ink: #0a0c10;
  --ink-2: #12151c;
  --ink-3: #1b1f29;
  --blue: #1f5bff;
  --blue-deep: #1746cc;
  --blue-lite: #6b97ff;
  --paper: #f3f4f6;
  --white: #fff;
  --text: #12151c;
  --muted: #566070;
  --on-dark: #eef1f6;
  --on-dark-dim: #a3acbb;
  --line: #dfe2e8;
  --line-dark: rgba(255, 255, 255, .12);
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --pad: clamp(64px, 9vw, 120px);
  --radius: 3px;
  --lean: 14px; /* forward lean used on buttons and photo panels */
  --ff-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --ff-body: "Barlow", -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 18px 50px -24px rgba(10, 12, 16, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.6 var(--ff-body); -webkit-font-smoothing: antialiased; }
img, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-lite); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Type ---------- */
h1, h2, h3, .h-lg, .h-md { font-family: var(--ff-display); font-weight: 600; line-height: 1.02; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(46px, 7.2vw, 92px); }
.h-lg { font-size: clamp(36px, 4.8vw, 60px); max-width: 80%; }
.h-md { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; }
h1 em, h2 em { font-style: italic; color: var(--blue); }
.section--dark h2 em, .hero h1 em, .phero h1 em, .cta h2 em { color: var(--blue-lite); }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 600 14px/1 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 10px; background: currentColor; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); flex: none; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 62ch; margin-top: 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .h-lg, .center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; background: var(--blue); color: #fff; border: 0; text-decoration: none; white-space: nowrap;
  font: 600 16px/1 var(--ff-display); letter-spacing: .09em; text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: background .18s, transform .18s; }
.btn:hover { background: var(--blue-deep); transform: translateX(2px); }
.btn:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lg { padding: 17px 32px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.btn--line { background: var(--ink); color: #fff; }
.btn--line:hover { background: var(--ink-3); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow { font: 600 16px/1 var(--ff-display); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow::after { content: "→"; transition: transform .18s; }
a:hover .link-arrow::after, .link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 62px; height: auto; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(ellipse 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50%, #000 62%, transparent 100%); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font: italic 600 25px/1 var(--ff-display); letter-spacing: .04em; text-transform: uppercase; }
.brand__text span { font: 600 11px/1 var(--ff-display); letter-spacing: .3em; text-transform: uppercase; color: var(--blue-lite); margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > a, .nav__dd > button { font: 600 16px/1 var(--ff-display); letter-spacing: .09em; text-transform: uppercase; color: var(--on-dark); text-decoration: none; padding: 12px 14px; background: none; border: 0; white-space: nowrap; }
.nav__links > a:hover, .nav__dd > button:hover, .nav__links > a[aria-current] { color: var(--blue-lite); }
.nav__dd { position: relative; }
.nav__dd > button::after { content: ""; display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); margin-left: 9px; }
.nav__dd-menu { position: absolute; top: 100%; left: 0; width: 330px; background: var(--ink-2); border: 1px solid var(--line-dark); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s; box-shadow: var(--shadow); }
.nav__dd:hover .nav__dd-menu, .nav__dd:focus-within .nav__dd-menu, .nav__dd.is-open .nav__dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav__dd-menu a { display: block; padding: 11px 14px; text-decoration: none; color: var(--on-dark); border-left: 3px solid transparent; }
.nav__dd-menu a:hover, .nav__dd-menu a[aria-current] { background: var(--ink-3); border-left-color: var(--blue); }
.nav__dd-menu b { display: block; font: 600 18px/1.1 var(--ff-display); letter-spacing: .03em; }
.nav__dd-menu span { font-size: 14px; color: var(--on-dark-dim); }
.nav__dd-menu .nav__dd-all { font: 600 14px/1 var(--ff-display); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-lite); border-top: 1px solid var(--line-dark); margin-top: 6px; padding-top: 14px; }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__phone { font: 600 17px/1 var(--ff-display); letter-spacing: .05em; color: var(--on-dark); text-decoration: none; white-space: nowrap; }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 11px 9px; flex-direction: column; justify-content: space-between; }
.nav__toggle span { display: block; height: 2px; background: #fff; transition: .2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.nav__mobile-phone { display: none; }

@media (max-width: 1080px) {
  .nav__toggle { display: flex; }
  .nav__phone { display: none; }
  .nav__links { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line-dark); display: none; max-height: calc(100vh - 72px); overflow: auto; }
  .nav.is-open .nav__links { display: flex; }
  .nav__links > a, .nav__dd > button { padding: 16px 0; font-size: 20px; text-align: left; border-bottom: 1px solid var(--line-dark); width: 100%; }
  .nav__dd-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: none; padding: 4px 0 8px; }
  .nav__dd.is-open .nav__dd-menu { display: block; }
  .nav__links > .nav__mobile-phone { display: block; color: var(--blue-lite); border-bottom: 0; }
}
@media (max-width: 520px) {
  .nav__cta .btn { padding: 11px 16px; font-size: 14px; }
  .brand img { width: 48px; }
  .brand__text b { font-size: 21px; }
  .brand__text span { font-size: 9.5px; letter-spacing: .26em; }
  .nav__cta { gap: 6px; }
}
@media (max-width: 380px) { .brand__text span { display: none; } }

/* ---------- Home hero ---------- */
.hero { background: var(--ink); color: var(--on-dark); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(31, 91, 255, .28), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero .eyebrow { color: var(--blue-lite); }
.hero .lede { color: var(--on-dark-dim); max-width: 52ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 34px; font-size: 15px; color: var(--on-dark-dim); }
.hero__meta li { display: flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--blue-lite); flex: none; }
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; height: clamp(300px, 44vw, 580px); margin-right: calc(var(--lean) * -1); }
.panels picture { display: block; height: 100%; margin-left: -4%; margin-right: -4%; clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%); }
.panels img { width: 100%; height: 100%; object-fit: cover; }
.panels picture:nth-child(2) { transform: translateY(18px); }
.panels picture:nth-child(1) img { object-position: 86% 50%; }
.panels picture:nth-child(2) img { object-position: 52% 50%; }
.panels picture:nth-child(3) img { object-position: 58% 50%; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .panels { height: clamp(240px, 62vw, 420px); margin: 0 -2%; }
}

/* ---------- Interior hero ---------- */
.phero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 90% 10%, rgba(31, 91, 255, .25), transparent 70%); pointer-events: none; }
.phero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 30vw, 400px); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(44px, 6vw, 80px); padding-bottom: clamp(44px, 6vw, 80px); }
.phero--plain .phero__grid { grid-template-columns: 1fr; }
.phero h1 { font-size: clamp(42px, 5.6vw, 74px); }
.phero .eyebrow { color: var(--blue-lite); }
.phero .lede { color: var(--on-dark-dim); }
.phero__photo picture { display: block; aspect-ratio: 4 / 5; clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%); }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .phero__grid { grid-template-columns: 1fr; }
  .phero__photo { max-width: 340px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--pad) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .lede, .section--dark .muted { color: var(--on-dark-dim); }
.section--dark .eyebrow { color: var(--blue-lite); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.head { margin-bottom: clamp(32px, 5vw, 56px); }
.head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head--row .h-lg { max-width: 18ch; }

/* Proof strip */
.proof { background: var(--blue); color: #fff; }
.proof ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof li { padding: 20px 22px; border-left: 1px solid rgba(255, 255, 255, .25); font-size: 15px; line-height: 1.35; }
.proof li:first-child { border-left: 0; padding-left: 0; }
.proof b { display: block; font: 600 20px/1.1 var(--ff-display); letter-spacing: .03em; }
@media (max-width: 860px) {
  .proof ul { grid-template-columns: 1fr 1fr; }
  .proof li { padding: 16px 14px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
  .proof li:nth-child(-n+2) { border-top: 0; }
  .proof li:nth-child(odd) { padding-left: 0; }
}

/* Audience cards */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud__card { position: relative; display: block; color: #fff; text-decoration: none; overflow: hidden; background: var(--ink); aspect-ratio: 3 / 4; }
.aud__card picture, .aud__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .5s; }
.aud__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 12, 16, .95) 8%, rgba(10, 12, 16, .35) 55%, rgba(10, 12, 16, .05)); }
.aud__card:hover img { transform: scale(1.04); }
.aud__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 26px; }
.aud__tag { font: 600 13px/1 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-lite); }
.aud__body h3 { font-size: clamp(28px, 2.8vw, 36px); margin: 8px 0 8px; }
.aud__body p { font-size: 16px; color: #d4d9e2; margin-bottom: 14px; }
@media (max-width: 900px) {
  .aud { grid-template-columns: 1fr; }
  .aud__card { aspect-ratio: 5 / 4; }
}

/* Numbered rows (what we train) */
.rows { border-top: 1px solid var(--line-dark); }
.rows li { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.rows .n { font: 600 16px/1 var(--ff-display); letter-spacing: .12em; color: var(--blue-lite); }
.rows h3 { font-size: clamp(28px, 3vw, 40px); }
.rows p { color: var(--on-dark-dim); }
.rows--light, .rows--light li { border-color: var(--line); }
.rows--light .n { color: var(--blue); }
.rows--light p { color: var(--muted); }
@media (max-width: 760px) { .rows li { grid-template-columns: 44px 1fr; } .rows p { grid-column: 2; } }

/* Program list */
.plist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; gap: 10px; padding: 30px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard__tag { font: 600 13px/1 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pcard h3 { font-size: 32px; }
.pcard p { color: var(--muted); flex: 1; }
.pcard .link-arrow { color: var(--blue); margin-top: 8px; }
@media (max-width: 760px) { .plist { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 0 28px 0 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); display: block; font: italic 600 56px/1 var(--ff-display); color: var(--blue); margin-bottom: 14px; }
.steps h3 { font-size: 28px; margin-bottom: 8px; }
.steps p { color: var(--muted); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li, .steps li + li { padding: 0; border: 0; }
}

/* Split (photo + copy) */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split__photo { position: relative; }
.split__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__photo--sq img { aspect-ratio: 1; }
.split__photo::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 46%; height: 12px; background: var(--blue); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.split .h-lg { max-width: 100%; }
.split p + p { margin-top: 14px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .split__photo { max-width: 460px; }
}
.quote { border-left: 4px solid var(--blue); padding: 4px 0 4px 20px; margin: 24px 0; font: italic 600 clamp(22px, 2.2vw, 28px)/1.2 var(--ff-display); }
.quote cite { display: block; font: 500 14px/1.4 var(--ff-body); color: var(--muted); margin-top: 10px; font-style: normal; }
.section--dark .quote cite { color: var(--on-dark-dim); }

.checks { display: grid; gap: 10px; margin-top: 22px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 4px; }
.section--dark .checks svg { color: var(--blue-lite); }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
@media (max-width: 620px) { .checks--2 { grid-template-columns: 1fr; } }

.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.creds li { font: 600 15px/1.2 var(--ff-display); letter-spacing: .06em; text-transform: uppercase; padding: 9px 14px; background: var(--paper); border-left: 3px solid var(--blue); }
.section--dark .creds li { background: var(--ink-3); }

/* ---------- Gallery + video ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery__item { display: block; overflow: hidden; background: var(--ink); aspect-ratio: 3 / 4; }
.gallery__item picture, .gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery--teaser .gallery__item:nth-child(n+5) { display: none; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.video__frame { position: relative; background: var(--ink-3); aspect-ratio: 9 / 16; }
.video--wide { grid-column: span 2; }
.video--wide .video__frame { aspect-ratio: 16 / 9; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { font: 600 18px/1.2 var(--ff-display); margin-top: 10px; }
@media (max-width: 860px) { .videos { grid-template-columns: repeat(2, 1fr); } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 12, 16, .94); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: 92vw; max-height: 90vh; }
.lightbox button { position: absolute; z-index: 2; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; font-size: 28px; line-height: 1; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; }
.lightbox__next { right: 16px; top: 50%; }

/* ---------- Pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { display: flex; flex-direction: column; padding: 30px; background: #fff; border: 1px solid var(--line); }
.price--feature { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.price__tag { font: 600 13px/1 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.price--feature .price__tag { color: var(--blue-lite); }
.price h3 { font-size: 30px; margin: 10px 0 14px; }
.price__amt { font: 600 64px/1 var(--ff-display); display: flex; align-items: baseline; gap: 10px; }
.price__amt small { font: 500 15px/1.3 var(--ff-body); color: var(--muted); }
.price--feature .price__amt small { color: var(--on-dark-dim); }
.price .checks { flex: 1; margin: 22px 0 26px; font-size: 16px; }
.price--feature .checks svg { color: var(--blue-lite); }
.prices--2 { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
@media (max-width: 960px) { .prices, .prices--2 { grid-template-columns: 1fr; } }
.note { font-size: 15px; color: var(--muted); margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 44px 22px 0; position: relative; font: 600 clamp(20px, 2vw, 24px)/1.2 var(--ff-display); }
.faq__q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 500 30px/1 var(--ff-display); color: var(--blue); transition: transform .2s; }
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
.js .faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); }
.faq-grid .h-lg { max-width: 100%; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; top: 0; bottom: 0; right: -6%; width: 46%; background: var(--blue); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.cta__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.cta .h-lg { max-width: 100%; }
.cta p { color: var(--on-dark-dim); margin-top: 16px; max-width: 52ch; font-size: 18px; }
.cta__btns { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-left: 16%; }
.cta__call { color: #fff; font: 600 17px/1 var(--ff-display); letter-spacing: .06em; }
@media (max-width: 860px) {
  .cta::before { top: auto; left: 0; right: 0; width: auto; height: 150px; clip-path: polygon(0 26%, 100% 0, 100% 100%, 0 100%); }
  .cta__in { grid-template-columns: 1fr; padding-bottom: 36px; }
  .cta__btns { padding: 20px 0 0; }
}

/* ---------- Forms + contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-grid .h-lg { max-width: 100%; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.formcard { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); color: var(--text); scroll-margin-top: 96px; }
.formcard > .muted { margin: 8px 0 22px; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font: 600 14px/1.2 var(--ff-display); letter-spacing: .1em; text-transform: uppercase; }
.form .opt { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.form input, .form select, .form textarea { font: 400 17px/1.4 var(--ff-body); padding: 13px 14px; border: 1px solid #c3c8d1; border-radius: var(--radius); background: #fff; color: var(--text); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form__fine { font-size: 14px; color: var(--muted); text-align: center; }
.form-thanks { padding: 12px 0; }
.form-thanks p { margin-top: 10px; color: var(--muted); }
.info-list { display: grid; gap: 22px; margin: 32px 0; }
.info-list li { display: flex; gap: 16px; }
.info-list svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 4px; }
.info-list b { display: block; font: 600 14px/1 var(--ff-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-list a { color: inherit; font-size: 19px; }
.info-list span span { font-size: 19px; }
.map { border: 0; width: 100%; height: clamp(300px, 40vw, 440px); filter: grayscale(.4); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 36px 0 12px; }
.prose p, .prose ul { margin-bottom: 14px; color: #333a46; }
.prose ul { list-style: disc; padding-left: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-dim); padding: clamp(48px, 7vw, 80px) 0 28px; font-size: 16px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 150px; mix-blend-mode: screen; margin: -18px 0 0 -18px; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { font: 600 14px/1 var(--ff-display); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--on-dark-dim); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink-3); color: #fff; }
.socials a:hover { background: var(--blue); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 14px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 700px) { .site-footer { padding-bottom: 96px; } }

/* ---------- Mobile action bar ---------- */
.actionbar { display: none; }
@media (max-width: 700px) {
  .actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform .25s; }
  .actionbar.is-on { transform: none; }
  .actionbar__call { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; color: #fff; text-decoration: none; font: 600 16px/1 var(--ff-display); letter-spacing: .09em; text-transform: uppercase; }
  .actionbar__call svg { width: 18px; height: 18px; }
  .actionbar .btn { flex: 1; }
}

/* ---------- Reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in, .is-static .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
