/* =========================================================
   Richard Slaiter | Something Else
   Layout: full-width bands that alternate light and charcoal,
   content in a 1180px column, cards only where an item stands alone.
   ---------------------------------------------------------
   DESIGN TOKENS
   Change these values to match safestaff.digital exactly.
   Everything else in this file reads from them.
   ========================================================= */
:root {
  /* Colour */
  --ink: #1f2937;          /* main text and dark bands (SafeStaff theme colour) */
  --ink-deep: #111827;     /* deepest band, footer */
  --muted: #4b5563;        /* secondary text */
  --page: #f5f6f8;         /* page background */
  --surface: #ffffff;      /* cards */
  --line: #e3e6ea;         /* borders and dividers */
  --accent: #d97706;       /* amber, taken from ELSE on the cover */
  --accent-strong: #b45309;/* amber for text and buttons on light backgrounds */
  --accent-soft: #fef3e2;  /* pale amber wash */
  --on-dark: #f3f4f6;      /* text on charcoal */
  --on-dark-muted: #b8bec8;

  /* Type */
  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-label: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Shape and depth */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(17, 24, 39, .06), 0 12px 32px -14px rgba(17, 24, 39, .22);
  --shadow-lift: 0 2px 4px rgba(17, 24, 39, .08), 0 22px 48px -18px rgba(17, 24, 39, .32);
  --shadow-book: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 10px 20px -10px rgba(0, 0, 0, .4);

  /* Spacing */
  --wrap: 1180px;
  --band: clamp(64px, 9vw, 112px);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; color: inherit; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 600; letter-spacing: -.005em; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--muted); line-height: 1.4; }
