/* =========================================================================
   Becca Creative — V0.1
   Editorial working studio. Warm paper, humanist serif, mono margin-notes,
   one deep-green accent pulled from the owner's own documentary photos.
   Self-contained: system/local fonts only, no remote resources.
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --paper:      #FAF8F4;  /* page */
  --paper-2:    #F1EDE5;  /* alternating panel */
  --paper-3:    #ECE7DD;  /* deeper inset */
  --ink:        #1C1B18;  /* primary text  (16.2:1 on paper) */
  --ink-2:      #57534B;  /* secondary     (7.2:1 on paper) */
  --line:       #DAD4C8;  /* hairline */
  --line-soft:  #E7E1D6;
  --line-ui:    #857F72;  /* UI control borders (3.75:1 on paper — AA non-text) */
  --green:      #2E4A3C;  /* accent        (9.2:1 on paper) */
  --green-deep: #243A30;  /* accent, pressed */
  --green-dim:  #E7EDE6;  /* text on green (8.2:1 on green) */
  --amber-bg:   #F7EBD3;  /* functional: synthetic disclosure */
  --amber-ink:  #6B440F;  /* 7.2:1 on amber-bg */

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:  ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 72rem;
  --measure: 65ch;
  --rail: 8.5rem;
  --radius: 8px;
  --radius-img: 6px;

  --pad-inline: clamp(1.25rem, 5vw, 3rem);
  --band-y: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---- Reset-ish ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; color: var(--ink); margin: 0; letter-spacing: -0.012em; }
p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; }

/* ---- Accessibility helpers --------------------------------------------- */
.skip-link {
  position: absolute; left: 0.75rem; top: -3.5rem;
  background: var(--green); color: var(--paper);
  padding: 0.6rem 1rem; border-radius: var(--radius);
  font: 600 0.9rem/1 var(--sans); z-index: 50;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0.75rem; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 3px;
}
.on-green :where(a, button):focus-visible { outline-color: var(--paper); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Layout primitives -------------------------------------------------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-inline); }
.band { padding-block: var(--band-y); }
.band--panel { background: var(--paper-2); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Lane: the signature margin-rail. Mono tag in the left margin + content column. */
.lane { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem 2.5rem; }
.lane__body, .hero__copy, .split__text, .card { min-width: 0; }
.lane__tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  align-self: start;
}
.lane__tag::before {
  content: "";
  display: block;
  width: 1.75rem; height: 2px;
  background: var(--green);
  margin-bottom: 0.65rem;
}
.lane__body { max-width: var(--measure); }
.lane__body--wide { max-width: 62rem; }
.lane__body--full { max-width: none; }

@media (min-width: 900px) {
  .lane { grid-template-columns: var(--rail) minmax(0, 1fr); }
  .lane__tag { position: sticky; top: 5.5rem; }
}

/* ---- Prose -------------------------------------------------------------- */
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { color: var(--ink); max-width: var(--measure); }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin-top: 2em; }
.prose h3 { font-size: clamp(1.18rem, 1.05rem + 0.6vw, 1.4rem); margin-top: 1.8em; }
.prose a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--green-deep); }
.prose ul { list-style: none; display: grid; gap: 0.55em; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 0.5em; height: 2px; background: var(--green);
}
.prose strong { font-weight: 650; }

