/* =====================================================================
   HUMAN SOCIAL
   Layout concept: an editorial page that alternates white, logo violet
   and logo pink bands. Organic "blob" frames around photography echo the
   soft shapes of the wordmark. Big, confident headlines; quiet body copy.

   EDIT BRAND SETTINGS HERE. Colours come straight from the supplied logo.
   ===================================================================== */
:root {
  /* Colour */
  --violet: #3700FF;        /* logo "SOCIAL" */
  --pink: #F797FF;          /* logo "Human" */
  --ink: #17123A;           /* text: deep violet-black */
  --ink-soft: #4A4470;      /* secondary text on light */
  --lilac: #EFEAFF;         /* soft tint of the violet */
  --pink-soft: #FDE9FF;     /* soft tint of the pink */
  --paper: #FFFFFF;
  --line: #D9D2F5;

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  /* Scale */
  --step--1: clamp(0.88rem, 0.85rem + 0.1vw, 0.94rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.5rem + 2.3vw, 3.4rem);
  --step-4: clamp(2.5rem, 1.6rem + 4vw, 5rem);
  --step-5: clamp(2.7rem, 1.4rem + 5.4vw, 6rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 9rem);
  --radius: 28px;
  --max: 1280px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}
.band-violet :focus-visible { outline-color: var(--pink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 1rem); }

.eyebrow {
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 1rem;
}
.band-violet .eyebrow { color: var(--pink); }

.display-xl { font-size: var(--step-4); font-weight: 800; }
.display-l  { font-size: var(--step-3); font-weight: 800; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 38ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 700 var(--step-0)/1 var(--font-display); letter-spacing: -0.01em;
  padding: 1.05rem 1.6rem; min-height: 48px;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--violet); color: var(--paper); }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px) rotate(-1deg); }
.btn-pink { background: var(--pink); color: var(--ink); }
.btn-pink:hover { background: var(--paper); transform: translateY(-2px) rotate(-1deg); }
.btn-small { padding: 0.7rem 1.2rem; min-height: 44px; font-size: var(--step--1); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.text-link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 0.3em; text-decoration-color: var(--pink);
  padding-block: 0.6rem;
}
.text-link:hover { color: var(--violet); text-decoration-color: var(--violet); }

/* ---------- Logo (layered so it can animate) ---------- */
.logo { position: relative; display: block; aspect-ratio: 1811 / 614; max-width: 100%; }
.logo .lp { position: absolute; display: block; height: auto; max-width: none; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .logo.is-playing .lp-letter { animation: logo-hop .8s cubic-bezier(.3, .6, .4, 1) both; animation-delay: calc(var(--i) * 65ms); }
  .logo.is-playing .lp-human { animation: logo-rewrite 1.05s cubic-bezier(.5, 0, .3, 1) both; }
}
@keyframes logo-hop {
  0%   { transform: none; }
  16%  { transform: translateY(3%) scale(1.12, .86); }
  42%  { transform: translateY(calc(var(--j) * -34%)) scale(.93, 1.08) rotate(var(--r)); }
  66%  { transform: translateY(2%) scale(1.1, .9); }
  82%  { transform: translateY(calc(var(--j) * -6%)) scale(.98, 1.03); }
  100% { transform: none; }
}
@keyframes logo-rewrite {
  0%     { clip-path: inset(-20% 0 -20% 0); }
  20%    { clip-path: inset(-20% 0 -20% 100%); }
  20.01% { clip-path: inset(-20% 100% -20% 0); }
  85%    { clip-path: inset(-20% 0 -20% 0); }
  100%   { clip-path: inset(-20% 0 -20% 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 92px; transition: min-height .25s ease; }
.site-header.is-scrolled .header-inner { min-height: 72px; }
.brand { display: block; flex-shrink: 0; }
.brand .logo { height: 64px; transition: height .25s ease; }
.site-header.is-scrolled .brand .logo { height: 48px; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.site-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.site-nav ul a {
  text-decoration: none; font-weight: 500; font-size: var(--step--1);
  padding-block: 0.5rem; background: linear-gradient(var(--pink), var(--pink)) left bottom / 0 3px no-repeat;
  transition: background-size .25s ease;
}
.site-nav ul a:hover { background-size: 100% 3px; }

.menu-toggle {
  display: none; align-items: center; gap: 0.6rem;
  font: 600 var(--step--1) var(--font-body); color: var(--ink);
  background: var(--lilac); border: 0; border-radius: 999px;
  padding: 0.7rem 1rem; min-height: 44px; cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .header-inner, .site-header.is-scrolled .header-inner { min-height: 68px; }
  .brand .logo { height: 48px; }
  .site-header.is-scrolled .brand .logo { height: 40px; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.75rem;
    box-shadow: 0 24px 40px -24px rgba(23, 18, 58, .25);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--step-2);
    padding-block: 0.6rem; background: none; border-bottom: 1px solid var(--line);
  }
  .site-nav .btn { align-self: flex-start; }
}

/* ---------- Placeholders (replace with real photography / video) ---------- */
.placeholder {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 0.5rem;
  padding: 14%;
  color: var(--ink);
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(55, 0, 255, .07) 14px 28px),
    var(--lilac);
}
.placeholder-on-dark {
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255, 255, 255, .08) 14px 28px),
    #4A1BFF;
  color: var(--paper);
}
.ph-tag {
  align-self: center;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--paper); color: var(--violet); padding: 0.35rem 0.65rem; border-radius: 999px;
}
.ph-note { font-size: var(--step--1); line-height: 1.4; max-width: 30ch; }
/* Real images and videos fill their frame */
figure > img, figure > video { width: 100%; height: 100%; object-fit: cover; }