p { margin: 0; }
em { font-style: italic; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { padding-block: var(--band); }
.band--white { background: var(--surface); }
.band--dark { background: var(--ink); color: var(--on-dark); }
.band--deep { background: var(--ink-deep); color: var(--on-dark); }

.eyebrow {
  font-family: var(--font-label);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 14px;
  display: block;
}
.band--dark .eyebrow, .band--deep .eyebrow, .hero .eyebrow { color: var(--accent); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); display: grid; gap: 14px; }
.section-head .eyebrow { margin-bottom: 0; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.band--dark .section-head p, .band--deep .section-head p { color: var(--on-dark-muted); }
.hl { color: var(--accent); }
.prose { display: grid; gap: 1.05em; max-width: 64ch; }
.prose p { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 22px; border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { font-style: normal; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-card); }
.btn--primary:hover { background: var(--ink-deep); color: #fff; box-shadow: var(--shadow-lift); }
.btn--accent { background: var(--accent); color: var(--ink-deep); box-shadow: 0 10px 26px -12px rgba(217, 119, 6, .7); }
.btn--accent:hover { background: #f59e0b; color: var(--ink-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { padding: 11px 16px; font-size: .94rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(31, 41, 55, .96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; color: #fff; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.logo strong { font-weight: 700; color: var(--accent); }
.logo:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: #d6dae1; text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 11px; border-radius: 8px; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.08); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 8px; padding: 9px 12px; font: 600 .9rem var(--font-body); cursor: pointer; }
.mobile-nav { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .mobile-nav {
    position: fixed; inset: 0; z-index: 60; background: var(--ink-deep); color: #fff;
    padding: calc(20px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 32px max(24px, env(safe-area-inset-left, 0px));
    flex-direction: column; gap: 6px; overflow-y: auto;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav .close { align-self: flex-end; background: none; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
  .mobile-nav a:not(.btn) { color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 1.7rem; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .mobile-nav .btn { margin-top: 18px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink-deep); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17,24,39,.96) 0%, rgba(17,24,39,.86) 42%, rgba(17,24,39,.55) 100%),
    linear-gradient(0deg, rgba(17,24,39,.9) 0%, rgba(17,24,39,0) 40%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); }
.hero h1 { font-size: clamp(3.2rem, 8.5vw, 6.4rem); font-weight: 400; letter-spacing: -.01em; line-height: .98; text-transform: uppercase; }
.hero h1 strong { font-weight: 700; color: var(--accent); display: block; }
.hero__tag { font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 400; line-height: 1.3; margin-top: 22px; max-width: 30ch; }
.hero__tag em { color: var(--accent); font-style: normal; }
.hero__lede { color: #d1d5db; margin-top: 18px; max-width: 56ch; font-size: 1.08rem; }
.hero .btn-row { margin-top: 30px; }
.hero__book { justify-self: center; perspective: 1400px; }
.hero__book img {
  width: min(340px, 72vw); border-radius: 3px 8px 8px 3px;
  box-shadow: var(--shadow-book);
  transform: rotateY(-14deg) rotateX(2deg); transform-origin: left center;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.hero__book:hover img { transform: rotateY(-4deg) rotateX(0); }
.hero__book figcaption { text-align: center; margin-top: 18px; font-family: var(--font-label); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }

.ticker { position: relative; border-top: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.25); overflow: hidden; }
.ticker__track { display: flex; gap: 0; width: max-content; animation: ticker 48s linear infinite; padding-block: 14px; }
.ticker span { font-family: var(--font-label); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #cfd4dc; white-space: nowrap; padding: 0 22px; border-right: 1px solid rgba(255,255,255,.15); }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__book { order: -1; }
  .hero__book img { width: min(230px, 60vw); transform: none; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(17,24,39,.75) 0%, rgba(17,24,39,.94) 45%); }
}

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.book__cover { position: sticky; top: 100px; }
.book__cover img { width: 100%; max-width: 420px; border-radius: 3px 8px 8px 3px; box-shadow: var(--shadow-book); }
.book__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font-family: var(--font-label); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.book__body { display: grid; gap: 26px; min-width: 0; }
.blurb { display: grid; gap: 1em; font-size: 1.1rem; max-width: 64ch; }
.blurb p:first-child::first-letter { font-family: var(--font-display); float: left; font-size: 3.6em; line-height: .86; padding: 6px 10px 0 0; color: var(--accent-strong); font-weight: 600; }
.pull {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.3; font-weight: 400;
  border-left: 4px solid var(--accent); padding: 4px 0 4px 22px; max-width: 34ch;
}
@media (max-width: 860px) {
  .book { grid-template-columns: 1fr; }
  .book__cover { position: static; display: grid; justify-items: center; }
  .book__cover img { max-width: 280px; }
  .book__meta { justify-content: center; }
}

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: leg; }
.leg {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 24px 22px 26px; display: grid; gap: 10px; align-content: start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.leg:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.leg__img { display: block; width: calc(100% + 44px); max-width: none; margin: -24px -22px 6px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.leg__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.leg__num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--accent); line-height: 1; }
.leg__when { font-family: var(--font-label); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: right; }
.leg h3 { font-size: 1.32rem; }
.leg p { color: var(--muted); font-size: .98rem; line-height: 1.6; }
@media (max-width: 1060px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }

.glossary {
  margin-top: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: baseline;
  background: var(--accent-soft); border: 1px solid #f6dcb4; border-radius: var(--radius); padding: 18px 22px;
}
.glossary dt { font-family: var(--font-label); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); font-weight: 600; }
.glossary dd { margin: 0; color: var(--ink); font-size: .98rem; }
@media (max-width: 560px) { .glossary { grid-template-columns: 1fr; } .glossary dd { margin-bottom: 10px; } }

/* ---------- Image band + numbers ---------- */
.photo-band { position: relative; color: #fff; overflow: hidden; }
.photo-band > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17,24,39,.94), rgba(17,24,39,.72)); }
.photo-band .wrap { position: relative; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.18); }
.stat { padding: 26px 22px 6px 0; display: grid; gap: 8px; align-content: start; }
.stat + .stat { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.18); }
.stat b { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 600; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat span { color: #d1d5db; font-size: .98rem; }
.photo-band .btn-row { margin-top: 36px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
}

/* ---------- Formats / talks (shared card grid) ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.offer-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 28px 26px; display: grid; gap: 12px; grid-template-rows: auto auto auto 1fr auto; align-content: start;
}
.offer__label { font-family: var(--font-label); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.offer h3 { font-size: 1.6rem; }
.offer > p { color: var(--muted); }
.ticks { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; align-content: start; }
.ticks li { position: relative; padding-left: 28px; font-size: .98rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.4 2.3L12 5.3' fill='none' stroke='%23b45309' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.offer .btn { justify-self: start; }
.offer--feature { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.offer--feature > p { color: var(--on-dark-muted); }
.offer--feature .offer__label { color: var(--accent); }
.offer--feature .ticks li::before { background-color: rgba(217,119,6,.18); }
@media (max-width: 980px) { .offer-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .offer-grid, .offer-grid--3 { grid-template-columns: 1fr; } }

/* ---------- Quote band ---------- */
.quote-band { position: relative; color: #fff; text-align: left; overflow: hidden; }
.quote-band > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.quote-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17,24,39,.9) 0%, rgba(17,24,39,.5) 100%); }
.quote-band .wrap { position: relative; z-index: 2; }
.quote-band blockquote { margin: 0; max-width: 24ch; font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; font-weight: 400; }
.quote-band blockquote em { color: var(--accent); font-style: normal; }
.quote-band cite { display: block; margin-top: 20px; font-style: normal; font-family: var(--font-label); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #d1d5db; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__img { position: relative; }
.about__img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lift); aspect-ratio: 4 / 5; object-fit: cover; }
.about__img figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(17,24,39,.82); color: #fff; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .9rem; backdrop-filter: blur(4px); }
.about__body { display: grid; gap: 24px; min-width: 0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 6px 0 0; }
.facts li { background: var(--page); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; display: grid; gap: 2px; }
.facts b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.facts span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__img img { aspect-ratio: 4 / 3; } }
@media (max-width: 440px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Themes ---------- */
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.theme { background: var(--ink); padding: 30px 28px; display: grid; gap: 10px; align-content: start; }
.theme__word { font-family: var(--font-label); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.theme h3 { font-size: 1.45rem; color: #fff; }
.theme p { color: var(--on-dark-muted); font-size: .98rem; }
.themes-quote { margin-top: 40px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 400; max-width: 40ch; color: #fff; }
.themes-quote em { color: var(--accent); font-style: normal; }
@media (max-width: 900px) { .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .themes { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews-empty {
  background: var(--surface); border: 1px dashed #cdd2d9; border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 28px; align-items: center;
}
.reviews-empty h3 { font-size: 1.7rem; margin-bottom: 10px; }
.reviews-empty p { color: var(--muted); }
.reviews-empty .btn-row { flex-direction: column; align-items: stretch; }
.stars { font-size: 1.4rem; letter-spacing: 4px; color: var(--accent); margin-bottom: 6px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 26px; display: grid; gap: 14px; }
.review blockquote { margin: 0; font-size: 1.02rem; }
.review cite { font-style: normal; font-weight: 600; font-size: .95rem; }
@media (max-width: 760px) { .reviews-empty { grid-template-columns: 1fr; } .reviews-empty .btn-row { flex-direction: row; align-items: center; } .review-grid { grid-template-columns: 1fr; } }

/* ---------- Media ---------- */
.media { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.media__img { margin: 0; background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lift); padding: clamp(28px, 5vw, 48px); display: grid; justify-items: center; gap: 16px; }
.media__img img { width: min(240px, 60%); border-radius: 2px 6px 6px 2px; box-shadow: var(--shadow-book); }
.media__img figcaption { font-family: var(--font-label); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); text-align: center; }
.topics { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .93rem; font-weight: 500; }
@media (max-width: 860px) { .media { grid-template-columns: 1fr; } .media__img { order: -1; } }

/* ---------- Social ---------- */
.social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.social {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.social:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--ink); }
.social svg { width: 40px; height: 40px; grid-row: span 2; padding: 9px; border-radius: 10px; background: var(--ink); fill: #fff; }
.social b { font-weight: 600; }
.social span { color: var(--muted); font-size: .9rem; }
@media (max-width: 960px) { .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .social-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 28px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: clamp(22px, 3.5vw, 36px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .93rem; }
.field label .req { color: var(--accent-strong); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--page);
  border: 1px solid #cfd4db; border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(217,119,6,.18); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent-strong); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-status { font-weight: 600; font-size: .95rem; }
.form-status.ok { color: #047857; }
.form-status.err { color: #b91c1c; }
.next-card { background: var(--ink); color: var(--on-dark); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.next-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.next-card__body { padding: 24px 24px 28px; display: grid; gap: 16px; }
.next-card h3 { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: #d1d5db; font-size: .97rem; }
.steps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--ink-deep); font-family: var(--font-display); font-weight: 600; }
.direct { font-size: .95rem; color: var(--on-dark-muted); border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
.direct a { color: #fff; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 20ch; margin: 0 auto; }
.cta h2 strong { color: var(--accent); font-weight: 600; display: block; }
.cta .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-dark-muted); padding-block: 64px 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 36px; }
.footer-grid p { max-width: 40ch; margin-top: 14px; }
.site-footer h4 { color: #fff; font-family: var(--font-label); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d1d5db; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.linklike { background: none; border: 0; color: #d1d5db; font: inherit; cursor: pointer; padding: 0; }
.linklike:hover { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 70;
  left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 560px; margin-left: auto;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: 20px 22px; display: grid; gap: 14px;
}
.cookie p { font-size: .93rem; color: var(--muted); }
.cookie b { color: var(--ink); }
.cookie .btn-row { gap: 10px; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--ink); color: #fff; padding-block: 64px 48px; }
.legal-hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 600; }
.legal-hero p { color: var(--on-dark-muted); margin-top: 10px; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.6rem; margin-top: 40px; margin-bottom: 12px; }
.legal p, .legal li { color: #374151; }
.legal p + p { margin-top: 1em; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface); }
.legal th, .legal td { text-align: left; border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.legal th { background: var(--page); }
.table-scroll { overflow-x: auto; }

/* ---------- Reveal on scroll (content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

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