/* ──────────────────────────────────────────────────────────────
   Fonts
   ────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT@9..144,300..600,0..100&family=Sora:wght@300;400;500&family=JetBrains+Mono:wght@400;500&display=swap');

/* ──────────────────────────────────────────────────────────────
   Tokens
   ────────────────────────────────────────────────────────────── */
:root {
  --bg:          #F8F6F2;
  --surface:     #FFFFFF;
  --ink:         #0F0F0F;
  --ink-2:       #2A2A2A;
  --mute:        #6B6B6B;
  --subtle:      #A8A39B;
  --line:        #E8E2D6;
  --line-2:      #DCD5C5;
  --accent:      #1A2E4A;
  --accent-soft: #1A2E4A18;
  --accent-deep: #0F1F33;
  --on-accent:   #F2EEE3;
  --surface-2:   #F4F1EA;
  --danger:      #8A3A3A;
  --warn:        #85570F;
  --shadow:      #1A2E4A;
  --dot:         rgba(15,15,15,0.035);
  --card-1:      #F1ECDD;
  --card-2:      #E8DEC6;
  --card-3:      #DDE2EA;
  --card-4:      #F6DFE8;
  --noise:       0.4;
  --noise-blend: multiply;
  --display-weight: 500;

  --serif:       'Fraunces', Georgia, serif;
  --sans:        'Sora', system-ui, sans-serif;
  --mono:        'JetBrains Mono', ui-monospace, monospace;
  --ease:        cubic-bezier(.2,.6,.2,1);

  --max:         1120px;
  --gutter-x:    clamp(20px, 5vw, 56px);
  --section-y:   clamp(96px, 14vw, 168px);
}

/* ──────────────────────────────────────────────────────────────
   Reset
   ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, form { margin: 0; }
ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

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

/* ──────────────────────────────────────────────────────────────
   Base
   ────────────────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/></svg>");
  background-size: 220px 220px;
  mix-blend-mode: var(--noise-blend);
  opacity: var(--noise);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0);
  background-size: 28px 28px;
}

main, header, footer { position: relative; z-index: 1; }

/* ──────────────────────────────────────────────────────────────
   Layout helpers
   ────────────────────────────────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter-x);
}

.label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.label .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.italic {
  font-style: italic;
  color: var(--ink-2);
  padding-right: 0.06em;
}

/* ──────────────────────────────────────────────────────────────
   Nav
   ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-size: 19px;
  letter-spacing: -0.012em;
  color: var(--ink);
  white-space: nowrap;
}
.brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a { position: relative; padding-block: 4px; }
.nav-links a:not(.icon)::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-links a:not(.icon):hover::after,
.nav-links a.is-active:not(.icon)::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--accent); }
.nav-links a.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  color: var(--ink-2);
}
.nav-links a.icon:hover { color: var(--accent); }
.nav-links a.icon svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: border-color .25s var(--ease);
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle span {
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:first-child { transform: translate(-50%, calc(-50% - 4px)); }
.nav-toggle span:last-child  { transform: translate(-50%, calc(-50% + 4px)); }
.nav.is-open .nav-toggle span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:last-child  { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-inner { padding-block: 14px; }
  .brand { font-size: 16px; }
  .brand .mark { width: 26px; height: 26px; font-size: 13px; }

  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter-x) 24px;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }

  .nav-links a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a:not(.icon)::after { display: none; }

  .nav-links a.icon {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: auto;
    height: auto;
    justify-content: flex-start;
  }
  .nav-links a.icon::before {
    content: attr(aria-label);
    font-family: var(--sans);
    font-size: 16px;
    color: var(--ink-2);
  }
  .nav-links a.icon svg { order: -1; }
}

/* ──────────────────────────────────────────────────────────────
   Hero (home)
   ────────────────────────────────────────────────────────────── */
