/* Half Sugar: an independent lifestyle magazine. Paper white, ink, brand orange; olive and wine as quiet helpers.
 * English display in Cormorant Garamond, Chinese in Noto Sans TC, notes in DM Mono and a little Caveat.
 * Christmas colours live only inside the Upcoming section. */
:root {
  --paper: #f8f5ed;
  --cream: #efe9db;
  --ink: #292923;
  --ink-2: #5b5a50;
  --olive: #777c60;
  --wine: #963f42;
  --orange: #f67710;
  --pine: #22382b;
  --line: rgba(41, 41, 35, 0.2);
  --serif: "Cormorant Garamond", "Noto Sans TC", Georgia, serif;
  --sans: "DM Sans", "Noto Sans TC", system-ui, sans-serif;
  --zh: "Noto Sans TC", "DM Sans", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --hand: "Caveat", cursive;
  --wrap: 78rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
html[lang="zh-Hant"] body { font: 400 1rem/1.85 var(--zh); letter-spacing: 0.03em; }
/* paper grain, barely there */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: 0.07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.5rem 1rem; z-index: 60; }
.skip:focus { left: 1rem; }

/* type roles */
.display { font-family: var(--serif); font-weight: 500; line-height: 0.98; letter-spacing: -0.015em; }
.display em { font-style: italic; font-weight: 400; }
h2.display { font-size: clamp(2.6rem, 5.2vw + 0.5rem, 5.25rem); }
.mono { font-family: var(--mono); font-size: 0.75rem; line-height: 1.5; letter-spacing: 0.04em; }
.folio { color: var(--olive); margin-bottom: 1rem; }
.sub { font: 500 1.125rem/1.6 var(--zh); margin-top: 0.85rem; letter-spacing: 0.04em; }
.hand { font-family: var(--hand); font-weight: 500; font-size: 1.6rem; line-height: 1.1; letter-spacing: 0; }
mark { background: var(--orange); color: var(--ink); padding: 0.05em 0.2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* buttons and links: plain rectangles, no pills */
.btn { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.8em 1.25em; border: 0; border-radius: 2px; font: 500 0.95rem/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--orange); color: var(--ink); }
.btn--wine { background: var(--wine); color: var(--paper); }
.btn--wine:hover { background: var(--paper); color: var(--wine); }
.btn--big { padding: 1em 1.6em; font-size: 1.05rem; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.arrow-link { display: inline-flex; gap: 0.35em; align-self: start; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; text-decoration-color: var(--orange); }
.arrow-link:hover { text-decoration-thickness: 2px; }

/* masthead */
.mast { border-bottom: 1px solid var(--line); }
.mast__strip { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.mast__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.9rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font: 500 1.05rem/1 var(--sans); letter-spacing: 0; }
.brand img { height: 32px; width: auto; }
.brand__zh { font-family: var(--zh); color: var(--ink-2); margin-left: 0.15em; }
.nav { display: flex; align-items: center; gap: 1.6rem; font: 400 0.92rem/1 var(--sans); letter-spacing: 0; }
.nav__link { text-decoration: none; }
.nav__link:hover { text-decoration: underline; text-underline-offset: 0.35em; text-decoration-color: var(--orange); }
.nav__lang { color: var(--ink-2); font-family: var(--mono); font-size: 0.8rem; }
.nav__lang a { text-decoration: none; }
.nav__lang a:hover { color: var(--ink); text-decoration: underline; }
.nav__lang [aria-current] { color: var(--ink); }
@media (max-width: 52rem) { .nav__link { display: none; } .nav { gap: 1rem; } }

/* hero */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2.5rem; padding-block: clamp(3rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem); align-items: end; }
.hero__title { grid-column: 1 / 13; font-size: clamp(2.6rem, 5.6vw, 5.75rem); line-height: 0.98; }
.hero__words { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 1.1rem; max-width: 30rem; }
.hero__zh { font: 600 1.45rem/1.5 var(--zh); letter-spacing: 0.04em; }
.hero__solo { font-weight: 500; }
.hero__words .arrow-link { margin-top: 0.6rem; }
.hero__mark, .hero__photos { grid-column: 7 / 13; margin: 0; }
.hero__mark { justify-self: end; width: min(100%, 24rem); aspect-ratio: 1; background: var(--cream); display: grid; place-items: center; position: relative; }
.hero__mark img { width: 26%; }
.hero__mark figcaption, .ph figcaption { position: absolute; left: 0; bottom: -1.6rem; color: var(--ink-2); }
.hero__photos { position: relative; min-height: 32rem; }
.ph { margin: 0; position: absolute; }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.ph--a { right: 0; top: 0; width: 72%; aspect-ratio: 4 / 5; }
.ph--b { left: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 3; outline: 10px solid var(--paper); }
@media (max-width: 52rem) {
  .hero { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .hero__title, .hero__words, .hero__mark, .hero__photos { grid-column: 1; }
  .hero__mark { justify-self: stretch; width: 100%; aspect-ratio: 3 / 2; }
  .hero__mark img { width: 18%; }
  .hero__photos { min-height: 0; display: grid; grid-template-columns: 3fr 2fr; gap: 0.75rem; align-items: end; }
  .ph { position: relative; width: auto; }
  .ph--b { outline: 0; margin-bottom: 2rem; }
}

/* section heads */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* the note: an editor's letter */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.story__head { grid-column: 1 / 6; align-self: start; position: sticky; top: 2rem; }
.story__body { grid-column: 7 / 13; display: grid; gap: 1.4em; max-width: 34rem; }
html[lang="en"] .story__body { font-size: 1.125rem; }
.story__body .hand { color: var(--olive); margin-top: 0.5rem; }
@media (max-width: 52rem) {
  .story { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .story__head, .story__body { grid-column: 1; position: static; }
}

/* spend the day: one spread, a light half and a dark half */
.day { padding-top: clamp(3rem, 6vw, 5rem); }
.day__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.day__part { display: grid; gap: 1.1rem; align-content: start; padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.day__part > p { max-width: 30rem; }
.day__part--1 { background: var(--cream); }
.day__part--2 { background: #2c2420; color: var(--paper); }
.day__part h3 { font-size: clamp(2.6rem, 4vw + 0.5rem, 4.25rem); font-style: italic; font-weight: 400; margin-bottom: 0.5rem; }
.day__when { color: var(--olive); }
.day__part--2 .day__when { color: var(--orange); }
.day__lead { font: 600 1.25rem/1.6 var(--zh); letter-spacing: 0.04em; }
html[lang="en"] .day__lead { font: italic 500 1.6rem/1.3 var(--serif); letter-spacing: 0; }
.day__note { margin-top: 0.75rem; transform: rotate(-3deg); transform-origin: left; }
.day__part--1 .day__note { color: var(--olive); }
.day__part--2 .day__note { color: #f2c9a0; }
@media (max-width: 52rem) { .day__grid { grid-template-columns: minmax(0, 1fr); } }

/* make yourself at home: a quiet cream band */
.home { background: var(--paper); padding-block: clamp(4rem, 8vw, 6.5rem); border-bottom: 1px solid var(--line); }
.home__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2rem; align-items: end; }
.home h2 { grid-column: 1 / 8; }
.home__text { grid-column: 8 / 13; display: grid; gap: 0.9rem; }
.home__last { font: italic 400 clamp(1.8rem, 1.6vw + 1rem, 2.4rem)/1.25 var(--serif); color: var(--ink); letter-spacing: 0; }
html[lang="zh-Hant"] .home__last { font-family: var(--zh); font-size: 1.4rem; font-weight: 600; color: var(--ink); letter-spacing: 0.06em; }
@media (max-width: 52rem) { .home h2, .home__text { grid-column: 1 / 13; } }

/* why half sugar: a small column */
.why { padding-block: clamp(4rem, 8vw, 7rem); }
.why__box { margin-left: auto; width: min(100%, 46rem); display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 2rem; padding: 2rem 0 0; border-top: 1px solid var(--ink); }
.why__logo { width: 100%; }
.why__text { display: grid; gap: 1rem; }
.why h2.display { font-size: clamp(2rem, 3vw + 0.5rem, 3rem); margin-bottom: 0.5rem; }
@media (max-width: 40rem) { .why__box { grid-template-columns: 4rem minmax(0, 1fr); gap: 1.25rem; } }

/* upcoming: the Christmas special, the only place with Christmas colours */
.xmas { background: var(--pine); color: var(--paper); padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.xmas::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--wine); }
.xmas__issue { color: #c9cdb5; }
.xmas__title { font-size: clamp(3.2rem, 8vw, 8rem); margin: 1.25rem 0 clamp(2.5rem, 5vw, 4rem); }
.xmas__title em { color: #e7b9a8; }
.xmas__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 3rem; align-items: start; }
.xmas__text { grid-column: 1 / 7; display: grid; gap: 1.2em; }
.xmas__zh { font: 600 1.35rem/1.5 var(--zh); letter-spacing: 0.04em; }
html[lang="en"] .xmas__zh { font: italic 500 1.75rem/1.3 var(--serif); letter-spacing: 0; }
.xmas__info { grid-column: 8 / 13; position: relative; }
.xmas__info dl { margin: 0 0 1.75rem; }
.xmas__info dl div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding-block: 0.85rem; border-top: 1px solid rgba(248, 245, 237, 0.3); }
.xmas__info dl div:last-child { border-bottom: 1px solid rgba(248, 245, 237, 0.3); }
.xmas__info dt { color: #c9cdb5; padding-top: 0.2rem; }
.xmas__info dd { margin: 0; font-weight: 500; }
.xmas__note { color: #f2c9a0; transform: rotate(-4deg); margin-top: 1.5rem; }
@media (max-width: 52rem) { .xmas__text, .xmas__info { grid-column: 1 / 13; } }

/* around the house: a feature spread, uneven columns */
.around { padding-block: clamp(4rem, 8vw, 7rem); }
.around__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: clamp(2.5rem, 5vw, 4.5rem); }
.item { display: grid; gap: 0.75rem; align-content: start; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.item--1 { grid-column: 1 / 7; }
.item--2 { grid-column: 8 / 12; margin-top: clamp(0rem, 6vw, 5rem); }
.item--3 { grid-column: 2 / 6; }
.item--4 { grid-column: 7 / 13; margin-top: clamp(0rem, 4vw, 3rem); }
.item__no { color: var(--olive); }
.item__en { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 2.5vw + 0.6rem, 2.75rem); line-height: 1; }
.item__zh { font-weight: 600; }
html[lang="en"] .item__zh { display: none; }
.item__time { color: var(--ink-2); margin-top: 0.25rem; }
.item__photo { margin: 0 0 0.75rem; }
.item__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.item--2 .item__photo img { aspect-ratio: 3 / 4; }
@media (max-width: 52rem) { .item--1, .item--2, .item--3, .item--4 { grid-column: 1 / 13; margin-top: 0; } }

/* tickets: two paper admission tickets */
.tickets { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.tickets__list { display: grid; gap: 1.75rem; }
.tk { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; background: var(--cream); position: relative; max-width: 60rem; }
.tk--evening { background: var(--ink); color: var(--paper); margin-left: clamp(0rem, 8vw, 9rem); }
.tk--full { background: var(--orange); margin-left: auto; }
.tk__main { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; row-gap: 0.75rem; align-content: start; }
.tk__top { grid-column: 1 / 3; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(41, 41, 35, 0.35); }
.tk__name { font-size: clamp(2rem, 3vw + 0.5rem, 3.1rem); }
.tk__price { font: 500 clamp(1.8rem, 2vw + 0.8rem, 2.6rem)/1 var(--serif); }
.tk__time { grid-column: 1 / 3; font-size: 0.85rem; }
.tk__desc { grid-column: 1 / 2; }
.tk__inc { grid-column: 2 / 3; grid-row: 3; color: var(--ink-2); }
.tk--full .tk__inc { color: var(--ink); }
.tk__list { grid-column: 2 / 3; grid-row: 4; list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.tk__desc { grid-row: 3 / 5; }
.tk__list li::before { content: "— "; color: var(--ink-2); }
.tk__stub { border-left: 2px dashed rgba(41, 41, 35, 0.45); padding: clamp(1.5rem, 3vw, 2.5rem) 1.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; position: relative; }
.tk__stub::before, .tk__stub::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); }
.tk__stub::before { top: -11px; }
.tk__stub::after { bottom: -11px; }
.tk__no { font-size: 1.1rem; }
.tk__stub .btn { align-self: start; }
.tickets__note { margin-top: 1.75rem; max-width: 40rem; color: var(--ink-2); font-size: 0.92rem; }
@media (max-width: 44rem) {
  .tk { grid-template-columns: minmax(0, 1fr); }
  .tk__main { grid-template-columns: minmax(0, 1fr); }
  .tk__top, .tk__time, .tk__desc, .tk__inc, .tk__list { grid-column: 1; grid-row: auto; }
  .tk__stub { border-left: 0; border-top: 2px dashed rgba(41, 41, 35, 0.45); flex-direction: row; flex-wrap: wrap; align-items: center; }
  .tk__stub::before, .tk__stub::after { top: -12px; bottom: auto; }
  .tk__stub::before { left: -11px; }
  .tk__stub::after { left: auto; right: -11px; }
}

/* faq: plain text and hairlines */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.faq__head { grid-column: 1 / 5; }
.faq__list { grid-column: 6 / 13; border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; font-weight: 500; }
html[lang="zh-Hant"] summary { font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--olive); }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 1.2rem; max-width: 38rem; color: var(--ink-2); }
@media (max-width: 52rem) { .faq__head, .faq__list { grid-column: 1 / 13; } .faq__list { margin-top: 2rem; } }

/* registration */
.signup { background: var(--cream); padding-block: clamp(4rem, 8vw, 7rem); }
.signup__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2.5rem; }
.signup__head { grid-column: 1 / 6; display: grid; gap: 1rem; align-content: start; }
.signup__head h2 { margin-bottom: 0.5rem; }
.form { grid-column: 7 / 13; display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; }
.field > span, .form legend { font-weight: 500; font-size: 0.95rem; }
html[lang="zh-Hant"] .field > span, html[lang="zh-Hant"] .form legend { font-weight: 600; }
.field i { font-style: normal; font-weight: 400; color: var(--ink-2); margin-left: 0.3em; }
.field input, .field textarea { font: inherit; letter-spacing: inherit; color: var(--ink); background: var(--paper); border: 1px solid rgba(41, 41, 35, 0.45); border-radius: 2px; padding: 0.75rem 0.9rem; min-height: 3rem; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--ink); }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__passes { border: 0; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.form__passes legend { margin-bottom: 0.4rem; padding: 0; }
.choice { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "dot name price" "dot meta price"; column-gap: 0.85rem; align-items: center; padding: 0.85rem 1rem; background: var(--paper); border: 1px solid rgba(41, 41, 35, 0.3); border-radius: 2px; cursor: pointer; }
.choice input { grid-area: dot; accent-color: var(--orange); width: 1.15rem; height: 1.15rem; margin: 0; }
.choice__name { grid-area: name; font: 500 1.25rem/1.2 var(--serif); letter-spacing: 0; }
.choice__meta { grid-area: meta; color: var(--ink-2); }
.choice__price { grid-area: price; font: 500 1.25rem/1 var(--serif); }
.choice:has(input:checked) { border: 2px solid var(--orange); padding: calc(0.85rem - 1px) calc(1rem - 1px); }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; cursor: pointer; }
.check input { accent-color: var(--orange); width: 1.1rem; height: 1.1rem; margin-top: 0.3rem; flex: none; }
.check[hidden] { display: none; }
.form .btn { justify-self: start; margin-top: 0.4rem; }
.form__msg { min-height: 1.6em; font-weight: 500; }
.form__msg.is-ok { color: var(--pine); }
.form__msg.is-bad { color: var(--wine); }
@media (max-width: 52rem) { .signup__head, .form { grid-column: 1 / 13; } }
@media (max-width: 36rem) { .form__two { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; justify-content: center; } }

