/* Notáveis Talentos v9: white, product-page rhythm, a family of blues for headings */

@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Funnel Display"; src: url("../fonts/funnel-display-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  /* blues: from the logo outwards */
  --blue-ink: #0b2a40;     /* deepest, for body headings */
  --blue-navy: #12436a;
  --blue-logo: #22465a;
  --blue-steel: #2e6a88;
  --blue-sea: #1b6fa8;
  --blue-bright: #2a8bd0;  /* the "live" blue: links, accents */
  --blue-sky: #8fd0ee;
  --blue-mist: #e8f2fa;

  --white: #ffffff;
  --tile: #f3f6f9;         /* product-page tile grey, cooled toward the blues */
  --tile-2: #eaf0f5;
  --ink: #101c26;
  --ink-2: #4a5a66;
  --ink-3: #6b7a86;
  --line: rgba(16, 28, 38, 0.1);

  --font-display: "Funnel Display", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;

  --fs-hero: clamp(3rem, 1.3rem + 7vw, 7rem);
  --fs-h2: clamp(2.5rem, 1.3rem + 4.6vw, 5.5rem);
  --fs-h3: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
  --fs-lead: clamp(1.1875rem, 1rem + 0.8vw, 1.625rem);
  --fs-body: 1.125rem;

  --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --section: clamp(96px, 6vw + 64px, 168px);
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1240px;
  --r-tile: 28px;
  --r-small: 14px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue-sky); color: var(--blue-ink); }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--blue-steel) var(--white); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; text-wrap: balance; letter-spacing: -0.035em; }
p { margin: 0; text-wrap: pretty; }

/* heading colour family: each section picks one blue, with a lighter blue for the second phrase */
.c-ink { color: var(--blue-ink); }
.c-navy { color: var(--blue-navy); }
.c-sea { color: var(--blue-sea); }
.c-steel { color: var(--blue-steel); }
.c-bright { color: var(--blue-bright); }
.soft { color: var(--blue-bright); }
.c-bright .soft, .c-sea .soft { color: var(--blue-steel); }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--blue-sea); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1.0625rem;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { --bg: var(--blue-navy); } }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 0.9375rem; }
.link {
  display: inline-flex; align-items: center; gap: 4px; color: var(--blue-sea);
  font-weight: 600; font-size: 1.0625rem; text-decoration: none;
}
.link .icon { transition: transform 220ms var(--ease-out); width: 0.95em; height: 0.95em; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration: underline; } .link:hover .icon { transform: translateX(3px); } }