.hero {
  padding-block: clamp(88px, 13vw, 156px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.hero-meta {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 20;
  font-size: clamp(44px, 7.4vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.028em;
  color: var(--ink);
  max-width: 14ch;
}
.hero h1 .italic {
  font-style: italic;
  color: var(--ink-2);
  padding-right: 0.06em;
}
.hero .lede {
  margin-top: clamp(28px, 4vw, 40px);
  font-size: clamp(17px, 1.55vw, 19px);
  line-height: 1.6;
  color: var(--mute);
  max-width: 54ch;
}
.hero .lede strong { color: var(--ink); font-weight: 500; }
.hero-ctas {
  margin-top: clamp(32px, 4.5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 36px);
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 4px;
}
.cta .arrow { transition: transform .3s var(--ease); }
.cta:hover .arrow { transform: translateX(4px); }
.cta::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transition: background .25s var(--ease);
}
.cta:hover::after { background: var(--accent); }
.cta.is-muted { color: var(--mute); }
.cta.is-muted::after { background: var(--line-2); }
.cta.is-muted:hover { color: var(--ink); }
.cta.is-muted:hover::after { background: var(--accent); }

@media (max-width: 640px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-meta { padding-top: 0; }
}

/* ──────────────────────────────────────────────────────────────
   Section heads (shared)
   ────────────────────────────────────────────────────────────── */
section { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: baseline;
  margin-bottom: clamp(48px, 7vw, 72px);
}
.section-head .label { padding-top: 12px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 25;
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.section-head h2 .italic { font-style: italic; font-weight: 300; color: var(--ink-2); padding-right: 0.06em; }
@media (max-width: 640px) {
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head .label { padding-top: 0; }
}

/* ──────────────────────────────────────────────────────────────
   About (home)
   ────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.about-side .label { padding-top: 4px; }
.about-body p {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
}
.about-body p + p { margin-top: 18px; }
.about-body .accent { color: var(--accent); }
@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ──────────────────────────────────────────────────────────────
   Projects (home)
   ────────────────────────────────────────────────────────────── */
.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  transition: border-color .3s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(28px, 4vw, 40px);
  width: 32px; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -22px color-mix(in srgb, var(--shadow) 22%, transparent);
}
.card:hover::before { transform: scaleX(1); }

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(28px, 3.4vw, 36px);
  letter-spacing: -0.018em;
  line-height: 1;
  color: var(--ink);
}
.card-status {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card-status .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--shadow) 32%, transparent); }
  70%  { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.card-tagline {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--mute);
}
.card-body {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--mute);
  max-width: 44ch;
}
.card-link {
  margin-top: 28px;
  align-self: flex-start;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  padding-bottom: 3px;
}
.card-link .arrow { transition: transform .3s var(--ease); }
.card-link:hover .arrow { transform: translateX(4px); }
.card-link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.card-link:hover::after { transform: scaleX(1); background: var(--accent); }

@media (max-width: 760px) {
  .projects { grid-template-columns: 1fr; gap: 18px; }
}

/* ──────────────────────────────────────────────────────────────
   Newsletter page hero
   ────────────────────────────────────────────────────────────── */
.letter-hero {
  padding-block: clamp(96px, 14vw, 168px);
}
.letter-hero-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.letter-hero-meta {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.letter-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 20;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.026em;
  color: var(--ink);
  max-width: 16ch;
}
.letter-hero h1 .italic { font-style: italic; color: var(--ink-2); padding-right: 0.06em; }

.letter-hero .lede {
  margin-top: clamp(28px, 4vw, 40px);
  font-size: clamp(17px, 1.55vw, 19px);
  line-height: 1.6;
  color: var(--mute);
  max-width: 56ch;
}
.letter-hero .lede strong { color: var(--ink); font-weight: 500; }

