/* ============================================================
   TDF 2027 — Mondrian / De Stijl brand site
   MOBILE-FIRST. Base styles target small screens; min-width
   breakpoints build up to the full asymmetric desktop grid.
   Colors restricted to the TDF 2027 brand palette only.
   ============================================================ */

:root {
  /* Brand palette (docs/品牌色彩計畫.md) */
  --yellow:  #FFD028;
  --cyan:    #10B8D9;
  --pink:    #F9D2E5;
  --orange:  #E74310;
  --green:   #00993E;
  --magenta: #E4003D;
  --purple:  #C54090;
  --blue:    #004E9D;
  --gray:    #F6F6F6;
  --ink:     #1E1F1C;
  --white:   #FFFFFF;
  --black:   #000000;

  /* De Stijl structure — thinner lines on mobile, thicker on desktop */
  --line: 5px;
  --line-thin: 3px;
  --rule: var(--line) solid var(--black);
  --rule-thin: var(--line-thin) solid var(--black);

  --maxw: 1500px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* home: slide-like scroll snapping (desktop) — each section fills the viewport */
@media (min-width: 901px) {
  html.snap { scroll-snap-type: y proximity; scroll-padding-top: var(--header, 110px); scroll-behavior: auto; }
  html.snap .hero, html.snap .sheepband, html.snap .section {
    min-height: calc(100vh - var(--header, 110px));
    scroll-snap-align: start;
    display: flex; flex-direction: column;
  }
  html.snap .section > .grid { flex: 1 1 0; min-height: 0; align-content: stretch; }
  html.snap .bigact { min-height: 0; }
  html.snap .hero .grid { min-height: 0; flex: 1 1 auto; align-content: stretch; }
  html.snap .sheepband { gap: 0; line-height: normal; justify-content: center; }
  html.snap .sheepband img.sheep { max-height: calc(100vh - var(--header, 110px) - 64px); }
  html.snap .mem.img-cell { height: auto; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Space Grotesk", "Noto Sans TC", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.zh { font-family: "Noto Sans TC", "Space Grotesk", sans-serif; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0; font-weight: 700; letter-spacing: -0.02em;
  text-transform: uppercase; line-height: 0.92;
}
.display { font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.86; }
.eyebrow { font-size: clamp(11px, 3vw, 14px); font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; }
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* ============================================================
   NAV — mobile: brand + burger; links collapse
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: stretch;
  background: var(--white); border-bottom: var(--rule);
}
.nav__brand {
  display: flex; align-items: center; gap: 9px;
  padding: 0 16px; height: 58px;
  background: var(--pink);
  font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; font-size: 17px;
}
.nav__brand b { background: var(--yellow); padding: 2px 7px; border: 3px solid var(--black); }
.nav__links {
  display: none; flex-direction: column;
  position: absolute; top: 58px; left: 0; right: 0;
  background: var(--white); border-bottom: var(--rule);
}
.nav__links.open { display: flex; }
.nav__links a {
  display: flex; align-items: center; gap: 8px;
  padding: 0 18px; height: 54px;
  font-weight: 500; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  border-top: var(--rule-thin);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav__links a .zh { font-size: 11px; opacity: .8; font-weight: 400; }
.nav__links a:hover { background: var(--ink); color: var(--white); }
.nav__cta { background: var(--yellow); color: var(--ink) !important; }
.nav__cta:hover { background: var(--ink) !important; color: var(--white) !important; }
.nav__burger {
  display: flex; align-items: center; justify-content: center;
  margin-left: auto; width: 58px; border-left: var(--rule);
  background: var(--yellow); font-weight: 700; cursor: pointer; font-size: 22px;
}
.nav__ig {
  display: flex; align-items: center; padding: 0 16px; border-right: var(--rule);
  background: var(--magenta); color: var(--white);
  font-family: "Jersey 10", "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: .06em;
}
.nav__ig:hover { background: var(--ink); }

/* 歷年 TDF — past-editions dropdown (sits right beside the IG button) */
.nav__years { position: relative; display: flex; align-items: stretch; }
.nav__years > summary {
  display: flex; align-items: center; gap: 6px;
  padding: 0 15px; height: 58px; border-right: var(--rule);
  background: var(--white); color: var(--ink);
  font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer; list-style: none; user-select: none;
}
.nav__years > summary::-webkit-details-marker { display: none; }
.nav__years > summary::after { content: "\25BE"; font-size: 11px; line-height: 1; }
.nav__years > summary:hover,
.nav__years[open] > summary { background: var(--ink); color: var(--white); }
.nav__years__menu {
  position: absolute; top: 100%; left: -1px; min-width: 168px; z-index: 60;
  display: flex; flex-direction: column;
  background: var(--white); border: var(--rule); border-top: none;
}
.nav__years__menu a {
  padding: 13px 16px; border-top: var(--rule-thin);
  font-family: "Jersey 10", "Space Grotesk", sans-serif;
  font-weight: 700; font-size: 18px; letter-spacing: .04em;
}
.nav__years__menu a:first-child { border-top: none; }
.nav__years__menu a:hover { background: var(--cyan); color: var(--ink); }
@media (min-width: 901px) {
  .nav__years > summary { height: 64px; padding: 0 18px; font-size: 14px; }
}

/* ============================================================
   GRID PRIMITIVE — mobile = single column stack
   ============================================================ */
.grid { display: grid; gap: var(--line); background: var(--black); border: var(--rule); grid-template-columns: 1fr; }
.cell {
  background: var(--white);
  padding: clamp(18px, 6vw, 40px);
  display: flex; flex-direction: column; min-width: 0; position: relative;
}
.cell--c { justify-content: center; }
.cell--end { justify-content: flex-end; }

.c-yellow { background: var(--yellow); }
.c-cyan { background: var(--cyan); }
.c-pink { background: var(--pink); }
.c-orange { background: var(--orange); color: var(--black); }
.c-green { background: var(--green); color: var(--ink); }
.c-magenta { background: var(--magenta); color: var(--white); }
.c-purple { background: var(--purple); color: var(--white); }
.c-blue { background: var(--blue); color: var(--white); }
.c-gray { background: var(--gray); }
.c-ink { background: var(--ink); color: var(--white); }

/* ============================================================
   HERO — mobile: 2-col color band + stacked content
   ============================================================ */
.hero { border-bottom: var(--rule); }
.hero .grid { border: none; grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(72px, auto); }
.h-brand { grid-column: 1 / 3; }
.h-title { grid-column: 1 / 3; }
.h-year  { grid-column: 1 / 3; }
.h-tag   { grid-column: 1 / 3; }
.h-dates { grid-column: 1 / 2; }
.h-cta   { grid-column: 2 / 3; }
.h-yel, .h-bluetop, .h-cyan, .h-pink { grid-column: span 1; min-height: 76px; }

.h-title .display { font-size: clamp(56px, 16vw, 164px); }
.h-title .display span { display: block; }
.h-title .l2 { color: var(--magenta); }
.h-title .l3 { color: var(--blue); }
.h-year { overflow: hidden; }
.h-year .yr { font-weight: 700; line-height: .8; letter-spacing: -0.04em; font-size: clamp(96px, 26vw, 184px); }
.h-tag .big { font-size: clamp(23px, 6.2vw, 40px); font-weight: 500; text-transform: none; letter-spacing: -0.01em; line-height: 1.08; }
.h-tag .zh { margin-top: 12px; font-size: clamp(15px, 4vw, 20px); opacity: .7; }
.h-dates .d { font-size: clamp(22px, 5.6vw, 34px); font-weight: 700; }
.h-dates .sub { font-size: 14px; letter-spacing: .16em; margin-top: 8px; opacity: .8; }
.hero .eyebrow { font-size: clamp(12px, 1.3vw, 16px); }
.h-cta { background: var(--ink); color: var(--white); cursor: pointer; transition: background .2s var(--ease); justify-content: space-between; }
.h-cta:hover { background: var(--white); color: var(--black); }
.h-cta .arrow { font-size: 38px; line-height: 1; }

.locbar { display: flex; flex-direction: column; border-bottom: var(--rule); background: var(--ink); }
.locbar span {
  flex: 1 1 0; padding: 13px 18px; color: var(--white);
  font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-size: clamp(14px, 4vw, 18px);
  border-bottom: var(--line-thin) solid var(--white);
  display: flex; align-items: baseline; gap: 10px;
}
.locbar span:last-child { border-bottom: none; }
.locbar .zh { font-size: 12px; opacity: .6; letter-spacing: .04em; font-weight: 400; }
.locbar .num { background: var(--yellow); color: var(--ink); padding: 0 8px; font-size: 12px; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { border-bottom: var(--rule); }
.section__head { display: flex; flex-direction: column; border-bottom: var(--rule); }
.section__tag {
  padding: 13px 18px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; font-size: 12px; border-bottom: var(--rule);
  display: flex; align-items: center;
}
.section__title {
  padding: 16px 18px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(26px, 7vw, 44px);
}
.section__title .zh { font-size: clamp(13px, 3.4vw, 17px); opacity: .75; font-weight: 400; letter-spacing: .04em; }

/* THREE ACTS */
.acts { grid-template-columns: 1fr; }
.act { min-height: 300px; justify-content: space-between; gap: 16px; }
.act__no { font-size: clamp(64px, 18vw, 120px); font-weight: 700; line-height: .8; letter-spacing: -.04em; }
.act__name { font-size: clamp(26px, 7vw, 38px); }
.act__name .zh { display: block; font-size: 15px; opacity: .7; font-weight: 400; margin-top: 6px; }
.act__meta { font-size: 14px; letter-spacing: .06em; font-weight: 500; text-transform: uppercase; }
.act__desc { font-size: 16.5px; line-height: 1.45; text-transform: none; letter-spacing: normal; font-weight: 400; }
.act__desc .zh { display: block; opacity: .7; margin-top: 5px; font-size: 13px; }
.tagchip { align-self: flex-start; border: 3px solid currentColor; padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* FOUR ZONES */
.zones { grid-template-columns: 1fr; }
.zone { min-height: 230px; justify-content: space-between; gap: 12px; }
.zone__wk { font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.zone__name { font-size: clamp(30px, 9vw, 46px); font-weight: 700; text-transform: uppercase; line-height: .9; }
.zone__name .zh { display: block; font-size: 16px; margin-top: 6px; opacity: .85; }
.zone__towns { font-size: 14px; line-height: 1.45; letter-spacing: .02em; opacity: .85; }
.zone__theme { font-size: 14.5px; font-weight: 500; text-transform: none; }

/* TDF APP */
.app { grid-template-columns: 1fr; }
.app__lead { justify-content: space-between; gap: 16px; min-height: 240px; }
.app__lead h3 { font-size: clamp(34px, 9vw, 64px); }
.app__lead p { text-transform: none; font-weight: 400; font-size: 15px; line-height: 1.4; max-width: 34ch; }
.app__lead p .zh { display: block; opacity: .7; margin-top: 6px; font-size: 13px; }
.feature { gap: 8px; min-height: 132px; justify-content: center; }
.feature .k { font-size: 12px; letter-spacing: .18em; font-weight: 700; text-transform: uppercase; }
.feature .v { font-size: clamp(19px, 5vw, 24px); font-weight: 700; text-transform: uppercase; }
.feature .v .zh { display: block; font-size: 13px; opacity: .65; font-weight: 400; }
.pill { align-self: flex-start; background: var(--black); color: var(--white); padding: 6px 12px; font-size: 11px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; }

/* TICKETS */
.tix { grid-template-columns: 1fr; }
.tier { min-height: 280px; justify-content: space-between; gap: 16px; }
.tier__k { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.tier__name { font-size: clamp(22px, 6vw, 30px); }
.tier__name .zh { display: block; font-size: 14px; opacity: .7; font-weight: 400; margin-top: 4px; }
.price-row { display: flex; flex-direction: column; gap: 12px; }
.price { display: flex; align-items: baseline; gap: 8px; justify-content: space-between; border-top: 3px solid currentColor; padding-top: 8px; }
.price .lab { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.price .amt { font-size: clamp(19px, 5vw, 26px); font-weight: 700; }
.tier__note { font-size: 13px; text-transform: none; font-weight: 400; opacity: .9; line-height: 1.35; }
.tier__note .zh { display: block; opacity: .7; font-size: 12px; margin-top: 3px; }
.tix__foot { border-top: var(--rule); background: var(--yellow); padding: 15px 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.tix__foot .zh { font-weight: 400; opacity: .7; font-size: 12px; }

/* MAP / VENUES */
.venues { grid-template-columns: 1fr; }
.v-big { justify-content: space-between; min-height: 220px; }
.v-big .stat { font-size: clamp(64px, 20vw, 132px); font-weight: 700; line-height: .8; letter-spacing: -.04em; }
.v-big .stat small { font-size: clamp(15px, 4vw, 20px); display: block; letter-spacing: .1em; margin-top: 8px; }
.v-list .row { display: flex; flex-wrap: wrap; gap: 0 22px; text-transform: none; }
.v-list .row span { font-weight: 500; font-size: 14px; padding: 4px 0; }
.venue-k { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.venue-v { font-size: clamp(17px, 4.4vw, 22px); font-weight: 700; text-transform: uppercase; margin-top: auto; }
.venue-v .zh { display: block; font-size: 12px; opacity: .65; font-weight: 400; }

/* TEAM */
.team { grid-template-columns: 1fr; }
.role { min-height: 118px; gap: 6px; }
.role .n { font-size: 12px; font-weight: 700; letter-spacing: .14em; opacity: .55; }
.role .t { font-size: clamp(18px, 4.6vw, 23px); font-weight: 700; text-transform: uppercase; }
.role .t .zh { display: block; font-size: 13px; opacity: .7; font-weight: 400; margin-top: 2px; }
.role.key { background: var(--magenta); color: var(--white); }
.role.key .n { opacity: .8; }

/* FAQ */
.faq { grid-template-columns: 1fr; }
.qa { gap: 10px; min-height: 130px; }
.qa .q { font-size: clamp(17px, 4.6vw, 22px); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.qa .q .zh { display: block; font-size: 13px; opacity: .8; font-weight: 400; margin-top: 3px; }
.qa .a { font-size: 16px; line-height: 1.5; text-transform: none; font-weight: 400; }
.qa .a .zh { display: block; opacity: .7; margin-top: 5px; font-size: 12.5px; }

/* FOOTER / CTA */
.foot__layout { background: var(--white); border: none; }
.foot__cta { background: var(--magenta); color: var(--white); min-height: 200px; justify-content: space-between; cursor: pointer; transition: background .2s var(--ease); }
.foot__cta:hover { background: var(--yellow); color: var(--ink); }
.foot__cta h3 { font-size: clamp(34px, 9vw, 72px); }
.foot__cta .zh { font-weight: 400; opacity: 1; font-size: 15px; text-transform: none; }
.foot__right { display: flex; }
.foot__wa {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 28px 22px; min-height: 200px; border-top: var(--rule);
  background: #25D366; color: var(--ink); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.foot__wa:hover { background: var(--ink); color: var(--white); }
.foot__wa svg { width: 38px; height: 38px; }
.foot__wa b { font-size: clamp(26px, 4vw, 34px); line-height: 1.04; text-transform: uppercase; letter-spacing: -0.01em; }
.foot__wa .zh { display: block; font-weight: 400; opacity: .85; font-size: 14px; text-transform: none; margin-top: 5px; }
.foot__info { background: var(--ink); color: var(--white); display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding: 20px 18px; font-size: 13px; }
.foot__info b { background: var(--yellow); color: var(--ink); padding: 2px 9px; border: 3px solid var(--black); text-transform: uppercase; }
.foot__info .sep { opacity: .65; }
.foot__info a:hover { color: var(--yellow); }
.foot__info .zh { opacity: .6; }

/* ============================================================
   FINALIZED INTERACTIONS — Reveal entrance + hover tonal flip
   ============================================================ */
/* Scroll-reveal entrance (Reveal mode, baked in; motion on) */
.reveal { opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: transform, opacity; }
.reveal.in { opacity: 1; transform: none; }

/* Hover: every cell flips light <-> dark — brand colours only */
.cell { transition: background .22s var(--ease), color .22s var(--ease); }
/* light cells -> dark */
.cell:hover           { background: var(--ink);     color: var(--white); }
.cell.c-gray:hover    { background: var(--ink);     color: var(--white); }
.cell.c-yellow:hover  { background: var(--blue);    color: var(--white); }
.cell.c-cyan:hover    { background: var(--blue);    color: var(--white); }
.cell.c-pink:hover    { background: var(--magenta); color: var(--white); }
/* dark cells -> light */
.cell.c-ink:hover     { background: var(--white); color: var(--black); }
.cell.c-blue:hover    { background: var(--white); color: var(--black); }
.cell.c-magenta:hover { background: var(--white); color: var(--black); }
.cell.c-orange:hover  { background: var(--white); color: var(--black); }
.cell.c-green:hover   { background: var(--white); color: var(--black); }
.cell.c-purple:hover  { background: var(--white); color: var(--black); }
/* dark CTA cells → white bg, black text on hover */
.h-cta:hover, .foot__cta:hover { background: var(--white); color: var(--black); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   ≥ 600px — two-column blocks, line weight up
   ============================================================ */
@media (min-width: 600px) {
  :root { --line: 6px; --line-thin: 3px; }
  .locbar { flex-direction: row; }
  .locbar span { border-bottom: none; border-right: var(--line-thin) solid var(--white); }
  .locbar span:last-child { border-right: none; }
  .section__head { flex-direction: row; align-items: stretch; }
  .section__tag { border-bottom: none; border-right: var(--rule); min-width: 120px; }
  .acts, .zones, .tix, .team, .faq, .app { grid-template-columns: 1fr 1fr; }
  .venues { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   ≥ 901px — full De Stijl desktop composition
   ============================================================ */
@media (min-width: 901px) {
  :root { --line: 7px; --line-thin: 4px; }

  .nav__brand { padding: 0 22px; height: 64px; font-size: 19px; border-right: var(--rule); }
  .nav__burger { display: none; }
  .nav__links {
    display: flex; flex-direction: row; position: static; margin-left: auto;
    border-bottom: none; right: auto;
  }
  .nav__links a { height: 64px; border-top: none; border-left: var(--rule-thin); padding: 0 20px; }

  .hero .grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(86px, auto);
    min-height: calc(100vh - 64px);
  }
  .h-brand   { grid-column: 1 / 4; grid-row: 1; }
  .h-yel     { grid-column: 4 / 5; grid-row: 1; }
  .h-bluetop { grid-column: 5 / 7; grid-row: 1 / 3; }
  .h-title   { grid-column: 1 / 4; grid-row: 2 / 5; }
  .h-cyan    { grid-column: 4 / 5; grid-row: 2 / 4; }
  .h-year    { grid-column: 5 / 7; grid-row: 3 / 5; }
  .h-pink    { grid-column: 4 / 5; grid-row: 4 / 5; }
  .h-tag     { grid-column: 1 / 4; grid-row: 5; }
  .h-dates   { grid-column: 4 / 6; grid-row: 5; }
  .h-cta     { grid-column: 6 / 7; grid-row: 5; }

  .acts { grid-template-columns: repeat(3, 1fr); }
  .zones { grid-template-columns: repeat(4, 1fr); }
  .tix { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .faq { grid-template-columns: repeat(2, 1fr); }

  .app { grid-template-columns: 1.4fr 1fr 1fr; }
  .app__lead { grid-column: 1; grid-row: 1 / 3; }

  .h-year .yr { font-size: clamp(112px, 11.8vw, 184px); }

  .venues { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(96px, auto); }
  .v-big { grid-column: 1 / 4; grid-row: 1 / 3; }
  .v-1 { grid-column: 4 / 6; grid-row: 1; }
  .v-2 { grid-column: 6 / 7; grid-row: 1 / 3; }
  .v-3 { grid-column: 4 / 5; grid-row: 2; }
  .v-4 { grid-column: 5 / 6; grid-row: 2; }
  .v-list { grid-column: 1 / 7; grid-row: 3; }

  .foot__layout { grid-template-columns: repeat(3, 1fr); }
  .foot__cta { grid-column: 1 / 3; grid-row: 1; }
  .foot__right { grid-column: 3; grid-row: 1; }
  .foot__wa { border-top: none; border-left: var(--rule); }
  .foot__info { grid-column: 1 / -1; }
}

/* ============================================================
   MULTI-PAGE — nav state, interactive poster, page hero,
   tiles, overview, memories gallery, grid utilities
   ============================================================ */
a.cell { text-decoration: none; color: inherit; }
/* Dark link-cells must keep light text — a.cell's color:inherit otherwise
   overrides .c-ink and makes the text the same colour as the background */
a.cell.c-ink, .c-ink .q, .c-ink .a, .c-ink .act__go { color: var(--white); }

/* nav active page */
.nav__links a[aria-current="page"] { background: var(--yellow); color: var(--ink); }
.nav__cta[aria-current="page"] { background: var(--magenta); color: var(--white); }

/* interactive-poster route cards: ENTER cue */
.act__go { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 3px solid currentColor; padding: 5px 12px; }
.act__go .ar { font-size: 16px; line-height: 1; transition: transform .2s var(--ease); }
a.act:hover .act__go .ar { transform: translateX(6px); }

/* clickable location bar */
.locbar .locitem { flex: 1 1 0; display: flex; align-items: baseline; gap: 10px; padding: 13px 18px; color: var(--white); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: clamp(14px, 4vw, 18px); border-bottom: var(--line-thin) solid var(--white); transition: background .2s var(--ease), color .2s var(--ease); cursor: pointer; }
.locbar .locitem:last-child { border-bottom: none; }
.locbar .locitem .num, .locbar .locitem .zh { flex: 0 0 auto; }
.locbar .locitem .num { background: var(--yellow); color: var(--ink); padding: 0 8px; font-size: 12px; }
.locbar .locitem .zh { font-size: 12px; opacity: .6; letter-spacing: .04em; font-weight: 400; }
.locbar .locitem .ar { margin-left: auto; opacity: 0; transition: opacity .2s, transform .2s; }
.locbar .locitem:hover { background: var(--yellow); color: var(--ink); }
.locbar .locitem:hover .num { background: var(--ink); color: var(--white); }
.locbar .locitem:hover .ar { opacity: 1; transform: translateX(4px); }

/* page hero */
.phero { border-bottom: var(--rule); }
.phero .grid { border: none; grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(60px, auto); }
.phero__main { min-height: 300px; justify-content: space-between; gap: 16px; }
.phero__no { font-size: clamp(13px, 3.6vw, 16px); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.phero__title { font-size: clamp(44px, 12.5vw, 112px); font-weight: 700; text-transform: uppercase; line-height: .84; letter-spacing: -.03em; }
.phero__title .zh { display: block; font-size: clamp(18px, 5vw, 28px); margin-top: 12px; opacity: 1; font-weight: 500; letter-spacing: 0; }
.phero__meta { font-size: clamp(13px, 3.4vw, 16px); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.phero__tag { font-size: clamp(16px, 4.2vw, 22px); font-weight: 500; text-transform: none; line-height: 1.12; }
.phero__tag .zh { display: block; opacity: .72; font-size: 14px; margin-top: 6px; }

/* overview lead */
.lead { min-height: 220px; justify-content: space-between; gap: 16px; }
.lead h3 { font-size: clamp(28px, 7vw, 52px); }
.lead p { text-transform: none; font-weight: 400; font-size: 17px; line-height: 1.5; max-width: 44ch; }
.lead p .zh { display: block; opacity: .7; margin-top: 6px; font-size: 13px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts span { border: 3px solid currentColor; padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* tiles — places / activities */
.tile { min-height: 148px; gap: 8px; justify-content: flex-end; }
.tile .k { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .82; }
.tile .t { font-size: clamp(17px, 4.4vw, 22px); font-weight: 700; text-transform: uppercase; line-height: 1; }
.tile .t .zh { display: block; font-size: 13px; opacity: 1; font-weight: 400; margin-top: 3px; letter-spacing: 0; }
.tile .d { font-size: 14.5px; font-weight: 400; text-transform: none; line-height: 1.45; opacity: .92; }

/* memories gallery */
.mem { justify-content: flex-end; gap: 6px; min-height: 154px; }
.mem__tag { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: 1; }
.mem__cap { font-size: clamp(15px, 4vw, 20px); font-weight: 700; text-transform: uppercase; line-height: .98; }
.mem__cap .zh { display: block; font-size: 12px; font-weight: 400; opacity: 1; margin-top: 3px; }

/* grid utilities */
.g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr 1fr; }
  .span2 { grid-column: span 2; }
  .locbar .locitem { border-bottom: none; border-right: var(--line-thin) solid var(--white); }
  .locbar .locitem:last-child { border-right: none; }
}
@media (min-width: 901px) {
  .g-3 { grid-template-columns: repeat(3, 1fr); }
  .g-4 { grid-template-columns: repeat(4, 1fr); }
  .phero .grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(76px, auto); min-height: 60vh; }
  .phero__main { grid-column: 1 / 3; grid-row: 1 / 4; }
  .phero__sq1 { grid-column: 3 / 4; grid-row: 1 / 2; }
  .phero__sq2 { grid-column: 4 / 5; grid-row: 1 / 3; }
  .phero__metac { grid-column: 3 / 5; grid-row: 2 / 3; }
  .phero__tagc { grid-column: 3 / 5; grid-row: 3 / 4; }
}

/* ============================================================
   HOME — big destination blocks (Mondrian poster)
   ============================================================ */
.bigact { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(112px, auto); }
.bigcell { grid-column: 1 / 3; min-height: 300px; justify-content: space-between; gap: 16px; }
.bigcell__title { font-size: clamp(34px, 9vw, 76px); font-weight: 700; text-transform: uppercase; line-height: .86; letter-spacing: -.03em; }
.bigcell__title .zh { display: block; font-size: clamp(16px, 4.4vw, 24px); margin-top: 10px; opacity: 1; font-weight: 500; letter-spacing: 0; }
.bigcell__tag { font-size: clamp(15px, 4vw, 20px); font-weight: 500; text-transform: none; line-height: 1.18; max-width: 34ch; }
.bigcell__tag .zh { display: block; opacity: 1; font-size: 14px; margin-top: 6px; }
@media (min-width: 901px) {
  .bigact { grid-template-columns: repeat(4, 1fr); }
  .bigcell { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 440px; }
}

/* ============================================================
   SUB-PAGE — readable content (hero stays Mondrian; body is
   white-ground, sentence-case, brand colours as accents only)
   ============================================================ */
.rsec { border-top: var(--rule); padding: clamp(28px, 5vw, 60px) clamp(18px, 5vw, 64px); }
.rsec__head { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(20px, 3vw, 34px); flex-wrap: wrap; }
.rsec__tag { background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 6px 12px; }
.rsec__title { font-size: clamp(26px, 5vw, 42px); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.rsec__title .zh { font-size: clamp(14px, 3vw, 18px); opacity: .72; font-weight: 400; margin-left: 8px; letter-spacing: 0; text-transform: none; }
.rlede { font-size: clamp(17px, 2.4vw, 21px); line-height: 1.6; max-width: 64ch; font-weight: 400; }
.rlede .zh { display: block; font-size: clamp(14px, 2vw, 16px); opacity: .72; margin-top: 10px; line-height: 1.7; }
.rfacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.rfacts span { border: 2px solid var(--ink); padding: 5px 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.rgrid { display: grid; gap: clamp(14px, 2vw, 20px); grid-template-columns: 1fr; }
@media (min-width: 600px) { .rgrid.cols-2, .rgrid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 901px) { .rgrid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.ritem { border: var(--rule-thin); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; background: var(--white); }
.ritem__top { display: flex; align-items: center; gap: 10px; }
.ritem__mark { width: 18px; height: 18px; flex: 0 0 auto; background: var(--ink); }
.ritem__t { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.ritem__name { font-size: clamp(19px, 2.4vw, 23px); font-weight: 700; line-height: 1.12; }
.ritem__name .zh { font-weight: 400; opacity: .7; font-size: 14px; margin-left: 6px; }
.ritem__desc { font-size: 18px; line-height: 1.55; opacity: .9; }
.m-yellow { background: var(--yellow); } .m-cyan { background: var(--cyan); } .m-blue { background: var(--blue); }
.m-green { background: var(--green); } .m-orange { background: var(--orange); } .m-magenta { background: var(--magenta); }
.m-purple { background: var(--purple); } .m-pink { background: var(--pink); } .m-ink { background: var(--ink); }

.rprice { border: var(--rule-thin); display: flex; flex-direction: column; }
.rprice__bar { height: 12px; background: var(--ink); }
.rprice__body { padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.rprice__k { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .78; }
.rprice__name { font-size: clamp(20px, 3vw, 26px); font-weight: 700; line-height: 1.05; }
.rprice__name .zh { display: block; font-size: 14px; opacity: .7; font-weight: 400; margin-top: 2px; }
.rprice__amt { font-size: clamp(24px, 4vw, 34px); font-weight: 700; }
.rprice__row { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 8px; font-size: 14px; font-weight: 500; }
.rprice__note { font-size: 15.5px; line-height: 1.55; opacity: .9; margin-top: auto; }
.rprice__note .zh { display: block; opacity: .7; font-size: 12.5px; margin-top: 4px; }
.bar-blue { background: var(--blue); } .bar-magenta { background: var(--magenta); } .bar-green { background: var(--green); }
.bar-yellow { background: var(--yellow); } .bar-ink { background: var(--ink); } .bar-cyan { background: var(--cyan); }
.rprice__orig { text-decoration: line-through; opacity: .5; font-weight: 500; font-size: .6em; margin-left: 8px; }

.rnote { border-top: var(--rule); padding: 15px clamp(18px, 5vw, 64px); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; }
.rnote .zh { font-weight: 400; opacity: .7; text-transform: none; margin-left: 8px; }

/* nav links tinted with each itinerary's main colour */
.nav__links a.nav-hl { box-shadow: inset 0 -6px 0 var(--blue); }
.nav__links a.nav-tt { box-shadow: inset 0 -6px 0 var(--cyan); }
.nav__links a.nav-gi { box-shadow: inset 0 -6px 0 var(--green); }
.nav__links a.nav-gd { box-shadow: inset 0 -6px 0 var(--ink); }
.nav__links a.nav-hl:hover, .nav__links a.nav-hl[aria-current="page"] { background: var(--blue); color: var(--white); box-shadow: none; }
.nav__links a.nav-tt:hover, .nav__links a.nav-tt[aria-current="page"] { background: var(--cyan); color: var(--ink); box-shadow: none; }
.nav__links a.nav-gi:hover, .nav__links a.nav-gi[aria-current="page"] { background: var(--green); color: var(--black); box-shadow: none; }
.nav__links a.nav-gd:hover, .nav__links a.nav-gd[aria-current="page"] { background: var(--ink); color: var(--white); box-shadow: none; }
.nav__cta .zh { opacity: 1; }

/* ============================================================
   BILINGUAL — EN / 中 toggle
   ============================================================ */
.langtoggle { display: flex; align-items: center; font-family: inherit; cursor: pointer; border: none; border-left: var(--rule); background: var(--ink); color: var(--white); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; padding: 0 16px; }
.langtoggle:hover { background: var(--white); color: var(--black); }
.en { display: contents; }
body.lang-en .zh { display: none !important; }
body.lang-zh .en { display: none !important; }
body.lang-zh .zh { font-size: inherit; opacity: 1; margin-top: 0; letter-spacing: normal; }

/* ============================================================
   PIXEL STYLE + sheep imagery
   ============================================================ */
.display, .h-year .yr, .phero__title, .bigcell__title, .stat-cell .num, .act__no,
.v-big .stat, .why-cell h3, .qa .q, .rsec__title { font-family: "Jersey 10", "Space Grotesk", sans-serif; letter-spacing: 0.07em; }
.eyebrow, .section__tag, .rsec__tag, .langtoggle, .zone__wk, .tier__k, .ritem__t,
.rprice__k, .mem__tag, .ally .c, .nav__brand, .stat-cell .lab { font-family: "Jersey 10", "Space Grotesk", sans-serif; }
/* Chinese always stays in Noto (pixel font is Latin-only) */
.zh { font-family: "Noto Sans TC", sans-serif !important; }

img.sheep { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.img-cell { padding: 0; overflow: hidden; position: relative; min-height: 200px; }
.img-cell.contain { background: var(--gray); }
.img-cell.contain img.sheep { object-fit: contain; }
.mem.img-cell .mem__cap { position: absolute; left: 0; right: 0; bottom: 0; background: var(--ink); color: var(--white); padding: 8px 12px; margin: 0; }
.mem.img-cell .mem__tag { position: absolute; top: 0; left: 0; background: var(--yellow); color: var(--ink); padding: 4px 9px; opacity: 1; z-index: 1; }
.mem.img-cell { height: 240px; }
@media (min-width: 901px) { .mem.img-cell { height: 320px; } }

/* full-bleed sheep key-visual band */
.sheepband { border-bottom: var(--rule); line-height: 0; background: var(--ink); }
.sheepband img.sheep { width: 100%; height: auto; max-height: 74vh; object-fit: cover; object-position: center 38%; image-rendering: pixelated; }

/* real scenery photos in destination blocks (NOT pixelated) */
img.photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.bigimg { grid-column: 1 / -1; height: 240px; overflow: hidden; }
@media (min-width: 901px) { .bigimg { height: 320px; } }

/* "choose any act" note */
.acts-note { border-bottom: var(--rule); background: var(--cyan); color: var(--ink); padding: 15px clamp(16px, 4vw, 26px); font-size: clamp(15px, 2vw, 18px); font-weight: 500; line-height: 1.45; display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: baseline; }
.acts-note b { font-weight: 700; }
.acts-note .zh { font-size: clamp(13px, 1.6vw, 15px); }

/* timeline — choose by time */
.timeline { display: flex; flex-direction: column; border-bottom: var(--rule); }
.tl-seg { display: flex; flex-direction: column; gap: 4px; padding: 16px clamp(16px, 2vw, 24px); border-bottom: var(--line-thin) solid var(--black); }
.tl-seg:last-child { border-bottom: none; }
.tl-date { font-family: "Jersey 10", "Space Grotesk", sans-serif; font-size: clamp(13px, 1.4vw, 16px); font-weight: 700; letter-spacing: .04em; }
.tl-place { font-size: clamp(17px, 2vw, 22px); font-weight: 700; text-transform: uppercase; }
.tl-place .zh { display: block; font-size: 13px; font-weight: 400; opacity: .8; }
@media (min-width: 600px) {
  .timeline { flex-direction: row; }
  .tl-seg { flex: 1 1 0; min-width: 120px; border-bottom: none; border-right: var(--line-thin) solid var(--black); }
  .tl-seg:last-child { border-right: none; }
}
@media (min-width: 901px) {
  .tl-hl { flex-grow: 12; } .tl-tt { flex-grow: 28; } .tl-gi { flex-grow: 3; }
}

/* per-act CTAs in the big destination panels */
.bigcta { display: flex; flex-wrap: wrap; gap: 10px; align-self: flex-start; align-items: center; }
.act__buy { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 9px 16px; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); }
.act__buy .ar { font-size: 15px; line-height: 1; transition: transform .2s var(--ease); }
.act__buy:hover { background: var(--ink); color: var(--white); }
.act__go:hover .ar, .act__buy:hover .ar { transform: translateX(5px); }
.bigcta .act__go, .bigcta .act__buy { font-size: 13px; padding: 9px 16px; letter-spacing: .1em; }
/* big panels are now containers — keep their colour on hover */
.bigcell.c-blue:hover  { background: var(--blue);  color: var(--white); }
.bigcell.c-cyan:hover  { background: var(--cyan);  color: var(--ink); }
.bigcell.c-green:hover { background: var(--green); color: var(--ink); }

/* work-in-progress disclaimer banner */
.notice { position: sticky; top: 58px; z-index: 45; background: var(--magenta); color: var(--white); border-bottom: var(--rule); padding: 11px clamp(16px, 4vw, 26px); display: flex; gap: 6px 12px; align-items: baseline; flex-wrap: wrap; font-size: 13px; font-weight: 500; line-height: 1.4; }
@media (min-width: 901px) { .notice { top: 64px; } }
.notice b { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.notice .zh { opacity: 1; font-size: 12px; }

/* ============================================================
   HOME — full-height destination blocks + marketing sections
   ============================================================ */
@media (min-width: 901px) { .bigact { min-height: calc(100vh - 64px); } }

/* stats band */
.stats { grid-template-columns: 1fr 1fr; }
@media (min-width: 901px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-cell { min-height: 180px; justify-content: space-between; gap: 16px; }
.stat-cell .num { font-size: clamp(48px, 7vw, 84px); font-weight: 700; line-height: .85; letter-spacing: -.03em; }
.stat-cell .lab { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.stat-cell .lab .zh { display: block; font-weight: 400; opacity: .82; font-size: 12px; margin-top: 3px; letter-spacing: 0; }

/* value props */
.why { grid-template-columns: 1fr; }
@media (min-width: 901px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why-cell { min-height: 240px; justify-content: space-between; gap: 14px; }
.why-cell .n { font-size: 12px; font-weight: 700; letter-spacing: .16em; opacity: .72; }
.why-cell h3 { font-size: clamp(24px, 3vw, 34px); line-height: .95; }
.why-cell h3 .zh { display: block; font-size: 15px; font-weight: 500; opacity: .85; margin-top: 8px; letter-spacing: 0; text-transform: none; }
.why-cell p { text-transform: none; font-weight: 400; font-size: 17px; line-height: 1.5; }

/* alliance strip */
.alliance { grid-template-columns: 1fr; }
@media (min-width: 600px) { .alliance { grid-template-columns: 1fr 1fr; } }
@media (min-width: 901px) { .alliance { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.lead-a { min-height: 160px; justify-content: space-between; gap: 14px; }
.lead-a p { text-transform: none; font-weight: 400; font-size: 16.5px; line-height: 1.5; }
.lead-a p .zh { display: block; opacity: .8; font-size: 13px; margin-top: 6px; }
.ally { min-height: 120px; justify-content: flex-end; gap: 5px; }
.ally .c { font-size: 11px; font-weight: 700; letter-spacing: .14em; opacity: .82; text-transform: uppercase; }
.ally .n { font-size: clamp(16px, 2vw, 21px); font-weight: 700; text-transform: uppercase; line-height: 1; }
.ally .n .zh { display: block; font-size: 12px; font-weight: 400; opacity: .8; margin-top: 3px; }
