@font-face {
  font-family: "Fraunces";
  src: url("/assets/journal/type/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/journal/type/fraunces-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/journal/type/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/journal/type/fraunces-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/journal/type/libre-franklin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/journal/type/libre-franklin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/journal/type/libre-franklin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/journal/type/libre-franklin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --zc_bg: #131313;
  --zc_surface: #1e1e1d;
  --zc_text: #f1f0ec;
  --zc_muted: #aaa8a2;
  --zc_line: #363532;
  --zc_accent: #f04a3e;
  --zc_cta: #ff6b60;
  --zc_on_accent: #131313;
  --zc_tint: #2a1614;
  --zc_paper: var(--zc_bg);
  --zc_paper_deep: var(--zc_surface);
  --zc_ink: var(--zc_text);
  --zc_ink_soft: var(--zc_muted);
  --zc_rule: var(--zc_line);
  --zc_bronze: var(--zc_accent);
  --zc_bronze_deep: var(--zc_cta);
  --zc_cream: var(--zc_surface);
  --zc_focus: var(--zc_accent);
  --zc_error: var(--zc_accent);
  --zc_radius: 8px;
  --zc_mast: 7.25rem;
  --zc_dock: 0px;
  --zc_z_mast: 40;
  --zc_z_dock: 50;
  --zc_z_cookie: 60;
  --zc_z_till: 70;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  color-scheme: dark;
  scroll-padding-bottom: var(--zc_dock);
}

::selection {
  background: var(--zc_accent);
  color: var(--zc_on_accent);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--zc_bg);
  color: var(--zc_text);
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  padding-bottom: var(--zc_dock);
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

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

a {
  color: var(--zc_ink);
  text-underline-offset: 0.18em;
}
a:hover { color: var(--zc_bronze); }

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

.zc_skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--zc_accent);
  color: var(--zc_on_accent);
  padding: 0.5rem 0.8rem;
  z-index: 80;
}
.zc_skip:focus { top: 0.75rem; }

.zc_sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Masthead */
.zc_mast {
  position: sticky;
  top: 0;
  z-index: var(--zc_z_mast);
  background: var(--zc_paper);
  border-bottom: 1px solid var(--zc_rule);
  min-height: 3.5rem;
}
.zc_mast_inner {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1rem 0.7rem;
  max-width: 88rem;
  margin: 0 auto;
}
.zc_wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-decoration: none;
  color: var(--zc_ink);
  text-align: center;
  padding-bottom: 0.12em;
}
.zc_rule_line {
  width: min(42rem, 86%);
  height: 1px;
  background: var(--zc_ink);
  border: 0;
  margin: 0.15rem 0 0.1rem;
}
.zc_issue_line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--zc_ink_soft);
}
.zc_issue_kicker {
  font-style: italic;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--zc_ink);
}
.zc_toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.1rem;
}
.zc_toc a {
  text-decoration: none;
  font-size: 0.78rem;
  color: var(--zc_ink);
}
.zc_toc a[aria-current="page"] { border-bottom: 1px solid var(--zc_ink); }
.zc_toc a:hover { color: var(--zc_bronze); }

.zc_toc_toggle {
  display: none;
  background: none;
  border: 1px solid var(--zc_line);
  font: inherit;
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  color: var(--zc_text);
  border-radius: var(--zc_radius);
}
.zc_toc_toggle:hover {
  border-color: var(--zc_accent);
  color: var(--zc_accent);
}

.zc_mast.zc_is_compact .zc_mast_inner {
  grid-template-columns: 1fr auto;
  justify-items: stretch;
  align-items: center;
  padding: 0.4rem 1rem;
  gap: 0.5rem;
}
.zc_mast.zc_is_compact .zc_wordmark {
  font-size: 1.15rem;
  justify-self: start;
  line-height: 1.2;
}
.zc_mast.zc_is_compact .zc_rule_line { display: none; }
.zc_mast.zc_is_compact .zc_issue_line {
  justify-content: flex-end;
  gap: 0.8rem;
}
.zc_mast.zc_is_compact .zc_issue_kicker { display: none; }

@media (max-width: 760px) {
  .zc_toc_toggle { display: inline-flex; }
  .zc_toc {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--zc_rule);
    padding-top: 0.4rem;
  }
  .zc_toc.zc_is_open { display: flex; }
  .zc_toc a {
    display: block;
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--zc_rule);
    font-size: 1rem;
  }
  .zc_mast_inner { padding-inline: 0.85rem; }
  .zc_mast.zc_is_compact .zc_mast_inner {
    grid-template-columns: 1fr auto;
  }
  .zc_mast.zc_is_compact .zc_toc.zc_is_open {
    grid-column: 1 / -1;
  }
}