/* ---------- nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color 300ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); height: 68px; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-size: 0.9375rem; color: var(--ink-2); transition: color 200ms ease, background-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--blue-sea); background: var(--blue-mist); } }
.nav__links a.ext .icon { width: 0.8em; height: 0.8em; margin-left: 3px; opacity: 0.7; }
.nav__menu { display: none; }
@media (max-width: 1060px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--tile); cursor: pointer; }
  .nav__menu:active { transform: scale(0.95); }
}
.sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--white);
  display: flex; flex-direction: column; padding: 8px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 420ms var(--ease-drawer), visibility 0s linear 420ms;
}
.sheet.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 480ms var(--ease-drawer), visibility 0s; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.sheet__top img { height: 36px; width: auto; }
.sheet__close { width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--tile); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.sheet nav { margin-top: var(--s7); }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li a { display: block; padding: 10px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 9vw, 2.75rem); letter-spacing: -0.03em; text-decoration: none; color: var(--blue-ink); opacity: 0; transform: translateY(12px); transition: opacity 300ms ease, transform 500ms var(--ease-out); }
.sheet li:nth-child(even) a { color: var(--blue-sea); }
.sheet.is-open li a { opacity: 1; transform: none; transition-delay: calc(100ms + var(--i) * 45ms); }
.sheet__foot { margin-top: auto; display: grid; gap: var(--s4); }
.sheet__foot p { color: var(--ink-3); font-size: 0.9375rem; text-align: center; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(56px, 7vw, 104px); text-align: center; }
.hero__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem); color: var(--blue-steel); letter-spacing: -0.01em; }
.hero h1 { margin-top: var(--s3); font-size: var(--fs-hero); line-height: 0.98; letter-spacing: -0.045em; color: var(--blue-ink); }
.hero h1 .soft { color: var(--blue-bright); }
.hero__sub { margin: var(--s5) auto 0; max-width: 34ch; font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.45; }
.hero__actions { margin-top: var(--s6); display: flex; justify-content: center; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.hero__visual { margin-top: clamp(48px, 6vw, 88px); }
.hero__img {
  position: relative; border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 16 / 8.5; background: var(--tile);
  transform-origin: 50% 0;
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__ages { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-top: var(--s5); text-align: left; }
.hero__ages li { list-style: none; display: grid; grid-template-columns: 56px 1fr; gap: var(--s3); align-items: center; }
.hero__ages img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.hero__ages b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.hero__ages span { color: var(--ink-3); font-size: 0.9375rem; }
.hero__ages li:nth-child(1) b { color: var(--blue-bright); }
.hero__ages li:nth-child(2) b { color: var(--blue-sea); }
.hero__ages li:nth-child(3) b { color: var(--blue-steel); }
.hero__ages li:nth-child(4) b { color: var(--blue-navy); }
.hero__ages { padding: 0; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__img { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .hero__img img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  }
}
@keyframes grow { from { transform: scale(0.9); border-radius: 44px; } to { transform: none; border-radius: var(--r-tile); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }
@media (max-width: 760px) {
  .hero__img { aspect-ratio: 4 / 3.4; }
  .hero__ages { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); }
  .hero__ages li { grid-template-columns: 44px 1fr; }
  .hero__ages img { width: 44px; height: 44px; }
  .hero__actions { flex-direction: column; gap: var(--s4); }
}

/* entrance */
.js.motion .hero > .wrap > * { opacity: 0; transform: translateY(18px); }
.js.motion.is-ready .hero > .wrap > * { opacity: 1; transform: none; transition: opacity 800ms ease, transform 1000ms var(--ease-out); }
.js.motion.is-ready .hero > .wrap > :nth-child(2) { transition-delay: 80ms; }
.js.motion.is-ready .hero > .wrap > :nth-child(3) { transition-delay: 160ms; }
.js.motion.is-ready .hero > .wrap > :nth-child(4) { transition-delay: 240ms; }
.js.motion.is-ready .hero > .wrap > :nth-child(5) { transition-delay: 340ms; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.head { margin-bottom: clamp(40px, 5vw, 72px); }
.head h2 { font-size: var(--fs-h2); line-height: 1; max-width: 16ch; }
.head p { margin-top: var(--s5); font-size: var(--fs-lead); color: var(--ink-2); max-width: 46ch; line-height: 1.45; }
.head--center { text-align: center; }
.head--center h2, .head--center p { margin-inline: auto; }

.js.motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 800ms ease, transform 1000ms var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js.motion [data-reveal].in { opacity: 1; transform: none; }

/* ---------- highlights carousel ---------- */
.highlights { background: var(--tile); }
.hl-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 980px); gap: var(--s5);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.hl-track::-webkit-scrollbar { display: none; }
.hl {
  position: relative; scroll-snap-align: start; border-radius: var(--r-tile); overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--blue-ink); color: var(--white); isolation: isolate;
}
.hl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 1600ms var(--ease-out); }
.hl.is-current img { transform: none; }
.hl::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 22, 34, 0.78) 0%, rgba(6, 22, 34, 0.35) 34%, rgba(6, 22, 34, 0) 58%); }
.hl__text { padding: clamp(24px, 3.4vw, 48px); max-width: 30ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1rem + 1.4vw, 2.25rem); line-height: 1.12; letter-spacing: -0.02em; }
.hl__text span { color: var(--blue-sky); }
.hl--solid { background: var(--blue-sea); }
.hl--solid::after { display: none; }
.hl--solid .hl__text { max-width: 22ch; }
.hl--solid .hl__list { position: absolute; left: clamp(24px, 3.4vw, 48px); right: clamp(24px, 3.4vw, 48px); bottom: clamp(24px, 3.4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.hl--solid .hl__list h3 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.75rem); color: var(--white); }
.hl--solid .hl__list p { margin-top: var(--s2); color: #d6ebf7; font-size: 1.0625rem; max-width: 30ch; }
.hl-controls { display: flex; justify-content: center; align-items: center; gap: var(--s4); margin-top: var(--s6); }
.hl-dots { display: flex; gap: 10px; align-items: center; height: 56px; padding: 0 22px; border-radius: 999px; background: rgba(16, 28, 38, 0.06); }
.hl-dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(16, 28, 38, 0.32); cursor: pointer; overflow: hidden; transition: width 400ms var(--ease-out), background-color 300ms ease; }
.hl-dots button::before { content: ""; position: absolute; inset: -14px -4px; }
.hl-dots button[aria-current="true"] { width: 48px; background: rgba(16, 28, 38, 0.16); }
.hl-dots button i { position: absolute; inset: 0; background: var(--blue-sea); border-radius: inherit; transform: scaleX(0); transform-origin: left; }
.hl-dots button[aria-current="true"] i { transform: scaleX(var(--p, 1)); }
.hl-play { width: 56px; height: 56px; border: 0; border-radius: 999px; background: rgba(16, 28, 38, 0.06); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.hl-play:active { transform: scale(0.95); }
.hl-play .icon { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .hl-play:hover, .hl-dots:hover { background: rgba(16, 28, 38, 0.1); } }
@media (max-width: 760px) {
  .hl-track { grid-auto-columns: 86vw; gap: var(--s3); }
  .hl { aspect-ratio: 4 / 5; }
  .hl--solid .hl__list { grid-template-columns: 1fr; gap: var(--s4); }
}

/* ---------- statement ---------- */
.statement { text-align: center; }
.statement blockquote { margin: 0 auto; max-width: 20ch; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.04em; color: var(--blue-ink); }
.statement blockquote .w { color: rgba(11, 42, 64, 0.14); transition: color 300ms ease; }
.statement blockquote .w.lit { color: var(--blue-ink); }
.statement blockquote .w.lit.blue { color: var(--blue-bright); }
.statement cite { display: block; margin-top: var(--s6); font-style: normal; color: var(--ink-2); font-size: var(--fs-lead); }
.statement cite b { color: var(--blue-steel); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .statement blockquote .w { color: var(--blue-ink); } }
.no-js .statement blockquote .w, html:not(.js) .statement blockquote .w { color: var(--blue-ink); }

/* ---------- instrument explorer ---------- */
.explorer__tabs { display: flex; justify-content: center; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s7); }
.tab {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--tile); color: var(--ink-2);
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: background-color 250ms ease, color 250ms ease, transform 160ms var(--ease-out);
}
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { background: var(--blue-ink); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .tab:not([aria-selected="true"]):hover { background: var(--tile-2); color: var(--blue-sea); } }
.explorer__stage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: stretch; }
.explorer__media { position: relative; border-radius: var(--r-tile); overflow: hidden; width: 100%; min-height: clamp(380px, 38vw, 540px); background: var(--tile); }
.explorer__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 600ms ease, transform 1200ms var(--ease-out); }
.explorer__media img.on { opacity: 1; transform: none; }
.explorer__panel { position: relative; border-radius: var(--r-tile); background: var(--tile); padding: clamp(28px, 3.6vw, 56px); display: grid; align-content: center; min-height: clamp(380px, 38vw, 540px); }
.panel { display: none; }
.panel.on { display: block; animation: panelIn 600ms var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.panel h3 { font-size: 1.125rem; font-family: var(--font-body); letter-spacing: 0; color: var(--ink-3); font-weight: 600; }
.panel ul { list-style: none; margin: var(--s4) 0 0; padding: 0; }
.panel li { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.12; letter-spacing: -0.035em; }
.panel li:nth-child(4n+1) { color: var(--blue-ink); }
.panel li:nth-child(4n+2) { color: var(--blue-sea); }
.panel li:nth-child(4n+3) { color: var(--blue-steel); }
.panel li:nth-child(4n+4) { color: var(--blue-bright); }
.explorer__note { margin-top: var(--s6); text-align: center; color: var(--ink-2); font-size: 1.0625rem; }
@media (max-width: 860px) {
  .explorer__stage { grid-template-columns: 1fr; }
  .explorer__media { min-height: 0; aspect-ratio: 4 / 3; }
  .explorer__panel { min-height: 250px; }
  .explorer__tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .tab { flex: none; }
}

/* ---------- formats (spec tiles) ---------- */
.formats { background: var(--white); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s5); }
.tile { border-radius: var(--r-tile); background: var(--tile); padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: var(--s6); min-height: 300px; }
.tile h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; color: var(--ink); }
.tile p { color: var(--ink-2); }
.big { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; font-size: clamp(4.5rem, 2rem + 8vw, 9rem); font-variant-numeric: tabular-nums; }
.big small { font-size: 0.3em; letter-spacing: -0.01em; margin-left: 6px; }
.big + p { margin-top: var(--s3); }
.tile--a { grid-column: span 6; background: var(--blue-mist); min-height: 0; }
.tile--a .big { color: var(--blue-sea); font-size: clamp(5.5rem, 2rem + 11vw, 12rem); }
.tile--b { grid-column: span 3; }
.tile--b .big { color: var(--blue-steel); }
.tile--c { grid-column: span 3; }
.tile--c .big { color: var(--blue-navy); }
.tile--d { grid-column: span 6; flex-direction: row; align-items: center; min-height: 0; background: var(--blue-ink); color: var(--white); }
.tile--d p { color: #cfe0ec; font-size: var(--fs-lead); max-width: 40ch; }
.tile--d .btn { --bg: var(--white); --fg: var(--blue-ink); }
@media (hover: hover) and (pointer: fine) { .tile--d .btn:hover { --bg: var(--blue-mist); } }
.alt { display: flex; gap: var(--s5); align-items: baseline; flex-wrap: wrap; }
.alt .or { color: var(--ink-3); font-size: 1.125rem; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; gap: var(--s3); }
  .tile--a, .tile--b, .tile--c, .tile--d { grid-column: auto; grid-row: auto; }
  .tile { min-height: 0; }
  .tile--d { flex-direction: column; align-items: flex-start; }
}

