/* Moon & Seasons 2027 - site styles */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 100%;
  ascent-override: 92%;
  descent-override: 28%;
  line-gap-override: 0%;
}

:root {
  --surface-paper: #fffcf9;
  --surface-cream: #f5efe6;
  --surface-lavender: #e8e0f0;
  --surface-blush: #f0e8e0;
  --surface-ink: #1a1a2e;
  --text-primary: #1a1a2e;
  --text-muted: #5f574b;
  --accent: #c9a96e;
  --accent-text: #6f5320;
  --border-subtle: #d0d0d0;
  --focus-ring: #6f5320;
  --font-display: "Cormorant Garamond", "Cormorant Fallback", Georgia, "Times New Roman", serif;
  --font-body: Georgia, "Times New Roman", serif;
  --content: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface-paper);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 16px;
}

.wrap-narrow { max-width: 720px; }

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 0.6em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-text); }
a:hover { color: var(--text-primary); }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 34em;
}

.prose { max-width: 66ch; }
.prose p { margin-bottom: 1.1em; }

.label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 0.6rem;
  font-weight: 400;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.muted { color: var(--text-muted); }

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

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 20;
  background: var(--surface-ink);
  color: var(--surface-paper);
  padding: 10px 16px;
  text-decoration: none;
  transition: top 200ms ease-out;
}
.skip-link:focus { top: 8px; color: var(--surface-paper); }

/* ---------- header ---------- */

.site-header {
  background: var(--surface-paper);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.brand-mark { width: 30px; height: 30px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}
.site-nav a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-primary);
  padding: 10px 2px;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease-out, color 200ms ease-out;
}
.site-nav a:hover { border-bottom-color: var(--accent); }

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--surface-ink);
  background: var(--surface-paper);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--surface-cream);
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px 32px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}
.footer-nav a { color: var(--accent-text); text-decoration: underline; }
.footer-note { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }

/* ---------- layout blocks ---------- */

.section { padding: 64px 0; }
.section-cream { background: var(--surface-cream); }
.section h2 { margin-bottom: 0.7em; }
.section h2::after,
.section-label::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: var(--accent);
  margin-top: 0.7rem;
}
.section-label { margin-bottom: 1.5rem; }

.hero { padding: 40px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.hero-copy { max-width: 34em; }
.hero .lead { margin-bottom: 1.5em; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  max-width: 100%;
  text-align: center;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out;
}
.btn-primary {
  background: var(--surface-ink);
  color: var(--surface-paper);
  border: 1px solid var(--surface-ink);
}
.btn-primary:hover { background: #2b2b45; color: var(--surface-paper); }
.btn-secondary {
  background: transparent;
  color: var(--surface-ink);
  border: 1px solid var(--surface-ink);
}
.btn-secondary:hover { background: var(--surface-ink); color: var(--surface-paper); }
.btn-quiet {
  background: transparent;
  color: var(--accent-text);
  border: 1px solid var(--border-subtle);
}
.btn-quiet:hover { border-color: var(--accent-text); color: var(--accent-text); }

/* hero figure */
.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border: 0;   /* the cut-out book has transparent corners: a border drew a rectangle outline */
}
.hero-figure figcaption,
figcaption {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  max-width: 34em;
}

/* emblem watermark + divider */
.emblem-mark {
  width: 34px;
  height: 34px;
}
.watermark {
  position: absolute;
  right: 4%;
  top: 20px;
  width: 220px;
  height: 220px;
  opacity: 0.07;
  background-color: var(--surface-ink);
  -webkit-mask: url("../assets/emblem.png") no-repeat center / contain;
  mask: url("../assets/emblem.png") no-repeat center / contain;
  pointer-events: none;
}
.hero { position: relative; }
.divider {
  display: flex;
  justify-content: center;
  padding: 8px 0 0;
}
.divider img { width: 38px; height: 38px; opacity: 0.5; }

/* feature list */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px 40px;
}
.feature-list li { border-top: 1px solid var(--border-subtle); padding-top: 18px; }
.feature-list h3 { margin-bottom: 0.35em; }
.feature-list p { color: var(--text-muted); }

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.gallery img { border: 1px solid var(--border-subtle); width: 100%; }

/* ink band */
.ink-band {
  background: var(--surface-ink);
  color: var(--surface-paper);
  padding: 64px 0;
}
.ink-band h2 {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ink-band h2::after { background: var(--accent); }
.ink-band p { color: var(--surface-paper); max-width: 60ch; }
.ink-band .btn-secondary {
  color: var(--surface-paper);
  border-color: var(--accent);
}
.ink-band .btn-secondary:hover { background: var(--accent); color: var(--surface-ink); }

/* cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  border: 1px solid var(--border-subtle);
  padding: 24px;
  background: var(--surface-paper);
}
.card h3 { margin-bottom: 0.4em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { color: var(--text-muted); margin: 0; }

/* forms */
.form-field { margin-bottom: 18px; min-width: 0; }
label { display: block; margin-bottom: 6px; }
input[type="email"],
input[type="text"],
select,
textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--surface-paper);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  min-height: 44px;
  width: 100%;
  max-width: 34em;
}
textarea { min-height: 130px; resize: vertical; }
select { width: auto; min-width: 12em; max-width: 100%; }
fieldset {
  border: 1px solid var(--border-subtle);
  padding: 16px 18px 18px;
  margin: 0 0 20px;
}
legend { font-size: 0.9375rem; padding: 0 6px; }
.radio-row, .check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}
.radio-row label, .check-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 44px;
}
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; }

.notify-form { margin-top: 20px; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--surface-ink);
  background: var(--surface-lavender);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  margin-bottom: 10px;
}
.form-note { color: var(--text-muted); font-size: 0.9375rem; }
.status { margin-top: 14px; min-height: 1.4em; }
.status:empty { display: none; }

/* ---------- tools ---------- */

.tool-head { padding: 40px 0 24px; }
.tool-block {
  border: 1px solid var(--border-subtle);
  padding: 28px;
  margin-bottom: 32px;
  background: var(--surface-paper);
}
.source-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  margin-top: 28px;
}

/* today's moon */
.moon-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.moon-layout > * { min-width: 0; }
.moon-glyph { width: 150px; height: 150px; color: var(--surface-ink); }
.moon-base { fill: var(--surface-lavender); stroke: var(--surface-ink); stroke-width: 1.5; }
.moon-lit { fill: var(--surface-ink); }
#phase-name {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.3em;
}
.moon-facts { list-style: none; margin: 16px 0 0; padding: 0; }
.moon-facts li { margin-bottom: 6px; }
.moon-facts .fact-label { color: var(--text-muted); }
.prompt { margin-top: 18px; }
.prompt p:last-child { font-family: var(--font-display); font-size: 1.3rem; }