/* Subscribe form */
.form {
  margin-top: clamp(28px, 4vw, 36px);
  display: flex;
  gap: 8px;
  padding: 6px 6px 6px 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  max-width: 520px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form input {
  flex: 1;
  min-width: 0;
  border: 0; background: transparent; outline: none;
  font-size: 15.5px;
  color: var(--ink);
  padding-block: 12px;
}
.form input::placeholder { color: var(--subtle); }
.form button {
  border: 0;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease);
}
.form button:hover { background: var(--accent); transform: translateY(-1px); }
.form button .arrow { transition: transform .25s var(--ease); }
.form button:hover .arrow { transform: translateX(3px); }
.form button:disabled,
.letter-form button:disabled,
.subscribe-card .form button:disabled {
  cursor: wait;
  transform: none;
}
.form button[aria-busy="true"],
.letter-form button[aria-busy="true"],
.subscribe-card .form button[aria-busy="true"] {
  background: var(--accent-deep);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 16%, transparent), 0 12px 30px -24px color-mix(in srgb, var(--shadow) 80%, transparent);
}
.form button[aria-busy="true"]::after,
.letter-form button[aria-busy="true"]::after,
.subscribe-card .form button[aria-busy="true"]::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0%, color-mix(in srgb, var(--bg) 16%, transparent) 45%, transparent 72%);
  transform: translateX(-115%);
  animation: submit-sheen 1.15s var(--ease) infinite;
  pointer-events: none;
}
.submit-loader {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--bg) 42%, transparent);
  border-top-color: var(--bg);
  flex: 0 0 auto;
  animation: submit-spin .72s linear infinite;
}
.form.is-loading,
.form-wrap.is-loading .form,
.letter-form.is-loading,
.letter-form-wrap.is-loading .letter-form {
  border-color: color-mix(in srgb, var(--shadow) 72%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--shadow) 10%, transparent), 0 18px 46px -36px color-mix(in srgb, var(--shadow) 65%, transparent);
}
.note.is-loading,
.note-fine.is-loading,
.letter-note.is-loading {
  color: var(--accent);
}
@keyframes submit-spin {
  to { transform: rotate(360deg); }
}
@keyframes submit-sheen {
  0% { transform: translateX(-115%); opacity: 0; }
  18% { opacity: 1; }
  72%, 100% { transform: translateX(115%); opacity: 0; }
}

.note {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
}
.note.is-error   { color: var(--danger); }
.note.is-success { color: var(--accent); }

@media (max-width: 640px) {
  .letter-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .letter-hero-meta { padding-top: 0; }
  .form { flex-direction: column; padding: 8px; border-radius: 20px; }
  .form input { padding: 12px 14px; }
  .form button { width: 100%; justify-content: center; padding: 14px 20px; }
}

/* ──────────────────────────────────────────────────────────────
   Benefits (newsletter page)
   ────────────────────────────────────────────────────────────── */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
}
.benefit { display: flex; flex-direction: column; gap: 12px; }
.benefit .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--subtle);
}
.benefit h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.benefit p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--mute);
}
@media (max-width: 760px) {
  .benefits { grid-template-columns: 1fr; gap: 28px; }
}

/* ──────────────────────────────────────────────────────────────
   Issues list (newsletter page)
   ────────────────────────────────────────────────────────────── */
