/* Random Thoughts by Ro
   Layout: urban editorial collage. Midnight hero with a taped photo, a journal page and sticky notes,
   a torn-paper cream devotional band, then "Hey, I'm Ro." with a framed photo and stacked tags.
   One committed look (the brand palette is locked), so there is no light/dark switching. */
:root {
  /* Locked brand palette */
  --midnight: #141D26;
  --magenta: #C51F5D;
  --yellow: #FBFF12;
  --cream: #E2E2D2;
  /* Working shades of the palette (surfaces and text contrast only) */
  --midnight-2: #1C2733;
  --line: #2E3B4A;
  --cream-hi: #F4F4EA;
  --ink-soft: #C9CCBF;
  --magenta-hi: #E8417F;   /* magenta for large text on midnight */
  --magenta-text: #F06A9A; /* magenta for small text on midnight */
  --magenta-deep: #A3164C; /* magenta for small text on cream */
  --error-on-dark: #FF9EC2;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --font-brush: "Kaushan Script", "Brush Script MT", cursive;

  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--yellow); color: var(--midnight); padding: 10px 16px; border-radius: 6px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 6px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn-yellow { background: var(--yellow); color: var(--midnight); box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35); }
.btn-yellow:hover { box-shadow: 4px 4px 0 var(--magenta); transform: translate(-2px, -2px); }
.btn-magenta { background: var(--magenta); color: #FFFFFF; }
.btn-magenta:hover { background: #B01A52; box-shadow: 4px 4px 0 var(--yellow); transform: translate(-2px, -2px); }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; box-shadow: none; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: var(--midnight); }
.header-row { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.wordmark {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1;
  letter-spacing: -0.02em; color: var(--cream-hi); text-decoration: none; margin-right: auto;
  display: inline-block; padding-block: 5px;
}
.wordmark em { font-style: italic; color: var(--magenta-hi); }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a {
  display: inline-block; padding-block: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--cream-hi);
}
.site-nav a:hover { color: var(--yellow); }
.header-cta { gap: 0; }
.header-cta span[aria-hidden] { margin-left: 8px; }
@media (max-width: 760px) {
  /* phones: the menu becomes a slim row under the logo and button */
  .header-row { flex-wrap: wrap; row-gap: 2px; padding-bottom: 0; }
  .header-row .wordmark { flex: 1 1 0; min-width: 0; }
  .header-cta { flex: none; }
  .site-nav { order: 3; width: 100%; border-top: 1px solid var(--line); }
  .site-nav ul { justify-content: center; gap: 4px 26px; }
  .site-nav a { padding-block: 13px; font-size: 12px; }
  .header-cta { padding: 0 14px; font-size: 12px; letter-spacing: 0.08em; }
}
@media (max-width: 440px) {
  .header-cta { max-width: 150px; white-space: normal; text-align: center; line-height: 1.15; padding: 6px 12px; font-size: 11.5px; letter-spacing: 0.06em; }
  .header-cta span[aria-hidden] { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--midnight); }
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-areas: "copy collage" "form collage";
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 30px;
  padding-block: clamp(32px, 5vw, 64px) clamp(70px, 8vw, 100px);
}
.hero-copy { grid-area: copy; display: flex; flex-direction: column; gap: 24px; min-width: 0; align-self: end; }
.hero-form { grid-area: form; min-width: 0; scroll-margin-top: 24px; }
.hero-collage { grid-area: collage; min-width: 0; }

.kicker { line-height: 2.3; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-hi); }
.kicker-first { position: relative; display: inline-block; }
.kicker-first::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 4px; background: var(--yellow); }
.slash-m { color: var(--magenta-hi); }

