/* ==========================================================================
   Leave It With Me — stylesheet
   Design tokens pulled from the studio's own brand assets:
   ink black, mauve/dusty-rose pink, warm cream "paper", hand-drawn heart.
   ========================================================================== */

:root {
  /* Colour */
  --ink: #1c1a1b;
  --ink-soft: #2a2627;
  --cream: #fdf8f4;
  --paper: #f6ebe3;
  --paper-deep: #ecdcd0;
  --pink: #c2578a;
  --pink-deep: #8a3f66;
  --pink-bright: #cb7195;
  --pink-soft: #f1d9e3;
  --text: #221f20;
  --text-muted: #5c5456;
  --text-inverse: #f7f1ee;
  --text-inverse-muted: #cabfbc;
  --border: rgba(28, 26, 27, 0.12);
  --border-inverse: rgba(247, 241, 238, 0.16);
  --success: #3f7d55;
  --error: #b3435c;

  /* Type */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-script: "Caveat", cursive;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  /* Spacing / shape */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
  --shadow-card: 0 18px 40px -20px rgba(28, 26, 27, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(28, 26, 27, 0.25);
}

/* --------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
section { padding-block: var(--section-pad); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--ink); color: var(--text-inverse); padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm); transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* -------------------------------- Type ----------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-body); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-deep);
}
.eyebrow::before { content: "\2022"; color: var(--pink); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-top: 0.5rem; }
.section-head p { margin-top: 0.9rem; font-size: 1.08rem; color: var(--text-muted); max-width: 40rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.script-accent { font-family: var(--font-script); font-weight: 600; color: var(--pink); }
.underline-scribble {
  display: block; width: 7rem; height: 10px; margin-top: 0.35rem;
}
.underline-scribble path { fill: none; stroke: var(--pink); stroke-width: 5; stroke-linecap: round; }

/* -------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.95rem 1.85rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--pink-deep); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--text-inverse); border-color: var(--ink); }
.btn-outline.on-dark { color: var(--text-inverse); }
.btn-outline.on-dark:hover { background: var(--text-inverse); color: var(--ink); }
.btn-light { background: var(--cream); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-light:hover { background: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* --------------------------------- Header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 248, 244, 0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-block: 0.85rem; gap: 1rem; }

.logo-mark { display: inline-flex; align-items: baseline; gap: 0.35rem; flex-shrink: 0; min-width: 0; }
.logo-mark svg { width: 1.05em; height: 1.05em; align-self: center; transform: translateY(-1px); flex-shrink: 0; }
.logo-script { font-family: var(--font-script); font-weight: 700; font-size: clamp(1.05rem, 4.5vw, 1.5rem); color: var(--ink); line-height: 1; white-space: nowrap; }
.logo-bold { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.05rem, 4.5vw, 1.5rem); color: var(--ink); line-height: 1; white-space: nowrap; }
.logo-mark .logo-heart path { stroke: var(--pink); }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 1.9rem; font-weight: 500; font-size: 0.97rem; }
.nav-desktop a { position: relative; padding-block: 0.3rem; }
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--pink); transition: right 0.2s ease;
}
.nav-desktop a:hover::after, .nav-desktop a.active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.header-actions .btn { padding: 0.7rem 1.3rem; font-size: 0.92rem; white-space: nowrap; }
@media (max-width: 460px) {
  .header-actions .btn { display: none; }
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 1px solid var(--border);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: fixed; inset: 0; top: 0; z-index: 99;
  background: var(--ink); color: var(--text-inverse);
  display: flex; flex-direction: column; padding: 6rem var(--gutter) 3rem;
  transform: translateY(-100%); transition: transform 0.32s ease;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1.6rem; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; }
.mobile-menu .mobile-cta { margin-top: 2.5rem; }
body.menu-open { overflow: hidden; }

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
}

/* --------------------------------- Hero --------------------------------- */
.hero { position: relative; background: var(--ink); color: var(--text-inverse); overflow: hidden; padding-block: clamp(3rem, 9vw, 6rem); }
.hero .container { display: grid; gap: 3rem; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { color: var(--pink-bright); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); margin-top: 0.75rem; color: #fff; }
.hero h1 em { font-style: normal; color: var(--pink-bright); }
.hero-sub { margin-top: 1.35rem; font-size: 1.15rem; color: var(--text-inverse-muted); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 2.5rem; font-size: 0.88rem; color: var(--text-inverse-muted); }
.hero-trust li { display: flex; align-items: center; gap: 0.5em; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink-bright); }

.hero-figure { position: relative; z-index: 1; justify-self: center; width: min(100%, 360px); }
.hero-photo-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0,0,0,0.6); border: 1px solid var(--border-inverse); }
.hero-photo-wrap img { width: 100%; display: block; }
.hero-photo-wrap.is-mark {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  padding: clamp(1.75rem, 6%, 3rem); background: var(--ink-soft);
}
.hero-photo-wrap.is-mark img { width: 100%; height: 100%; object-fit: contain; }
.hero-badge {
  position: absolute; left: -1.1rem; bottom: -1.1rem; background: var(--pink);
  color: #fff; padding: 0.85rem 1.1rem; border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; line-height: 1.25;
  box-shadow: var(--shadow-card); max-width: 11rem;
}
.hero-deco-heart { position: absolute; opacity: 0.5; display: none; }
.hero-deco-heart.d1 { top: 6%; right: 4%; width: 70px; }
@media (min-width: 860px) {
  .hero-deco-heart { display: block; }
}
.hero-deco-heart path { fill: none; stroke: var(--pink-bright); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-scribble { position: absolute; bottom: -10%; left: -8%; width: 260px; opacity: 0.35; }
.hero-scribble path { fill: none; stroke: var(--pink); stroke-width: 2; }

@media (min-width: 860px) {
  .hero .container { grid-template-columns: 1.15fr 0.85fr; }
  .hero-figure { justify-self: end; width: 100%; max-width: 400px; }
}

/* --------------------------------- Intro --------------------------------- */
.intro { background: var(--cream); }
.intro .container { display: grid; gap: 2.5rem; }
.intro-lead { font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 700; line-height: 1.4; max-width: 44rem; }
.intro-lead .script-accent { font-size: 1.05em; }
.intro-body { margin-top: 1.5rem; font-size: 1.05rem; color: var(--text-muted); max-width: 40rem; }
.intro-chips { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5rem 1rem;
  border-radius: 999px; background: var(--paper); font-size: 0.87rem; font-weight: 500; color: var(--text);
  border: 1px solid var(--border);
}

/* -------------------------------- Services -------------------------------- */
.services { background: var(--ink); color: var(--text-inverse); position: relative; }
.services .section-head .eyebrow { color: var(--pink-bright); }
.services .section-head h2 { color: #fff; }
.services .section-head p { color: var(--text-inverse-muted); }
.service-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.service-card {
  background: var(--ink-soft); border: 1px solid var(--border-inverse); border-radius: var(--radius-lg);
  padding: 1.9rem; display: flex; flex-direction: column; gap: 1rem; transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--pink); }
.service-icon {
  width: 3rem; height: 3rem; border-radius: 50%; background: var(--pink-soft); color: var(--pink-deep);
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 1.5rem; height: 1.5rem; }
.service-card h3 { font-size: 1.28rem; color: #fff; }
.service-card p { color: var(--text-inverse-muted); font-size: 0.97rem; }
.service-card ul { display: flex; flex-direction: column; gap: 0.45rem; margin-top: auto; padding-top: 0.5rem; }
.service-card li { font-size: 0.9rem; color: var(--text-inverse-muted); display: flex; gap: 0.55em; }
.service-card li::before { content: "\2713"; color: var(--pink-bright); font-weight: 700; flex-shrink: 0; }

.services-extra {
  margin-top: 2.2rem; padding: 1.5rem 1.75rem; border-radius: var(--radius-md);
  background: var(--ink-soft); border: 1px dashed var(--border-inverse);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; justify-content: space-between;
}
.services-extra p { color: var(--text-inverse-muted); font-size: 0.95rem; }
.services-extra strong { color: #fff; font-family: var(--font-display); font-size: 1.05rem; display: block; margin-bottom: 0.2rem; }

/* -------------------------------- Portfolio -------------------------------- */
.portfolio { background: var(--paper); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.25rem; }
.filter-btn {
  padding: 0.55rem 1.15rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--cream); font-size: 0.88rem; font-weight: 500; transition: all 0.18s ease;
}
.filter-btn:hover { border-color: var(--pink); }
.filter-btn.is-active { background: var(--ink); color: var(--text-inverse); border-color: var(--ink); }

.portfolio-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.portfolio-card {
  background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);
  border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.portfolio-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.portfolio-media picture { display: block; width: 100%; height: 100%; }
.portfolio-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-card:hover .portfolio-media img { transform: scale(1.06); }
.portfolio-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; }
.portfolio-tag { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink-deep); }
.portfolio-body h3 { font-size: 1.15rem; }
.portfolio-body p { font-size: 0.93rem; color: var(--text-muted); }
.portfolio-note {
  margin-top: 2.5rem; font-size: 0.93rem; color: var(--text-muted); text-align: center;
}

