/* ==========================================================================
   WIN PERFORMANCE — Stylesheet
   1. Tokens  2. Base  3. Layout  4. Header/Nav  5. Buttons  6. Media
   7. Hero  8. Sections  9. Cards  10. Forms  11. Footer  12. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #0f1110;
  --ink-2: #181b19;
  --ink-3: #242825;
  --stone: #f4f1ea;
  --stone-2: #ebe6db;
  --paper: #fbfaf6;
  --muted: #6d6f69;
  --muted-on-dark: #a9aca4;
  --line: rgba(15, 17, 16, 0.12);
  --line-dark: rgba(244, 241, 234, 0.14);
  --accent: #b8946a;        /* warm brass — change here to re-brand */
  --accent-deep: #8f6f49;
  --danger: #b3412f;
  --ok: #3f6b4f;

  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(3rem, 8.5vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--stone); padding: .7rem 1.1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.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;
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: var(--stone); }
.section--dark .lead, .section--dark p { color: var(--muted-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--stone); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 38em; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
em { font-style: italic; color: var(--accent); }
.section:not(.section--dark) h2 em { color: var(--accent-deep); }

.split { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

/* 4. Header / Nav ---------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--stone);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(15, 17, 16, 0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .32em;
  text-decoration: none; text-transform: uppercase; white-space: nowrap;
}
.brand span { font-weight: 300; color: var(--accent); }

.nav-list { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.nav-list a {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  position: relative; padding-block: .4rem;
}
.nav-list a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-list a:not(.btn):hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 48px; height: 48px; cursor: pointer; margin-right: -12px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 1.5px; background: currentColor; margin: auto; position: relative;
  transition: transform .35s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center;
    gap: 1.6rem; padding: var(--header-h) var(--gutter) 3rem;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-list a { font-family: var(--font-display); font-size: 2.4rem; letter-spacing: 0; text-transform: none; }
  .nav-list .btn { font-family: var(--font-body); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 1rem; }
  .nav-open .nav-list { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open .brand, .nav-open .nav-toggle { position: relative; z-index: 2; }
}

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: .85rem 1.9rem; border-radius: 999px; border: 1px solid transparent;
  font: 500 .82rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--stone); }
.section:not(.section--dark) .btn--primary { background: var(--ink); color: var(--stone); }
.section:not(.section--dark) .btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--stone); color: var(--ink); border-color: var(--stone); }
.btn--sm { min-height: 42px; padding: .6rem 1.3rem; font-size: .74rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.text-link {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--accent); padding-bottom: .3rem; display: inline-flex; gap: .6rem;
}
.text-link:hover .arrow { transform: translateX(4px); }
.text-link .arrow { transition: transform .3s var(--ease); }

/* 6. Media / image placeholders ------------------------------------------- */
/* Drop a real <img> inside any .media element and it fills the frame.
   Until then, the tonal placeholder + caption shows. */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius); margin: 0;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(184,148,106,.28), transparent 55%),
    linear-gradient(160deg, var(--ink-3), var(--ink) 70%);
  aspect-ratio: 4 / 5; color: var(--stone);
}
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media::after { /* subtle film grain / vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(15,17,16,.35), transparent 40%);
}
.media__label {
  position: absolute; left: 1.25rem; bottom: 1.1rem; z-index: 1; font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted-on-dark); display: flex; align-items: center; gap: .6rem;
}
.media__label::before { content: ""; width: 1.5rem; height: 1px; background: var(--accent); }
.media:has(img) .media__label { display: none; }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--stone);
  background: var(--ink); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 25%; }
.hero__bg::before { /* placeholder atmosphere — hidden once a real image is added */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 25%, rgba(184,148,106,.30), transparent 65%),
    radial-gradient(50% 50% at 10% 90%, rgba(184,148,106,.12), transparent 70%),
    linear-gradient(180deg, #151816, var(--ink));
}
.hero__bg:has(img)::before { display: none; }
/* Phones/tablets (portrait): centre her face and keep it clear of the headline
   by showing the photo in the top part of the hero and fading it into the dark base. */