/* ---------- methods ---------- */
.methods__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.method { border-radius: var(--r-tile); overflow: hidden; background: var(--tile); display: grid; grid-template-rows: auto 1fr; }
.method__img { aspect-ratio: 4 / 3; overflow: hidden; }
.method__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .method:hover .method__img img { transform: scale(1.03); } }
.method__body { padding: clamp(28px, 3.4vw, 48px); display: grid; gap: var(--s3); align-content: start; }
.method__body h3 { font-size: var(--fs-h3); }
.method:nth-child(1) h3 { color: var(--blue-navy); }
.method:nth-child(2) h3 { color: var(--blue-sea); }
.method__body p { color: var(--ink-2); font-size: 1.125rem; max-width: 42ch; }
.programs { margin-top: var(--s5); display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.prog { border-radius: var(--r-tile); background: var(--tile); padding: clamp(28px, 3.4vw, 44px); }
.prog h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); }
.prog:nth-child(1) h3 { color: var(--blue-bright); }
.prog:nth-child(2) h3 { color: var(--blue-steel); }
.prog:nth-child(3) h3 { color: var(--blue-sea); }
.prog:nth-child(4) h3 { color: var(--blue-navy); }
.prog p { margin-top: var(--s3); color: var(--ink-2); max-width: 40ch; }
@media (max-width: 760px) { .methods__grid, .programs { grid-template-columns: 1fr; gap: var(--s3); } .programs { margin-top: var(--s3); } }