/* -------------------------------- Process -------------------------------- */
.process { background: var(--cream); }
.process-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.process-step { position: relative; padding: 2rem 1.6rem 1.8rem; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--border); }
.process-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; color: var(--pink);
  opacity: 0.85; line-height: 1;
}
.process-step h3 { margin-top: 0.9rem; font-size: 1.2rem; }
.process-step p { margin-top: 0.6rem; font-size: 0.94rem; color: var(--text-muted); }
.process-connector { display: none; }
@media (min-width: 900px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}
.process-cta { margin-top: 2.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.75rem 2rem; background: var(--ink); color: var(--text-inverse); border-radius: var(--radius-lg); }
.process-cta p { font-family: var(--font-display); font-size: 1.2rem; }
.process-cta .script-accent { color: var(--pink-bright); }

/* -------------------------------- FAQ -------------------------------- */
.faq { background: var(--paper); }
.faq-list { max-width: 46rem; margin-inline: auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.25rem 1.5rem; font-weight: 600; font-size: 1.02rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex-shrink: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--paper); display: flex; align-items: center; justify-content: center; position: relative; transition: transform 0.25s ease; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; background: var(--pink-deep); }
.faq-item summary .plus::before { width: 10px; height: 2px; }
.faq-item summary .plus::after { width: 2px; height: 10px; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 1.5rem 1.35rem; color: var(--text-muted); font-size: 0.97rem; }
.faq-note { max-width: 46rem; margin: 2.25rem auto 0; text-align: center; font-size: 0.92rem; color: var(--text-muted); }