.issues { border-top: 1px solid var(--line); }
.issue {
  display: grid;
  grid-template-columns: 110px 1fr 24px;
  gap: 24px;
  align-items: baseline;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.issue .label { white-space: nowrap; padding-top: 2px; }
.issue .title {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'opsz' 36, 'SOFT' 30;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.issue .arrow {
  font-family: var(--sans);
  color: var(--subtle);
  transition: color .25s var(--ease), transform .35s var(--ease);
  transform: translateX(-4px);
  opacity: 0;
}
.issue:hover { padding-left: 6px; }
.issue:hover .title { color: var(--accent); }
.issue:hover .arrow { color: var(--accent); transform: translateX(0); opacity: 1; }
@media (max-width: 520px) {
  .issue { grid-template-columns: 96px 1fr; gap: 18px; }
  .issue .arrow { display: none; }
}

/* ──────────────────────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────────────────────── */
.footer {
  padding-block: 36px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.footer .socials {
  display: flex;
  gap: 18px;
}
.footer .socials a {
  color: var(--mute);
  transition: color .2s var(--ease);
}
.footer .socials a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ──────────────────────────────────────────────────────────────
   Reveal
   ────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .05s; }
.reveal[data-d="2"] { transition-delay: .13s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .29s; }
.reveal[data-d="5"] { transition-delay: .37s; }
.reveal[data-d="6"] { transition-delay: .45s; }

/* ──────────────────────────────────────────────────────────────
   Mobile polish (≤ 720)
   ────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  :root {
    --section-y: clamp(64px, 18vw, 96px);
    --gutter-x:  clamp(20px, 5vw, 28px);
  }
  body { font-size: 16px; }

  .hero { padding-block: clamp(56px, 16vw, 96px); }
  .hero h1 { font-size: clamp(36px, 10vw, 56px); max-width: none; }

  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(28px, 7.5vw, 40px); }

  .about-body p { font-size: 16.5px; }

  .card { border-radius: 16px; padding: 22px; }
  .card-name { font-size: 26px; }
  .card-tagline { font-size: 17px; margin-top: 10px; }
  .card-body { font-size: 14.5px; }
  .card-link { margin-top: 22px; }

  .projects { gap: 14px; }

  .footer { padding-block: 28px; }
  .footer-inner { font-size: 10.5px; letter-spacing: 0.12em; }
  .footer .socials { flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(32px, 11vw, 44px); }
  .section-head h2 { font-size: clamp(26px, 8vw, 34px); }
  .card-name { font-size: 24px; }
}

/* ══════════════════════════════════════════════════════════════
   HOME — Ali-Abdaal-vibe (warm + playful, our palette)
   ══════════════════════════════════════════════════════════════ */

/* Hello hero ----------------------------------------------------- */
.hello {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px) clamp(56px, 7vw, 96px);
}
.hello-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hello-portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}
.hello-portrait .hello-deco {
  color: var(--accent);
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
  overflow: visible;
}
.hello-portrait .hello-photo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 92%; height: 92%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  background: var(--card-2);
  border: 6px solid var(--card-1);
  box-shadow: 0 24px 56px -22px color-mix(in srgb, var(--shadow) 45%, transparent);
  z-index: 1;
}
.hello-portrait .hello-wave-bubble {
  position: absolute;
  bottom: 4%;
  right: 2%;
  width: 19%;
  aspect-ratio: 1 / 1;
  background: var(--card-1);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(20px, 3.8vw, 38px);
  z-index: 2;
  transform-origin: 70% 70%;
  animation: wave 2.6s ease-in-out infinite;
  box-shadow: 0 8px 16px -10px color-mix(in srgb, var(--shadow) 40%, transparent);
}

.hello-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 18px;
}
.hello h1 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink);
}
.hello h1 > * { display: inline; }
.hello h1 .wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.6s ease-in-out infinite; }
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}
.hello h1 .underline-word {
  position: relative;
  display: inline-block;
}
.underline-word { position: relative; display: inline-block; }
.squig {
  position: absolute;
  left: -2%; right: -2%;
  bottom: -10px;
  width: 104%;
  height: 14px;
  max-height: 18px;
  display: block;
  pointer-events: none;
}
.squig path {
  stroke: var(--accent);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hello h1 .underline-word .squig {
  position: absolute;
  left: -2%; right: -2%;
  bottom: -10px;
  width: 104%;
  height: 14px;
  max-height: 18px;
  display: block;
  pointer-events: none;
}
.hello h1 .underline-word .squig path {
  stroke: var(--accent);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: drawSquig 1.4s var(--ease) 0.4s forwards;
}
@keyframes drawSquig { to { stroke-dashoffset: 0; } }

.hello .lede {
  margin-top: 36px;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
}
.hello .lede .underline-em {
  position: relative;
  font-weight: 600;
  color: var(--accent);
}
.hello .lede .underline-em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 6px;
  background: var(--accent);
  opacity: 0.18;
  border-radius: 3px;
}