/* Organic frames, drawn from the shapes in the wordmark */
.blob-a { border-radius: 58% 42% 46% 54% / 44% 50% 50% 56%; overflow: hidden; }
.blob-b { border-radius: 40% 60% 38% 62% / 55% 40% 60% 45%; overflow: hidden; }
.blob-c { border-radius: 50% 50% 46% 54% / 60% 52% 48% 40%; overflow: hidden; }
.blob-d { border-radius: 42% 58% 48% 52% / 46% 42% 58% 54%; overflow: hidden; }
.blob-e { border-radius: 62% 38% 50% 50% / 42% 58% 42% 58%; overflow: hidden; }
.blob-f { border-radius: 38% 62% 44% 56% / 56% 46% 54% 44%; overflow: hidden; }

.scribble {
  font-family: var(--font-hand); font-weight: 600; color: var(--violet);
  font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem); line-height: 1; transform: rotate(-6deg);
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) var(--section); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center; gap: clamp(2rem, 5vw, 4.5rem); position: relative;
}
.hero-copy { min-width: 0; }
.hero-title { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; }
.hero-title .line { display: block; }
.hero-title .line-accent { color: var(--violet); }
.hero-lede { font-size: var(--step-1); line-height: 1.5; max-width: 34ch; margin-top: clamp(1.5rem, 3vw, 2.25rem); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.hero-media { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 500px; justify-self: end; background: var(--lilac); isolation: isolate; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  font: 600 0.8rem/1 var(--font-body); color: var(--paper);
  background: rgba(23, 18, 58, .72); border: 0; border-radius: 999px;
  padding: 0.6rem 0.9rem; min-height: 36px; cursor: pointer;
}
.video-toggle:hover { background: var(--violet); }
.video-toggle:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.hero-scribble { position: absolute; right: clamp(-1rem, 2vw, 2rem); bottom: -4rem; white-space: nowrap; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { justify-self: center; max-width: 420px; aspect-ratio: 1 / 1; }
  .hero-scribble { position: static; justify-self: center; margin-top: 0.25rem; white-space: normal; text-align: center; }
}

/* ---------- Bands ---------- */
.band-violet { background: var(--violet); color: var(--paper); }
.band-violet em { font-style: normal; color: var(--pink); }
.band-pink { background: var(--pink); color: var(--ink); }

/* ---------- Approach ---------- */
.approach { padding-block: var(--section); }
.approach-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2.5rem);
}
.approach-head { grid-column: 1 / span 6; }
.approach-body { grid-column: 1 / span 6; display: grid; gap: 1.25rem; font-size: var(--step-1); line-height: 1.55; max-width: 36ch; }
.approach-media { grid-column: 7 / span 6; grid-row: 1 / span 2; align-self: center; display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; align-items: end; }
.approach-media .blob-b { aspect-ratio: 3 / 2.4; }
.approach-media .blob-c { aspect-ratio: 1; transform: translateY(-2.5rem); }