/* calendar */
.cal-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-end;
  margin-bottom: 24px;
}
.cal-controls .form-field { margin-bottom: 0; }
.month-nav { display: flex; gap: 10px; }
.cal-filter .radio-row { gap: 10px 18px; }

table.calendar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.calendar-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.4rem;
  padding-bottom: 10px;
}
.calendar-table th,
.calendar-table td {
  border: 1px solid var(--border-subtle);
  padding: 6px;
  vertical-align: top;
  text-align: left;
}
.calendar-table th { background: var(--surface-cream); font-weight: 400; font-size: 0.8125rem; }
.calendar-table td { height: 96px; width: 14.28%; }
.day-num { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 4px; }

.event {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.35;
  background: var(--surface-lavender);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 6px 8px;
  margin-bottom: 4px;
  min-height: 44px;
  cursor: pointer;
  transition: background-color 200ms ease-out, border-color 200ms ease-out;
}
.event[data-phase="full"] { background: var(--surface-blush); }
.event:hover { border-color: var(--accent-text); }
.event[aria-pressed="true"] { border-color: var(--accent-text); border-width: 2px; }

.month-agenda { display: none; }
.agenda-list { list-style: none; margin: 0; padding: 0; }
.agenda-list li { margin-bottom: 10px; }

.event-details {
  border: 1px solid var(--border-subtle);
  padding: 20px;
  margin-top: 24px;
  background: var(--surface-cream);
}
.event-details h3 { margin-bottom: 0.4em; }
.js-only { display: none; }
.js .js-only { display: block; }

.download-row { margin-top: 28px; }
.download-note { font-size: 0.875rem; color: var(--text-muted); }

/* ritual */
.ritual-result { margin-top: 32px; }
.ritual-result h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ritual-part {
  border-top: 1px solid var(--border-subtle);
  padding: 22px 0;
}
.ritual-part h3 { margin-bottom: 0.5em; }
.ritual-part ul { margin: 0; padding-left: 1.2em; }
.ritual-part li { margin-bottom: 0.5em; max-width: 62ch; }
.ritual-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* intention */
.intention-field { margin-bottom: 24px; }
.intention-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0; align-items: center; }
.save-row { margin: 18px 0; }
.help { font-size: 0.9375rem; color: var(--text-muted); max-width: 46ch; }

/* 404 */
.center-page { text-align: center; padding: 80px 0; }

/* ---------- responsive ---------- */

@media (min-width: 720px) {
  .hero { padding: 64px 0 80px; }
  .section { padding: 80px 0; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .moon-layout { grid-template-columns: 200px 1fr; gap: 40px; }
  .month-agenda { display: none; }
}

@media (max-width: 899.98px) {
  .calendar-table { display: none; }
  .month-agenda { display: block; }
}

@media (max-width: 719.98px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--border-subtle); }
  .hero { padding: 28px 0 44px; }
  .watermark { width: 150px; height: 150px; top: 8px; }
}

/* ---------- motion ---------- */