/* memories: a contact sheet */
.memories { padding-block: clamp(4rem, 8vw, 7rem); }
.roll { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--ink); }
.roll__label { grid-column: 1 / 4; display: grid; gap: 0.2rem; align-content: start; }
.roll__label p:first-child { color: var(--ink); font-size: 0.85rem; }
.roll__label p { color: var(--ink-2); }
.roll__frames { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0.9rem; align-items: start; }
.frame { margin: 0; position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.frame--1 { grid-column: 1 / 6; aspect-ratio: 4 / 5; }
.frame--2 { grid-column: 6 / 10; aspect-ratio: 1; margin-top: 3rem; }
.frame--3 { grid-column: 10 / 13; aspect-ratio: 3 / 4; }
.frame--4 { grid-column: 6 / 10; aspect-ratio: 3 / 2; }
.frame--empty { background: var(--cream); border: 1px dashed rgba(41, 41, 35, 0.3); display: grid; place-items: center; color: var(--ink-2); padding: 1rem; text-align: center; }
@media (max-width: 52rem) {
  .roll__label, .roll__frames { grid-column: 1 / 13; }
  .frame--1 { grid-column: 1 / 8; }
  .frame--2 { grid-column: 8 / 13; margin-top: 2rem; }
  .frame--3 { grid-column: 1 / 6; }
  .frame--4 { grid-column: 6 / 13; }
}

/* colophon */
.colophon { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 1.5rem; padding-block: 3rem 2.5rem; border-top: 1px solid var(--ink); align-items: start; }
.colophon__brand { grid-column: 1 / 5; display: flex; gap: 0.9rem; align-items: flex-start; }
.colophon__brand img { height: 44px; width: auto; }
.colophon__name { font-weight: 500; }
.colophon__brand p:not(.colophon__name) { color: var(--ink-2); font-size: 0.92rem; }
.colophon__links { grid-column: 5 / 9; list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.colophon__links a { text-decoration: none; }
.colophon__links a:hover { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: var(--orange); }
.colophon__rights { grid-column: 9 / 13; color: var(--ink-2); }
.colophon__bye { grid-column: 9 / 13; color: var(--wine); }
@media (max-width: 52rem) { .colophon__brand, .colophon__links, .colophon__rights, .colophon__bye { grid-column: 1 / 13; } }

/* small screens: a calmer masthead */
.btn, .nav__lang, .brand { white-space: nowrap; }
@media (max-width: 40rem) {
  .mast__strip span:last-child { display: none; }
  .brand__zh { display: none; }
  .nav .btn { padding: 0.65em 0.9em; font-size: 0.88rem; }
}

/* three tickets: early bird prices, and the dark evening ticket */
.tk__price { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.tk__price s { font-size: 0.5em; opacity: 0.6; }
.tk__early { align-self: center; font-size: 0.72rem; border: 1px solid currentColor; padding: 0.15rem 0.4rem; border-radius: 2px; }
.tk--evening .tk__top { border-bottom-color: rgba(248, 245, 237, 0.35); }
.tk--evening .tk__inc, .tk--evening .tk__list li::before { color: rgba(248, 245, 237, 0.7); }
.tk--evening .tk__stub { border-left-color: rgba(248, 245, 237, 0.45); }
.tk--evening .btn--ink { background: var(--paper); color: var(--ink); }
.tk--evening .btn--ink:hover { background: var(--orange); }
.choice__price s { font-size: 0.8em; opacity: 0.55; margin-left: 0.25em; }
@media (max-width: 44rem) { .tk--evening { margin-left: 0; } .tk--evening .tk__stub { border-top-color: rgba(248, 245, 237, 0.45); } }

/* the calendar in the form */
.cal { border: 0; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.cal legend { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.4rem; padding: 0; }
html[lang="zh-Hant"] .cal legend { font-weight: 600; }
.cal__box { background: var(--paper); border: 1px solid rgba(41, 41, 35, 0.3); border-radius: 2px; padding: 1rem 1rem 1.1rem; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.cal__month { font: 500 1.4rem/1 var(--serif); letter-spacing: 0; }
html[lang="zh-Hant"] .cal__month { font: 500 1.05rem/1 var(--zh); letter-spacing: 0.04em; }
.cal__nav { width: 2.25rem; height: 2.25rem; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--ink); cursor: pointer; font-family: var(--mono); }
.cal__nav:disabled { opacity: 0.3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.3rem; text-align: center; }
.cal__wd { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-2); padding-block: 0.3rem; letter-spacing: 0; }
.cal__day { height: 2.6rem; border: 1px solid transparent; border-radius: 2px; background: transparent; font: 400 0.92rem/1 var(--mono); color: rgba(41, 41, 35, 0.32); }
.cal__day.is-open { color: var(--ink); border-color: var(--orange); font-weight: 500; cursor: pointer; }
.cal__day.is-open:hover { background: #fde4cf; }
.cal__day.is-on, .cal__day.is-on:hover { background: var(--orange); color: var(--ink); }
.cal__hint { font-size: 0.85rem; color: var(--ink-2); }
.cal__picked { font-weight: 500; min-height: 1.5em; }
html[lang="zh-Hant"] .cal__picked { font-weight: 600; }

.xmas__tag { font: italic 400 clamp(1.6rem, 1.5vw + 1rem, 2.2rem)/1.2 var(--serif); color: #e7b9a8; letter-spacing: 0; margin-top: 0.75rem; }
.xmas__info dd { line-height: 1.6; }
.xmas__map { display: inline-block; margin-top: 0.35rem; font-size: 0.9rem; font-weight: 400; text-underline-offset: 0.3em; text-decoration-color: #e7b9a8; }

/* early bird: shown until EARLY_UNTIL, then the full price */
.full-only { display: none; }
.early-over .early-only { display: none; }
.early-over .full-only { display: inline; }
.tk__price .early-only { display: inline-flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.early-over .tk__price .early-only { display: none; }

/* the evening matching quiz, shown for Evening and Full Day passes */
.quiz { display: grid; gap: 0.6rem; padding: 1.4rem 1.3rem 1.5rem; background: var(--paper); border-left: 3px solid var(--orange); }
.quiz[hidden] { display: none; }
.quiz__label { color: var(--wine); }
.quiz__title { font: italic 400 2rem/1.1 var(--serif); letter-spacing: 0; }
.quiz__list { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.quiz__q fieldset { border: 0; margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--line); }
.quiz__q legend { padding: 0; font-weight: 500; font-size: 0.98rem; line-height: 1.6; display: block; width: 100%; }
.quiz__no { color: var(--olive); margin-right: 0.7rem; }
.quiz__hint { display: block; color: var(--ink-2); margin-top: 0.15rem; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 0.9rem; }
.opt { position: relative; display: grid; place-items: center; text-align: center; min-height: 7rem; padding: 1rem 0.9rem; border: 1px solid rgba(41, 41, 35, 0.3); border-radius: 3px; cursor: pointer; font-size: 1rem; line-height: 1.6; font-weight: 500; background: var(--paper); transition: border-color 0.15s, background-color 0.15s; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt:hover { border-color: var(--ink); }
.opt:has(input:checked) { border: 2px solid var(--orange); background: rgba(246, 119, 16, 0.1); padding: calc(1rem - 1px) calc(0.9rem - 1px); }
.opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.quiz__tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.7rem; }
.tag { position: relative; cursor: pointer; }
.tag input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tag span { display: inline-block; padding: 0.4rem 0.8rem; border: 1px solid rgba(41, 41, 35, 0.3); border-radius: 999px; font-size: 0.9rem; line-height: 1.3; }
.tag input:checked + span { background: var(--orange); border-color: var(--orange); }
.tag input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.tag input:disabled + span { opacity: 0.4; cursor: default; }
.quiz__bar { height: 4px; background: rgba(41, 41, 35, 0.12); margin-top: 0.4rem; }
.quiz__bar span { display: block; height: 100%; width: 0; background: var(--orange); transition: width 0.3s; }
.quiz__q[hidden] { display: none; }
.quiz__list { min-height: 13rem; }
.quiz__q legend { font-size: 1.12rem; }
.quiz__q fieldset { border-top: 0; padding-top: 0.4rem; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 0.4rem; }
.quiz__nav[hidden], .quiz__done[hidden] { display: none; }
.quiz__nav button, .quiz__redo { font: 500 0.95rem/1 var(--sans); background: none; border: 1px solid rgba(41, 41, 35, 0.35); border-radius: 2px; padding: 0.6rem 1rem; cursor: pointer; color: var(--ink); }
.quiz__next { background: var(--ink) !important; color: var(--paper) !important; border-color: var(--ink) !important; }
.quiz__nav button:disabled { opacity: 0.3; cursor: default; }
.quiz__step { color: var(--ink-2); }
.quiz__done { display: grid; gap: 0.8rem; justify-items: start; padding: 1.2rem 0 0.4rem; font-weight: 600; }
.quiz__q.is-missing fieldset { border-top: 2px solid var(--wine); }
.quiz__q.is-missing legend { color: var(--wine); }

/* camera roll with real photos: one big frame, then smaller ones at different sizes */
.roll--photos .roll__label { grid-column: 1 / 4; }
.roll--photos .roll__frames { grid-column: 4 / 13; gap: 0.9rem; row-gap: 1.1rem; }
.roll--photos .frame { aspect-ratio: auto; margin: 0; }
.roll--photos .frame img { aspect-ratio: 3 / 2; }
.roll--photos .frame--1 { grid-column: 1 / 9; }
.roll--photos .frame--2 { grid-column: 9 / 13; align-self: end; }
.roll--photos .frame--2 img { aspect-ratio: 4 / 5; }
.roll--photos .frame--3 { grid-column: 1 / 5; }
.roll--photos .frame--3 img { aspect-ratio: 1; }
.roll--photos .frame--4 { grid-column: 5 / 10; margin-top: 2.5rem; }
.roll--photos .frame--5 { grid-column: 10 / 13; }
.roll--photos .frame--5 img { aspect-ratio: 3 / 4; }
.roll--photos .frame--6 { grid-column: 1 / 7; }
.roll--photos .frame--7 { grid-column: 7 / 13; margin-top: 2.5rem; }
.roll--photos .frame--8 { grid-column: 1 / 7; }
@media (max-width: 52rem) {
  .roll--photos .frame--1 { grid-column: 1 / 13; }
  .roll--photos .frame--2, .roll--photos .frame--4, .roll--photos .frame--6, .roll--photos .frame--8 { grid-column: 1 / 7; margin-top: 0; }
  .roll--photos .frame--3, .roll--photos .frame--5, .roll--photos .frame--7 { grid-column: 7 / 13; }
  .roll--photos .frame img { aspect-ratio: 1; }
}

@media (max-width: 52rem) { .roll--photos .roll__label, .roll--photos .roll__frames { grid-column: 1 / 13; } }

/* the Christmas bubble tea, as a cream sticker beside the title */
.xmas__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin: 1.25rem 0 clamp(2.5rem, 5vw, 4rem); }
.xmas__top .xmas__title { margin: 0; }
.xmas__char { flex: none; margin: 0; --d: clamp(7.5rem, 15vw, 12rem); width: var(--d); height: var(--d); border-radius: 50%; overflow: hidden; background: var(--cream); display: grid; place-items: center; }
.xmas__char img { height: calc(var(--d) * 0.84); width: auto; max-width: none; }

strong { font-weight: 500; }
html[lang="zh-Hant"] strong { font-weight: 600; }

/* floating "sign up" button, so the form at the bottom is one tap away */
.float-cta { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 40; box-shadow: 0 8px 24px rgba(41, 41, 35, 0.22); padding: 1em 1.4em; }
.float-cta[hidden] { display: none; }
@media (max-width: 40rem) { .float-cta { left: 1rem; right: 1rem; justify-content: center; } }