.pledge {
  margin-top: 1rem; font-size: var(--step-0); line-height: 1.5;
  background: var(--pink); color: var(--ink);
  padding: 1.1rem 1.4rem; border-radius: 22px 22px 22px 6px;
  transform: rotate(-1.5deg); max-width: 34ch;
}
.pledge strong { font-family: var(--font-display); font-weight: 800; display: block; font-size: var(--step-1); line-height: 1.2; margin-bottom: 0.2rem; }

@media (max-width: 860px) {
  .approach-head, .approach-body, .approach-media { grid-column: 1 / -1; }
  .approach-media { grid-row: auto; }
  .approach-media .blob-c { transform: none; }
}

/* ---------- Illustrations ---------- */
/* Colours are set per context through these four variables */
.ill { --ill-main: var(--violet); --ill-accent: var(--pink); --ill-hole: var(--paper); display: block; height: auto; overflow: visible; }
.i-main { fill: var(--ill-main); }
.i-accent { fill: var(--ill-accent); }
.i-hole { fill: var(--ill-hole); }
.i-stroke { fill: none; stroke: var(--ill-accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.service .ill { width: clamp(104px, 11vw, 140px); margin-bottom: 0.5rem; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.service:hover .ill { transform: rotate(-4deg) scale(1.04); }
.service-lilac .ill { --ill-hole: var(--lilac); }
.service-pink .ill { --ill-accent: var(--paper); --ill-hole: var(--pink); }
.service-violet .ill { --ill-main: var(--paper); --ill-hole: var(--violet); }
.ill-step { width: clamp(88px, 9vw, 112px); }

/* ---------- Services ---------- */
.services { padding-block: var(--section); }
.section-head h2 { max-width: 16ch; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.service {
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 1rem; min-width: 0;
  transition: transform .3s ease, border-radius .4s ease;
}
.service h3 { font-size: var(--step-3); font-weight: 800; max-width: 12ch; }
.service p { max-width: 42ch; }
.service:hover { transform: translateY(-4px); border-radius: 46px 22px 46px 22px; }
.service-lilac { background: var(--lilac); }
.service-pink { background: var(--pink); }
.service-violet { background: var(--violet); color: var(--paper); }
.service-outline { background: var(--paper); border: 2px solid var(--violet); }
.service-outline h3 { color: var(--violet); }
.service-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem clamp(1.5rem, 4vw, 3.5rem); }
.service-wide .service-body { display: grid; gap: 1rem; min-width: 0; }
.service-wide .ill { width: clamp(120px, 16vw, 200px); margin: 0; }
.service-wide p { max-width: 52ch; }
@media (max-width: 720px) { .service-wide { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- People ---------- */
.people { padding-block: var(--section); }
.people-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.people-intro .display-xl { max-width: 12ch; }
.commitments {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 2px solid var(--ink);
}
.commitments li { display: grid; gap: 0.75rem; align-content: start; min-width: 0; }
.commitments h3 { font-size: var(--step-2); font-weight: 800; }
.bts-strip {
  display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: center; margin-top: clamp(3rem, 6vw, 5rem);
}
.bts-strip figure { aspect-ratio: 1; }
.bts-strip .blob-e { aspect-ratio: 5 / 4; }
.people .placeholder { background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(55, 0, 255, .08) 14px 28px), var(--pink-soft); }
@media (max-width: 960px) {
  .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .people-intro { grid-template-columns: minmax(0, 1fr); }
  .bts-strip { grid-template-columns: 1fr 1fr; }
  .bts-strip .blob-e { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .commitments { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Founders ---------- */
.founders {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
  margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 2px solid var(--ink);
}
.founders-photo { aspect-ratio: 1 / 1.08; position: sticky; top: 110px; }
.founders-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; transform: scale(1.0); }
.founders-copy { min-width: 0; display: grid; gap: 1.25rem; }
.founders-intro { font-size: var(--step-1); line-height: 1.5; max-width: 40ch; }
.bios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: 0.75rem; }
.bio { background: var(--paper); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 0.75rem; align-content: start; min-width: 0; }
.bio h4 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; line-height: 1; letter-spacing: -0.02em; margin: 0; }
.bio-role { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); margin-top: -0.25rem; }
.bio p:not(.bio-role) { font-size: var(--step--1); line-height: 1.6; }
@media (max-width: 1100px) { .bios { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 820px) {
  .founders { grid-template-columns: minmax(0, 1fr); }
  .founders-photo { position: static; max-width: 420px; }
}

/* ---------- How it works ---------- */
.how { padding-block: var(--section); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: none; }
.step { display: grid; gap: 0.9rem; align-content: start; position: relative; min-width: 0; }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: var(--step-4); line-height: 1;
  color: var(--violet); font-variant-numeric: tabular-nums;
  display: flex; align-items: center; gap: 1rem;
}
.step-num::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.step:last-child .step-num::after { background: transparent; }
.step h3 { font-size: var(--step-2); font-weight: 800; max-width: 14ch; }
.step p { color: var(--ink-soft); max-width: 34ch; }
.how-note {
  margin-top: clamp(2.5rem, 5vw, 4rem); font-size: var(--step-1); max-width: 44ch;
  padding-left: 1.25rem; border-left: 4px solid var(--pink);
}
@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step-num::after { display: none; }
}

/* ---------- Contact ---------- */
.contact { padding-block: var(--section); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-copy { display: grid; gap: 1.5rem; }
.contact-alt { margin-top: 1rem; display: grid; gap: 0.25rem; }
.contact-alt-label { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: var(--pink); }
.contact-alt a { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); text-decoration-color: var(--pink); text-underline-offset: 0.2em; word-break: break-word; }

.config-missing {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  border: 2px dashed currentColor; border-radius: 8px; padding: 0.25rem 0.55rem; opacity: .85;
}

.contact-form {
  background: var(--paper); color: var(--ink);
  border-radius: 32px 32px 32px 10px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: grid; gap: 1.25rem; min-width: 0;
}
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 600; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--lilac); border: 2px solid transparent; border-radius: 14px;
  padding: 0.85rem 1rem; min-height: 50px;
  transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: var(--paper); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #B3003C; background: #FFF0F4; }
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { font-weight: 600; padding: 0; margin-bottom: 0.5rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice-row label {
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  background: var(--lilac); border: 2px solid transparent; border-radius: 999px;
  padding: 0.55rem 1rem 0.55rem 0.8rem; min-height: 44px; font-weight: 500;
}
.choice-row label:hover { border-color: var(--line); }
.choice-row label:has(input:checked) { background: var(--violet); color: var(--paper); }
.field .choice-row input { accent-color: var(--pink); width: 1.05rem; height: 1.05rem; min-height: 0; margin: 0; padding: 0; border: 0; flex: none; }
.field-error { color: #B3003C; font-size: var(--step--1); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: var(--step--1); color: var(--ink-soft); }
.form-privacy a { color: var(--violet); }
.contact-form .config-missing { color: var(--ink-soft); }
.contact-form .btn { justify-self: start; }
.contact-form .btn-pink:hover { background: var(--violet); color: var(--paper); }
.form-status { border-radius: 14px; padding: 1rem 1.15rem; font-weight: 500; }
.form-status.is-success { background: var(--lilac); color: var(--ink); }
.form-status.is-error { background: #FFF0F4; color: #8A002E; }
.form-status a { color: inherit; font-weight: 700; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); padding-block: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.footer-brand { display: block; }
.footer-brand .logo { width: clamp(180px, 20vw, 260px); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.75rem; font-size: var(--step--1); color: var(--ink-soft); }
.footer-meta a { color: var(--ink); }
.social-links { display: flex; gap: 1rem; }

/* ---------- Motion (subtle; switched off for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-title .line-accent { animation-delay: .12s; }
  .hero-lede, .hero-actions { animation: rise .8s cubic-bezier(.2, .8, .2, 1) .25s both; }
  .hero-media { animation: morph 14s ease-in-out infinite alternate; }
  .hero-scribble { animation: fade .8s ease .6s both; }

  /* Content is always visible; it only drifts up slightly as it enters */
  .reveal { transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
  .reveal.is-below { transform: translateY(28px); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes morph {
  0%   { border-radius: 58% 42% 46% 54% / 44% 50% 50% 56%; }
  50%  { border-radius: 44% 56% 58% 42% / 54% 42% 58% 46%; }
  100% { border-radius: 52% 48% 40% 60% / 48% 58% 42% 52%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