/* Cover */
.zc_cover {
  position: relative;
  display: grid;
  align-items: end;
  background: var(--zc_bg);
  width: min(78rem, calc(100% - 1.7rem));
  margin-inline: auto;
  padding: 1rem 0 0;
  box-sizing: border-box;
}
.zc_cover_plate {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--zc_text);
}
.zc_vitrine {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  background: var(--zc_text);
  border: 1px solid var(--zc_line);
  border-radius: var(--zc_radius);
  padding: 0.4rem;
  box-shadow: none;
  box-sizing: border-box;
}
.zc_vitrine picture,
.zc_vitrine img {
  display: block;
  margin-inline: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  background: transparent;
}
.zc_cover .zc_vitrine {
  /* Square vitrine inside content column — not full-bleed to window edge */
  width: min(100%, 22rem);
  aspect-ratio: 1 / 1;
  max-width: 100%;
  max-height: none;
  align-self: center;
  justify-self: center;
  overflow: hidden;
  padding: 0;
}
.zc_cover .zc_vitrine picture {
  width: 100%;
  height: 100%;
}
.zc_cover .zc_vitrine img.zc_cover_plate {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
.zc_cover_hed {
  position: relative;
  padding: 1rem 0 1.4rem;
  max-width: none;
  margin: 0;
  width: 100%;
}
.zc_cover_hed h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 7.2vw, 5.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  max-width: 18ch;
  text-wrap: balance;
}
.zc_cover_price {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0;
  color: var(--zc_accent);
  font-variant-numeric: tabular-nums;
}
.zc_cover_deck {
  max-width: 62ch;
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--zc_muted);
}

@media (min-width: 900px) {
  .zc_cover {
    grid-template-columns: minmax(18rem, 34rem) minmax(16rem, 1fr);
    align-items: stretch;
    min-height: min(88dvh, 48rem);
    gap: 1.5rem;
    padding: 1.5rem 0 0;
  }
  .zc_cover .zc_vitrine {
    width: min(100%, 34rem);
    max-width: min(34rem, 100%);
    aspect-ratio: 1 / 1;
    height: auto;
    align-self: center;
    justify-self: center;
  }
  .zc_cover .zc_vitrine img.zc_cover_plate {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
  }
  .zc_cover_hed {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 0 2.4rem 0.4rem;
  }
}

/* Spreads */
.zc_spread {
  width: min(78rem, calc(100% - 1.7rem));
  margin-inline: auto;
  padding: 3rem 0 2rem;
}
.zc_spread_wide {
  width: min(92rem, 100%);
  margin-inline: auto;
  padding: 0;
}
.zc_chapter_num {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  margin: 0 0 0.2rem;
  line-height: 1.3;
  padding-bottom: 0.2em;
  color: var(--zc_accent);
}
.zc_spread h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  font-weight: 600;
  max-width: 22ch;
  text-wrap: balance;
}
.zc_spread h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 1.4rem 0 0.4rem;
  font-weight: 600;
}
.zc_spread p,
.zc_spread li {
  margin: 0 0 1rem;
}
.zc_spread ul,
.zc_spread ol { padding-left: 1.2rem; }

.zc_columns {
  columns: 1;
  max-width: 70ch;
}
@media (min-width: 860px) {
  .zc_columns {
    columns: 2;
    column-gap: 3.2rem;
    max-width: none;
  }
  .zc_columns h3 { break-after: avoid; }
}

.zc_drop::first-letter {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  float: left;
  font-size: 4.6rem;
  line-height: 0.82;
  padding: 0.08em 0.12em 0 0;
  color: var(--zc_bronze);
}

.zc_pull {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.28;
  margin: 1.4rem 0 1.6rem;
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 2px solid var(--zc_bronze);
  max-width: 28ch;
  break-inside: avoid;
}
.zc_pull p { margin: 0; }

