/* Coffee & Cosmos: "Victorian pâtisserie meets astrology salon" (Alice's brief, 2026-11-16).
   Parchment ground, espresso text, burgundy for buttons and headings, antique gold for ornament only.
   Headings are Cormorant Garamond; body text is Georgia. The calligraphy lives in the artwork itself. */
:root {
  --parchment: #F7F0E6;
  --porcelain: #FFFCF7;
  --espresso: #392D28;
  --burgundy: #75434D;
  --gold: #B58A49;
  --gold-text: #89642F;
  --taupe: #776557;
  --champagne: #D7B982;
  --display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --body: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --label: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.cc { margin: 0; background: var(--parchment); color: var(--espresso); font-family: var(--body); font-size: 18px; line-height: 1.7; }
.cc a { color: var(--burgundy); text-underline-offset: 3px; }
.cc strong { font-weight: 700; }
.cc h1, .cc h2, .cc h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; }
.cc p { margin: 0 0 1.05em; }
.center { text-align: center; }
.nb { white-space: nowrap; }

/* The prototype's bar on this computer, and Alice's when she is signed in. */
.protobar { background: #2b2620; color: #e9e1d6; font: 400 13px/1.5 var(--label); padding: 8px 16px; display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; }
.protobar a { color: #fff; }
.protobar .tag { background: #c9a36a; color: #2b2620; padding: 1px 8px; border-radius: 3px; font-weight: 500; }
.protobar form { display: inline; margin: 0; }
.protobar button { background: none; border: 0; color: #fff; text-decoration: underline; font: inherit; cursor: pointer; padding: 0; }
.protobar .spacer { flex: 1; }
.preview { margin: 0; padding: 10px 16px; text-align: center; font: 400 14px/1.5 var(--label); background: var(--porcelain); border-bottom: 1px solid var(--champagne); color: var(--taupe); }

/* ---- ornaments ---- */
.star, .moon { color: var(--gold); flex: none; }
.orn { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 56px auto; max-width: 420px; padding: 0 24px; }
.orn .ln { flex: 1; height: 1px; background: var(--gold); opacity: 0.7; }
.orn .dt { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex: none; }
.orn .dots { flex: 1; height: 4px; background-image: radial-gradient(circle, var(--gold) 1.4px, transparent 1.7px); background-size: 14px 4px; background-repeat: repeat-x; background-position: center; opacity: 0.85; }
.orn.moons { max-width: 380px; gap: 14px; }

/* ---- buttons ---- */
.button { display: inline-block; background: var(--burgundy); color: var(--porcelain) !important; font: 600 14px/1.2 var(--label); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; padding: 19px 38px; border: 0; border-radius: 2px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--burgundy), inset 0 0 0 2px rgba(215, 185, 130, 0.75); transition: background 0.15s; }
.button:hover, .button:focus-visible { background: #5f343e; }
.button:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.button:disabled { opacity: 0.6; cursor: wait; }
.button.quiet { background: transparent; color: var(--burgundy) !important; box-shadow: inset 0 0 0 1px var(--burgundy); }

/* ---- hero ---- */
.hero { text-align: center; padding: 20px 20px 0; max-width: 900px; margin: 0 auto; }
.hero .art { display: block; width: 100%; max-width: 820px; height: auto; margin: 0 auto;
  /* The artwork's own paper fades into the page, so no edge shows. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 92%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.hero h1 { font-size: clamp(38px, 6.4vw, 62px); color: var(--burgundy); margin-top: 6px; }
.eyebrow { display: block; font: 600 14px/1.4 var(--label); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.hero .where { font-family: var(--display); font-size: clamp(21px, 2.8vw, 26px); color: var(--taupe); margin: 18px 0 20px; line-height: 1.35; }
.hero .when { font: 600 clamp(15px, 2.2vw, 18px)/1.5 var(--label); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.hero .when .bar { color: var(--gold); padding: 0 0.35em; font-weight: 400; }
/* More than one session: the sold-out one struck through, the new one announced. */
.sessions { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 4px 0 14px; font: 600 clamp(15px, 2.2vw, 18px)/1.5 var(--label); letter-spacing: 0.1em; text-transform: uppercase; }
span.sessions { margin: 6px 0 8px; font-size: 15px; }
.sessions .gone { color: var(--taupe); font-weight: 400; }
.sessions .gone s { text-decoration-thickness: 2px; text-decoration-color: var(--burgundy); }
.sessions .added strong { color: var(--espresso); font-size: 1.15em; }
.tag { display: inline-block; font: 700 12px/1 var(--label); letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 9px 4px; border-radius: 3px; vertical-align: 0.12em; background: var(--burgundy); color: var(--porcelain); }
.tag.new { background: var(--gold); color: var(--espresso); margin-right: 0.5em; }
.gone .tag { margin-left: 0.5em; }
.hero .addednote { font-family: var(--display); font-size: clamp(19px, 2.6vw, 22px); color: var(--taupe); margin: 0 0 18px; }
.was { color: var(--taupe); font-size: 0.92em; }
.hero .price { font-family: var(--display); font-size: clamp(24px, 3.4vw, 30px); line-height: 1.3; margin-bottom: 26px; }
.hero .price strong { color: var(--burgundy); font-weight: 600; }
.hero .price em { font-size: 0.8em; color: var(--taupe); }

/* ---- reading sections ---- */
.prose { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.prose h2, .host h2 { font-size: clamp(31px, 4.6vw, 42px); color: var(--burgundy); margin-bottom: 22px; }
.prose > h2 { text-align: center; text-wrap: balance; }
.prose > h2.center { margin-bottom: 12px; }

.themes { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; gap: 4px; }
.themes li { display: flex; gap: 20px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(215, 185, 130, 0.6); }
.themes li:last-child { border-bottom: 1px solid rgba(215, 185, 130, 0.6); }
.themes .icon { color: var(--gold); flex: none; width: 34px; margin-top: 2px; display: flex; justify-content: center; }
.themes p { margin: 0; }
.themes strong { color: var(--burgundy); font-family: var(--display); font-size: 1.28em; font-weight: 600; line-height: 1.2; display: block; }

.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.includes li { display: flex; gap: 14px; align-items: baseline; }
.includes .star { position: relative; top: 2px; }

.panel { background: var(--porcelain); border: 1px solid var(--champagne); outline: 1px solid rgba(215, 185, 130, 0.45); outline-offset: 5px; padding: 34px 38px; margin: 60px 0 0; }
.panel h2 { text-align: center; }
.panel > :last-child { margin-bottom: 0; }
.details dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 14px 26px; }
.details dt { font: 600 13px/1.9 var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); padding-top: 3px; }
.details dd { margin: 0; }
.birth { border-left: 3px solid var(--gold); }

/* ---- the early-bird offer: burgundy, with a thin gold frame ---- */
.offer { margin: 76px auto 0; max-width: 820px; padding: 0 20px; }
.offer .inner { background: var(--burgundy); color: var(--porcelain); text-align: center; padding: 50px 44px 46px; border: 1px solid var(--champagne); box-shadow: inset 0 0 0 7px var(--burgundy), inset 0 0 0 8px rgba(215, 185, 130, 0.8); }
.offer h2 { font-size: clamp(31px, 4.8vw, 44px); margin: 12px 0 20px; color: var(--porcelain); }
.offer p { max-width: 560px; margin-left: auto; margin-right: auto; }
.offer .star { color: var(--champagne); }
.offer .button { background: var(--porcelain); color: var(--burgundy) !important; box-shadow: inset 0 0 0 1px var(--porcelain), inset 0 0 0 2px var(--gold); margin-top: 10px; }
.offer .button:hover, .offer .button:focus-visible { background: #f3e7d3; }
.offer .button.quiet { background: transparent; color: var(--porcelain) !important; box-shadow: inset 0 0 0 1px var(--champagne); }

/* ---- host ---- */
.host { max-width: 900px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 52px; align-items: start; }
.host img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--gold); outline: 1px solid rgba(181, 138, 73, 0.5); outline-offset: 6px; margin: 7px; max-width: calc(100% - 14px); }
.host .byline { font: 600 13px/1.6 var(--label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); margin: -10px 0 20px; }
.host .sig { font-family: var(--display); font-size: 32px; font-style: italic; line-height: 1.1; color: var(--burgundy); margin: 26px 0 0; }
.host .sig span { font: 600 12px/2 var(--label); letter-spacing: 0.2em; text-transform: uppercase; font-style: normal; color: var(--taupe); }

/* ---- forms ---- */
#reserve { scroll-margin-top: 24px; }
#reserve .panel { margin-top: 28px; }
.fields { display: grid; gap: 20px; }
.cc label { display: block; font: 600 14px/1.5 var(--label); letter-spacing: 0.04em; margin-bottom: 7px; }
.cc label .req { font-weight: 400; color: var(--taupe); margin-left: 4px; }
.cc input[type="text"], .cc input[type="email"], .cc input[type="tel"], .cc select { width: 100%; font: 18px/1.4 var(--body); color: var(--espresso); background: #fff; border: 1px solid #b9a78f; border-radius: 2px; padding: 13px 14px; min-height: 52px; }
.cc input:focus-visible, .cc select:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 1px; }
.cc .tick { display: flex; gap: 13px; align-items: flex-start; font: 400 17px/1.55 var(--body); letter-spacing: 0; margin: 0; cursor: pointer; }
.cc .tick input { width: 22px; height: 22px; margin: 3px 0 0; flex: none; accent-color: var(--burgundy); }
.hint { font-size: 15px; line-height: 1.5; color: var(--taupe); margin: 7px 0 0 !important; }
.go { text-align: center; margin-top: 6px; }
.seatsleft { text-align: center; font: 600 13px/1.6 var(--label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 22px !important; }
.state { text-align: center; font-family: var(--display); font-size: 28px; line-height: 1.25; color: var(--burgundy); }
.state strong { font-weight: 600; }
.error { border: 1px solid #a2452d; color: #7a2c18; background: #fbeee8; padding: 13px 17px; margin: 0 0 20px !important; font-size: 16px; line-height: 1.5; }
#error { margin-top: 20px !important; }

/* ---- small pages: the form on its own, after paying, birth details ---- */
.small { max-width: 620px; margin: 0 auto; padding: 64px 24px 0; text-align: center; }
.small.wide { max-width: 720px; }
.small h1 { font-size: clamp(38px, 7vw, 54px); color: var(--burgundy); }
.small h2 { font-size: clamp(28px, 4.4vw, 36px); color: var(--burgundy); margin: 46px 0 16px; }
.small .orn { margin: 26px auto 30px; }
.small .lede { font-size: 19px; }
.small .panel { text-align: left; margin-top: 34px; }
.small .panel h2 { margin-top: 0; }
.seat h3 { font-size: 26px; color: var(--burgundy); margin-bottom: 18px; }
.seat.done p { margin-bottom: 0; }
.seat .star { position: relative; top: 1px; margin-right: 4px; }

.foot { text-align: center; padding: 0 24px 60px; font-size: 15px; color: var(--taupe); }
.foot .orn { margin: 76px auto 30px; }
.foot p { margin: 0 0 6px; }
.foot a { color: var(--taupe); }

@media (max-width: 760px) {
  body.cc { font-size: 17px; }
  .orn { margin: 44px auto; }
  .hero { padding: 8px 12px 0; }
  .hero .when .bar { display: block; height: 0; overflow: hidden; }
  .hero .art { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 93%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 93%, transparent); }
  .panel { padding: 26px 22px; margin-top: 48px; outline-offset: 4px; }
  .details dl { grid-template-columns: 1fr; gap: 2px; }
  .details dd { margin-bottom: 14px; }
  .details dd:last-child { margin-bottom: 0; }
  .offer { padding: 0 12px; margin-top: 60px; }
  .offer .inner { padding: 40px 24px 38px; }
  .host { grid-template-columns: 1fr; gap: 30px; }
  .host img { max-width: 300px; margin: 7px auto; }
  .host h2, .host .byline { text-align: center; }
  .button { padding: 18px 26px; letter-spacing: 0.13em; }
  .themes li { gap: 16px; }
  .small { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