@media (max-width: 860px) {
  .hello-grid { grid-template-columns: 1fr; gap: 24px; }
  .hello-portrait { max-width: 260px; order: -1; }
  .hello h1 { font-size: clamp(36px, 9vw, 56px); }
  .hello .lede { font-size: 16.5px; margin-top: 24px; }
  .hello h1 .underline-word .squig { bottom: -6px; height: 10px; }
}
@media (max-width: 480px) {
  .hello-portrait { max-width: 200px; }
  .hello h1 { font-size: clamp(32px, 10vw, 44px); }
}

/* Subscribe big card -------------------------------------------- */
.subscribe-block {
  padding-block: clamp(40px, 6vw, 80px);
}
.subscribe-card {
  position: relative;
  background: linear-gradient(160deg, var(--card-1) 0%, var(--card-2) 100%);
  border-radius: 32px;
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--surface) 55%, transparent),
    0 22px 60px -32px color-mix(in srgb, var(--shadow) 25%, transparent);
}
.subscribe-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.subscribe-meta {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.subscribe-copy {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--mute);
  max-width: 48ch;
}
.subscribe-card .form-wrap {
  margin-top: 24px;
  width: 100%;
}

@media (max-width: 860px) {
  .subscribe-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; border-radius: 24px; }
}
.subscribe-card::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, color-mix(in srgb, var(--shadow) 10%, transparent) 0%, transparent 70%);
  z-index: -1;
}
.subscribe-card h2 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-variation-settings: 'opsz' 144, 'SOFT' 25;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.subscribe-card .ic-name {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  display: block;
  margin-top: 6px;
}
.subscribe-card .meta-line {
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.subscribe-card .meta-line strong { font-weight: 600; color: var(--ink); }
.subscribe-card .stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  letter-spacing: 1px;
}
.subscribe-card .copy {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 44ch;
}
.subscribe-card .copy + .form-wrap { margin-top: 24px; }
.subscribe-card .form {
  display: flex;
  gap: 8px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.subscribe-card .form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--shadow) 12%, transparent);
}
.subscribe-card .form input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-size: 16px; color: var(--ink); padding-block: 12px;
  font-family: var(--sans);
}
.subscribe-card .form input::placeholder { color: var(--subtle); }
.subscribe-card .form button {
  border: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease);
}
.subscribe-card .form button:hover { background: var(--accent-deep); transform: translateY(-1px); }
.subscribe-card .note-fine {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}

@media (max-width: 860px) {
  .subscribe-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; border-radius: 24px; }
}

