/* ==========================================================================
   quentin-helayel — feuille de style unique, sans framework
   Mise en page : accroche en grille de cartes (bento), sections en cartes sur fond neutre
   ========================================================================== */

/* ---------- Polices hébergées localement (Geist, SIL OFL : voir assets/fonts/OFL.txt) ---------- */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f6f7f7;
  --surface: #ffffff;
  --surface-2: #f0f3f3;
  --ink: #0c1214;
  --muted: #56636a;
  --faint: #8b979b;
  --line: #e3e8e9;
  --accent: #0b7d6f;
  --accent-ink: #ffffff;
  --accent-soft: #e0f2ef;
  --ok: #16a34a;
  --warn: #a16207;
  --warn-soft: #fdf3d7;

  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --wrap: 1160px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;
  --shadow: 0 1px 2px rgb(12 18 20 / .04), 0 4px 16px rgb(12 18 20 / .04);
  --shadow-hover: 0 2px 4px rgb(12 18 20 / .05), 0 12px 32px rgb(12 18 20 / .08);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0e0f;
    --surface: #121819;
    --surface-2: #182021;
    --ink: #ecf1f1;
    --muted: #9ba8ab;
    --faint: #6e7b7e;
    --line: #222c2e;
    --accent: #2fd1b9;
    --accent-ink: #032420;
    --accent-soft: #0f2a27;
    --ok: #4ade80;
    --warn: #facc15;
    --warn-soft: #2e2a10;
    --shadow: 0 1px 2px rgb(0 0 0 / .3);
    --shadow-hover: 0 12px 32px rgb(0 0 0 / .4);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, h4 { margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.mono { font-family: var(--mono); font-size: 13px; color: var(--faint); letter-spacing: 0; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: 999px;
  font: 500 15px var(--font);
  text-decoration: none; white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--surface); color: var(--ink);
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { border-color: var(--faint); transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--accent:hover { filter: brightness(1.08); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: 12px;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px; padding: 0 10px 0 20px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }
.brand-mark {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--ink); color: var(--bg);
  font: 600 13px var(--mono);
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  font-size: 14.5px; color: var(--muted); text-decoration: none;
  padding: 8px 12px; border-radius: 999px;
  transition: color .15s, background .15s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav .btn { margin-left: 6px; }
@media (max-width: 760px) {
  .nav a.hide-sm { display: none; }
  .brand-name { display: none; }
}

/* ---------- Accroche bento ---------- */

.hero { padding-block: 20px 8px; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  min-width: 0;
}
.tile-label { font: 500 12.5px var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .04em; }

.tile--intro { grid-column: span 8; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.tile--photo { grid-column: span 4; padding: 0; margin: 0; overflow: hidden; position: relative; min-height: 320px; }
.tile--status { grid-column: span 4; }
.tile--stats { grid-column: span 4; }
.tile--stack { grid-column: span 4; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .pill .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: ping 1.8s ease-out infinite; }
}
@keyframes ping { from { transform: scale(1); opacity: .6; } to { transform: scale(2.6); opacity: 0; } }

/* Statut de disponibilité, piloté par html[data-status] (voir site.js) */
html[data-status="busy"] .pill { background: var(--surface-2); color: var(--muted); }
html[data-status="busy"] .pill .dot::after { display: none; }
html[data-status="listening"] .pill { background: var(--warn-soft); color: var(--warn); }
html[data-status="open"] [data-when~="employed"],
html:not([data-status="open"]) [data-when~="open"] { display: none !important; }

.hero h1 {
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.045em;
  margin-top: 22px;
}
.hero h1 .role { display: block; color: var(--faint); }
.hero h1 .role b { font-weight: 600; color: var(--accent); }
.pitch { margin-top: 20px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 52ch; }
.pitch strong { color: var(--ink); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.tile--photo .tag {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: #fff;
  background: rgb(10 14 15 / .5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px; border-radius: 999px;
}
.tile--photo .tag svg { width: 14px; height: 14px; }

.facts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.facts li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.facts svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.stat b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); line-height: 1.3; display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li {
  font-size: 13px; font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line);
}
.tile--stack .chips { margin-top: 14px; }
.chips--sm li { font-size: 12px; padding: 2px 9px; font-weight: 400; color: var(--muted); }

@media (max-width: 960px) {
  .tile--intro { grid-column: span 12; }
  .tile--photo { grid-column: span 12; min-height: 380px; }
  .tile--status, .tile--stats { grid-column: span 6; }
  .tile--stack { grid-column: span 12; }
}
@media (max-width: 620px) {
  .tile--status, .tile--stats { grid-column: span 12; }
  .tile--photo { min-height: 340px; order: -1; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 96px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin-top: 8px; }
.section-head p { color: var(--muted); max-width: 52ch; margin-top: 8px; }
.kicker { font: 500 13px var(--mono); color: var(--accent); }

/* ---------- Projets phares ---------- */

.featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.feature-visual {
  position: relative;
  height: 168px;
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--fv) 35%, transparent) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(135deg, color-mix(in srgb, var(--fv) 16%, var(--surface)), color-mix(in srgb, var(--fv) 4%, var(--surface)));
  border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 18px 22px;
  overflow: hidden;
}
.feature-visual .glyph {
  position: absolute; right: -6px; top: -26px;
  font: 700 150px/1 var(--font);
  letter-spacing: -0.08em;
  color: color-mix(in srgb, var(--fv) 22%, transparent);
  pointer-events: none;
}
.feature-visual .platform {
  position: relative;
  font: 500 12.5px var(--mono);
  padding: 5px 10px; border-radius: 999px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
}
.feature-visual--shot { height: 210px; padding: 0; background: var(--surface-2); }
.feature-visual--shot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform .4s ease;
}
.feature:hover .feature-visual--shot img { transform: scale(1.03); }
.feature-visual--shot .platform { position: absolute; left: 18px; bottom: 16px; box-shadow: var(--shadow); }
.feature-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.feature-body .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.feature h3 { font-size: 22px; font-weight: 600; }
.feature p { color: var(--muted); }
.feature .role { font-size: 14px; color: var(--ink); }
.feature .role b { font-weight: 500; color: var(--accent); }
.metrics { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 4px 0 2px; padding: 14px 0 2px; border-top: 1px solid var(--line); }
.metrics div { display: flex; flex-direction: column; min-width: 0; }
.metrics b { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.metrics span { font-size: 13px; color: var(--muted); line-height: 1.35; max-width: 22ch; }
.feature .foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow svg { width: 15px; height: 15px; }

.badge { font: 500 12px var(--mono); padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.badge--live { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.badge--off { background: transparent; border-style: dashed; }

@media (max-width: 760px) { .featured { grid-template-columns: 1fr; } }

/* ---------- Parcours ---------- */

.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.job {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.job-logo {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  font: 600 17px var(--font); letter-spacing: -0.03em;
  background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--line);
}
.job--current .job-logo { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.job h3 { font-size: 18px; font-weight: 600; }
.job .role { color: var(--muted); font-size: 15px; margin-top: 2px; }
.job ul:not(.chips) { margin: 12px 0 14px; padding-left: 18px; color: var(--muted); font-size: 15px; }
.job li { margin-bottom: 3px; }
.job li::marker { color: var(--faint); }
.job strong { color: var(--ink); font-weight: 500; }
.job .when { font: 500 13px var(--mono); color: var(--faint); white-space: nowrap; padding-top: 3px; }
.job--current .when { color: var(--accent); }
@media (max-width: 680px) {
  .job { grid-template-columns: 44px minmax(0, 1fr); }
  .job-logo { width: 44px; height: 44px; font-size: 14px; border-radius: 11px; }
  .job .when { grid-column: 2; grid-row: 1; padding: 0; }
  .job > div:nth-child(2) { grid-column: 2; }
}

/* ---------- Tous les projets ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.filters button {
  font: 500 14px var(--font);
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all .15s;
}
.filters button:hover { color: var(--ink); border-color: var(--faint); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters .count { font: 12px var(--mono); opacity: .6; margin-left: 5px; }

.plist {
  list-style: none; margin: 0; padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.prow {
  display: grid;
  grid-template-columns: 78px minmax(0, 220px) minmax(0, 1fr) auto;
  gap: 18px; align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}
.prow:first-child { border-top: 0; }
.prow[hidden] { display: none; }
.prow:hover { background: var(--surface-2); }
.prow .date { font: 13px var(--mono); color: var(--faint); font-variant-numeric: tabular-nums; }
.plinks { display: flex; gap: 12px; margin-top: 3px; font: 12.5px var(--mono); }
.plinks a { color: var(--accent); }
.plinks a:hover { text-decoration: underline; text-underline-offset: 3px; }
.feature .links { display: flex; gap: 16px; }

/* Recommandation */
.reco { margin-top: 14px; padding: 26px 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; background: var(--accent-soft); border-color: transparent; }
.reco svg { width: 30px; height: 30px; color: var(--accent); }
.reco blockquote { margin: 0; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.5; letter-spacing: -0.01em; }
.reco figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.prow h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prow p { font-size: 14.5px; color: var(--muted); }
.prow .chips { justify-content: flex-end; }
.prow a { text-decoration: none; }
.prow a:hover { color: var(--accent); }
@media (max-width: 860px) {
  .prow { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
  .prow p, .prow .chips { grid-column: 2; }
  .prow .chips { justify-content: flex-start; margin-top: 6px; }
}

/* ---------- Ce que je cherche (affiché seulement en statut "open") ---------- */

.seeking { grid-column: span 12; display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; border-color: var(--accent); }
.seeking .tile-label { color: var(--accent); padding-top: 2px; }
.seeking dt { font-size: 13px; color: var(--muted); }
.seeking dd { margin: 2px 0 0; font-weight: 500; }
@media (max-width: 960px) { .seeking { grid-template-columns: repeat(2, minmax(0, 1fr)); } .seeking .tile-label { grid-column: 1 / -1; } }
@media (max-width: 520px) { .seeking { grid-template-columns: 1fr; } }

/* ---------- Activité GitHub ---------- */

.activity { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.activity li { min-width: 0; }
.activity a {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.activity a:hover { border-color: var(--faint); transform: translateY(-2px); }
.activity .repo { font: 500 14.5px var(--mono); overflow-wrap: anywhere; }
.activity .repo span { color: var(--faint); }
.activity p { font-size: 14px; color: var(--muted); flex: 1; }
.activity .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 12.5px var(--mono); color: var(--faint); }
.activity .meta b { font-weight: 500; color: var(--accent); }
.activity-empty { color: var(--muted); }
@media (max-width: 860px) { .activity { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .activity { grid-template-columns: 1fr; } }

/* ---------- Sélecteur de langue ---------- */

.nav .lang { font: 500 13px var(--mono); color: var(--muted); }

/* ---------- Compétences & formation ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  min-width: 0;
}
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.skills { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.skills dt { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.skills dd { margin: 0; }
.edu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.edu li { padding-block: 13px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; }
.edu li:first-child { border-top: 0; padding-top: 0; }
.edu b { font-weight: 600; font-size: 15.5px; }
.edu span { font: 13px var(--mono); color: var(--faint); white-space: nowrap; }
.edu p { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.cta {
  margin-top: clamp(56px, 8vw, 96px);
  border-radius: var(--r-lg);
  padding: clamp(32px, 6vw, 64px);
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 55%),
    var(--ink);
  color: var(--bg);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end;
}
.cta .kicker { color: color-mix(in srgb, var(--accent) 70%, var(--bg)); }
.cta h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; margin-top: 10px; }
.cta p { margin-top: 14px; opacity: .72; max-width: 44ch; }
.cta .actions { justify-content: flex-end; }
.cta .btn { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 28%, transparent); }
.cta .btn:hover { border-color: var(--bg); }
.cta .btn--light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta .btn--light:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.copy-mail { font: 500 15px var(--mono); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }

.site-footer { padding-block: 36px 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--faint); }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Page magie ---------- */

.page-hero { padding-block: 20px 0; }
.page-hero .tile { padding: clamp(28px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; margin: 18px 0 18px; }
.page-hero h1 span { color: var(--accent); }
.page-hero .pitch { margin-bottom: 22px; }

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.prose { color: var(--muted); font-size: 16.5px; }
.prose p + p { margin-top: 1em; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--accent-soft); border-color: transparent; }
.quote blockquote { margin: 0; font-size: clamp(19px, 2vw, 23px); line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.quote .mono { color: var(--accent); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.gallery figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px;
  font-size: 13px; font-weight: 500; color: #fff;
  background: rgb(10 14 15 / .5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 5px 11px; border-radius: 999px;
}
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.offer { display: flex; flex-direction: column; gap: 6px; }
.offer--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.offer .price { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; margin-top: 8px; }
.offer .price small { font-size: 20px; color: var(--faint); font-weight: 500; }
.offer > p { color: var(--muted); font-size: 15px; }
.offer ul { margin: 14px 0 0; padding: 14px 0 0 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.offer li { margin-bottom: 6px; }
.offer li::marker { color: var(--accent); }
.offer h3 { margin-bottom: 0; }
@media (max-width: 860px) { .offers { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
