/* Site UI (landing + designer). Calendar page styles live in calendar.css. */
[hidden] { display: none !important; }
@font-face { font-family: 'CC Fredoka'; font-style: normal; font-display: swap; font-weight: 300 700; src: url('/assets/fonts/fredoka-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'CC Fredoka'; font-style: normal; font-display: swap; font-weight: 300 700; src: url('/assets/fonts/fredoka-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'CC Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url('/assets/fonts/nunito-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'CC Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url('/assets/fonts/nunito-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  /* Calendar Crew palette: sand, pōhutukawa, kōwhai, fern, sea. Names kept for compatibility. */
  --cream: #fdf8ef; --cream-2: #f6ecd9; --ink: #1f2d2b; --ink-2: #43524e; --muted: #5d6965;
  --terracotta: #c4382c; --terracotta-d: #a12a20; --forest: #2e6a4c; --gold: #f2b632; --line: #eadfca;
  --sea: #1f6f8b; --sky: #d7ecf1; --fern-tint: #e3efe6; --kowhai-tint: #fdf0c9; --coral-tint: #fbe1dc;
  --radius: 22px; --shadow: 0 18px 36px -22px rgba(31,45,43,.35), 0 2px 6px -2px rgba(31,45,43,.08);
  --serif: 'CC Fredoka', 'Fredoka', ui-rounded, 'Arial Rounded MT Bold', system-ui, sans-serif;
  --sans: 'CC Nunito', 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.eyebrow { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; margin-bottom: .8rem; display: inline-block; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; border: 0; font: 600 1rem var(--sans); cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 20px -10px var(--terracotta); }
.btn-primary:hover { background: var(--terracotta-d); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-small { padding: .5em 1em; font-size: .88rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.placeholder-tag { display: inline-block; font: 700 .64rem var(--sans); letter-spacing: .12em; text-transform: uppercase; background: #fff3c4; color: #7a5a00; border: 1px dashed #d9b24a; border-radius: 6px; padding: .15em .5em; vertical-align: middle; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.brand-mark { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; font-weight: 500; font-size: .95rem; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--terracotta); font-weight: 500; }
.hero-title-link { color: inherit; text-decoration: none; }
.hero-title-link:hover em, .hero-title-link:focus-visible em { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.price-note { font-size: .92rem; color: var(--ink-2); display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.price-note strong { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.xmas-notice { margin: 12px 0; padding: 8px 12px; border-left: 3px solid var(--forest); background: var(--fern-tint); color: var(--forest); font-size: .92rem; font-weight: 600; line-height: 1.5; }
.xmas-notice[hidden] { display: none; }
.sale-banner { background: #f6e5bf; color: var(--ink); border-radius: 10px; padding: 10px 14px; margin: 0 0 16px; font-weight: 600; }
.sale-banner[hidden] { display: none; }
.promo-row { display: grid; gap: 6px; margin: 4px 0 8px; font-weight: 600; }
.promo-row input { font: inherit; font-weight: 500; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
#promo-note.err { color: #b3261e; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.ticks li::before { content: '✓'; color: var(--forest); font-weight: 800; margin-right: .6em; }
.hero-fan { position: relative; height: 560px; }
a.hero-fan { display: block; cursor: pointer; text-decoration: none; }
.hero-fan .fan-page { position: absolute; width: 300px; top: 30px; transition: transform .4s; }
.hero-fan .fan-page:nth-child(1) { left: 2%; transform: rotate(-9deg); top: 70px; }
.hero-fan .fan-page:nth-child(2) { left: 50%; transform: translateX(-50%) rotate(1deg); z-index: 2; width: 330px; }
.hero-fan .fan-page:nth-child(3) { right: 0; transform: rotate(8deg); top: 80px; }
.hero-fan:hover .fan-page:nth-child(1) { transform: rotate(-12deg) translateX(-14px); }
.hero-fan:hover .fan-page:nth-child(3) { transform: rotate(11deg) translateX(14px); }
.hero-blob { position: absolute; inset: 8% 4% 0; background: radial-gradient(closest-side, #f1d9bf, transparent); z-index: -1; }

.strip { border-block: 1px solid var(--line); background: var(--cream-2); }
.strip .container { display: flex; gap: 12px 36px; justify-content: center; flex-wrap: wrap; padding: 18px 0; font-family: var(--serif); font-size: 1.05rem; color: var(--ink-2); }
.strip span::before { content: '✦'; color: var(--gold); margin-right: .5em; }

section.block { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .lead { margin-inline: auto; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 20px; right: 24px; font: 700 3rem var(--serif); color: var(--cream-2); }
.step svg { width: 64px; height: 64px; margin-bottom: 14px; }
.step p { color: var(--ink-2); margin: 0; }

/* Gallery */
.gallery-section { background: linear-gradient(var(--cream), #f6ecdd); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .45em 1em; font: 500 .9rem var(--sans); cursor: pointer; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 34px 26px; }
.theme-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 12px; }
.theme-card .thumb { transition: transform .25s; }
.theme-card:hover .thumb { transform: translateY(-6px) rotate(-1deg); }
.theme-card h3 { margin: 4px 0 2px; font-size: 1.12rem; }
.theme-card p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.theme-card .cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.theme-card .swatches { display: flex; gap: 4px; margin-top: 6px; }
.theme-card .swatches i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.theme-count { text-align: center; color: var(--muted); margin-top: 32px; font-size: .95rem; }

/* Gift section */
.gift { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.gift-list { display: grid; gap: 18px; margin-top: 24px; }
.gift-list div { display: flex; gap: 14px; }
.gift-list svg { flex: 0 0 40px; height: 40px; }
.gift-list p { margin: 0; color: var(--ink-2); }
.gift-visual { background: var(--forest); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: var(--shadow); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 26px; justify-content: center; }
.price-card { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); position: relative; border: 2px solid transparent; }
.price-card.featured { border-color: var(--terracotta); }
.price-card .amount { font: 600 3rem var(--serif); margin: 8px 0 0; }
.price-card .amount small { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.price-card ul { padding: 0; list-style: none; margin: 18px 0 26px; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.price-card li::before { content: '✓'; color: var(--forest); font-weight: 800; margin-right: .6em; }
.price-card .placeholder-tag { position: absolute; top: 18px; right: 18px; }
.fine { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 22px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 12px; padding: 18px 22px; box-shadow: 0 1px 0 var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font: 400 1.5rem var(--serif); color: var(--terracotta); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-2); margin: 12px 0 0; }

.cta-band { background: var(--terracotta); color: #fff; border-radius: 28px; padding: 56px; text-align: center; }
.cta-band .btn { background: #fff; color: var(--terracotta); }
footer.site { padding: 48px 0; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 80px; }
footer.site .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero .container, .gift { grid-template-columns: 1fr; }
  .hero-fan { height: 440px; }
  .hero-fan .fan-page { width: 220px !important; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  section.block { padding: 64px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .hero-fan { height: 360px; }
  .hero-fan .fan-page { width: 170px !important; }
  .cta-band { padding: 36px 22px; }
  .gift-visual { padding: 22px; }
}
.brand { white-space: nowrap; }
@media (max-width: 480px) { .brand { font-size: 1.15rem; } .brand .placeholder-tag { font-size: .55rem; } }

/* Legal pages (terms, refunds, privacy) */
.legal { max-width: 780px; margin: 40px auto 0; padding: 0 20px; }
.legal h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); margin: .2em 0 .1em; }
.legal .updated { color: var(--muted); font-size: .92rem; margin: 0 0 1.6rem; }
.legal h2 { font-family: var(--serif); font-size: 1.45rem; margin: 2.2rem 0 .5rem; }
.legal h3 { font-size: 1.05rem; margin: 1.4rem 0 .3rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin: .3em 0; }
.legal a { color: var(--terracotta-d); }
.legal .summary { background: #fff; border-radius: 14px; padding: 18px 22px; box-shadow: 0 1px 0 var(--line); margin: 1rem 0 1.4rem; }
.legal .summary h2 { margin-top: 0; font-size: 1.15rem; font-family: var(--sans); }
.legal .rights { border-left: 4px solid var(--forest); background: #eef4f1; padding: 14px 18px; border-radius: 0 10px 10px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: .8rem 0; font-size: .95rem; background: #fff; border-radius: 10px; overflow: hidden; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal th { color: var(--ink); background: var(--cream-2); font-weight: 600; }
.legal .toc { font-size: .95rem; columns: 2; column-gap: 28px; }
@media (max-width: 640px) { .legal .toc { columns: 1; } .legal table { font-size: .88rem; } }
.ph { background: #fff3c4; color: #7a5a00; border: 1px dashed #d9b24a; border-radius: 4px; padding: 0 .3em; font-weight: 600; white-space: nowrap; }
.legal-links a { color: inherit; margin-right: 14px; }
.legal-line { font-size: .85rem; color: var(--ink-2); margin-top: 10px; }
.legal-line a { color: var(--terracotta-d); }

/* ---- Calendar Crew brand layer (visual only) ---- */
h1, h2, h3 { font-weight: 600; letter-spacing: 0; }
.hero h1 em { font-style: normal; font-weight: 600; color: var(--terracotta); background: linear-gradient(transparent 62%, var(--kowhai-tint) 62%); border-radius: 4px; }
.brand { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.brand-mark { width: 38px; height: 38px; }
.btn { border-radius: 999px; font-weight: 700; }
.btn-primary { box-shadow: 0 10px 20px -12px var(--terracotta); }
.btn-ghost { box-shadow: inset 0 0 0 2px var(--ink); }
.eyebrow { color: var(--forest); background: var(--fern-tint); padding: .3em .85em; border-radius: 999px; letter-spacing: .12em; }
.hero { position: relative; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 28'%3E%3Cpath d='M0 18c15 0 15-10 30-10s15 10 30 10 15-10 30-10 15 10 30 10v10H0z' fill='%23f6ecd9'/%3E%3C/svg%3E") repeat-x bottom / 120px 28px; }
.hero-blob { background: radial-gradient(closest-side, var(--sky), transparent); }
.strip { background: var(--cream-2); border-block: 0; }
.strip span::before { content: '✿'; color: var(--terracotta); }
.step, .price-card, .faq details, .card { border-radius: var(--radius); }
.step::before { color: var(--kowhai-tint); font-family: var(--serif); }
.step:nth-child(2)::before { color: var(--sky); } .step:nth-child(3)::before { color: var(--fern-tint); }
.gallery-section { background: linear-gradient(var(--cream), var(--cream-2)); }
.chip { border-width: 2px; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.theme-card .cat { color: var(--sea); }
.gift-visual { background: var(--sea); border-radius: 32px; }
.price-card.featured { border-color: var(--gold); }
.faq details { box-shadow: 0 1px 0 var(--line), 0 8px 20px -18px rgba(31,45,43,.3); }
.faq summary::after { color: var(--forest); font-family: var(--serif); }
.cta-band { position: relative; overflow: hidden; background: var(--forest); border-radius: 32px; }
.cta-band::before { content: ''; position: absolute; right: -10px; bottom: -14px; width: 190px; height: 190px; opacity: .18; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M20 90C40 70 60 45 85 12'/%3E%3Cpath d='M32 76l-14-6M32 76l4-15M44 62l-15-4M44 62l5-15M56 47l-14-3M56 47l6-14M68 32l-12-2M68 32l7-12M78 20l-9-1M78 20l5-9'/%3E%3C/svg%3E") no-repeat center / contain; }
.cta-band > * { position: relative; }
.cta-band .btn { color: var(--forest); }
footer.site { background: var(--cream-2); border-top: 0; margin-top: 80px; color: var(--ink-2); }
footer.site .trading-line { flex-basis: 100%; font-size: .85rem; color: var(--muted); }
.placeholder-tag, .ph { border-radius: 999px; }
.legal h1, .legal h2 { color: var(--ink); }
.legal .rights { background: var(--fern-tint); border-radius: 0 16px 16px 0; }
/* Keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, label.opt:focus-within, [tabindex]:focus-visible {
  outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 10px; }
.btn:focus-visible { outline-offset: 3px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