@media (max-width: 899px) {
  .hero__bg img {
    height: 66%; object-position: 47% 20%;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
    mask-image: linear-gradient(to bottom, #000 55%, transparent);
  }
}
.hero__bg::after { /* legibility overlay */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,17,16,.92) 5%, rgba(15,17,16,.35) 60%, rgba(15,17,16,.55));
}
.hero h1 { max-width: 12ch; margin-bottom: .35em; }
.hero__lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #d4d2c9; max-width: 34em; margin-bottom: 2.25rem; }
.hero__meta {
  margin-top: clamp(3rem, 7vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 1rem 3rem; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-on-dark);
}
.scroll-cue { position: absolute; right: var(--gutter); bottom: 2rem; display: none; }
@media (min-width: 900px) { .scroll-cue { display: block; writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted-on-dark); text-decoration: none; } }

.page-hero {
  background: var(--ink); color: var(--stone); position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(3.5rem, 8vw, 6rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 80% at 85% 0%, rgba(184,148,106,.24), transparent 65%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.25rem); max-width: 14ch; }
.page-hero .lead { color: var(--muted-on-dark); }

/* 8. Sections -------------------------------------------------------------- */
.pillars { display: grid; gap: 2rem; margin-top: 2.5rem; }
.pillar { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.pillar h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .6rem; font-weight: 600; }
.pillar p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.stat { border-top: 1px solid var(--line); padding-top: 1rem; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; line-height: 1.1; color: var(--accent-deep); }
.stat span { font-size: .85rem; color: var(--muted); }

.tag-placeholder {
  display: inline-block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .7rem; border: 1px dashed var(--accent); border-radius: 999px; color: var(--accent-deep);
}
.section--dark .tag-placeholder { color: var(--accent); }

.why-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why { background: var(--paper); padding: clamp(1.75rem, 3vw, 2.5rem); }
.why__num { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent-deep); margin-bottom: 1rem; display: block; }
.why h3 { font-size: 1.5rem; }
.why p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.steps { display: grid; gap: 2rem; counter-reset: step; }
.step { counter-increment: step; border-top: 1px solid var(--line-dark); padding-top: 1.25rem; }
.step::before { content: "0" counter(step); font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.step h3 { font-size: 1.5rem; margin-top: .5rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 16ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* 9. Cards ----------------------------------------------------------------- */
.service-cards { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  display: flex; flex-direction: column; padding: clamp(1.75rem, 3vw, 2.25rem); min-height: 22rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-decoration: none;
  transition: transform .45s var(--ease), border-color .3s, background .4s var(--ease), color .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); background: var(--ink); color: var(--stone); border-color: var(--ink); }
.service-card__idx { font-family: var(--font-display); color: var(--accent-deep); font-size: 1.1rem; margin-bottom: auto; padding-bottom: 3rem; }
.service-card:hover .service-card__idx { color: var(--accent); }
.service-card h3 { font-size: 1.75rem; margin-bottom: .6rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }
.service-card:hover p { color: var(--muted-on-dark); }
.service-card .text-link { margin-top: auto; align-self: flex-start; }

/* Detailed service blocks (services page) */
.service {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.service:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .service { grid-template-columns: 5fr 7fr; } }
.service__num { font-family: var(--font-display); color: var(--accent-deep); font-size: 1.2rem; display: block; margin-bottom: 1rem; }
.service__body { display: grid; gap: 2rem; }
@media (min-width: 640px) { .service__body { grid-template-columns: 1fr 1fr; } }
.service__body h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.service__desc { grid-column: 1 / -1; font-size: 1.05rem; }
.checklist li { position: relative; padding: .6rem 0 .6rem 1.75rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: .75rem; height: 1px; background: var(--accent-deep); }
.price { font-family: var(--font-display); font-size: 2.2rem; line-height: 1.1; }
.price small { display: block; font-family: var(--font-body); font-size: .8rem; color: var(--muted); margin-top: .4rem; }
.service__cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }

.testimonials { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
.testimonials .quote blockquote { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.quote { padding: clamp(1.75rem, 3vw, 2.25rem); border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); display: flex; flex-direction: column; gap: 1.5rem; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; color: var(--stone); }
.quote blockquote::before { content: "“"; display: block; font-size: 3.5rem; line-height: .6; color: var(--accent); margin-bottom: .6rem; }
.quote figcaption { margin-top: auto; font-size: .85rem; color: var(--muted-on-dark); }
.quote figcaption strong { display: block; color: var(--stone); font-weight: 500; }

/* 10. Forms ---------------------------------------------------------------- */
.form-wrap { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
@media (min-width: 960px) { .form-wrap { grid-template-columns: 4fr 7fr; align-items: start; } .form-aside { position: sticky; top: calc(var(--header-h) + 2rem); } }
.form-aside ul { margin-top: 2rem; }
.form-aside li { padding: .9rem 0; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.form-aside li strong { display: block; color: var(--ink); font-weight: 500; }

.form { display: grid; gap: 1.5rem; background: var(--stone); padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); }
.form__row { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .5rem; }
.field label, .field legend { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; padding: 0; }
.field .req { color: var(--accent-deep); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; /* 16px+ prevents iOS zoom */ color: var(--ink);
  background: var(--paper); border: 1px solid transparent; border-bottom: 1px solid rgba(15,17,16,.3);
  border-radius: 8px; padding: .95rem 1rem; min-height: 52px; transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230f1110' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.75rem;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(184,148,106,.28); }
.field .error { display: none; color: var(--danger); font-size: .85rem; }
.field.has-error .error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .hint { font-size: .82rem; color: var(--muted); }

.choice-group { display: flex; flex-wrap: wrap; gap: .6rem; border: 0; padding: 0; margin: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; min-height: 0; }
.choice span {
  display: inline-block; padding: .7rem 1.2rem; border-radius: 999px; border: 1px solid rgba(15,17,16,.3);
  font-size: .9rem; background: var(--paper); transition: all .25s var(--ease);
}
.choice input:checked + span { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--ink); flex: none; min-height: 0; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: .95rem; padding: 1rem 1.25rem; border-radius: 8px; display: none; }
.form__status.is-error { display: block; background: rgba(179,65,47,.1); color: var(--danger); }

.confirmation { display: none; text-align: center; padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem); background: var(--ink); color: var(--stone); border-radius: var(--radius); }
.confirmation.is-visible { display: block; animation: rise .8s var(--ease) both; }
.confirmation__tick { width: 72px; height: 72px; margin: 0 auto 2rem; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; color: var(--accent); }
.confirmation__tick svg { width: 30px; height: 30px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .3s var(--ease) forwards; }
.confirmation p { color: var(--muted-on-dark); max-width: 30em; margin-inline: auto; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Contact */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; gap: 1rem; text-decoration: none; transition: transform .4s var(--ease), background .4s, color .4s; }
a.contact-card:hover { transform: translateY(-5px); background: var(--ink); color: var(--stone); }
.contact-card h3 { font-size: 1.75rem; margin: 0; }
.contact-card p { margin: 0; color: var(--muted); }
a.contact-card:hover p { color: var(--muted-on-dark); }
.contact-card .big { font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 1.9rem); word-break: break-word; }
.contact-card .icon { width: 2.25rem; height: 2.25rem; color: var(--accent-deep); }
a.contact-card:hover .icon { color: var(--accent); }
.socials { display: flex; gap: .75rem; flex-wrap: wrap; }
.socials a {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateY(-3px); }
.socials .icon { width: 1.3rem; height: 1.3rem; }

/* Icons are single-colour SVG masks so they inherit text colour */
.icon { display: inline-block; width: 1.25rem; height: 1.25rem; background: currentColor; flex: none;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.icon--instagram { --i: url("../assets/icons/instagram.svg"); }
.icon--tiktok { --i: url("../assets/icons/tiktok.svg"); }
.icon--youtube { --i: url("../assets/icons/youtube.svg"); }
.icon--facebook { --i: url("../assets/icons/facebook.svg"); }
.icon--mail { --i: url("../assets/icons/mail.svg"); }

/* Long-form text (privacy policy) */
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 2.5rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1.1em; }
.prose li { margin-bottom: .5rem; }
.prose a, .consent a { color: var(--accent-deep); }

/* 11. Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--stone); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.footer-grid h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 1.1rem; font-weight: 500; }
.footer-grid li { margin-bottom: .6rem; }
.footer-grid a { text-decoration: none; color: #d4d2c9; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--muted-on-dark); max-width: 24em; font-size: .95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .8rem; color: var(--muted-on-dark); }

/* 12. Motion --------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero .container > * { animation: rise 1s var(--ease) both; }
.hero .container > *:nth-child(2) { animation-delay: .12s; }
.hero .container > *:nth-child(3) { animation-delay: .24s; }
.hero .container > *:nth-child(4) { animation-delay: .36s; }
.hero .container > *:nth-child(5) { animation-delay: .5s; }

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