.hero-title {
  margin: 8px 0 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(42px, 4.9vw, 72px); line-height: 0.98; letter-spacing: -0.03em;
  color: var(--cream-hi);
}
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .script {
  font-family: var(--font-brush); font-weight: 400; letter-spacing: 0;
  color: var(--magenta-hi); font-size: 1.04em; margin-right: 0.08em;
}
.girl { position: relative; display: inline-block; }
.girl svg { position: absolute; left: -4%; bottom: -0.2em; width: 112%; height: 0.32em; z-index: -1; }
.hero-intro { font-size: clamp(17px, 1.55vw, 20px); line-height: 1.55; color: var(--cream-hi); max-width: 33em; }

/* Signup form */
.form-lead { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; max-width: 34em; }
.form-lead em { color: var(--cream-hi); font-style: italic; font-weight: 700; }
.signup { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.field-row { display: flex; flex-wrap: wrap; gap: 12px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field-name { flex: 1 1 160px; }
.field-email { flex: 1 1 200px; }
.field input {
  height: 54px; width: 100%; padding: 0 16px;
  font: 16px/1 var(--font-body); color: var(--midnight);
  background: #FFFFFF; border: 2px solid #FFFFFF; border-radius: 4px;
}
.field input::placeholder { color: #5C6670; }
.field input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--magenta-hi); }
.btn-submit { width: 100%; min-height: 58px; font-size: 16px; letter-spacing: 0.12em; }
.form-error { font-size: 15px; font-weight: 700; color: var(--error-on-dark); }
.consent { font-size: 14px; color: var(--cream-hi); line-height: 1.5; padding-right: 40px; position: relative; }
.consent a { color: var(--cream-hi); }
.consent .doodle-heart { position: absolute; right: 0; top: 0; width: 26px; height: 34px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success {
  max-width: 560px; padding: 22px 24px; border-radius: 6px;
  background: var(--yellow); color: var(--midnight);
  box-shadow: 6px 6px 0 var(--magenta); transform: rotate(-1deg);
}
.form-success:focus { outline: none; }
.success-title { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.success-body { font-size: 17px; line-height: 1.5; font-weight: 500; }
.success-note { font-size: 14px; line-height: 1.45; margin-top: 8px; }
.success-preview { font-size: 13px; font-weight: 700; margin-top: 10px; padding-top: 8px; border-top: 1px dashed rgba(20, 29, 38, 0.4); }

/* ---------- Collage ---------- */
.hero-collage {
  position: relative; container-type: inline-size;
  aspect-ratio: 560 / 680; width: 100%; max-width: 640px; justify-self: end;
  margin-right: calc(-1 * var(--gutter) + 8px);
}
.splat { position: absolute; pointer-events: none; z-index: 1; }
.splat-a { left: 2%; top: 36%; width: 11%; opacity: 0.85; }
.splat-b { right: 34%; top: -1%; width: 40%; opacity: 0.9; }

.journal {
  position: absolute; top: 1%; right: 0; width: 63%; height: 47%; z-index: 1;
  transform: rotate(3deg);
  padding: 4.2cqw 3.4cqw 4cqw 9.5cqw;
  font-family: var(--font-hand); font-weight: 700; color: var(--midnight);
  background-color: var(--cream-hi);
  background-image:
    linear-gradient(90deg, transparent 7.6cqw, rgba(197, 31, 93, 0.45) 7.6cqw, rgba(197, 31, 93, 0.45) calc(7.6cqw + 1.5px), transparent calc(7.6cqw + 1.5px)),
    repeating-linear-gradient(transparent 0, transparent calc(5.6cqw - 1px), rgba(20, 29, 38, 0.16) calc(5.6cqw - 1px), rgba(20, 29, 38, 0.16) 5.6cqw);
  background-position: 0 0, 0 2.6cqw;
  border-radius: 3px 8px 8px 3px;
  box-shadow: 0 18px 36px rgba(5, 9, 13, 0.55), inset 6px 0 10px -6px rgba(20, 29, 38, 0.35);
}
.journal::before {
  content: ""; position: absolute; left: 2.2cqw; top: 3cqw; bottom: 3cqw; width: 2.4cqw;
  background: radial-gradient(circle at 50% 50%, var(--midnight) 0 0.75cqw, transparent 0.8cqw) 0 0 / 2.4cqw 4.2cqw repeat-y;
  opacity: 0.85;
}
.j-tab { position: absolute; top: -3cqw; right: 14%; width: 10cqw; height: 7cqw; background: var(--magenta); transform: rotate(4deg); z-index: -1; }
.j-head { font-size: 3.6cqw; line-height: 5.6cqw; color: #4A5560; transform: rotate(-1deg); }
.j-lines { display: flex; flex-direction: column; gap: 0.4cqw; }
.j-setup { font-size: 4.4cqw; line-height: 5.6cqw; }
.j-punch { font-size: 5.6cqw; line-height: 5.8cqw; margin: 0.6cqw 0 0 2.4cqw; transform: rotate(-2.5deg); transform-origin: left; color: var(--midnight); }
.j-right { font-size: 4.6cqw; line-height: 5.6cqw; margin-top: 1.6cqw; }
.j-right { text-align: right; padding-right: 1cqw; }
.j-hl { background: linear-gradient(transparent 50%, var(--yellow) 50%, var(--yellow) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.j-circle { position: relative; display: inline-block; padding: 0 1.2cqw; }
.j-circle::after {
  content: ""; position: absolute; inset: -0.9cqw -1.6cqw -0.4cqw -1.6cqw;
  border: 0.55cqw solid var(--magenta); border-radius: 50%; transform: rotate(-4deg);
}

.polaroid {
  position: absolute; top: 28%; left: 8%; width: 54%; z-index: 2;
  background: #ECECE2; padding: 3% 3% 10%;
  transform: rotate(-3deg); box-shadow: 0 22px 40px rgba(5, 9, 13, 0.6);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.tape { position: absolute; z-index: 3; height: 7.5cqw; width: 20cqw; }
.tape-dark { background: rgba(32, 34, 38, 0.86); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
.tape-tl { top: -3.4cqw; left: -6cqw; transform: rotate(-32deg); }
.tape-br { bottom: -2cqw; right: -6cqw; transform: rotate(-28deg); }
.tape-top { top: -4.2cqw; left: 32%; transform: rotate(4deg); width: 18cqw; height: 6.5cqw; }
.tape-left { top: -3.4cqw; left: -4cqw; transform: rotate(-24deg); width: 15cqw; height: 6cqw; }

.sticky {
  position: absolute; z-index: 4;
  font-family: var(--font-hand); font-weight: 700; line-height: 1.04; color: var(--midnight);
  padding: 3.4cqw 3.6cqw; box-shadow: 0 10px 22px rgba(5, 9, 13, 0.45);
}
.sticky-yellow { top: 1%; left: 1%; width: 40%; font-size: 6.2cqw; background: var(--yellow); transform: rotate(-7deg); }
.sticky-magenta {
  top: 51%; right: 1%; width: 37%; background: var(--magenta); color: #FFFFFF; transform: rotate(-5deg); z-index: 3;
  padding-bottom: 2cqw;
}
.checklist { display: flex; flex-direction: column; gap: 0.6cqw; font-size: 4cqw; text-transform: uppercase; line-height: 1.05; }
.checklist li { position: relative; padding-left: 4.6cqw; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; }
.sticky-magenta .doodle-heart path { stroke: #FFFFFF; }
.sticky-magenta .doodle-heart { width: 5cqw; height: 7cqw; margin: 1.4cqw 0 0 auto; display: block; }
.sticky-cream { bottom: 4%; left: 2%; width: 42%; font-size: 5.6cqw; background: #ECECE2; transform: rotate(-6deg); }
.sticky-cream .doodle-heart { display: inline-block; width: 4.6cqw; height: 6cqw; vertical-align: -1.4cqw; }

/* Pop-up moment on load: notes start visible and pop slightly, like 90s TV trivia bubbles */
@media (prefers-reduced-motion: no-preference) {
  .sticky { animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  .sticky-yellow { animation-delay: 0.3s; }
  .sticky-magenta { animation-delay: 0.6s; }
  .sticky-cream { animation-delay: 1.2s; }
  @keyframes pop { from { scale: 0.84; } to { scale: 1; } }
}

/* ---------- Torn paper ---------- */
.tear { position: absolute; left: 0; width: 100%; height: 48px; z-index: 3; pointer-events: none; bottom: -2px; }

/* ---------- Devotional ---------- */
.devotional { position: relative; background: var(--cream); color: var(--midnight); }
.dev-grid {
  display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 80px); align-items: center;
  padding-block: clamp(48px, 6vw, 72px) clamp(80px, 9vw, 110px);
}
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--magenta-deep); }
.eyebrow-yellow { color: var(--yellow); }
.section-title {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(42px, 5.6vw, 76px); line-height: 1; letter-spacing: -0.03em;
}
.underline-y { position: relative; display: inline-block; z-index: 0; }
.underline-y svg { position: absolute; left: 0; bottom: -0.12em; width: 100%; height: 0.24em; z-index: -1; }
.dev-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.dev-desc { font-size: clamp(17px, 1.6vw, 20px); color: #26303A; max-width: 36em; }

.dev-cover-wrap { position: relative; max-width: 330px; width: 100%; justify-self: center; }
.dev-cover, .dev-cover-img { aspect-ratio: 3 / 4; width: 100%; transform: rotate(-4deg); box-shadow: 14px 14px 0 var(--magenta); border-radius: 6px; }
.dev-cover {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--midnight); color: var(--cream-hi); padding: 26px 22px 18px; overflow: hidden;
}
.cover-brand { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); }
.cover-title { display: flex; flex-direction: column; margin-top: auto; font-family: var(--font-brush); line-height: 0.95; transform: rotate(-6deg); }
.cover-l1 { font-size: clamp(32px, 3.4vw, 42px); color: var(--cream-hi); }
.cover-l2 { font-size: clamp(46px, 5vw, 60px); color: var(--magenta-hi); }
.cover-swash { width: 78%; height: 14px; margin-top: 2px; }
.cover-sub { margin-top: 12px; margin-bottom: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.6; }
.cover-sign { margin-top: auto; align-self: flex-end; font-family: var(--font-hand); font-weight: 700; font-size: 30px; line-height: 1; color: var(--yellow); transform: rotate(-8deg); padding-right: 6px; }
.cover-sign::before { content: "\2014\00a0"; }
.cover-bubble {
  position: absolute; z-index: 4; left: auto; top: -62px; right: -26px; width: auto; max-width: 210px; white-space: nowrap;
  font-family: var(--font-hand); font-weight: 700; font-size: 24px; line-height: 1.02;
  padding: 10px 14px; border-radius: 14px; border: 2px solid var(--midnight); box-shadow: 4px 4px 0 var(--midnight);
  background: var(--yellow); color: var(--midnight); transform: rotate(8deg);
}
.cover-bubble::after {
  content: ""; position: absolute; left: 22%; bottom: -14px;
  border-style: solid; border-width: 14px 12px 0 4px; border-color: var(--yellow) transparent transparent transparent;
}

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; }
.benefit { display: flex; flex-direction: column; gap: 10px; padding: 4px 18px; border-left: 1px solid rgba(20, 29, 38, 0.28); }
.benefit:first-child { border-left: 0; padding-left: 0; }
.benefit h3 { margin: 4px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 18px; white-space: nowrap; line-height: 1.15; letter-spacing: -0.01em; }
.benefit p { font-size: 16px; color: #26303A; }
.benefit-icon { position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--magenta); display: grid; place-items: center; flex: none; }
.benefit-icon::after { content: ""; position: absolute; inset: -5px; border: 1.5px solid var(--midnight); border-radius: 52% 46% 50% 48%; transform: rotate(-10deg); opacity: 0.5; }
.benefit-icon svg { width: 32px; height: 32px; transform: rotate(-4deg); fill: none; stroke: #FFFFFF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dev-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.dev-format { font-size: 14px; color: #3A4550; max-width: 30em; }

/* ---------- About ---------- */
.about { position: relative; background: var(--midnight); overflow: hidden; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr);
  grid-template-areas: "city copy";
  gap: clamp(20px, 2.6vw, 40px); align-items: center;
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  padding-block: clamp(48px, 6vw, 80px);
  max-width: 1440px; margin-inline: auto;
}
.about-photo { grid-area: city; position: relative; margin: 0; width: 100%; max-width: 460px; justify-self: center; padding: 66px 0 0 clamp(16px, 3vw, 40px); }
.about-photo img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border: 8px solid var(--cream-hi); transform: rotate(-2deg);
  box-shadow: 12px 12px 0 var(--magenta), 0 26px 44px rgba(5, 9, 13, 0.55);
}
.about-tape {
  position: absolute; z-index: 2; top: 54px; left: 14%; width: 96px; height: 26px;
  background: var(--magenta); opacity: 0.92; transform: rotate(4deg);
}
.about-note {
  position: absolute; z-index: 3; top: 0; right: -20px; white-space: nowrap;
  font-family: var(--font-hand); font-weight: 700; font-size: 26px; line-height: 1.02;
  background: var(--yellow); color: var(--midnight);
  padding: 10px 14px 12px; border-radius: 14px; border: 2px solid var(--midnight);
  box-shadow: 4px 4px 0 var(--magenta); transform: rotate(6deg);
}
.about-note span { box-shadow: inset 0 -0.18em 0 var(--magenta); }
.about-note::after {
  content: ""; position: absolute; left: 26px; bottom: -14px;
  border-style: solid; border-width: 14px 4px 0 14px; border-color: var(--yellow) transparent transparent transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .about-note { animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both 0.2s; }
}
.city-script {
  grid-area: script; font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(26px, 2.3vw, 34px); line-height: 1.08; letter-spacing: -0.02em; color: var(--cream-hi);
}
.city-script span { color: var(--magenta-hi); }
.city-script .doodle-heart { display: none; }
.about-copy { grid-area: copy; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.about-name {
  position: relative; display: inline-block; align-self: flex-start;
  margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(68px, 7.4vw, 104px); line-height: 0.9; letter-spacing: -0.04em;
  color: var(--cream-hi);
}
.about-name svg { position: absolute; left: 0; bottom: -0.08em; width: 100%; height: 0.14em; }
.about-copy > p:not(.eyebrow):not(.signoff) { font-size: 17px; line-height: 1.65; color: var(--cream-hi); max-width: 36em; }
.about-copy > p.about-lead { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; color: var(--cream-hi); max-width: 26em; }
.signoff { font-size: 16px; color: var(--ink-soft); }
.signoff span { display: block; margin-top: 2px; font-family: var(--font-hand); font-weight: 700; font-size: 40px; line-height: 1; color: var(--yellow); transform: rotate(-4deg); transform-origin: left; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-block: 26px 30px; }
.footer-brand { margin-right: auto; }
.wordmark-footer { font-size: 24px; margin: 0; }
.footer-tag { font-size: 14px; color: var(--ink-soft); line-height: 1.4; margin-top: 2px; }
.footer-contact { font-size: 14px; color: var(--ink-soft); }
.contact-email { display: inline-block; padding-block: 12px; color: var(--cream-hi); font-weight: 700; text-underline-offset: 4px; }
.contact-email:hover { color: var(--yellow); }
.social { display: flex; gap: 6px; padding-right: 24px; border-right: 1px solid var(--line); }
.social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--cream-hi); border-radius: 50%; }
.social a:hover { color: var(--yellow); }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copyright { font-size: 13px; color: var(--ink-soft); }
.copyright a { color: var(--cream-hi); margin-left: 6px; display: inline-block; padding-block: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    grid-template-areas: "city copy";
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .about-photo { padding-left: 0; max-width: 400px; }
}
@media (max-width: 900px) {
  .hero-title { font-size: clamp(42px, 7vw, 64px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "collage" "form"; }
  .hero-collage { justify-self: center; margin-right: 0; max-width: 560px; }
  .dev-grid { grid-template-columns: minmax(0, 1fr); }
  .dev-cover-wrap { max-width: 280px; margin-top: 64px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .benefits { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .benefit { border-left: 0; padding: 0; }
  .about-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "city" "copy"; }
  .about-photo { max-width: 360px; padding-top: 60px; }
  .about-note { font-size: 22px; right: -4px; }
  .social { border-right: 0; padding-right: 0; }
  .footer-brand { width: 100%; }
  .cover-bubble { right: -6px; }
}

/* ---------- Phone tuning (round 2) ---------- */
@media (max-width: 640px) {
  .header-row { gap: 12px; padding-block: 10px; }
  .wordmark { font-size: 22px; }
  .hero-grid { padding-block: 24px 64px; row-gap: 22px; }
  .hero-copy { gap: 16px; }
  .hero-title { font-size: clamp(36px, 11.6vw, 54px); line-height: 1; margin-top: 4px; }
  .hero-intro { font-size: 16.5px; }
  /* let the collage run edge to edge so the handwriting stays readable */
  .hero-collage { width: calc(100% + 2 * var(--gutter) - 8px); max-width: none; margin-inline: calc(-1 * var(--gutter) + 4px); }
  .dev-grid { padding-block: 40px 76px; gap: 40px; }
  .dev-cover-wrap { max-width: 240px; margin-top: 64px; }
  .about-grid { padding-block: 28px 44px; gap: 22px; }
  .footer-row { padding-block: 22px 26px; gap: 10px 20px; }
}
@media (max-width: 360px) {
  .wordmark { font-size: 20px; }
  .header-cta { padding: 0 12px; }
}

/* ---------- Phone tuning (round 3) ---------- */
@media (max-width: 640px) {
  .benefits { gap: 18px; margin-top: 4px; }
  .benefit { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: start; }
  .benefit-icon { width: 52px; height: 52px; grid-row: 1 / 3; margin-top: 2px; }
  .benefit-icon svg { width: 28px; height: 28px; }
  .benefit h3 { margin: 0; font-size: 19px; }
  .benefit p { font-size: 15px; }
  .dev-cover-wrap { max-width: 210px; }
  .cover-l1 { font-size: 30px; } .cover-l2 { font-size: 44px; }
  .about-photo { max-width: 330px; }
  .about-copy { gap: 12px; }
  .footer-row { row-gap: 6px; }
  .footer-contact { width: 100%; }
}
@media (max-width: 360px) { .kicker { font-size: 11px; letter-spacing: 0.12em; } }

/* ---------- Round 4: calmer phone layout ---------- */
@media (max-width: 640px) {
  .splat, .sticky-cream, .j-tab, .tape-tl { display: none; }
  .sticky-magenta { top: 53%; }
  .about-photo { max-width: 320px; }
  .city-script { font-size: 26px; }
}

/* ---------- Speaking invitation (secondary to the devotional) ---------- */
.speaking {
  margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px; max-width: 36em; scroll-margin-top: 24px;
}
.speaking-title {
  margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw, 26px);
  letter-spacing: -0.02em; color: var(--cream-hi);
}
.speaking-title::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 8px; border-radius: 50%; background: var(--magenta-hi); vertical-align: 0.15em; }
.about-copy > .speaking .speaking-copy { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.speak-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--yellow); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.speak-link:hover { color: var(--cream-hi); text-decoration-color: var(--magenta-hi); }

/* ---------- Speaking inquiry dialog ---------- */
.speak-dialog {
  width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  margin: auto; padding: 0; border: 1px solid #33425A; border-radius: 12px;
  background: var(--midnight); color: var(--cream);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: auto; overscroll-behavior: contain;
}
.speak-dialog::backdrop { background: rgba(8, 12, 17, 0.72); }
.speak-panel { position: relative; padding: 28px clamp(18px, 4vw, 32px) 26px; }
.speak-close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%; color: var(--cream-hi); cursor: pointer;
}
.speak-close:hover { background: var(--midnight-2); }
.speak-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.speak-title { margin: 0 44px 6px 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: var(--cream-hi); }
.speak-intro { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }
.s-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 14px; }
.s-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.s-wide { grid-column: 1 / -1; }
.s-field label { font-size: 14px; font-weight: 700; color: var(--cream-hi); }
.req { font-weight: 400; color: var(--ink-soft); }
.s-field input, .s-field select, .s-field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: 16px/1.4 var(--font-body); color: var(--cream-hi);
  background: var(--midnight-2); border: 1.5px solid #3A4A60; border-radius: 6px;
}
.s-field textarea { resize: vertical; min-height: 110px; }
.s-field input::placeholder { color: #8F99A6; }
.s-field input[type="date"] { color-scheme: dark; }
.s-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cream-hi) 50%), linear-gradient(135deg, var(--cream-hi) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.s-field input:focus-visible, .s-field select:focus-visible, .s-field textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--midnight-2); }
.s-field [aria-invalid="true"] { border-color: var(--error-on-dark); }
.s-hint { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
.s-err, .s-form-err { font-size: 14px; font-weight: 700; color: var(--error-on-dark); }
.speak-submit { width: 100%; min-height: 54px; margin-top: 18px; font-size: 15px; }
.s-form-err { margin-top: 10px; }
.s-note { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.speak-success { padding: 8px 0 4px; }
.speak-success:focus { outline: none; }
.speak-success-title { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--cream-hi); margin-bottom: 8px; }
.speak-success p { font-size: 16px; line-height: 1.6; color: var(--cream); }
.speak-sign { font-family: var(--font-hand); font-weight: 700; font-size: 32px; color: var(--yellow) !important; margin-top: 8px; }
.speak-sign::before { content: "\2014\00a0"; }
.speak-done { margin-top: 18px; min-height: 44px; padding: 0 20px; border-radius: 6px; border: 1.5px solid var(--cream-hi); background: none; color: var(--cream-hi); font: 700 14px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.s-preview { margin-top: 12px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13px; font-weight: 700; color: var(--yellow); }
html.dialog-open { overflow: hidden; }
@media (max-width: 520px) {
  .s-grid { grid-template-columns: minmax(0, 1fr); }
  .speak-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .speak-title { font-size: 24px; }
}

.about-cta { align-self: flex-start; margin-top: 6px; }
@media (max-width: 640px) { .benefit h3 { white-space: normal; } }

/* ---------- Round 5 refinements ---------- */
.hero-intro { display: flex; flex-direction: column; gap: 10px; }

/* brand signature sits under the About photo as its caption */
.about-photo .city-script { margin: 34px 0 0 4px; font-size: clamp(26px, 2.3vw, 32px); }

/* speaking: a touch more presence, still secondary */
.speaking {
  margin-top: 30px; padding: 22px 24px 18px; border-top: 3px solid var(--magenta);
  background: var(--midnight-2); border-radius: 0 0 6px 6px;
}
.speaking .eyebrow { color: var(--magenta-text); }

/* About note: new line wraps on two lines */
.about-note span { box-shadow: inset 0 -0.18em 0 var(--magenta); }

/* phones: give the collage pieces more room so they overlap less */
@media (max-width: 640px) {
  .hero-collage { aspect-ratio: 560 / 760; }
  .sticky-yellow { width: 41%; top: 0; left: 0; font-size: 5.8cqw; }
  .journal { top: 1%; height: 40%; width: 64%; right: 0; }
  .polaroid { top: 38%; left: 3%; width: 53%; }
  .sticky-magenta { top: 50%; right: 0; width: 40%; }
  .about-photo .city-script { margin-top: 30px; font-size: 26px; }
  .speaking { padding: 20px 18px 16px; }
}