/* Help grid ------------------------------------------------------ */
.help {
  padding-block: clamp(72px, 10vw, 120px);
  border-top: 1px solid var(--line);
}
.help-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.help-head h2 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-variation-settings: 'opsz' 144, 'SOFT' 25;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.024em;
  color: var(--ink);
  max-width: 14ch;
}
.help-head h2 .underline-word { position: relative; display: inline-block; }
.help-head h2 .underline-word .squig {
  position: absolute;
  left: -3%; right: -3%; bottom: -10px;
  width: 106%; height: 14px;
  pointer-events: none;
}
.help-head h2 .underline-word .squig path {
  stroke: var(--accent); stroke-width: 3; fill: none; stroke-linecap: round;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.help-card {
  position: relative;
  border-radius: 26px;
  padding: clamp(28px, 3.5vw, 44px);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.help-card:hover { transform: translateY(-3px); box-shadow: 0 22px 56px -30px color-mix(in srgb, var(--shadow) 28%, transparent); }
.help-card .ic { width: 56px; height: 56px; color: var(--ink); }
.help-card h3 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.help-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
  opacity: 0.85;
  max-width: 36ch;
}
.help-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.help-card .more:hover { gap: 12px; border-color: var(--accent); color: var(--accent); }

/* Color variants */
.help-card.cream { background: var(--card-1); }
.help-card.sand  { background: var(--card-2); }
.help-card.fog   { background: var(--card-3); }
.help-card.rose  { background: var(--card-4); }
.help-card.ink   { background: var(--accent); color: var(--on-accent); }
.help-card.ink h3, .help-card.ink p, .help-card.ink .more { color: var(--on-accent); }
.help-card.ink .ic { color: var(--on-accent); }
.help-card.ink .more { border-color: color-mix(in srgb, var(--on-accent) 40%, transparent); }
.help-card.ink .more:hover { border-color: var(--on-accent); color: var(--on-accent); }

@media (max-width: 720px) {
  .help-grid { grid-template-columns: 1fr; gap: 14px; }
  .help-card { min-height: 220px; }
}

/* Featured strip (image + copy) --------------------------------- */
.featured {
  padding-block: clamp(72px, 10vw, 120px);
  border-top: 1px solid var(--line);
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.featured-art {
  background: linear-gradient(160deg, var(--card-1) 0%, var(--card-2) 100%);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}
.featured-art svg { width: 100%; height: auto; max-width: 360px; color: var(--accent); }
.featured-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}
.featured h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 14ch;
}
.featured p {
  margin-top: 22px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 44ch;
}
.featured p + p { margin-top: 14px; }
.featured .button {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.featured .button:hover { background: var(--accent-deep); transform: translateY(-1px); }

@media (max-width: 860px) {
  .featured-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Sign-off ------------------------------------------------------ */
.signoff {
  padding-block: clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.signoff blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 32ch;
  margin: 0 auto;
}
.signoff .sig {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════
   NEWSLETTER — funnel illustration + page-specific bits
   ══════════════════════════════════════════════════════════════ */

/* Funnel illustration (right rail) ------------------------------ */
.funnel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 0;
}
.funnel {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 320 / 360;
}
.funnel svg { width: 100%; height: 100%; display: block; color: var(--accent); }
.funnel-stage {
  position: absolute;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
  text-align: center;
}
.funnel-stage .tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.funnel-stage .meta {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.funnel-stage.tofu { top: 14%; }
.funnel-stage.mofu { top: 47%; }
.funnel-stage.bofu { top: 72%; }
.funnel-stage.bofu .tag,
.funnel-stage.bofu .meta { color: var(--on-accent); }
.funnel-stage.bofu .meta { font-size: 12px; }
.funnel-caption {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink-2);
  text-align: center;
  max-width: 22ch;
}
.funnel-caption strong {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}

@media (max-width: 860px) {
  .funnel-card { display: none; }
}

/* Newsletter hero (subscribe-as-page) --------------------------- */
.letter-hero {
  padding-block: clamp(80px, 12vw, 160px) clamp(64px, 8vw, 112px);
}
.letter-byline {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
}
.letter-sub {
  margin-top: clamp(16px, 2.2vw, 22px);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}
.letter-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr minmax(280px, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.letter-hero .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 18px;
}
.letter-hero h1 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.026em;
  color: var(--ink);
}
.letter-hero h1 .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  padding-right: 0.06em;
}
.letter-hero .lede {
  margin-top: clamp(28px, 4vw, 40px);
  font-size: clamp(16.5px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--mute);
  max-width: 44ch;
}
.letter-hero .lede strong { color: var(--ink); font-weight: 500; }