.zc_plate {
  margin: 1.6rem 0 0.4rem;
}
.zc_plate .zc_vitrine {
  margin: 0;
  width: fit-content;
  max-width: 100%;
}
.zc_plate img {
  width: auto;
  max-width: 100%;
  height: auto;
  background: transparent;
  border: 0;
  display: block;
}
/* Mid-issue plate: content column, caption aligns under photo */
.zc_plate_mid {
  width: min(78rem, calc(100% - 1.7rem));
  margin: 1.6rem auto 0.4rem;
  padding: 0;
  box-sizing: border-box;
}
.zc_plate_mid .zc_vitrine {
  margin: 0;
  width: fit-content;
  max-width: 100%;
}
.zc_plate_mid .zc_caption {
  margin: 0.45rem 0 1.8rem;
  padding-inline: 0;
  max-width: min(62ch, 100%);
  text-align: left;
}
.zc_caption {
  font-size: 0.82rem;
  color: var(--zc_ink_soft);
  margin: 0.45rem auto 1.8rem;
  max-width: 62ch;
  padding-inline: 1rem;
}

/* Hotspots — card hugs capped plate image; stage = image box */
.zc_plate_frame {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.zc_plate_frame > .zc_caption {
  margin: 0.45rem 0 1.8rem;
  padding-inline: 0;
  max-width: 100%;
  text-align: left;
}
.zc_hotspot {
  background: var(--zc_text);
  border: 1px solid var(--zc_line);
  border-radius: var(--zc_radius);
  padding: clamp(0.5rem, 1.4vw, 0.85rem);
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}
.zc_hotspot_stage {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  line-height: 0;
}
.zc_hotspot img,
.zc_hotspot picture {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
  display: block;
}
.zc_hotspot picture { width: fit-content; }
.zc_hotspot_dot {
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 2px solid var(--zc_accent);
  background: var(--zc_bg);
  cursor: pointer;
  padding: 0;
  transform: translate(-50%, -50%);
}
.zc_hotspot_dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--zc_accent);
}
.zc_hotspot_dot[aria-expanded="true"] {
  background: var(--zc_accent);
}
.zc_hotspot_dot[aria-expanded="true"]::after { background: var(--zc_on_accent); }

.zc_hotspot_card {
  position: absolute;
  z-index: 2;
  width: min(16rem, 72vw);
  background: var(--zc_surface);
  border: 1px solid var(--zc_line);
  padding: 0.7rem 0.8rem 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
  display: none;
  transform: translate(0.8rem, 0.4rem);
  border-radius: var(--zc_radius);
}
.zc_hotspot_card.zc_is_open { display: block; }
.zc_hotspot_card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.zc_hotspot_list { display: none; margin: 0; padding: 0 1rem 1.5rem; }
.zc_hotspot_list dt {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  margin-top: 0.9rem;
}
.zc_hotspot_list dd { margin: 0.2rem 0 0; }

@media (max-width: 760px) {
  .zc_hotspot_dot,
  .zc_hotspot_card { display: none !important; }
  .zc_hotspot_list { display: block; }
}

.zc_week {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--zc_line);
}
.zc_week article {
  display: grid;
  gap: 0.4rem 1.4rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--zc_rule);
}
.zc_week h3 { margin: 0; }
@media (min-width: 760px) {
  .zc_week article {
    grid-template-columns: 9rem 1fr;
    align-items: start;
  }
}

/* Tailor */
.zc_tailor {
  background: var(--zc_surface);
  border: 1px solid var(--zc_line);
  padding: 1.5rem 1.25rem 1.6rem;
  border-radius: var(--zc_radius);
}
.zc_tailor fieldset {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}
.zc_tailor legend {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  padding: 0 0 0.65rem;
}
.zc_choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.zc_choice label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--zc_line);
  background: var(--zc_bg);
  color: var(--zc_text);
  cursor: pointer;
  border-radius: 999px;
  line-height: 1.3;
  font-size: 0.95rem;
  white-space: normal;
  max-width: 100%;
}
.zc_choice label span {
  color: var(--zc_muted);
  font-variant-numeric: tabular-nums;
  margin-left: 0.15rem;
}
.zc_choice label:has(input:checked) {
  border-color: var(--zc_accent);
  background: var(--zc_tint);
  color: var(--zc_text);
}
.zc_choice label:has(input:checked) span {
  color: var(--zc_accent);
}
.zc_choice label:has(input:focus-visible) {
  outline: 2px solid var(--zc_accent);
  outline-offset: 2px;
}
.zc_choice input {
  accent-color: var(--zc_accent);
  margin: 0;
  flex: 0 0 auto;
}
.zc_tailor_total {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  margin: 0.5rem 0 0.5rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.zc_tailor_total [data-zc-total] {
  color: var(--zc_accent);
}
.zc_note { font-size: 0.88rem; color: var(--zc_muted); }

/* Cases */
.zc_case {
  display: grid;
  gap: 1.4rem;
  margin-top: 0.6rem;
}
@media (min-width: 800px) {
  .zc_case { grid-template-columns: 1fr 1fr; }
}
.zc_case article {
  border-top: 1px solid var(--zc_line);
  padding-top: 0.85rem;
}
.zc_case h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.zc_case blockquote {
  margin: 0.6rem 0 0.4rem;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.35;
}
.zc_case footer {
  font-size: 0.82rem;
  color: var(--zc_ink_soft);
}
.zc_disclaimer {
  font-size: 0.85rem;
  color: var(--zc_ink_soft);
  max-width: 62ch;
}

/* Endnotes */
.zc_notes {
  counter-reset: zcnote;
  list-style: none;
  padding: 0;
  margin: 0;
}
.zc_notes li {
  counter-increment: zcnote;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--zc_rule);
}
.zc_notes li::before {
  content: counter(zcnote);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  margin-right: 0.6rem;
}
.zc_notes strong { font-weight: 600; }