.lead {
  font-size: clamp(1.15rem, 1.03rem + 0.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
}
h2 + .lead, .lane__body > h2 + .lead { margin-top: 0.95rem; }
.lane__body > h2 { max-width: 20ch; }

/* Reusable mono kicker / eyebrow */
.kicker {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0;
}

/* ---- Buttons & links ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font: 600 0.95rem/1 var(--sans);
  padding: 0.85em 1.35em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn--primary { background: var(--green); color: var(--paper); }
.btn--primary:hover { background: var(--green-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-ui); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--on-green { background: var(--paper); color: var(--green); }
.btn--on-green:hover { background: var(--green-dim); }

.tlink {
  font: 600 0.95rem/1 var(--sans);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--green);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.tlink:hover { color: var(--green); }
.tlink--on-green { color: var(--paper); border-color: var(--green-dim); }
.tlink--on-green:hover { color: var(--green-dim); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.1) blur(8px);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--wrap); margin-inline: auto; padding: 0.75rem var(--pad-inline);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 1.9rem; height: 1.9rem; border-radius: 7px; flex: none; }
.brand__name { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; }

.nav-toggle {
  display: none;
  align-items: center; gap: 0.5rem;
  background: transparent; border: 1.5px solid var(--line-ui);
  border-radius: var(--radius); padding: 0.5rem 0.75rem;
  font: 600 0.85rem/1 var(--sans); color: var(--ink); cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 16px; height: 10px; }
.nav-toggle__bars::before, .nav-toggle__bars::after,
.nav-toggle__bars span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 4px; }
.nav-toggle__bars::after { bottom: 0; }

.site-nav ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.site-nav a {
  font: 500 0.98rem/1 var(--sans);
  color: var(--ink-2); text-decoration: none;
  padding: 0.3rem 0; position: relative;
  transition: color 0.16s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--green);
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { width: 100%; }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.25rem; width: 100%; padding-top: 0.5rem; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; width: 100%; padding: 0.7rem 0; border-top: 1px solid var(--line-soft); }
  .site-header[data-nav="closed"] .site-nav { display: none; }
}

/* ---- Header CTA (persistent "Say hello" — canonical, present on every page)
        Lives here (not a page <style>) so the single header partial renders the
        same everywhere. On desktop the nav is pushed right and the CTA trails it;
        on mobile the row reorders to brand · CTA · toggle · nav. --------------- */
.header-cta { white-space: nowrap; }
.header-cta.btn { padding: 0.55em 1.05em; font-size: 0.9rem; }
@media (min-width: 900px) {
  .site-nav { margin-left: auto; }
  .header-cta { margin-left: 0.5rem; }
}
@media (max-width: 899px) {
  .brand { order: 0; }
  .header-cta { order: 1; margin-left: auto; }
  .nav-toggle { order: 2; margin-left: 0.6rem; }
  .site-nav { order: 3; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--band-y); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero__eyebrow {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); margin: 0 0 1.25rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 1.3rem + 4.4vw, 4rem);
  line-height: 1.04; letter-spacing: -0.018em; margin: 0 0 1.25rem;
  text-wrap: balance;
}
.hero__intro { font-size: clamp(1.12rem, 1.02rem + 0.55vw, 1.4rem); line-height: 1.55; color: var(--ink-2); max-width: 42ch; margin: 0 0 1.9rem; }
.hero__actions { margin-top: 0.25rem; }

.figure { margin: 0; }
.figure__frame {
  border-radius: var(--radius-img);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  box-shadow: 0 1px 0 rgba(28, 27, 24, 0.04), 0 18px 40px -28px rgba(28, 27, 24, 0.35);
}
.figure__frame img { width: 100%; }
.figure figcaption {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--ink-2); margin-top: 0.7rem; display: flex; align-items: center; gap: 0.5rem;
}
.figure figcaption::before { content: ""; width: 0.75rem; height: 2px; background: var(--green); flex: none; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .hero__figure { max-width: 25rem; margin-inline: auto; }
}

/* ---- Theme cards -------------------------------------------------------- */
.card-grid { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); margin-top: 2rem; }
@media (min-width: 680px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.band--panel .card { background: var(--paper); }
.card__num { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--green); }
.card h3 { font-size: 1.22rem; line-height: 1.2; }
.card p { color: var(--ink-2); font-size: 0.98rem; }

/* ---- Split: text + documentary image ------------------------------------ */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split--imgfirst .split__media { order: -1; } }
.split__media { max-width: 30rem; }

/* ---- Notes teaser / list ----------------------------------------------- */
.note-list { display: grid; gap: 0; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.note-item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.note-item__meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem; margin-bottom: 0.6rem; }
.note-item h3 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem); line-height: 1.18; }
.note-item h3 a { text-decoration: none; color: var(--ink); background-image: linear-gradient(var(--green), var(--green)); background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.25s ease, color 0.18s ease; padding-bottom: 2px; }
.note-item h3 a:hover { color: var(--green); background-size: 100% 1.5px; }
.note-item__excerpt { color: var(--ink-2); margin-top: 0.6rem; max-width: var(--measure); }

