/* =========================================================
   Quietford — Wellbeing Studio
   Bespoke system: Hedvig Letters Serif / Urbanist / Red Hat Mono
   Palette: mauve-slate base · oat cream · dusty-rose accent
   ========================================================= */

:root {
  /* Core palette */
  --mauve-900: #2b2530;
  --mauve-800: #3a3340;
  --mauve-700: #4d4453;
  --mauve-600: #6a5f72;
  --mauve-500: #8a7e92;
  --mauve-400: #ab9fb2;
  --mauve-300: #cbc2cf;
  --mauve-200: #e3dce6;

  --oat-50: #faf6ef;
  --oat-100: #f4ede1;
  --oat-200: #ece0cf;
  --oat-300: #e0d0b8;

  --rose-600: #b06b78;
  --rose-500: #c47f8d;
  --rose-400: #d49aa5;
  --rose-300: #e6bcc4;
  --rose-200: #f1d7dc;

  --ink: #221d27;
  --paper: #faf6ef;

  /* Semantic */
  --bg: var(--oat-50);
  --bg-deep: var(--mauve-900);
  --text: var(--ink);
  --text-soft: #5b5360;
  --text-invert: #f6f1ea;
  --accent: var(--rose-600);
  --accent-soft: var(--rose-300);
  --line: rgba(43, 37, 48, 0.12);
  --line-invert: rgba(246, 241, 234, 0.16);

  /* Type */
  --font-display: "Hedvig Letters Serif", Georgia, serif;
  --font-body: "Urbanist", system-ui, -apple-system, sans-serif;
  --font-mono: "Red Hat Mono", ui-monospace, monospace;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 22px;
  --radius-sm: 13px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::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: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Animated, scroll-shifting gradient mesh behind everything */
.mesh {
  position: fixed;
  inset: -20vh -10vw;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(42vw 42vw at 12% 8%, rgba(196,127,141,0.22), transparent 60%),
    radial-gradient(46vw 46vw at 88% 18%, rgba(138,126,146,0.26), transparent 62%),
    radial-gradient(50vw 50vw at 50% 92%, rgba(224,208,184,0.40), transparent 65%),
    radial-gradient(40vw 40vw at 78% 78%, rgba(176,107,120,0.18), transparent 60%);
  filter: saturate(1.05);
  /* shifted live by JS based on scroll; default slow drift */
  animation: meshDrift 26s var(--ease) infinite alternate;
  transform: translate3d(0,0,0);
  will-change: transform;
}
.mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: multiply;
}
@keyframes meshDrift {
  0%   { transform: translate3d(-1.5%, -1%, 0) scale(1.02); }
  100% { transform: translate3d(2%, 2.5%, 0) scale(1.08); }
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }

section { position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}

a { color: inherit; }

/* ---------- Skip link & focus ---------- */
.skip {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--mauve-900); color: var(--text-invert);
  padding: 0.7rem 1.1rem; border-radius: 10px; z-index: 999;
  transition: top 0.2s var(--ease); font-family: var(--font-mono); font-size: 0.8rem;
}
.skip:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--oat-50) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 2rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--text);
}
.brand__mark {
  width: 38px; height: 38px; flex: none;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 4px;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  text-decoration: none; color: var(--text-soft);
  font-weight: 500; font-size: 0.96rem;
  position: relative; padding: 0.35rem 0;
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn--primary {
  background: var(--mauve-900); color: var(--text-invert);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 10px 24px -12px rgba(43,37,48,0.6);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--mauve-800); box-shadow: 0 18px 34px -14px rgba(43,37,48,0.55); }
.btn--ghost {
  background: transparent; color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--mauve-600); transform: translateY(-2px); }
.btn--rose { background: var(--accent); color: #fff; }
.btn--rose:hover { transform: translateY(-2px); background: var(--rose-500); box-shadow: 0 18px 34px -14px rgba(176,107,120,0.6); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.9rem, 6.2vw, 5.4rem);
  line-height: 0.98;
  margin: 1.4rem 0 0;
}
.hero__title .accent { font-style: italic; color: var(--accent); }
.hero__lede {
  margin-top: 1.7rem;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  color: var(--text-soft);
  max-width: 46ch;
  line-height: 1.6;
}
.hero__cta { margin-top: 2.3rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero__note { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--text-soft); }

/* Hero visual: scale-in mask */
.hero__visual { position: relative; }
.hero__media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -40px rgba(43,37,48,0.5);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(43,37,48,0.35));
  mix-blend-mode: multiply;
}
.hero__badge {
  position: absolute; bottom: -26px; left: -26px;
  background: var(--oat-50);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 24px 48px -28px rgba(43,37,48,0.5);
  display: flex; gap: 0.85rem; align-items: center;
  max-width: 230px;
}
.hero__badge .num { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: var(--accent); }
.hero__badge .lbl { font-size: 0.82rem; line-height: 1.3; color: var(--text-soft); }