/* -------------------------------- Contact / Form -------------------------------- */
.contact { background: var(--ink); color: var(--text-inverse); }
.contact .section-head .eyebrow { color: var(--pink-bright); }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: var(--text-inverse-muted); }
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}

.contact-side { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-method {
  display: flex; align-items: flex-start; gap: 0.9rem; padding: 1.1rem 1.25rem;
  background: var(--ink-soft); border: 1px solid var(--border-inverse); border-radius: var(--radius-md);
}
.contact-method .icon { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--pink); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method .icon svg { width: 1.15rem; height: 1.15rem; }
.contact-method h3 { font-size: 0.98rem; color: #fff; }
.contact-method a, .contact-method p { font-size: 0.92rem; color: var(--text-inverse-muted); word-break: break-word; }
.contact-method a:hover { color: var(--pink-bright); }
.deposit-note {
  padding: 1.2rem 1.35rem; border-radius: var(--radius-md); background: rgba(194, 87, 138, 0.14);
  border: 1px solid rgba(203, 113, 149, 0.4); font-size: 0.9rem; color: var(--text-inverse-muted);
}
.deposit-note strong { color: #fff; display: block; margin-bottom: 0.3rem; font-family: var(--font-display); font-size: 1.02rem; }

.form-card { background: var(--cream); color: var(--text); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-card); }
.form-grid { display: grid; gap: 1.15rem; }
.form-row-2 { display: grid; gap: 1.15rem; }
@media (min-width: 620px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }

.field label, .fieldset legend { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.45rem; }
.field .hint { font-weight: 400; color: var(--text-muted); font-size: 0.82rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: #fff; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(194, 87, 138, 0.15); }
.field input:invalid[data-touched="true"], .field textarea:invalid[data-touched="true"] { border-color: var(--error); }
.field-error { display: none; color: var(--error); font-size: 0.82rem; margin-top: 0.35rem; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }

.fieldset { border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 1.1rem 1.25rem 1.3rem; }
.checkbox-grid, .radio-grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-top: 0.6rem; }
.check-item, .radio-item { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; }
.check-item input, .radio-item input { width: 1.05rem; height: 1.05rem; accent-color: var(--pink); flex-shrink: 0; }

.conditional-field { display: none; margin-top: 0.9rem; }
.conditional-field.is-visible { display: block; }

.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.form-status { border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; font-size: 0.92rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.success { background: rgba(63, 125, 85, 0.12); color: #2d5c3e; border: 1px solid rgba(63,125,85,0.3); }
.form-status.error { background: rgba(179, 67, 92, 0.1); color: var(--error); border: 1px solid rgba(179,67,92,0.3); }
.form-privacy { font-size: 0.8rem; color: var(--text-muted); }
.form-privacy a { text-decoration: underline; }

/* -------------------------------- Footer -------------------------------- */
.site-footer { background: #131011; color: var(--text-inverse-muted); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand .logo-script, .footer-brand .logo-bold { color: #fff; }
.footer-brand p { margin-top: 1rem; font-size: 0.92rem; max-width: 26rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer-social a { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--border-inverse); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, border-color 0.2s ease; }
.footer-social a:hover { background: var(--pink); border-color: var(--pink); }
.footer-social svg { width: 1.15rem; height: 1.15rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-person {
  margin-top: 3rem; padding-top: 2.25rem; border-top: 1px solid var(--border-inverse);
  display: flex; align-items: center; gap: 1rem;
}
.footer-person-avatar {
  flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 50%; overflow: hidden;
  background: var(--pink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.footer-person-avatar picture { display: block; width: 100%; height: 100%; }
.footer-person-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.footer-person p { font-size: 0.92rem; color: var(--text-inverse-muted); }

.footer-bottom { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--border-inverse); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.82rem; }
.footer-bottom nav { display: flex; gap: 1.25rem; }

/* -------------------------------- Utilities -------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* -------------------------------- 404 -------------------------------- */
.not-found { min-height: 80vh; display: flex; align-items: center; background: var(--ink); color: var(--text-inverse); text-align: center; }
.not-found .container { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.not-found .code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7rem); color: var(--pink-bright); font-weight: 900; }
.not-found p { max-width: 30rem; color: var(--text-inverse-muted); font-size: 1.05rem; }

/* -------------------------------- Legal page -------------------------------- */
.legal { background: var(--cream); }
.legal .container { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.legal .updated { margin-top: 0.5rem; color: var(--text-muted); font-size: 0.9rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; margin-bottom: 0.75rem; }
.legal p, .legal li { color: var(--text-muted); font-size: 0.98rem; margin-top: 0.6rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; }
.legal a { text-decoration: underline; }
.legal .flag {
  margin-top: 2.5rem; padding: 1.2rem 1.4rem; border-radius: var(--radius-md);
  background: var(--paper); border: 1px dashed var(--pink); font-size: 0.9rem;
}