/* Buttons */
.zc_order,
.zc_ghost,
.zc_text_btn {
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid var(--zc_accent);
  background: var(--zc_accent);
  color: var(--zc_on_accent);
  padding: 0.65rem 1.15rem;
  text-decoration: none;
  display: inline-block;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: var(--zc_radius);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
}
.zc_order:hover { background: var(--zc_cta); border-color: var(--zc_cta); color: var(--zc_on_accent); }
.zc_order:active { transform: translateY(1px); }
.zc_order:disabled,
.zc_ghost:disabled,
.zc_text_btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.zc_ghost {
  background: transparent;
  color: var(--zc_text);
  border-color: var(--zc_line);
}
.zc_ghost:hover { background: var(--zc_tint); color: var(--zc_text); border-color: var(--zc_accent); }
.zc_ghost:active { transform: translateY(1px); }
.zc_text_btn {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--zc_accent);
  border-radius: 0;
  padding: 0.1rem 0;
  color: var(--zc_text);
  white-space: normal;
}
.zc_text_btn:hover { color: var(--zc_accent); }

/* Colophon */
.zc_colophon {
  border-top: 1px solid var(--zc_line);
  margin-top: 2.5rem;
  padding: 1.6rem 1rem 2.4rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--zc_muted);
}
.zc_colophon_grid {
  width: min(78rem, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 760px) {
  .zc_colophon_grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.zc_colophon h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
  color: var(--zc_ink);
  margin: 0 0 0.4rem;
}
.zc_colophon ul { list-style: none; padding: 0; margin: 0; }
.zc_colophon li { margin: 0.2rem 0; }
.zc_colophon_legal {
  width: min(78rem, 100%);
  margin: 1.4rem auto 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--zc_rule);
}

/* Dock */
.zc_dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--zc_z_dock);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  background: var(--zc_surface);
  color: var(--zc_text);
  border-top: 1px solid var(--zc_line);
  padding: 0.55rem 0.9rem calc(0.55rem + env(safe-area-inset-bottom));
}
.zc_dock.zc_is_on { display: flex; }
.zc_dock p { margin: 0; font-size: 0.82rem; min-width: 0; }
.zc_dock strong {
  color: var(--zc_accent);
  font-variant-numeric: tabular-nums;
}
.zc_dock .zc_order {
  background: var(--zc_accent);
  color: var(--zc_on_accent);
  border-color: var(--zc_accent);
  flex: 0 0 auto;
}
.zc_dock .zc_order:hover {
  background: var(--zc_cta);
  color: var(--zc_on_accent);
  border-color: var(--zc_cta);
}

/* Cookie */
/* Keep submit / last controls clear of the fixed cookie bar (SHOULD-13) */
.zc_letter .zc_order[type="submit"],
.zc_letter button.zc_order {
  scroll-margin-bottom: calc(var(--zc_dock) + 1.5rem);
}