.tag-pill { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.tag-pill::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green); flex: none; }
.tag-pill--synthetic { color: var(--amber-ink); }
.tag-pill--synthetic::before { background: var(--amber-ink); border-radius: 2px; }

/* Taxonomy legend */
.legend { display: grid; gap: 0.1rem; margin-top: 1.5rem; }
.legend__row { display: grid; grid-template-columns: 1fr; gap: 0.15rem 1rem; padding: 0.9rem 0; border-top: 1px solid var(--line-soft); }
.legend__row:last-child { border-bottom: 1px solid var(--line-soft); }
.legend__cat { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--green); }
.legend__use { color: var(--ink-2); font-size: 0.95rem; }
@media (min-width: 680px) { .legend__row { grid-template-columns: 16rem 1fr; align-items: baseline; } }

/* Upcoming / in-progress list */
.upcoming { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
.upcoming li { display: flex; gap: 0.75rem; align-items: baseline; color: var(--ink-2); }
.upcoming li::before { content: ""; width: 0.55rem; height: 0.55rem; border: 1.5px solid var(--line); border-radius: 2px; flex: none; transform: translateY(0.15rem); }

/* ---- Invitation (green band) ------------------------------------------- */
.band--invite { background: var(--green); color: var(--paper); }
.band--invite h2 { color: var(--paper); font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.8rem); max-width: 20ch; }
.band--invite p { color: var(--green-dim); max-width: 48ch; margin-top: 1rem; }
.band--invite .actions { margin-top: 1.9rem; }

/* ---- Synthetic disclosure ---------------------------------------------- */
.disclosure {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: var(--amber-bg);
  border: 1px solid color-mix(in srgb, var(--amber-ink) 25%, var(--amber-bg));
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: var(--amber-ink);
}
.disclosure__mark { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; flex: none; border: 1.5px solid currentColor; border-radius: 4px; padding: 0.3rem 0.5rem; margin-top: 0.1rem; }
.disclosure p { font-size: 0.95rem; line-height: 1.5; }
.disclosure strong { font-weight: 700; }

/* ---- Article (note detail) --------------------------------------------- */
.article-head { max-width: 46rem; }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); line-height: 1.07; margin: 1rem 0 1.1rem; text-wrap: balance; }
.article-meta { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-2); }

/* journey diagram */
.journey { margin: 1.75rem 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.2rem; }
.journey svg { width: 100%; height: auto; display: block; }
.journey figcaption { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--ink-2); margin-top: 0.9rem; }

/* ---- Contact form ------------------------------------------------------- */
.connect-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 880px) { .connect-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); } }
.connect-aside { display: grid; gap: 1.75rem; }
.connect-aside .figure__frame { max-width: 22rem; }

.form { display: grid; gap: 1.35rem; max-width: 36rem; margin-top: 0; }
.field { display: grid; gap: 0.4rem; }
.field > label { font: 600 0.95rem/1.3 var(--sans); color: var(--ink); }
.field .req { color: var(--green); }
.field .hint { font-size: 0.85rem; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-ui); border-radius: var(--radius);
  padding: 0.7rem 0.8rem; width: 100%;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field ::placeholder { color: var(--ink-2); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #9a2b2b; }
.field-error { font: 500 0.85rem/1.4 var(--sans); color: #8a2525; min-height: 0; }
.field-error:empty { display: none; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: 0.25rem; accent-color: var(--green); }
.consent label { font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; }

.form-note { font-size: 0.85rem; color: var(--ink-2); font-family: var(--mono); letter-spacing: 0.02em; }
.form-status {
  border: 1.5px solid var(--green); background: var(--green-dim);
  border-radius: var(--radius); padding: 1.1rem 1.2rem; color: var(--green-deep);
}
.form-status h2 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.form-status p { color: var(--green-deep); font-size: 0.95rem; }
[hidden] { display: none !important; }

/* contact alt methods */
.contact-alt { display: grid; gap: 0.6rem; margin-top: 1.75rem; }
.contact-alt dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.contact-alt dd { margin: 0; color: var(--ink); }
.contact-alt .tbd { font-family: var(--mono); font-size: 0.82rem; color: var(--ink-2); background: var(--paper-2); border: 1px dashed var(--line); border-radius: 5px; padding: 0.15rem 0.45rem; }

/* ---- 404 ---------------------------------------------------------------- */
.error-page { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 1.2rem; }
.error-page .code { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.3em; color: var(--green); }
.error-page h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); }
.error-page p { color: var(--ink-2); max-width: 38ch; margin-inline: auto; }
.error-page .actions { justify-content: center; margin-top: 0.5rem; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding-block: clamp(2.5rem, 5vw, 4rem); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-bio { font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; max-width: 30ch; }
.footer-bio .footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.8rem; }
.footer-bio .footer-brand img { width: 1.6rem; height: 1.6rem; border-radius: 6px; }
.footer-bio .footer-brand span { font-size: 1.05rem; }
.footer-col h2 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); font-weight: 400; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--ink); }
.footer-col .tbd { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); }
.footer-col .tbd span { background: var(--paper-2); border: 1px dashed var(--line); border-radius: 5px; padding: 0.1rem 0.4rem; }
.footer-meta { border-top: 1px solid var(--line-soft); margin-top: 2.25rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between; }
.footer-meta p { font-size: 0.82rem; color: var(--ink-2); }
.version-note { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--green); display: inline-flex; align-items: center; gap: 0.5rem; }
.version-note::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green); animation: none; }