/* Marquee strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--oat-100) 60%, transparent);
}
.strip__track {
  display: flex; gap: 3.5rem; white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-soft);
  width: max-content;
}
.strip__track span { display: inline-flex; align-items: center; gap: 3.5rem; }
.strip__track span::after { content: "✦"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin-top: 1.1rem;
}
.section__intro { margin-top: 1.2rem; color: var(--text-soft); font-size: 1.12rem; max-width: 56ch; }

.section--deep {
  background: var(--mauve-900);
  color: var(--text-invert);
  border-radius: clamp(28px, 4vw, 48px);
  margin-inline: var(--gutter);
}
.section--deep .section__title,
.section--deep h2, .section--deep h3 { color: var(--text-invert); }
.section--deep .section__intro,
.section--deep p { color: rgba(246,241,234,0.78); }
.section--deep .eyebrow { color: var(--rose-300); }
.section--deep .eyebrow::before { background: var(--rose-300); }

/* ---------- Pillars / approach ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pillar {
  background: var(--oat-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 2.2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--mauve-500));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(43,37,48,0.4); border-color: var(--mauve-300); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__num { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; color: var(--accent); }
.pillar h3 { font-size: 1.55rem; margin: 1rem 0 0.7rem; }
.pillar p { margin: 0; color: var(--text-soft); font-size: 1rem; }

/* ---------- Services list ---------- */
.svc-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 0.5fr 1.6fr 1fr; gap: 2rem;
  padding: 2.2rem 0; border-bottom: 1px solid var(--line);
  align-items: start; transition: padding-left 0.4s var(--ease);
}
.svc-row:hover { padding-left: 0.75rem; }
.svc-row__idx { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); padding-top: 0.4rem; }
.svc-row h3 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.svc-row p { margin: 0.7rem 0 0; color: var(--text-soft); }
.svc-row__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.5rem; }
.tag {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-soft);
  border: 1px solid var(--line); border-radius: 100px; padding: 0.35rem 0.8rem;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: left; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--accent); }
.stat__lbl { margin-top: 0.6rem; font-size: 0.95rem; color: var(--text-soft); max-width: 22ch; }
.section--deep .stat__num { color: var(--rose-300); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote {
  background: var(--oat-50); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.9rem;
  display: flex; flex-direction: column; gap: 1.3rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.quote:hover { transform: translateY(-5px); box-shadow: 0 30px 56px -34px rgba(43,37,48,0.36); }
.quote__mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.5; color: var(--accent-soft); height: 1.2rem; }
.quote p { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.quote__by { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--rose-400), var(--mauve-400)); flex: none; display:grid; place-items:center; color:#fff; font-family: var(--font-display); font-size:1.1rem; }
.quote__by strong { font-weight: 600; font-size: 0.96rem; display: block; }
.quote__by span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--text-soft); text-transform: uppercase; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.member { }
.member__photo {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--mauve-300), var(--rose-200));
  display: grid; place-items: center; margin-bottom: 1rem;
}
.member__photo span { font-family: var(--font-display); font-size: 3rem; color: rgba(43,37,48,0.4); }
.member h3 { font-size: 1.3rem; }
.member__role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0.3rem 0 0.6rem; }
.member p { margin: 0; font-size: 0.96rem; color: var(--text-soft); }

/* ---------- Insights / posts ---------- */
.insights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--oat-50); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 36px 64px -36px rgba(43,37,48,0.4); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.post-card__meta { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.post-card h3 { font-size: 1.4rem; line-height: 1.12; }
.post-card p { margin: 0; color: var(--text-soft); font-size: 0.98rem; }
.post-card__more { margin-top: auto; font-weight: 600; font-size: 0.92rem; display: inline-flex; gap: 0.4rem; align-items: center; }
.post-card__more .arrow { transition: transform 0.3s var(--ease); }
.post-card:hover .post-card__more .arrow { transform: translateX(4px); }

/* ---------- Resources / blogroll ---------- */
.resources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; }
.resource {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line-invert);
  text-decoration: none;
}
.resource__anchor { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-invert); transition: color 0.3s var(--ease); }
.resource:hover .resource__anchor { color: var(--rose-300); }
.resource__desc { font-size: 0.92rem; color: rgba(246,241,234,0.6); margin-left: auto; text-align: right; max-width: 18ch; }
.resource__arrow { color: var(--rose-300); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding-block: clamp(4rem, 9vw, 7rem);
}
.cta-band h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.cta-band p { color: var(--text-soft); margin: 1.3rem auto 2.2rem; max-width: 48ch; font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--mauve-900); color: var(--text-invert);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem; margin-top: clamp(4rem, 8vw, 7rem);
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand .brand__name { color: var(--text-invert); }
.footer__brand p { color: rgba(246,241,234,0.62); max-width: 32ch; margin: 1.1rem 0 0; font-size: 0.96rem; }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose-300); font-weight: 500; margin-bottom: 1rem; }
.footer__col a { display: block; text-decoration: none; color: rgba(246,241,234,0.74); padding: 0.4rem 0; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--text-invert); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid var(--line-invert); margin-top: 3rem; padding-top: 1.7rem;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: rgba(246,241,234,0.55);
}