.letter-form-wrap { margin-top: clamp(28px, 4vw, 36px); max-width: 520px; }
.letter-form {
  display: flex;
  gap: 8px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.letter-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--shadow) 12%, transparent);
}
.letter-form input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-size: 16px; color: var(--ink); padding-block: 12px;
  font-family: var(--sans);
}
.letter-form input::placeholder { color: var(--subtle); }
.letter-form button {
  border: 0;
  background: var(--accent);
  color: var(--bg);
  font-size: 14.5px;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease);
}
.letter-form button:hover { background: var(--accent-deep); transform: translateY(-1px); }
.letter-note {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.letter-note.is-error { color: var(--danger); }
.letter-note.is-success { color: var(--accent); }

@media (max-width: 860px) {
  .letter-hero-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .letter-hero h1 { font-size: clamp(32px, 10vw, 44px); }
  .letter-form { flex-direction: column; padding: 8px; border-radius: 20px; }
  .letter-form input { padding: 12px 14px; }
  .letter-form button { width: 100%; padding: 14px 20px; }
}

/* Newsletter help-grid — 3rd card centered between top two */
.letter-help > :nth-child(3) {
  grid-column: 1 / -1;
  max-width: calc(50% - 11px); /* matches half col minus gap/2 */
  margin: 0 auto;
}
@media (max-width: 720px) {
  .letter-help > :nth-child(3) {
    grid-column: auto;
    max-width: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   FULL MOBILE PASS — bigger portrait, tighter cards, safe widths
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  /* Hero — larger portrait + tighter h1 */
  .hello-portrait { max-width: 320px; }
  .hello h1 { font-size: clamp(38px, 10vw, 60px); }
  .hello .lede { font-size: 16.5px; max-width: none; }

  /* Subscribe card — tighter padding */
  .subscribe-card { padding: 32px 24px; border-radius: 22px; }
  .subscribe-card h2 { font-size: clamp(30px, 6.5vw, 42px); }
  .subscribe-card .form-wrap { margin-top: 18px; }

  /* Help cards — tighter */
  .help-card { min-height: auto; padding: 28px 24px; border-radius: 22px; }
  .help-card .ic { width: 44px; height: 44px; }
  .help-card h3 { font-size: 22px; }
  .help-card p { font-size: 14.5px; }

  /* Featured — tighter art */
  .featured-art { padding: 24px; border-radius: 22px; }

  /* Signoff — tighter */
  .signoff blockquote { font-size: clamp(20px, 5vw, 26px); }
}

@media (max-width: 480px) {
  .hello-portrait { max-width: 260px; }
  .hello h1 { font-size: clamp(34px, 11vw, 48px); }

  .subscribe-card { padding: 28px 20px; }
  .subscribe-card h2 { font-size: clamp(28px, 8vw, 36px); }
  .subscribe-card .ic-name { margin-top: 4px; }

  /* Form pill → stack at very narrow */
  .form, .letter-form, .subscribe-card .form {
    flex-direction: column;
    padding: 8px;
    border-radius: 18px;
    gap: 6px;
  }
  .form input, .letter-form input, .subscribe-card .form input {
    padding: 12px 14px;
    width: 100%;
  }
  .form button, .letter-form button, .subscribe-card .form button {
    width: 100%;
    padding: 14px 20px;
    justify-content: center;
  }

  .help-grid { gap: 12px; }
  .help-card { padding: 24px 20px; }

  .featured-art { padding: 18px; }

  .signoff { padding-block: 56px; }

  /* Footer — stack tight */
  .footer-inner { gap: 12px; }
  .footer .socials { flex-wrap: wrap; gap: 14px; }
}

/* Mobile: hide redundant single-line meta, keep body copy */
@media (max-width: 720px) {
  .subscribe-card .subscribe-meta { display: none; }
}

/* Mobile: subscribe-card copy moves above form */
@media (max-width: 720px) {
  .subscribe-right { display: flex; flex-direction: column; }
  .subscribe-right .subscribe-copy {
    order: -1;
    margin-top: 0;
    margin-bottom: 20px;
  }
}

/* ══════════════════════════════════════════════════════════════
   Form success state (newsletter + landing)
   ══════════════════════════════════════════════════════════════ */
.form-success {
  display: none;
  padding: 18px 22px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--shadow) 6%, transparent);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.45;
  max-width: 520px;
  letter-spacing: -0.005em;
}
.form-success .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  margin-right: 10px;
  vertical-align: -4px;
}
.form-success strong {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  margin-right: 4px;
}

/* When parent wrap marked .is-done, swap form → success */
.form-wrap.is-done .form,
.form-wrap.is-done .note,
.form-wrap.is-done .note-fine,
.letter-form-wrap.is-done .letter-form,
.letter-form-wrap.is-done .letter-note { display: none; }

.form-wrap.is-done .form-success,
.letter-form-wrap.is-done .form-success { display: block; }