.zc_cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--zc_z_cookie);
  background: var(--zc_surface);
  border-top: 1px solid var(--zc_line);
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
  justify-content: space-between;
  color: var(--zc_text);
}
.zc_cookie[hidden] { display: none !important; }
.zc_cookie p { margin: 0; max-width: 46rem; font-size: 0.9rem; }
.zc_cookie_acts { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Till */
.zc_till[hidden] { display: none !important; }
.zc_till {
  position: fixed;
  inset: 0;
  z-index: var(--zc_z_till);
}
.zc_till[data-zc-mode="drawer"] {
  overflow: hidden;
}
.zc_till_veil {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--zc_bg) 72%, transparent);
}
.zc_till_sheet {
  position: relative;
  background: var(--zc_surface);
  width: min(40rem, 100%);
  height: 100%;
  margin-left: auto;
  overflow: auto;
  padding: 1.2rem 1.1rem 2.4rem;
  border-left: 1px solid var(--zc_line);
  color: var(--zc_text);
}
.zc_till[data-zc-mode="drawer"] .zc_till_veil {
  opacity: 0;
}
.zc_till[data-zc-mode="drawer"].zc_is_open .zc_till_veil {
  opacity: 1;
}
.zc_till[data-zc-mode="drawer"] .zc_till_sheet {
  width: min(440px, 100%);
  max-width: 100%;
  height: 100%;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(100%);
  opacity: 0;
}
.zc_till[data-zc-mode="drawer"].zc_is_open .zc_till_sheet {
  transform: translateX(0);
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .zc_till[data-zc-mode="drawer"] .zc_till_veil,
  .zc_till[data-zc-mode="drawer"] .zc_till_sheet {
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  }
}
@media (max-width: 480px) {
  .zc_till[data-zc-mode="drawer"] .zc_till_sheet {
    width: 100%;
    max-width: 100%;
    border-left: 0;
  }
}
.zc_till_cfg {
  border: 1px solid var(--zc_line);
  background: var(--zc_bg);
  border-radius: var(--zc_radius);
  padding: 0.85rem 0.9rem;
  margin: 0 0 1rem;
}
.zc_till_cfg_head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}
.zc_till_cfg_head h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.25;
}
.zc_till_cfg dl {
  margin: 0;
}
.zc_till_cfg dl > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 0.8rem;
  border-top: 1px solid var(--zc_line);
  padding: 0.38rem 0 0;
  margin-top: 0.38rem;
}
.zc_till_cfg dt {
  color: var(--zc_muted);
  font-size: 0.82rem;
  word-break: normal;
  overflow-wrap: normal;
  white-space: nowrap;
}
.zc_till_cfg dd {
  margin: 0;
  text-align: right;
  font-size: 0.9rem;
  min-width: 0;
}
@media (max-width: 480px) {
  .zc_till_cfg dl > div {
    grid-template-columns: 1fr;
  }
  .zc_till_cfg dd { text-align: left; }
}
.zc_till_cfg_total {
  margin: 0.7rem 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  color: var(--zc_accent);
  font-variant-numeric: tabular-nums;
}
.zc_till_close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  background: none;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--zc_ink);
  line-height: 1;
}
.zc_till h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  margin: 0 2rem 0.8rem 0;
  line-height: 1.2;
}
.zc_field { margin: 0 0 0.7rem; }
.zc_tailor .zc_field input[type="number"] {
  max-width: 7rem;
}
.zc_field label { display: block; font-size: 0.85rem; margin-bottom: 0.2rem; }
.zc_field input,
.zc_field select,
.zc_field textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--zc_line);
  background: var(--zc_bg);
  color: var(--zc_text);
  border-radius: var(--zc_radius);
}
.zc_field input::placeholder,
.zc_field textarea::placeholder { color: var(--zc_muted); }
.zc_field input:focus-visible,
.zc_field select:focus-visible,
.zc_field textarea:focus-visible {
  outline: 2px solid var(--zc_accent);
  outline-offset: 2px;
  border-color: var(--zc_accent);
}
.zc_field input[aria-invalid="true"],
.zc_field select[aria-invalid="true"],
.zc_field textarea[aria-invalid="true"] {
  border-color: var(--zc_accent);
}
.zc_pair {
  display: grid;
  gap: 0.6rem;
}
@media (min-width: 560px) {
  .zc_pair { grid-template-columns: 1fr 1fr; }
}
.zc_phone {
  display: grid;
  grid-template-columns: 9.2rem 1fr;
  gap: 0.4rem;
}
.zc_till[data-zc-mode="drawer"] .zc_phone {
  grid-template-columns: 1fr;
}
.zc_till[data-zc-mode="drawer"] .zc_phone input {
  min-width: 0;
  width: 100%;
}
.zc_err {
  color: var(--zc_error);
  font-size: 0.8rem;
  min-height: 1.1em;
  margin: 0.15rem 0 0;
}
.zc_hint { font-size: 0.78rem; color: var(--zc_ink_soft); margin: 0.2rem 0 0; }
.zc_check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: start;
}
.zc_check input { margin-top: 0.25rem; accent-color: var(--zc_accent); }
.zc_sum {
  border-top: 1px solid var(--zc_line);
  border-bottom: 1px solid var(--zc_line);
  padding: 0.7rem 0;
  margin-bottom: 1rem;
}
.zc_sum_row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.25rem 0;
}
.zc_sum_row.zc_is_total { font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; margin-top: 0.5rem; }
.zc_paypal_slot {
  min-height: 3.2rem;
  position: relative;
  background: var(--zc_text);
  padding: 16px;
  border-radius: var(--zc_radius);
}
.zc_paypal_slot:not(.zc_is_ready)::after {
  content: "";
  position: absolute;
  inset: 16px;
  background: color-mix(in srgb, var(--zc_text) 55%, transparent);
}
.zc_thankyou {
  border: 1px solid var(--zc_line);
  padding: 0.9rem;
  margin-bottom: 1rem;
  border-radius: var(--zc_radius);
}