/* ---------- contact ---------- */
.contact { background: var(--tile); }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__intro h2 { font-size: var(--fs-h2); line-height: 1; color: var(--blue-ink); }
.contact__intro h2 .soft { color: var(--blue-bright); }
.contact__intro .lead { margin-top: var(--s5); font-size: var(--fs-lead); color: var(--ink-2); max-width: 32ch; line-height: 1.45; }
.channels { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; gap: var(--s2); }
.channels a { display: grid; grid-template-columns: 44px 1fr; gap: var(--s4); align-items: center; padding: 12px; margin-inline: -12px; border-radius: 18px; text-decoration: none; font-size: 1.125rem; transition: background-color 200ms ease; }
.channels small { display: block; color: var(--ink-3); font-size: 0.9375rem; }
.channels .ic { width: 44px; height: 44px; border-radius: 999px; background: var(--white); color: var(--blue-sea); display: inline-flex; align-items: center; justify-content: center; }
@media (hover: hover) and (pointer: fine) { .channels a:hover { background: var(--white); } }
.social { display: flex; gap: var(--s2); margin-top: var(--s5); }
.social a { width: 44px; height: 44px; border-radius: 999px; background: var(--white); color: var(--blue-sea); display: inline-flex; align-items: center; justify-content: center; transition: transform 160ms var(--ease-out); }
.social a:active { transform: scale(0.95); }