/* ---------- Article ---------- */
.article-hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2rem,4vw,3rem); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--text-soft); margin-bottom: 1.5rem; }
.breadcrumb a { text-decoration: none; color: var(--text-soft); }
.breadcrumb a:hover { color: var(--accent); }
.article-hero__title { font-size: clamp(2.4rem, 5vw, 4rem); margin-top: 0.8rem; max-width: 18ch; }
.article-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.6rem; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-soft); }
.article-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.article-feat { margin: clamp(2rem,4vw,3rem) 0; border-radius: clamp(20px,3vw,32px); overflow: hidden; aspect-ratio: 16/8; box-shadow: 0 40px 80px -44px rgba(43,37,48,0.45); }
.article-feat img { width: 100%; height: 100%; object-fit: cover; }

.prose { font-size: 1.12rem; line-height: 1.75; color: #36303b; }
.prose > * + * { margin-top: 1.3rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 3rem; padding-top: 0.5rem; }
.prose h3 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); margin-top: 2.2rem; color: var(--mauve-700); }
.prose p { margin: 0; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; transition: color 0.2s; }
.prose a:hover { color: var(--rose-500); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--accent); }
.prose img { width: 100%; height: auto; border-radius: 18px; margin: 1.8rem 0; box-shadow: 0 24px 50px -30px rgba(43,37,48,0.35); }
.prose section { display: block; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 1.4rem; font-family: var(--font-display); font-size: 1.3rem; color: var(--mauve-700); }
.prose [itemprop="name"] { font-family: var(--font-display); }

.article-cta {
  margin-top: 3.5rem; padding: 2.4rem; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--oat-100), var(--rose-200));
  border: 1px solid var(--line);
}
.article-cta h3 { font-size: 1.7rem; }
.article-cta p { color: var(--text-soft); margin: 0.7rem 0 1.4rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.form-field { margin-bottom: 1.4rem; }
.form-field label { display: block; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.55rem; }
.form-field input, .form-field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1.05rem;
  padding: 0.95rem 1.1rem; border-radius: 14px;
  border: 1px solid var(--line); background: var(--oat-50); color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(196,127,141,0.18); }
.contact-aside { background: var(--mauve-900); color: var(--text-invert); border-radius: var(--radius); padding: 2.5rem; }
.contact-aside h3 { color: var(--text-invert); font-size: 1.7rem; }
.contact-aside p { color: rgba(246,241,234,0.74); }
.contact-aside a { color: var(--rose-300); }
.contact-line { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line-invert); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose-300); min-width: 70px; padding-top: 3px; }

/* ---------- Animation primitives (scale-in mask + reveal) ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }

/* scale-in mask — signature motion */
.mask-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); transform: scale(1.06); }
.mask-reveal.in { clip-path: inset(0 0 0 0); transform: scale(1); }

/* hero load-in staggers */
.hero [data-load] { opacity: 0; transform: translateY(30px); }
.is-ready .hero [data-load] { animation: loadUp 1s var(--ease) forwards; }
.is-ready .hero [data-load].d1 { animation-delay: 0.05s; }
.is-ready .hero [data-load].d2 { animation-delay: 0.18s; }
.is-ready .hero [data-load].d3 { animation-delay: 0.31s; }
.is-ready .hero [data-load].d4 { animation-delay: 0.44s; }
.is-ready .hero [data-load].d5 { animation-delay: 0.57s; }
@keyframes loadUp { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
  .pillars, .quotes, .team, .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .insights, .resources, .contact-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 0.4fr 1fr; }
  .svc-row__tags { grid-column: 2; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .pillars, .quotes, .team, .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__badge { left: 0; bottom: -18px; }
  .svc-row { grid-template-columns: 1fr; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .mesh { animation: none; }
  [data-reveal], [data-reveal-stagger] > *, .hero [data-load], .mask-reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