/* Legal / contact / product extras */
.zc_legal {
  max-width: 70ch;
}
.zc_letter {
  max-width: 70ch;
}
.zc_specs {
  display: grid;
  gap: 0.8rem;
}
@media (min-width: 700px) {
  .zc_specs { grid-template-columns: 1fr 1fr; }
}
.zc_specs article {
  border-top: 1px solid var(--zc_line);
  padding-top: 0.7rem;
}
.zc_specs h3 { margin: 0 0 0.3rem; }

.zc_thumbs-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.zc_thumbs-wrap > .zc_caption {
  margin: 0.45rem 0 0;
  padding-inline: 0;
  max-width: 100%;
  text-align: left;
  align-self: stretch;
}
.zc_thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.4rem;
  width: 100%;
}
.zc_thumbs button {
  border: 1px solid var(--zc_line);
  padding: 0.35rem;
  background: var(--zc_text);
  cursor: pointer;
  border-radius: var(--zc_radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}
.zc_thumbs button[aria-current="true"] { border-color: var(--zc_accent); }
.zc_thumbs button img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--zc_text);
}
.zc_stage {
  position: relative;
  background: var(--zc_text);
  border: 1px solid var(--zc_line);
  border-radius: var(--zc_radius);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  overflow: hidden;
  /* Fixed square scene; JS sets explicit px so size does not jump */
  aspect-ratio: 1 / 1;
}
.zc_stage picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 0;
}
.zc_stage img[data-zc-frame] {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
  display: block;
  background: var(--zc_text);
}
.zc_stage_nav {
  position: absolute;
  inset: auto 0.4rem 0.4rem auto;
  display: flex;
  gap: 0.3rem;
}
.zc_stage_nav button {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--zc_line);
  background: var(--zc_surface);
  color: var(--zc_text);
  cursor: pointer;
  font-size: 1.1rem;
  border-radius: var(--zc_radius);
}

.zc_lightbox[hidden] { display: none !important; }
.zc_lightbox {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: color-mix(in srgb, var(--zc_bg) 92%, transparent);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.zc_lightbox img {
  max-height: 88dvh;
  max-width: min(92vw, 100%);
  background: var(--zc_text);
  border-radius: var(--zc_radius);
  padding: clamp(0.5rem, 1.5vw, 1rem);
}
.zc_lightbox button {
  position: absolute;
  background: var(--zc_surface);
  color: var(--zc_text);
  border: 1px solid var(--zc_line);
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: var(--zc_radius);
}
.zc_lb_close { top: 0.7rem; right: 0.7rem; }
.zc_lb_prev { left: 0.7rem; top: 50%; }
.zc_lb_next { right: 0.7rem; top: 50%; }

.zc_ok {
  border: 1px solid var(--zc_line);
  padding: 0.9rem;
  border-radius: var(--zc_radius);
  background: var(--zc_tint);
}

@media (max-width: 400px) {
  .zc_cover_hed h1 { font-size: 2.15rem; }
  .zc_phone { grid-template-columns: 1fr; }
  .zc_dock .zc_cfg_line { display: none; }
}