@keyframes ms-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.hero { position: relative; }
.hero-figure img { animation: ms-fade-in 300ms ease-out 1 both; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01s !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- print ---------- */

@media print {
  .site-header,
  .site-footer,
  .site-nav,
  .menu-toggle,
  .skip-link,
  .no-print,
  .ritual-controls,
  .intention-actions,
  .save-row,
  .status,
  .watermark {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }
  a { color: #000; }
  .section, .tool-block, .ink-band { background: #fff; color: #000; padding: 0; border: 0; }
  .ink-band p, .ink-band h2 { color: #000; }
  .ritual-result { display: block !important; }
  .intention-form textarea {
    border: 1px solid #000;
    width: 100%;
    color: #000;
  }
  .hero-figure, .gallery, .hero .cta-row { display: none; }
}

/* =====================================================================
   GLOSS LAYER (Eli, 10 Oct 2026): the holding-page look across the site.
   Natural linen paper, gold foil, paper botanicals, floating cut-out book.
   ===================================================================== */
:root {
  --surface-paper: #f6f0e5;
  --surface-cream: #ece3d2;
  --surface-ink: #3f4433;
  --linen: #e6dccb;
  --stone: #c9bba3;
  --sage: #a7ad90;
  --olive: #6f7556;
  --olive-d: #565c43;
  --bark: #3b3328;
  --gold: #b08a4f;
  --gold-l: #d8be8a;
  --text-primary: #2e281f;
  --shadow-paper: 0 1px 0 rgba(255,255,255,.75) inset, 0 14px 30px rgba(70,52,30,.16), 0 2px 6px rgba(70,52,30,.12);
}
body {
  background-color: var(--surface-paper);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(255,252,244,.7), transparent 60%),
    repeating-linear-gradient(0deg, rgba(110,90,60,.028) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px);
  color: var(--text-primary);
}
.section, .section-cream { background: transparent; position: relative; }
.section-cream {
  background-color: var(--surface-cream);
  background-image:
    repeating-linear-gradient(0deg, rgba(110,90,60,.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 4px);
}
/* header: translucent linen with a gold hairline */
.site-header { background: rgba(246,240,229,.86); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid rgba(176,138,79,.35); position: sticky; top: 0; z-index: 20; }
.brand-name { letter-spacing: .04em; }
.site-nav a { letter-spacing: .14em; }
/* labels: gold small caps with a foil sparkle */
.label, .section-label { color: var(--accent-text); letter-spacing: .2em; }
.label::before, .section-label::before {
  content: ''; display: inline-block; width: .7em; height: .7em; margin-right: .6em; vertical-align: -.05em;
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
h1, h2 { color: var(--bark); }
/* hero: paper sky, the floating book on the gold ring, paper hills */
.hero { position: relative; overflow: hidden; padding-bottom: clamp(120px, 14vw, 190px); background:
  radial-gradient(ellipse at 70% 30%, rgba(255,250,238,.85), transparent 55%),
  linear-gradient(180deg, #e3d7c2 0%, var(--surface-paper) 70%); }
.hero h1 { text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.hero-figure { position: relative; display: grid; justify-items: center; padding: clamp(24px, 4vw, 48px) 0 0; }
.hero-figure img { position: relative; z-index: 1; width: min(62vw, 380px); height: auto; filter: drop-shadow(14px 26px 26px rgba(70,52,30,.32)) drop-shadow(2px 4px 4px rgba(70,52,30,.18)); transform: rotate(-3deg); animation: ms-float 7s ease-in-out infinite alternate; }
.hero-figure figcaption { position: relative; z-index: 1; margin-top: 18px; font-style: italic; color: var(--text-muted); }
.hero-ring { position: absolute; z-index: 0; top: 50%; left: 50%; width: min(96vw, 600px); height: auto; transform: translate(-50%, -54%); pointer-events: none; }
.hero-ring circle { fill: none; stroke: rgba(176,138,79,.55); stroke-width: .6; }
.hero-ring .sp path { fill: var(--gold); }
.hero .watermark { opacity: .05; }
@keyframes ms-float { from { transform: rotate(-3deg) translateY(0); } to { transform: rotate(-2deg) translateY(-10px); } }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(110px, 13vw, 180px); pointer-events: none; }
.hills svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hills .h1 { fill: var(--stone); filter: drop-shadow(0 -2px 3px rgba(70,52,30,.14)); }
.hills .h2 { fill: var(--sage); filter: drop-shadow(0 -2px 3px rgba(70,52,30,.16)); }
.hills .h3 { fill: var(--olive); filter: drop-shadow(0 -2px 3px rgba(70,52,30,.18)); }
.sprigs .stem { fill: none; stroke: var(--olive-d); stroke-width: 1.4; }
.sprigs .euc ellipse { fill: var(--sage); }
.sprigs .fern path:not(.stem) { fill: #88906f; }
.sprigs .fl ellipse { fill: #d9b2a2; } .sprigs .fl.clay ellipse { fill: #c98b6b; }
.sprigs .fl .eye { fill: var(--gold-l); }
.sprigs g { filter: drop-shadow(1px 2px 1.5px rgba(70,52,30,.25)); }
/* buttons: bark paper and gold outline */
.btn { border-radius: 2px; letter-spacing: .14em; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn-primary { background: var(--bark); color: #f6f0e5; border-color: var(--bark); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 18px rgba(59,51,40,.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 12px 24px rgba(59,51,40,.3); }
.btn-secondary, .btn-quiet { border-color: rgba(176,138,79,.75); color: var(--bark); background: rgba(246,240,229,.6); }
.btn-secondary:hover, .btn-quiet:hover { background: #fffaf0; transform: translateY(-1px); }
/* paper cards with a gold inner line */
.card, .tool-block, .notify-form, .feature-list li {
  position: relative; background-color: #faf5ec;
  background-image: repeating-linear-gradient(0deg, rgba(110,90,60,.03) 0 1px, transparent 1px 4px);
  border: 1px solid rgba(176,138,79,.28); border-radius: 3px; box-shadow: var(--shadow-paper);
}
.card::after, .tool-block::after, .notify-form::after { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(176,138,79,.3); pointer-events: none; }
.feature-list li { padding: 22px 22px 20px; border-top: 1px solid rgba(176,138,79,.28); }
.feature-list h3 { color: var(--bark); }
/* journal pages: taped paper sheets */
.gallery figure { position: relative; padding: 10px 10px 0; background: #fffdf8; box-shadow: var(--shadow-paper); transform: rotate(-1.4deg); transition: transform .3s ease; }
.gallery li:nth-child(even) figure { transform: rotate(1.2deg); }
.gallery figure:hover { transform: rotate(0) translateY(-4px); }
.gallery figure::before { content: ''; position: absolute; z-index: 2; top: -11px; left: 50%; width: 78px; height: 24px; transform: translateX(-50%) rotate(-3deg); background: rgba(205,186,150,.78); box-shadow: 0 1px 2px rgba(60,40,20,.15); }
.gallery figcaption { padding: 10px 2px 12px; font-style: italic; }
/* the Moon Room band: olive night paper with gold dust */
.ink-band { position: relative; background-color: var(--surface-ink); background-image:
  radial-gradient(circle at 12% 30%, rgba(216,190,138,.55) 0 1.4px, transparent 2px),
  radial-gradient(circle at 78% 22%, rgba(216,190,138,.5) 0 1.2px, transparent 2px),
  radial-gradient(circle at 55% 70%, rgba(216,190,138,.45) 0 1.1px, transparent 2px),
  radial-gradient(circle at 30% 82%, rgba(216,190,138,.4) 0 1px, transparent 2px),
  radial-gradient(circle at 90% 75%, rgba(216,190,138,.5) 0 1.3px, transparent 2px),
  repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 1px, transparent 1px 3px); }
.ink-band h2 { color: #f6f0e5; } .ink-band .label { color: var(--gold-l); }
/* the paper moon in Today's Moon */
.moon-glyph { width: 180px; height: 180px; overflow: visible; filter: drop-shadow(4px 8px 8px rgba(70,52,30,.22)); }
.moon-ring { fill: none; stroke: rgba(176,138,79,.6); stroke-width: .6; }
.moon-sp path { fill: var(--gold); }
.moon-base { fill: var(--stone); stroke: rgba(176,138,79,.65); stroke-width: .8; }
.moon-edge { fill: none; stroke: rgba(176,138,79,.7); stroke-width: .9; stroke-dasharray: .6 2.4; stroke-linecap: round; }
.moon-lit { fill: url(#moon-paper); }
/* forms */
input[type=email], input[type=text], select, textarea { background: #fffdf8; border: 1px solid rgba(110,90,60,.35); border-radius: 2px; }
.badge { background: var(--gold-l); color: var(--bark); }
/* footer: olive paper */
.site-footer { background: var(--olive-d); color: #f3ece0; border-top: 0; box-shadow: 0 -1px 0 rgba(255,255,255,.08) inset; }
.site-footer a, .site-footer .footer-brand, .site-footer .footer-note { color: #f3ece0; }
@media (prefers-reduced-motion: reduce) {
  .hero-figure img { animation: none; }
  .btn, .gallery figure { transition: none; }
}
@media print {
  .hills, .hero-ring { display: none; }
  .hero-figure img { animation: none; filter: none; transform: none; }
}
.ink-band .btn-secondary { background: transparent; color: #f6f0e5; border-color: var(--gold-l); }
.ink-band .btn-secondary:hover { background: var(--gold-l); color: var(--bark); }

/* =====================================================================
   GLOSS LAYER 2 (Eli, 10 Oct 2026): living hero, torn-paper sections,
   editorial type, fanned pages, open book, tidy launch card.
   ===================================================================== */
/* living hero */
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero > .wrap { position: relative; z-index: 1; }
.hero .watermark { display: none; }
.hills { z-index: 1; will-change: transform; }
.sprigs g { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(2.1); }
/* editorial type */
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.01em; font-weight: 500; }
h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); line-height: 1.08; font-weight: 500; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--accent-text); }
.hero .lead { font-family: var(--font-display); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.55; }
.section { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); }
.prose.dropcap::first-letter { float: left; font-family: var(--font-display); font-size: 4.6em; line-height: .82; margin: .06em .1em 0 0; color: var(--gold); font-weight: 500; }
.pull { position: relative; margin: clamp(32px, 5vw, 56px) 0 0; padding: 26px 0 0 clamp(0px, 4vw, 48px); max-width: 34ch; }
.pull::before { content: ''; position: absolute; top: 0; left: clamp(0px, 4vw, 48px); width: 64px; height: 1px; background: var(--gold); }
.pull p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.2; color: var(--bark); }
/* torn-paper section edges */
.section-cream, .ink-band, .site-footer { position: relative; z-index: 2; filter: drop-shadow(0 -3px 4px rgba(70,52,30,.10)); }
.section-cream::before, .ink-band::before, .site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -17px; height: 18px; background: inherit; background-color: var(--surface-cream); clip-path: polygon(0% 100%,0.00% 14.6%,2.08% 6.8%,4.17% 29.3%,6.25% 3.3%,8.33% 24.1%,10.42% 16.5%,12.50% 2.6%,14.58% 22.8%,16.67% 1.7%,18.75% 19.5%,20.83% 3.1%,22.92% 4.1%,25.00% 19.1%,27.08% 37.2%,29.17% 5.6%,31.25% 10.0%,33.33% 28.2%,35.42% 42.6%,37.50% 26.0%,39.58% 17.9%,41.67% 43.9%,43.75% 2.1%,45.83% 38.6%,47.92% 13.0%,50.00% 6.5%,52.08% 5.3%,54.17% 13.9%,56.25% 36.7%,58.33% 8.1%,60.42% 26.2%,62.50% 28.8%,64.58% 16.8%,66.67% 24.6%,68.75% 2.8%,70.83% 2.7%,72.92% 9.3%,75.00% 30.6%,77.08% 19.2%,79.17% 14.1%,81.25% 26.4%,83.33% 20.4%,85.42% 13.5%,87.50% 35.7%,89.58% 31.5%,91.67% 11.0%,93.75% 25.8%,95.83% 23.6%,97.92% 39.4%,100.00% 32.8%,100% 100%); pointer-events: none; }
.section-cream::after { content: ''; position: absolute; left: 0; right: 0; bottom: -17px; height: 18px; background-color: var(--surface-cream); clip-path: polygon(0% 0%,0.00% 87.0%,2.08% 55.9%,4.17% 94.7%,6.25% 81.2%,8.33% 65.9%,10.42% 93.2%,12.50% 78.0%,14.58% 98.2%,16.67% 69.9%,18.75% 65.6%,20.83% 74.2%,22.92% 60.6%,25.00% 85.9%,27.08% 68.7%,29.17% 73.3%,31.25% 73.9%,33.33% 79.5%,35.42% 62.2%,37.50% 57.5%,39.58% 78.7%,41.67% 70.1%,43.75% 97.3%,45.83% 68.4%,47.92% 70.9%,50.00% 55.3%,52.08% 63.0%,54.17% 87.2%,56.25% 82.6%,58.33% 69.9%,60.42% 99.0%,62.50% 79.2%,64.58% 92.4%,66.67% 94.7%,68.75% 97.3%,70.83% 65.4%,72.92% 94.2%,75.00% 88.9%,77.08% 82.4%,79.17% 60.8%,81.25% 96.4%,83.33% 79.8%,85.42% 75.3%,87.50% 60.2%,89.58% 63.1%,91.67% 61.1%,93.75% 87.5%,95.83% 81.3%,97.92% 83.9%,100.00% 60.2%,100% 0%); pointer-events: none; z-index: 1; }
.ink-band::before { background-color: var(--surface-ink); }
.site-footer::before { background-color: var(--olive-d); }
.margin-sprig { display: none; }
@media (min-width: 1100px) {
  .margin-sprig { display: block; position: absolute; width: 64px; height: auto; right: max(24px, calc((100vw - var(--content)) / 2 - 90px)); top: 50%; transform: translateY(-50%) rotate(8deg); filter: drop-shadow(2px 3px 2px rgba(70,52,30,.22)); }
  main > section.section-cream:nth-of-type(even) .margin-sprig { right: auto; left: max(24px, calc((100vw - var(--content)) / 2 - 90px)); transform: translateY(-50%) rotate(-8deg) scaleX(-1); }
}
/* fanned journal pages */
.fan-controls { display: none; }
@media (min-width: 900px) {
  .gallery.fan { display: block; position: relative; height: 470px; margin: 56px auto 0; max-width: 900px; list-style: none; padding: 0; }
  .gallery.fan > li { position: absolute; left: 50%; top: 24px; width: 260px; cursor: pointer; transition: transform .45s cubic-bezier(.2,.8,.2,1); transform: translateX(calc(-50% + var(--o, 0) * 150px)) translateY(calc(var(--o, 0) * var(--o, 0) * 8px)) rotate(calc(var(--o, 0) * 7deg)); }
  .gallery.fan > li figure, .gallery.fan > li:nth-child(even) figure { transform: none; }
  .gallery.fan > li.is-front { transform: translateX(-50%) translateY(-14px) scale(1.06); }
  .gallery.fan > li.is-front figure { box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 26px 44px rgba(70,52,30,.26); }
  .fan-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
  .fan-status { margin: 0; min-width: 22ch; text-align: center; font-style: italic; color: var(--text-muted); }
}
/* open book on the journal page */
.open-book { margin: 0 auto clamp(40px, 6vw, 72px); max-width: 860px; perspective: 1600px; }
.open-book-pages { display: grid; grid-template-columns: 1fr 1fr; padding: 14px; background: #d9cdb6; border-radius: 6px; box-shadow: 0 30px 50px rgba(70,52,30,.25), 0 4px 10px rgba(70,52,30,.18); transform: rotateX(14deg); position: relative; }
.open-book-pages img { width: 100%; height: auto; display: block; background: #fffdf8; }
.open-book-pages img:first-child { box-shadow: inset -24px 0 30px -18px rgba(70,52,30,.35); border-radius: 3px 0 0 3px; }
.open-book-pages img:last-child { border-radius: 0 3px 3px 0; }
.open-book-pages::after { content: ''; position: absolute; top: 14px; bottom: 14px; left: 50%; width: 40px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(70,52,30,0), rgba(70,52,30,.22) 50%, rgba(70,52,30,0)); pointer-events: none; }
.open-book figcaption { margin-top: 22px; text-align: center; font-style: italic; color: var(--text-muted); }
/* tidy launch card */
.notify-form { padding: clamp(26px, 4vw, 40px); margin-top: 28px; }
.notify-form .badge { position: absolute; top: 18px; right: 18px; z-index: 1; padding: 4px 12px; font-size: .85rem; letter-spacing: .14em; text-transform: none; font-variant-caps: all-small-caps; border-radius: 999px; }
.notify-form .form-note { margin: 0 0 18px; font-style: italic; color: var(--text-muted); }
.notify-form .form-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; position: relative; z-index: 1; }
.notify-form .form-field { flex: 1 1 240px; margin: 0; display: grid; gap: 6px; }
.notify-form .form-field input { width: 100%; min-height: 48px; padding: 10px 14px; font-size: 1rem; }
.notify-form .btn { min-height: 48px; margin: 0; }
.notify-form .status { position: relative; z-index: 1; margin: 14px 0 0; min-height: 1.4em; font-style: italic; color: var(--accent-text); }
@media (prefers-reduced-motion: reduce) { .gallery.fan > li { transition: none; } }
@media print { .hero-sky, .margin-sprig, .fan-controls { display: none; } .gallery.fan { height: auto; } .gallery.fan > li { position: static; transform: none; } }

/* FAQ accordion (Eli, 10 Oct 2026) */
.faq { margin-top: 32px; display: grid; gap: 14px; }
.faq-item { background-color: #faf5ec; background-image: repeating-linear-gradient(0deg, rgba(110,90,60,.03) 0 1px, transparent 1px 4px); border: 1px solid rgba(176,138,79,.3); border-radius: 3px; box-shadow: var(--shadow-paper); transition: box-shadow .25s ease, transform .25s ease; }
.faq-item:hover { transform: translateY(-1px); }
.faq-item[open] { box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 18px 36px rgba(70,52,30,.18); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 18px 22px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 3px; }
.faq-q { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; color: var(--bark); }
.faq-icon { position: relative; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(176,138,79,.7); background: #fffaf0; transition: transform .3s ease, background-color .3s ease; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--accent-text); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--gold-l); }
.faq-item summary:hover .faq-icon { background: #f3e7cf; }
.faq-a { padding: 0 22px 22px; }
.faq-a p { margin: 0; padding-left: 18px; border-left: 2px solid var(--gold-l); color: var(--text-primary); max-width: 62ch; }
.faq-a a { color: var(--accent-text); }
.faq-item[open] .faq-a { animation: faq-in .3s ease both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq-item, .faq-icon { transition: none; } .faq-item[open] .faq-a { animation: none; } }
@media print { .faq-item { box-shadow: none; } .faq-icon { display: none; } .faq-item .faq-a { display: block; } }

/* footer (Eli, 10 Oct 2026) */
.site-footer { padding: clamp(64px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); font-size: 1rem; line-height: 1.6; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 640px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 48px; } }
@media (min-width: 1000px) { .site-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.site-footer .footer-brand { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .02em; text-decoration: none; color: #f6f0e5; }
.site-footer .footer-mark { width: 44px; height: 44px; filter: brightness(0) invert(.93) sepia(.25); }
.site-footer .footer-tag { margin: 14px 0 0; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--gold-l); }
.site-footer .footer-h { margin: 0 0 14px; font-size: .95rem; letter-spacing: .16em; font-variant-caps: all-small-caps; color: var(--gold-l); }
.site-footer .footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .footer-nav a { color: #f3ece0; text-decoration: none; background-image: linear-gradient(var(--gold-l), var(--gold-l)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s ease; padding-bottom: 2px; }
.site-footer .footer-nav a:hover, .site-footer .footer-nav a:focus-visible { background-size: 100% 1px; }
.site-footer .footer-note { margin: 0 0 10px; color: #f3ece0; font-size: 1rem; }
.site-footer .footer-small { margin: 0; color: rgba(243,236,224,.78); font-size: .9375rem; }
@media (prefers-reduced-motion: reduce) { .site-footer .footer-nav a { transition: none; } }

/* logo, about pages (Eli, 10 Oct 2026) */
.brand-mark { width: 34px; height: 34px; }
.site-footer .footer-mark { width: 56px; height: 56px; filter: none; }
.site-footer .footer-by { margin: 10px 0 0; color: rgba(243,236,224,.85); font-size: .95rem; }
.site-footer .footer-by a { color: #f3ece0; text-decoration: underline; text-decoration-color: var(--gold-l); text-underline-offset: 3px; }
.hero-ring { position: absolute; z-index: 0; top: 50%; left: 50%; width: min(98vw, 640px); height: auto; transform: translate(-50%, -54%); pointer-events: none; }
.page-intro { padding-top: clamp(64px, 8vw, 112px); }
.about-card { display: flex; gap: 22px; align-items: center; padding: 26px; margin-top: 24px; }
.about-card img { flex: 0 0 auto; }
.about-card p { margin: 0 0 6px; position: relative; z-index: 1; }
.about-card a { color: var(--accent-text); }

/* old iOS Safari: flex on <summary> breaks toggling, so the layout lives on an inner row */
.faq-item summary { display: block; padding: 0; min-height: 0; }
.faq-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 18px 22px; }
[id] { scroll-margin-top: 90px; }

@media (min-width: 721px) {  .site-nav { margin-left: auto; } }






































/* pre-order panel (Eli, 10 Oct 2026) */
.preorder-panel { position: relative; margin-top: 28px; padding: clamp(28px, 4vw, 40px); background-color: #faf5ec; border: 1px solid rgba(176,138,79,.3); border-radius: 3px; box-shadow: var(--shadow-paper); text-align: center; }
.preorder-panel::after { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(176,138,79,.3); pointer-events: none; }
.preorder-panel .badge { position: absolute; top: 18px; right: 18px; padding: 4px 12px; font-size: .85rem; letter-spacing: .14em; font-variant-caps: all-small-caps; border-radius: 999px; }
.po-title { margin: 6px 0 4px; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--bark); }
.po-price { margin: 0; font-family: var(--font-display); font-size: 1.6rem; color: var(--accent-text); }
.po-dispatch { margin: 4px 0 0; font-style: italic; color: var(--text-muted); }
.po-buy { position: relative; z-index: 1; margin-top: 20px; min-width: 240px; }
.preorder-panel[data-state="pending"] .po-buy { opacity: .7; cursor: not-allowed; }
.po-note { position: relative; z-index: 1; margin: 14px 0 0; font-style: italic; color: var(--text-muted); font-size: .95rem; }




/* "Order journal" lands below the sticky header (merged journal page, 10 Oct 2026) */
#order { scroll-margin-top: 96px; }


/* =====================================================================
   CELESTIAL MINIMAL (Mel's brand board, 12 Oct 2026): the default light look.
   Warm ivory, oat and stone; charcoal type; antique-gold line-art; DM Sans body.
   ===================================================================== */
@font-face { font-family: "DM Sans"; src: url("../assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
:root { --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
:root {
  --surface-paper: #f8f6f1;   /* warm ivory */
  --surface-cream: #eae5dc;   /* oat milk */
  --surface-ink: #292724;     /* cosmic charcoal */
  --stone: #d4cec4;
  --taupe: #a99f94;
  --plum: #76616d;
  --gold: #b6a58b;            /* antique gold: line-art only, too faint for text */
  --gold-l: #d9cdb8;
  --bark: #292724;
  --text-primary: #292724;
  --text-muted: #635b52;      /* darker taupe, 5.9:1 on ivory */
  --accent-text: #6e5f48;     /* darker gold, 5.4:1 on ivory */
  --focus-ring: #76616d;
  --border-subtle: #d4cec4;
  --shadow-paper: none;
}
:root body { background: var(--surface-paper); background-image: none; font-size: 1rem; line-height: 1.7; }
:root .section-cream { background: var(--surface-cream); background-image: none; filter: none; }
/* no paper edges, hills or botanicals: clean bands */
:root .section-cream::before, :root .section-cream::after,
:root .ink-band::before, :root .site-footer::before { display: none; }
:root .ink-band, :root .site-footer { filter: none; }
:root .hills, :root .margin-sprig { display: none; }
/* type */
:root h1, :root h2, :root h3 { font-weight: 400; color: var(--text-primary); }
:root h1 { text-transform: uppercase; letter-spacing: .06em; line-height: 1.06; }
:root h1 em { display: block; text-transform: none; letter-spacing: 0; color: var(--text-primary); }
:root h2 em { color: var(--accent-text); }
:root .lead { color: var(--text-muted); font-style: italic; }
.label, .section-label { font-size: .75rem; font-weight: 500; letter-spacing: .24em; }
:root .label, :root .section-label { color: var(--text-muted); }
:root .label::before, :root .section-label::before { background: var(--gold); }
/* ornament under headings: hairlines either side of a gold dot */
:root .section h2::after, :root .section-label::after {
  width: 96px; height: 8px; margin-top: .9rem;
  background: linear-gradient(var(--gold), var(--gold)) left center / 40% 1px no-repeat,
              linear-gradient(var(--gold), var(--gold)) right center / 40% 1px no-repeat,
              radial-gradient(circle, var(--gold) 0 2px, transparent 2.6px) center / 8px 8px no-repeat;
}
:root .prose.dropcap::first-letter { color: var(--gold); }
:root .pull::before { background: var(--gold); }
:root .pull p { color: var(--text-primary); }
/* header: ivory, spaced small caps */
:root .site-header { background: rgba(248,246,241,.92); border-bottom: 1px solid var(--stone); }
.brand-name { font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: 1.2rem; }
.site-nav a { font-size: .75rem; font-weight: 500; letter-spacing: .2em; }
:root .site-nav a:hover { border-bottom-color: var(--gold); }

/* hero: soft light, no paper */
:root .hero { padding-bottom: clamp(56px, 7vw, 96px); background: radial-gradient(ellipse at 72% 35%, rgba(255,255,255,.9), transparent 55%), linear-gradient(180deg, #efebe3 0%, var(--surface-paper) 100%); }
:root .hero h1 { text-shadow: none; }
:root .hero-figure img { filter: drop-shadow(10px 22px 24px rgba(41,39,36,.18)) drop-shadow(2px 3px 4px rgba(41,39,36,.12)); }
:root .hero-ring circle { stroke: rgba(182,165,139,.6); }
/* buttons: square, charcoal / outline / plum, with an arrow */
.btn { border-radius: 0; font-size: .75rem; font-weight: 500; letter-spacing: .18em; padding: 14px 26px; }
a.btn-primary:not(.po-buy)::after, a.btn-secondary::after { content: "\2192"; margin-left: .9em; letter-spacing: 0; transition: transform .2s ease; }
a.btn:hover::after { transform: translateX(3px); }
:root .btn-primary { background: var(--surface-ink); color: var(--surface-paper); border: 1px solid var(--surface-ink); box-shadow: none; }
:root .btn-primary:hover { background: #3a3733; color: var(--surface-paper); transform: none; box-shadow: none; }
:root .btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--surface-ink); }
:root .btn-secondary:hover { background: var(--surface-ink); color: var(--surface-paper); transform: none; }
:root .btn-quiet { background: transparent; color: var(--text-primary); border: 0; border-bottom: 1px solid var(--surface-ink); padding-left: 2px; padding-right: 2px; min-height: 44px; }
:root .btn-quiet:hover { color: var(--plum); border-bottom-color: var(--plum); background: transparent; transform: none; }
:root .btn-accent { background: var(--plum); color: #fff; border: 1px solid var(--plum); }
/* cards, panels, FAQ: flat ivory with a stone hairline */
:root .card, :root .tool-block, :root .notify-form,
:root .preorder-panel, :root .faq-item {
  background: #fdfcf9; background-image: none; border: 1px solid var(--stone); border-radius: 0; box-shadow: none;
}
:root .card::after, :root .tool-block::after,
:root .notify-form::after, :root .preorder-panel::after { border-color: rgba(182,165,139,.35); }
:root .feature-list li { background: transparent; background-image: none; border: 0; border-top: 1px solid var(--stone); border-radius: 0; box-shadow: none; padding: 22px 0 0; }
:root .feature-list h3, :root .faq-q, :root .po-title { color: var(--text-primary); }
:root .faq-item:hover { transform: none; }
:root .faq-item[open] { box-shadow: none; border-color: var(--taupe); }
:root .faq-icon { background: transparent; border-color: var(--taupe); }
:root .faq-item[open] .faq-icon { background: var(--surface-cream); }
:root .faq-icon::before, :root .faq-icon::after { background: var(--text-primary); }
:root .faq-a p { border-left-color: var(--gold); }
/* journal pages: clean prints, no tape or tilt */
:root .gallery figure { background: #fdfcf9; border: 1px solid var(--stone); box-shadow: 0 10px 24px rgba(41,39,36,.08); transform: none; }
:root .gallery figure::before { display: none; }
:root .gallery figure:hover { transform: translateY(-3px); }
:root .open-book-pages { background: var(--stone); box-shadow: 0 24px 44px rgba(41,39,36,.16); }
/* forms and badges */
:root input[type=email], :root input[type=text], :root select, :root textarea { background: #fdfcf9; border: 1px solid var(--stone); border-radius: 0; }
:root .badge { background: var(--surface-cream); color: var(--text-primary); border: 1px solid var(--stone); }
:root .event { background: var(--surface-cream); }
:root .event[data-phase="full"] { background: #f1ede6; }
:root .moon-base { fill: var(--stone); }
/* the Moon Room band and footer: charcoal night with gold dust */
:root .ink-band { background-color: var(--surface-ink); }
:root .ink-band h2 { color: #f8f6f1; }
:root .ink-band .label { color: var(--gold-l); }
:root .ink-band .btn-secondary { color: #f8f6f1; border-color: var(--gold); }
:root .ink-band .btn-secondary:hover { background: var(--gold); color: var(--surface-ink); }
:root .site-footer { background: var(--surface-ink); }
:root .site-footer .footer-tag, :root .site-footer .footer-h { color: var(--gold-l); }
@media (prefers-reduced-motion: reduce) { a.btn::after { transition: none; } }
@media (max-width: 719.98px) { .brand-name { font-size: .98rem; letter-spacing: .1em; } .brand-mark { width: 28px; height: 28px; } .header-inner { gap: 10px; }  }
:root .ink-band { background-color: #3a3531; }   /* a shade lighter than the footer so the two bands read apart */
:root .site-footer { border-top: 1px solid rgba(182,165,139,.35); }

/* lifestyle photography from the real cover (12 Oct 2026) */
.mood-grid { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 18px); }
.mood-grid figure, .wide-photo { margin: 0; }
.mood-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.mood-grid figcaption { margin-top: 10px; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--text-muted); }
.wide-photo { margin-top: clamp(36px, 5vw, 56px); }
.wide-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 719.98px) {
  .mood-grid { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .mood-grid li { scroll-snap-align: start; }
}
@media print { .mood-grid, .wide-photo { display: none; } }
.mood-grid:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }

/* hero as an everyday scene with the journal (Mel's brand board, 12 Oct 2026) */
.hero.hero-scene { padding: 0; background: var(--surface-paper); overflow: hidden; }
.hero-scene .hero-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.hero-scene .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; animation: none; filter: none; transform: none; }
.hero-scene .hero-overlay { position: relative; padding-top: 28px; padding-bottom: 48px; }
.hero-scene .hero-copy { max-width: 34em; }
@media (min-width: 1024px) {
  .hero-scene { display: grid; }
  .hero-scene .hero-media { grid-area: 1 / 1; aspect-ratio: 1376 / 768; }
  .hero-scene .hero-media img { object-position: 50% 50%; }
  .hero-scene .hero-overlay { grid-area: 1 / 1; z-index: 2; align-self: center; width: 100%; padding-top: 0; padding-bottom: 0; pointer-events: none; }
  .hero-scene .hero-copy { max-width: 30em; pointer-events: auto; }
  .hero-scene .hero-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(248,246,241,.82) 0%, rgba(248,246,241,.55) 34%, rgba(248,246,241,0) 52%); }
  .hero-scene h1 { font-size: clamp(2.8rem, 4.6vw, 4.6rem); }
}

/* product photo in the pre-order panel */
.po-photo { position: relative; z-index: 1; display: block; width: min(100%, 260px); height: auto; margin: 4px auto 14px; }
/* split hero: the photo is the clean right half of the generated scene (the left half had a stitched seam) */
.hero-scene .hero-media img { object-position: 50% 50%; }
@media (min-width: 1024px) {
  .hero-scene { grid-template-columns: 1fr 50vw; align-items: center; }
  .hero-scene .hero-media { grid-area: 1 / 2; aspect-ratio: 681 / 768; width: 100%; }
  .hero-scene .hero-media::after { display: none; }
  .hero-scene .hero-overlay { grid-area: 1 / 1; max-width: none; padding: 48px clamp(28px, 4vw, 64px) 48px max(16px, calc((100vw - var(--content)) / 2 + 16px)); }
  .hero-scene h1 { font-size: clamp(2.6rem, 4.2vw, 4.4rem); }
}
/* soft edge: the photo melts into the ivory instead of a hard line (Leo, 12 Oct 2026) */
.hero-scene .hero-media::before { content: ''; position: absolute; inset: auto 0 0 0; height: 28%; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, var(--surface-paper) 0%, rgba(248,246,241,.85) 22%, rgba(248,246,241,.45) 55%, rgba(248,246,241,0) 100%); }
@media (min-width: 1024px) {
  .hero-scene .hero-media::before { inset: 0 auto 0 0; width: 42%; height: auto;
    background: linear-gradient(90deg, var(--surface-paper) 0%, rgba(248,246,241,.9) 12%, rgba(248,246,241,.62) 32%, rgba(248,246,241,.3) 58%, rgba(248,246,241,.1) 80%, rgba(248,246,241,0) 100%); }
}


/* gold line-art from Mel's brand board: moon phases, sunburst, sparkle threads, the crab (12 Oct 2026) */
.phase-divider { display: flex; justify-content: center; padding: clamp(28px, 4vw, 44px) 16px; background: var(--surface-paper); }
.phase-divider img { width: min(300px, 78vw); height: auto; opacity: .9; }
.preorder-panel { overflow: hidden; }
.margin-sprig { display: none; }
@media (min-width: 1180px) {
  :root .margin-sprig { display: block; position: absolute; width: 30px; height: auto; top: 50%; right: max(24px, calc((100vw - var(--content)) / 2 - 70px)); left: auto; transform: translateY(-50%); filter: none; opacity: .85; }
  :root main > section:nth-of-type(even) .margin-sprig { right: auto; left: max(24px, calc((100vw - var(--content)) / 2 - 70px)); transform: translateY(-50%); }
}
.footer-crab { display: block; width: 72px; height: auto; margin: 6px 0 8px; }
.about-crab { display: block; width: 130px; height: auto; margin: 0 0 18px; }
/* gold dust on the Moon Room band, like the board's dark speckled card */
:root .ink-band { background-image:
  radial-gradient(circle at 13% 22%, rgba(217,205,184,.7) 0 1.2px, transparent 1.8px),
  radial-gradient(circle at 71% 64%, rgba(217,205,184,.5) 0 .8px, transparent 1.3px),
  radial-gradient(circle at 42% 81%, rgba(182,165,139,.65) 0 1.5px, transparent 2.1px),
  radial-gradient(circle at 88% 17%, rgba(217,205,184,.45) 0 .7px, transparent 1.2px),
  radial-gradient(circle at 27% 58%, rgba(182,165,139,.4) 0 .6px, transparent 1px);
  background-size: 173px 151px, 211px 167px, 263px 233px, 127px 139px, 89px 97px; }
@media print { .phase-divider, .margin-sprig, .footer-crab, .about-crab { display: none; } }

/* closer to the board (12 Oct 2026): "+" tagline, upright intro, text link, photo-led product card, standalone sunburst */
.tagline { margin: 0 0 1.1rem; font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); }
.tagline span { color: var(--gold); margin: 0 .35em; }
.hero-scene .lead { font-style: normal; color: var(--text-muted); }
.hero-scene .cta-row { align-items: center; gap: 14px 32px; }
.text-link { display: inline-flex; align-items: center; gap: .9em; min-height: 44px; padding: 0 2px; font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-primary); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat; transition: color .2s ease; }
.text-link::after { content: "\2192"; letter-spacing: 0; transition: transform .2s ease; }
.text-link:hover { color: var(--plum); }
.text-link:hover::after { transform: translateX(3px); }
.text-link:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
/* product card */
:root .preorder-panel { max-width: 380px; margin: 28px auto 0; padding: 12px 12px 24px; text-align: left; background: #fdfcf9; }
:root .preorder-panel::after { display: none; }
.preorder-panel .po-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin: 0 0 18px; }
.preorder-panel .badge { top: 22px; right: 22px; z-index: 2; }
.preorder-panel .po-title, .preorder-panel .po-price, .preorder-panel .po-dispatch, .preorder-panel .po-note { padding: 0 6px; }
.preorder-panel .po-title { margin: 0 0 4px; font-size: 1.35rem; }
:root .preorder-panel .po-buy { display: flex; width: calc(100% - 12px); min-width: 0; margin: 18px 6px 0; background: transparent; color: var(--text-primary); border: 1px solid var(--surface-ink); }
.preorder-panel .po-note { margin-top: 12px; font-size: .9rem; }
/* sunburst as a standalone brand element beside the pull quote */
.pull { position: relative; }
.pull::after { content: ''; position: absolute; right: calc(-1 * clamp(120px, 22vw, 260px)); top: 50%; width: clamp(110px, 14vw, 170px); aspect-ratio: 1; transform: translateY(-40%); background: url("../assets/ornaments/sunburst.svg") center / contain no-repeat; opacity: .75; pointer-events: none; }
@media (max-width: 719.98px) { .pull::after { right: 0; width: 96px; opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .text-link, .text-link::after { transition: none; } }
@media print { .pull::after { display: none; } }
/* inspiration-style photo grid: 3x2, tight gutters, no captions, like the board */
.mood-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
@media (max-width: 719.98px) { .mood-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; overflow: visible; scroll-snap-type: none; } }
@media (max-width: 719.98px) { .tagline { font-size: .66rem; letter-spacing: .16em; } .tagline span { margin: 0 .2em; } }
/* softer hero fade (Leo, 12 Oct 2026): mask the photo itself so it dissolves into the ivory, left and bottom */
.hero-scene .hero-media::before { display: none; }
.hero-scene .hero-media img {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.6) 75%, rgba(0,0,0,.2) 90%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.6) 75%, rgba(0,0,0,.2) 90%, transparent 100%);
}
@media (min-width: 1024px) {
  .hero-scene .hero-media img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.3) 24%, rgba(0,0,0,.62) 40%, rgba(0,0,0,.88) 54%, #000 64%), linear-gradient(0deg, transparent 0%, rgba(0,0,0,.5) 8%, #000 20%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.3) 24%, rgba(0,0,0,.62) 40%, rgba(0,0,0,.88) 54%, #000 64%), linear-gradient(0deg, transparent 0%, rgba(0,0,0,.5) 8%, #000 20%);
            mask-composite: intersect;
  }
}
/* desktop hero uses a wider photo: a soft blurred linen extension on the left carries the fade, so the cover stays crisp */
@media (min-width: 1024px) {
  .hero-scene { grid-template-columns: minmax(0, 1fr) 58vw; }
  .hero-scene .hero-media { aspect-ratio: 1041 / 768; }
  .hero-scene .hero-media picture { display: contents; }
  .hero-scene .hero-media img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 9%, rgba(0,0,0,.38) 18%, rgba(0,0,0,.7) 27%, rgba(0,0,0,.93) 35%, #000 41%), linear-gradient(0deg, transparent 0%, rgba(0,0,0,.45) 7%, #000 18%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 9%, rgba(0,0,0,.38) 18%, rgba(0,0,0,.7) 27%, rgba(0,0,0,.93) 35%, #000 41%), linear-gradient(0deg, transparent 0%, rgba(0,0,0,.45) 7%, #000 18%);
  }
  .hero-scene .hero-overlay { padding-right: 0; }
}
/* hero photo fills the full hero height on desktop (no gap above it) */
@media (min-width: 1024px) {
  .hero-scene { align-items: stretch; }
  .hero-scene .hero-media { aspect-ratio: auto; min-height: min(640px, calc(100vh - 68px)); align-self: stretch; }
  .hero-scene .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
  .hero-scene .hero-overlay { align-self: center; }
}
/* more of the board palette (12 Oct 2026): dusty plum band, soft stone band, mushroom taupe hairlines */
.band-plum { background: var(--plum); color: #f8f6f1; }
.band-plum .section-label, .band-plum h2 { color: #efe6d8; }
.band-plum .section-label::before { background: var(--gold-l); }
.band-plum .section-label::after, .band-plum h2::after { background: linear-gradient(#d9cdb8, #d9cdb8) left center / 40% 1px no-repeat, linear-gradient(#d9cdb8, #d9cdb8) right center / 40% 1px no-repeat, radial-gradient(circle, #d9cdb8 0 2px, transparent 2.6px) center / 8px 8px no-repeat; }
.band-plum .prose { color: #f8f6f1; }
:root .band-plum .btn-quiet { padding: 14px 26px; border: 1px solid #f8f6f1; color: #f8f6f1; background: transparent; }
:root .band-plum .btn-quiet::after { content: "+"; margin-left: .9em; font-size: 1.1em; letter-spacing: 0; }
:root .band-plum .btn-quiet:hover { background: #f8f6f1; color: var(--plum); border-color: #f8f6f1; }
.band-plum a:focus-visible { outline-color: #f8f6f1; }
.band-stone { background: var(--stone); }
.band-stone .faq-item { background: #fdfcf9; }
:root .feature-list li { border-top-color: var(--taupe); }
:root .site-header { border-bottom-color: rgba(169,159,148,.45); }
:root .band-stone .label, :root .band-stone .section-label, .band-stone .muted { color: #4a443c; }