.form-panel { background: var(--white); border-radius: var(--r-tile); padding: clamp(24px, 3.4vw, 48px); box-shadow: 0 30px 60px -36px rgba(11, 42, 64, 0.35); }
.form-panel h3 { font-size: 1.75rem; color: var(--blue-sea); margin-bottom: var(--s5); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s4); }
.field { display: grid; gap: var(--s2); }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 1rem; }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-small);
  border: 1.5px solid rgba(16, 28, 38, 0.16); background: var(--tile); color: var(--ink); font-size: 1rem;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%234a5a66'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #5f6e7a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); background: var(--white); box-shadow: 0 0 0 4px rgba(42, 139, 208, 0.18); }
.field .err { display: none; align-items: center; gap: 6px; color: #b42318; font-size: 0.875rem; }
.field.invalid input, .field.invalid textarea { border-color: #b42318; }
.field.invalid .err { display: flex; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: var(--s3); align-items: start; font-size: 0.9375rem; color: var(--ink-2); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue-sea); }
.consent.invalid { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: var(--s6); display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.form-actions .btn[disabled] { opacity: 0.7; cursor: progress; }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; animation: spin 700ms linear infinite; display: none; }
.is-sending .btn .spin { display: inline-block; }
.is-sending .btn .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { font-size: 0.9375rem; display: none; align-items: center; gap: 8px; }
.form-status.bad { display: flex; color: #b42318; }
.form-done { display: none; }
.form-panel.is-done form { display: none; }
.form-panel.is-done .form-done { display: grid; gap: var(--s4); }
.form-done .tick { width: 56px; height: 56px; border-radius: 999px; background: var(--blue-mist); color: var(--blue-sea); display: inline-flex; align-items: center; justify-content: center; }
.form-done h3 { margin-bottom: 0; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } .form-panel { margin-inline: calc(var(--gutter) * -0.5); } }

/* ---------- footer ---------- */
.footer { background: var(--tile); border-top: 1px solid var(--line); padding: var(--s6) 0 calc(var(--s6) + env(safe-area-inset-bottom)); font-size: 0.875rem; color: var(--ink-3); }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); }
.footer img { height: 36px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.footer a { text-decoration: none; }
.footer button { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .footer a:hover, .footer button:hover { color: var(--blue-sea); } }

/* ---------- cookie ---------- */
.cookie {
  position: fixed; z-index: 70; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); translate: -50% 0;
  width: min(720px, calc(100vw - 24px)); display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-radius: 999px; padding: 10px 10px 10px 24px; font-size: 0.9375rem; color: var(--ink-2);
  box-shadow: 0 20px 50px -20px rgba(11, 42, 64, 0.4), inset 0 0 0 1px var(--line);
  transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform 500ms var(--ease-drawer), opacity 300ms ease;
}
.cookie.show { transform: none; opacity: 1; }
.cookie b { color: var(--ink); }
.cookie p a { color: var(--blue-sea); font-weight: 600; white-space: nowrap; }
.cookie__actions { display: flex; gap: var(--s2); flex: none; }
.cookie .btn--plain { --bg: var(--tile); --fg: var(--blue-sea); }
@media (max-width: 560px) { .cookie { border-radius: 20px; flex-direction: column; align-items: stretch; padding: 14px; } .cookie__actions .btn { flex: 1; } }

/* ---------- legal page ---------- */
.legal { padding-top: 72px; padding-bottom: var(--section); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: var(--fs-h2); line-height: 1.02; color: var(--blue-ink); margin-bottom: var(--s6); }
.legal h2 { font-size: var(--fs-h3); margin: var(--s7) 0 var(--s3); color: var(--blue-sea); }
.legal p { color: var(--ink-2); max-width: 68ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
}