/* ---- Footer CTA (strip above the footer columns; present on every page) - */
.footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 1.75rem; padding-bottom: 2rem; margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}
.footer-cta__text {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.65rem);
  line-height: 1.2; letter-spacing: -0.012em;
  color: var(--ink); max-width: 22ch;
}
.footer-cta .btn svg { width: 1em; height: 1em; flex: none; }
@media (max-width: 759px) { .footer-cta { justify-content: flex-start; } }

/* ---- Social row (footer "Elsewhere" + inline) — canonical, all pages -----
   A horizontal glyph row. Handles are TBD, so glyphs render in a labelled,
   NON-LINKED "coming soon" pending state (spans, not <a>) — no dead links ship.
   Pending glyphs use --ink-2 (7.2:1 on paper), NOT --line-ui, so they clear AA.
   To go live, swap each <span class="social-row__glyph"> for:
     <a class="social-row__link" href="https://instagram.com/HANDLE"
        rel="me noopener" aria-label="Becca Creative on Instagram">…svg…</a>
   and add each live URL to the Person/Organization JSON-LD "sameAs" array. */
.social-row ul {
  display: flex; flex-wrap: wrap; gap: 0.15rem;
  list-style: none; margin: 0 0 0 -0.6rem; padding: 0;
}
/* Outrank .footer-col ul { display: grid } so the footer row never stacks. */
.footer-col .social-row ul { display: flex; gap: 0.15rem; }
.social-row__link,
.social-row__glyph {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;                 /* ≥44px touch target */
  border-radius: var(--radius);
  color: var(--ink-2); text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}
.social-row__link svg,
.social-row__glyph svg { width: 22px; height: 22px; }
.social-row__link:hover { color: var(--green); background: var(--paper-2); }
.social-row__glyph[data-state="pending"] { color: var(--ink-2); cursor: default; }
.social-row__note {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--ink-2); margin-top: 0.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  .social-row__link:hover { transform: translateY(-1px); }
}

/* ---- Invite band: the mono tag + its tick are green-on-green by default
        (invisible). Lift both to the on-green token so they clear contrast. - */
.band--invite .lane__tag { color: var(--green-dim); }
.band--invite .lane__tag::before { background: var(--green-dim); }

/* ---- Motion (opt-in, respects reduced-motion) --------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .reveal-1 { animation-delay: 0.02s; }
  .reveal-2 { animation-delay: 0.1s; }
  .reveal-3 { animation-delay: 0.18s; }
  .reveal-4 { animation-delay: 0.26s; }
  .card { will-change: transform; }
  .card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -28px rgba(28, 27, 24, 0.4); border-color: var(--green); }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* Larger-screen comfort */
@media (min-width: 900px) {
  .site-header { top: 0; }
  .lane__tag { top: 5.5rem; }
}

/* =========================================================================
   R-47 — liveliness, orphan-route nav, support surface.
   All non-essential motion here is gated: it is defined inside
   prefers-reduced-motion: no-preference AND force-disabled by the single
   prefers-reduced-motion: reduce guard at the very end of this section.
   ========================================================================= */

/* ---- L1 · Secondary nav (orphan routes: /now, /testimonials) ------------ */
.subnav { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.subnav__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.4rem 1.4rem; padding-block: 0.6rem;
}
.subnav__lead {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green);
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.subnav__lead::after { content: "\2192"; color: var(--ink-2); }
.subnav__list { display: flex; flex-wrap: wrap; gap: 0.25rem 1.3rem; list-style: none; }
.subnav__link {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  text-decoration: none; color: var(--ink);
  font: 500 0.92rem/1.2 var(--sans); padding: 0.25rem 0; border-radius: 4px;
}
.subnav__name {
  border-bottom: 1.5px solid transparent; padding-bottom: 1px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.subnav__link:hover .subnav__name { color: var(--green); border-color: var(--green); }
.subnav__route {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-2);
}

/* ---- L2 · Circular-text "seal" (vanilla SVG textPath + CSS rotation) ----- */
.now-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.now-hero__seal { justify-self: center; }
.seal { width: clamp(11rem, 34vw, 15rem); height: auto; color: var(--green); }
.seal__text {
  font-family: var(--mono); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; fill: var(--green);
}
.seal__ring { fill: none; stroke: var(--line-ui); stroke-width: 1.25; }
.seal__word {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 34px; fill: var(--green); text-anchor: middle; dominant-baseline: central;
}
.seal__spin { transform-box: view-box; transform-origin: 110px 110px; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (min-width: 760px) {
  .now-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .now-hero__seal { justify-self: end; }
}

/* ---- L3 · Now upsell cards ---------------------------------------------- */
.upsell { display: grid; gap: 1rem; margin-top: 1.9rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .upsell { grid-template-columns: 1fr 1fr; } }
.upsell__card {
  position: relative; display: grid; gap: 0.35rem; align-content: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem; text-decoration: none; color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.upsell__kicker { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.upsell__title { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; line-height: 1.2; color: var(--ink); }
.upsell__note { color: var(--ink-2); font-size: 0.95rem; max-width: 34ch; }
.upsell__go { position: absolute; top: 1.2rem; right: 1.25rem; color: var(--green); font-size: 1.1rem; transition: transform 0.18s ease; }
.upsell__card:hover { border-color: var(--green); }

/* ---- L4 · Support / monetization surface (NON-LINKED pending) ----------- */
.support {
  margin-top: 1.9rem; max-width: 44rem;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
}
.support__lead { color: var(--ink); max-width: var(--measure); }
.support__list { list-style: none; display: grid; gap: 0.8rem; margin: 1.1rem 0 0; }
@media (min-width: 560px) { .support__list { grid-template-columns: 1fr 1fr; } }
.support__opt {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.9rem 1rem;
  background: var(--paper); border: 1px dashed var(--line-ui);
  border-radius: var(--radius); color: var(--ink-2); cursor: default;
}
.support__opt-icon { flex: none; color: var(--green); display: inline-flex; }
.support__opt-body { display: grid; gap: 0.15rem; }
.support__opt-name { font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.support__opt-meta {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2);
}
.support__note {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--ink-2); margin-top: 0.9rem;
}

/* ---- L6 · Announcement marquee (structure per Motiq pattern, R-15) -------
   DEFAULT (NO JS and/or reduced-motion) = a fully-visible, static, WRAPPED list:
   no clipping, no edge-fade dimming, and NO pause button (it would be dead
   without the JS that drives it). The single-row scrolling ticker is opt-in in
   the motion block below, gated on BOTH html.has-js AND prefers-reduced-motion:
   no-preference — so the pure-CSS scroll can never run without its JS pause
   control, and reduced-motion users get the static list (SC 2.2.2 / F1 + F4). */
.marquee {
  position: relative; overflow: hidden;
  background: var(--paper-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding-block: 0.8rem;
}
.marquee__track {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  width: auto; row-gap: 0.15rem;
}
/* Static-default: the duplicate (aria-hidden) half, the pause control, and the
   edge-fades are all for the ANIMATED state only — hidden until it turns on. */
.marquee__item[aria-hidden="true"],
.marquee__pause { display: none; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 3.5rem;
  z-index: 1; pointer-events: none; display: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--paper-2), transparent); }
.marquee__item {
  display: inline-flex; align-items: center; justify-content: center;
  max-width: 100%; min-width: 0; white-space: normal; text-align: center;
  font-family: var(--mono); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
  padding-inline: 1.4rem;
}
/* Static-list items wrap so the longest line never clips on a narrow phone;
   the animated ticker restores single-line nowrap (in the motion block). */
.marquee__sep { color: var(--line-ui); margin-left: 2.8rem; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__track.is-paused { animation-play-state: paused; }
.marquee__pause {
  position: absolute; top: 50%; right: 0.75rem; transform: translateY(-50%); z-index: 2;
  align-items: center; justify-content: center;
  width: 2rem; height: 2rem; padding: 0; cursor: pointer;
  background: var(--paper); color: var(--green);
  border: 1.5px solid var(--line-ui); border-radius: 999px;
  transition: border-color 0.16s ease;
}
.marquee__pause:hover { border-color: var(--green); }
.marquee__ico { width: 0.8rem; height: 0.8rem; display: block; fill: currentColor; }
.marquee__ico--play { display: none; }
.marquee__pause[aria-pressed="true"] .marquee__ico--pause { display: none; }
.marquee__pause[aria-pressed="true"] .marquee__ico--play { display: block; }

/* ---- L2/L5/L6 motion — opt-in (mirrors the existing .reveal pattern). The
        marquee ticker is ALSO gated on html.has-js so the pure-CSS scroll never
        runs without its JS pause control (F1/F4). ------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  /* L2 seal: ONE decelerating intro spin (< 5s) then static. Because it stops
     well under 5s it is not "moving content > 5s", so SC 2.2.2 does not apply
     (F3) — and it still freezes immediately under reduced-motion. */
  .seal__spin { animation: seal-spin 4.5s ease-out 1 both; }

  /* L6 marquee: turn the static wrapped list into the animated single-row
     ticker, and reveal the duplicate half + pause control + edge-fades. */
  html.has-js .marquee__track {
    flex-wrap: nowrap; justify-content: flex-start; width: max-content;
    animation: marquee-scroll 42s linear infinite;
  }
  html.has-js .marquee__item { white-space: nowrap; max-width: none; }
  html.has-js .marquee__item[aria-hidden="true"] { display: inline-flex; }
  html.has-js .marquee__pause { display: inline-flex; }
  html.has-js .marquee::before,
  html.has-js .marquee::after { display: block; }
  /* Pause on hover OF THE TRACK ONLY. The pause button is a sibling of the
     track (not an ancestor), so hovering or holding focus on it will NOT
     re-pause the ticker after "Play" — that ambiguity was F2. */
  html.has-js .marquee__track:hover { animation-play-state: paused; }

  /* L5 reveals + hover micro-motion */
  .reveal-on-scroll {
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .reveal-on-scroll.is-visible { opacity: 1; transform: none; }
  .btn:hover { transform: translateY(-1px); }
  .upsell__card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -28px rgba(28, 27, 24, 0.4); }
  .upsell__card:hover .upsell__go { transform: translateX(3px); }
  .subnav__link:hover { transform: translateY(-1px); }
}

/* ---- Single reduced-motion guard — disables ALL R-47 non-essential motion.
        Content stays fully visible; the marquee becomes a static list. ----- */
@media (prefers-reduced-motion: reduce) {
  .seal__spin { animation: none !important; }
  .marquee__track { animation: none !important; transform: none !important; }
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover,
  .upsell__card:hover,
  .subnav__link:hover,
  .upsell__card:hover .upsell__go { transform: none !important; }
}

/* ---- F5 · print: force any un-scrolled reveal band to full visibility so it
        never prints blank (the reveal hidden-state only exists on screen). --- */
@media print {
  .reveal-on-scroll,
  .reveal { opacity: 1 !important; transform: none !important; }
}
