/* East&Well: quiet clinic, editorial journal.
   Photography carries the feeling; type and hairlines carry the trust.
   Square corners, no shadows, 1px rules. Slow motion that stops for anyone who asks for reduced motion. */

:root {
  --porcelain: #F3F2EE;
  --stone: #E8E5DE;
  --linen: #D6D2C9;
  --ink: #141816;
  --graphite: #3D4440;
  --muted: #4A514D;
  --caption: #5E6662;
  --slate: #6A716D;
  --night: #0E1311;
  /* Accent set: celadon by default, overridden per destination */
  --deep: #22332C;
  --on-deep: #A9BDB0;
  --on-deep-soft: #C9D6CD;
  --accent: #2F4A40;
  --native: #22332C;
  /* Destination pages also use: a full-width band in the country's main color, a softer band,
     and a mark color for small decorative touches (never for small text). */
  --band: #22332C;
  --band-ink: #F3F2EE;
  --band-text: #C9D6CD;
  --soft: #E8E5DE;
  --soft-ink: #2F4A40;
  --soft-text: #3D4440;
  --mark: #2F4A40;
  --figure: #2F4A40;

  --display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --reading: 'Newsreader', Georgia, serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1344px;
  --gutter: 48px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --section: clamp(96px, 11vw, 168px);
}
/* Country palettes. Korea: celadon 비색, moon-jar white 백자, ginkgo 은행.
   Japan: indigo 藍, sakura 桜, vermilion 朱. China: lacquer red 朱漆, moon white 月白, jade 翠.
   Ginkgo, vermilion and jade are too light for small text, so they mark things (squares, rules, large figures);
   eyebrows and labels use the main color. Celadon is too light for white text, so Korea's dark band is a deep celadon. */
.theme-seoul {
  --porcelain: #F3EFE6;
  --deep: #263F34; --on-deep: #D8A73C; --on-deep-soft: #A9C3B3;
  --accent: #3F6654; --native: #263F34;
  --band: #8DAE9B; --band-ink: #141816; --band-text: #1E2A24;
  --soft: #8DAE9B; --soft-ink: #141816; --soft-text: #1E2A24;
  --mark: #D8A73C; --figure: #3F6654;
  --slate: #5A615C; --caption: #545B57;
}
.theme-tokyo {
  --deep: #27466A; --on-deep: #EFD3D3; --on-deep-soft: #EFD3D3;
  --accent: #27466A; --native: #27466A;
  --band: #27466A; --band-ink: #EFD3D3; --band-text: #F3F2EE;
  --soft: #EFD3D3; --soft-ink: #27466A; --soft-text: #3D4440;
  --mark: #C8442F; --figure: #C8442F;
}
.theme-shanghai {
  --deep: #9C2C28; --on-deep: #E4EBEB; --on-deep-soft: #E4EBEB;
  --accent: #9C2C28; --native: #9C2C28;
  --band: #9C2C28; --band-ink: #E4EBEB; --band-text: #F3F2EE;
  --soft: #E4EBEB; --soft-ink: #9C2C28; --soft-text: #3D4440;
  --mark: #3E7A5E; --figure: #3E7A5E;
}
.lang-zh {
  --display: 'Instrument Serif', 'Noto Serif SC', 'Songti SC', serif;
  --reading: 'Newsreader', 'Noto Serif SC', 'Songti SC', serif;
  --sans: 'Hanken Grotesk', 'Noto Sans SC', 'PingFang SC', sans-serif;
}
@media (max-width: 760px) { :root { --gutter: 20px; } }

/* Base ------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.band-deep :focus-visible, .hero :focus-visible, .window-seat :focus-visible, .closing :focus-visible, .site-header.overlay :focus-visible, .site-footer :focus-visible { outline-color: var(--porcelain); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--porcelain); padding: 12px 18px; text-decoration: none; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-text { max-width: 1040px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Type ------------------------------------------------------------------- */

.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.eyebrow.on-dark { color: var(--on-deep); }
.display-xl, .display-l, .display-m, .h-section, .h-section-s, .h-sub { font-family: var(--display); font-weight: 400; margin: 0; }
.display-xl { font-size: clamp(52px, 7.4vw, 112px); line-height: .98; letter-spacing: -.02em; margin-bottom: 30px; }
.display-l { font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.02em; margin-bottom: 28px; }
.display-m { font-size: clamp(46px, 5vw, 76px); line-height: 1; letter-spacing: -.02em; margin-bottom: 20px; }
.h-section { font-size: clamp(38px, 4vw, 60px); line-height: 1.05; letter-spacing: -.015em; }
.h-section-s { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.08; letter-spacing: -.015em; margin-bottom: 22px; }
.h-sub { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; margin-bottom: 14px; }
.display-xl em, .display-l em, .ws-title em { font-style: italic; }
.muted { color: var(--muted); }
.reading { font-family: var(--reading); font-size: 20px; line-height: 1.65; color: var(--graphite); }

.lang-zh .eyebrow { letter-spacing: .14em; }
.lang-zh .display-xl { font-size: clamp(42px, 5.8vw, 88px); line-height: 1.14; letter-spacing: 0; font-weight: 500; }
.lang-zh .display-l { font-size: clamp(38px, 5vw, 72px); line-height: 1.18; letter-spacing: 0; font-weight: 500; }
.lang-zh .h-section, .lang-zh .h-section-s { line-height: 1.28; letter-spacing: 0; font-weight: 500; }
.lang-zh .h-sub { line-height: 1.35; font-weight: 500; }
.lang-zh .display-xl em, .lang-zh .display-l em, .lang-zh .ws-title em, .lang-zh .cg-headline em { font-style: normal; opacity: .82; }
.lang-zh .ws-title { font-weight: 500; line-height: 1.25; letter-spacing: 0; }
.lang-zh .hero-lead, .lang-zh .hour-copy p, .lang-zh .meal-text, .lang-zh .word-text, .lang-zh .reading, .lang-zh .ws-phase-text,
.lang-zh .closing-text, .lang-zh .article-dek { line-height: 1.85; }
.lang-zh .hour-copy h3, .lang-zh .ws-phase-title, .lang-zh .week-word, .lang-zh .display-m, .lang-zh .cta-title, .lang-zh .wait-value { font-weight: 500; }
.lang-zh .hour-time { font-size: 44px; }
.lang-zh .display-m { letter-spacing: 0; line-height: 1.2; }

/* Buttons and links -------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 32px;
  background: var(--ink); color: var(--porcelain);
  border: 0; border-radius: 0;
  font: 600 15px/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: var(--deep); }
.btn-light { background: var(--porcelain); color: var(--ink); }
.btn-light:hover { background: #FFFFFF; color: var(--ink); }
.btn-outline-light {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px;
  background: transparent; color: var(--porcelain); border: 1px solid rgba(243,242,238,.45); border-radius: 0;
  font-size: 14px; letter-spacing: .04em; cursor: pointer; transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.btn-outline-light:hover { border-color: var(--porcelain); background: rgba(243,242,238,.06); }
.link-underline, .link-light {
  font-size: 15px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px;
  transition: text-underline-offset .4s var(--ease);
}
.link-underline:hover, .link-light:hover { text-underline-offset: 4px; }
.link-underline.small { font-size: 14px; font-weight: 600; text-underline-offset: 5px; }
.link-light { color: var(--porcelain); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; }
.ic { flex: none; }

/* Header ----------------------------------------------------------------- */

.site-header { position: relative; z-index: 20; }
.site-header.light { background: var(--porcelain); border-bottom: 1px solid var(--linen); }
.site-header.overlay { position: absolute; top: 0; left: 0; right: 0; color: var(--porcelain); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.wordmark { font-family: var(--display); font-size: 34px; line-height: 1; letter-spacing: -.01em; }
.brand-tag { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; opacity: .72; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 15px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .4s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav .nav-lang { font-size: 13px; letter-spacing: .06em; opacity: .75; }
.nav .nav-cta { border: 1px solid currentColor; padding: 12px 22px; font-weight: 500; }
.nav .nav-cta:hover { background: rgba(243,242,238,.12); }
.site-header.light .nav .nav-cta { background: var(--ink); border-color: var(--ink); color: var(--porcelain); }
.site-header.light .nav .nav-cta:hover { background: var(--deep); border-color: var(--deep); }
.nav-mobile { display: none; }
.nav-mobile summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 15px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-sheet {
  position: absolute; left: 0; right: 0; top: 100%;
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) 24px;
  background: var(--porcelain); color: var(--ink);
  border-top: 1px solid var(--linen); border-bottom: 1px solid var(--linen);
}
.nav-sheet a { padding: 14px 0; border-bottom: 1px solid var(--linen); text-decoration: none; font-size: 18px; }
.nav-sheet .nav-cta { margin-top: 20px; padding: 17px; border: 0; background: var(--ink); color: var(--porcelain); text-align: center; font-weight: 600; font-size: 16px; }
@media (max-width: 1060px) {
  .nav { display: none; }
  .nav-mobile { display: block; }
}
@media (max-width: 420px) { .brand-tag { display: none; } }

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden;
  min-height: max(660px, min(100svh, 940px));
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #1B2420; color: var(--porcelain);
}
.dest-hero { background: var(--deep); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,12,.46) 0%, rgba(10,14,12,.05) 26%, rgba(10,14,12,.12) 48%, rgba(10,14,12,.76) 100%); }
.hero-body { position: relative; width: 100%; padding-top: 160px; padding-bottom: clamp(80px, 9vw, 120px); }
.hero-copy { max-width: 880px; }
.hero .eyebrow { color: rgba(243,242,238,.84); }
.hero-lead { margin: 0 0 42px; max-width: 600px; font-family: var(--reading); font-size: 21px; line-height: 1.55; color: rgba(243,242,238,.9); }
.hero-credit { position: absolute; right: var(--gutter); bottom: 30px; text-align: right; color: rgba(243,242,238,.68); }
.light-photo { opacity: 0; transition: opacity 1.2s var(--ease); }
.light-photo.is-on { opacity: 1; }
.photo-credit { margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.photo-credit.on-photo { position: absolute; right: 18px; bottom: 16px; color: rgba(243,242,238,.78); font-size: 10px; text-align: right; }
.photo-credit.on-light { position: absolute; left: 16px; bottom: 14px; padding: 5px 9px; background: rgba(243,242,238,.86); color: var(--graphite); font-size: 10.5px; }
@media (max-width: 760px) {
  .hero-body { padding-bottom: 76px; }
  .hero-lead { font-size: 19px; }
  .hero-credit { bottom: 22px; left: var(--gutter); text-align: left; }
}

/* Trust and glance bars -------------------------------------------------- */

.trust, .glance { border-bottom: 1px solid var(--linen); }
.trust-grid, .glance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item, .glance-item { padding: 30px 28px; border-right: 1px solid var(--linen); }
.trust-item:first-child, .glance-item:first-child { padding-left: 0; }
.trust-item:last-child, .glance-item:last-child { padding-right: 0; border-right: 0; }
.trust-head { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.trust-sub { margin: 0; font-size: 15px; color: var(--caption); }
.glance-item { padding-top: 34px; padding-bottom: 34px; }
.glance-value { margin: 0 0 8px; font-family: var(--display); font-size: 38px; line-height: 1; }
.glance-text { margin: 0 0 12px; font-size: 16px; color: var(--caption); }
@media (max-width: 1000px) {
  .trust-grid, .glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(2n), .glance-item:nth-child(2n) { border-right: 0; padding-right: 0; }
  .trust-item:nth-child(2n+1), .glance-item:nth-child(2n+1) { padding-left: 0; }
  .trust-item:nth-child(n+3), .glance-item:nth-child(n+3) { border-top: 1px solid var(--linen); }
}
@media (max-width: 560px) {
  .trust-grid, .glance-grid { grid-template-columns: 1fr; }
  .trust-item, .glance-item { padding: 20px 0; border-right: 0; }
  .trust-item + .trust-item, .glance-item + .glance-item { border-top: 1px solid var(--linen); }
}

/* Sections --------------------------------------------------------------- */

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; margin-bottom: 48px; }
.section-aside-text { margin: 0; max-width: 460px; color: var(--muted); }
.section-aside-text.on-dark { color: rgba(243,242,238,.78); }
.section-aside-text.reading { max-width: 560px; color: var(--graphite); }
.band-deep { background: var(--deep); color: var(--porcelain); }
.band-stone { background: var(--stone); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px 96px; }
/* Grid children may shrink below their content (wide tables scroll inside their own box instead). */
.split > *, .meal-grid > *, .day-after-grid > *,
.ws-grid > *, .begin-grid > *, .journal-head-grid > *, .article-grid > *, .card-grid > * { min-width: 0; }
.split-head .muted { max-width: 380px; margin: 22px 0 0; }
.rule-top { border-top: 1px solid var(--ink); padding-top: 56px; }
.narrow-title { max-width: 760px; margin-bottom: 56px; }
.table-note { margin: 16px 0 0; font-size: 15px; color: var(--slate); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Steps (begin, journal, planner) and photographs that fill their frame ---- */

.steps { list-style: none; margin: 0; padding: 0; }
.steps > li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; padding: 28px 0; border-top: 1px solid var(--linen); }
.steps > li:last-child { border-bottom: 1px solid var(--linen); }
.step-no { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--accent); }
.step-title { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.step-text { margin: 0; color: var(--muted); }
.steps.compact > li { padding: 22px 0; grid-template-columns: 56px minmax(0, 1fr); }
.hour-photo img, .meal-photo img, .begin-photo img, .lead-media img, .card-media img, .day-after-photo img, .founder-portrait img,
.home-person-media img, .home-city-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* Founder portrait, promises (destination pages), journal cards ------------ */

.founder-portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #C9C3B8; }
.founder-portrait.is-empty { display: flex; align-items: flex-end; padding: 20px; }
.founder-portrait.is-empty mark { font-size: 13px; }

.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.promise-grid.three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px 48px; }
.promise { border-top: 1px solid var(--ink); padding-top: 22px; }
.promise-head { margin: 0 0 10px; font-size: 19px; font-weight: 600; }
.promise p:last-child { margin: 0; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #CFCAC0; }
.card-plate { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; background: var(--stone); border-top: 1px solid var(--ink); }
.plate-no { font-family: var(--display); font-size: 64px; line-height: 1; color: var(--accent); }
.plate-cat { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.card-meta { margin: 6px 0 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.card-title { margin: 0; font-family: var(--display); font-size: 30px; line-height: 1.12; }
.lang-zh .card-title { font-size: 23px; line-height: 1.45; font-weight: 500; }
.card:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

/* Home -------------------------------------------------------------------- */
/* Big pictures, quiet words. The social channel's look carries over, none of its content: a warm book
   serif in deep green, a soft sun, photographs gently muted and misted into the page, a faint paper grain. */

.home-page {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .18 0 0 0 0 .15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --muted-photo: saturate(.86) contrast(.96) brightness(1.02);
}
.home-what, .home-who, .home-where, .home-practical { background-image: var(--grain); }
.home-open :focus-visible, .home-guide :focus-visible { outline-color: var(--porcelain); }

/* The section mark: a small soft sun carrying the number. */
.home-mark { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.home-mark-sun { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(216,167,60,.26); font-family: var(--reading); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--deep); }
.lang-zh .home-mark { letter-spacing: .14em; }
.home-h { margin: 0; font-family: var(--reading); font-weight: 500; font-size: clamp(36px, 3.8vw, 56px); line-height: 1.1; letter-spacing: -.01em; color: var(--deep); }
.home-h em, .home-title em, .home-statement em { font-weight: 400; }
.home-h-s { font-size: clamp(32px, 3vw, 44px); margin-bottom: 18px; }
.lang-zh .home-h, .lang-zh .home-title, .lang-zh .home-statement { letter-spacing: 0; line-height: 1.35; }
.lang-zh .home-h em, .lang-zh .home-title em, .lang-zh .home-statement em { font-style: normal; opacity: .82; }
.lang-zh .home-open-lead, .lang-zh .home-founder-note, .lang-zh .home-guide-text, .lang-zh .home-where-text, .lang-zh .home-city-text,
.lang-zh .home-faq p, .lang-zh .home-close-text, .lang-zh .home-person-text, .lang-zh .home-fact p { line-height: 1.85; }

/* The opening: one city at a time, full screen, in the light it has right now. */
.home-open {
  position: relative; overflow: hidden;
  min-height: max(640px, min(100svh, 960px));
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #141816; color: var(--porcelain);
}
.home-slides, .home-slide { position: absolute; inset: 0; margin: 0; }
.home-slide { opacity: 0; transition: opacity 2.4s var(--ease); }
.home-slide.is-on { opacity: 1; }
.home-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  filter: saturate(.92) contrast(.97); transform: scale(1);
  transition: opacity 1.2s var(--ease), transform 2.4s linear;
}
.home-photo.is-shown { opacity: 1; }
.home-slide.is-on .home-photo.is-shown { transform: scale(1.07); transition: opacity 1.2s var(--ease), transform 10s linear; }
.home-open.is-still .home-slide.is-on .home-photo.is-shown { transform: scale(1); }
.home-open-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,15,13,.44) 0%, rgba(12,15,13,0) 22%, rgba(12,15,13,0) 44%, rgba(12,15,13,.7) 100%),
              linear-gradient(90deg, rgba(12,15,13,.4) 0%, rgba(12,15,13,0) 62%);
}
.home-open-body {
  position: relative; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px 64px; align-items: end;
  padding-top: 160px; padding-bottom: clamp(40px, 5vw, 56px);
}
.home-title { margin: 0 0 18px; max-width: 940px; font-family: var(--reading); font-weight: 500; font-size: clamp(44px, 5vw, 72px); line-height: 1.06; letter-spacing: -.015em; text-wrap: balance; }
.home-open-lead { margin: 0 0 26px; font-family: var(--reading); font-size: 21px; line-height: 1.5; color: rgba(243,242,238,.9); }
.home-now { text-align: right; }
.home-now-caption { margin: 0 0 18px; }
.home-now-label { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(243,242,238,.84); }
.lang-zh .home-now-label { letter-spacing: .12em; }
.home-now-time { display: block; min-height: 40px; margin-top: 6px; font-family: var(--reading); font-weight: 500; font-size: 40px; line-height: 1; }
.home-now-light { display: block; margin-top: 8px; font-size: 14px; color: rgba(243,242,238,.78); }
.home-now-link { display: inline-block; margin-top: 10px; font-size: 15px; color: var(--porcelain); text-underline-offset: 5px; }
.js .home-picks.needs-js { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 16px; align-items: end; text-align: left; }
.home-pick { display: block; min-height: 48px; padding: 14px 0 4px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.home-pick-line { position: relative; display: block; height: 2px; background: rgba(243,242,238,.3); }
.home-pick-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--porcelain); }
.home-pick.is-on .home-pick-fill { width: 100%; transition: width 8s linear; }
.home-open.is-still .home-pick.is-on .home-pick-fill { transition: none; }
.home-pick-name { display: block; margin-top: 12px; font-family: var(--reading); font-size: 20px; font-weight: 500; color: rgba(243,242,238,.62); }
.home-pick.is-on .home-pick-name { color: var(--porcelain); }
.home-pick-time { display: block; min-height: 20px; font-size: 13.5px; color: rgba(243,242,238,.72); }
.home-pause { min-height: 44px; padding: 0 16px; border: 1px solid rgba(243,242,238,.45); background: rgba(20,24,22,.25); color: var(--porcelain); font-size: 14px; cursor: pointer; }
.home-pause:hover { border-color: var(--porcelain); }
@media (prefers-reduced-motion: reduce) {
  .home-slide, .home-photo { transition: none; }
  .home-slide.is-on .home-photo.is-shown { transform: none; }
  .home-pick.is-on .home-pick-fill { transition: none; }
}
@media (max-width: 900px) {
  .home-open-body { grid-template-columns: 1fr; padding-top: 140px; }
  .home-now { text-align: left; }
  .home-title { font-size: clamp(40px, 9vw, 60px); }
}
@media (max-width: 560px) {
  .js .home-picks.needs-js { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-pause { grid-column: 1 / -1; justify-self: start; }
  .home-open-lead { font-size: 19px; }
}

/* 01 What we do: a centred statement under a soft sun, then four facts. */
.home-what { position: relative; overflow: hidden; padding: var(--section) 0 clamp(96px, 10vw, 136px); }
.home-what-sun { position: absolute; left: 50%; top: 40px; width: 640px; height: 640px; margin-left: -320px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(216,167,60,.2) 0%, rgba(216,167,60,.12) 52%, rgba(216,167,60,0) 70%); }
.home-what .wrap { position: relative; }
.home-what-head { margin-bottom: clamp(64px, 8vw, 104px); text-align: center; }
.home-what-head .home-mark { justify-content: center; }
.home-statement { margin: 0 auto; max-width: 1000px; font-family: var(--reading); font-weight: 500; font-size: clamp(28px, 3.1vw, 44px); line-height: 1.3; letter-spacing: -.01em; color: var(--deep); }
.home-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.home-fact { padding-top: 22px; border-top: 1px solid var(--deep); }
.home-fact-head { margin: 0 0 8px; font-family: var(--reading); font-size: 22px; font-weight: 500; color: var(--deep); }
.home-fact p:last-child { margin: 0; color: var(--graphite); }
@media (max-width: 1000px) { .home-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home-facts { grid-template-columns: 1fr; gap: 28px; } .home-what-sun { width: 420px; height: 420px; margin-left: -210px; } }

/* 02 Who looks after you: the founder, then three people. */
.home-who { padding: var(--section) 0; background-color: #ECE8DF; }
.home-founder { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 56px 96px; align-items: end; margin-bottom: clamp(72px, 8vw, 96px); scroll-margin-top: 80px; }
.home-founder:not(:has(.founder-portrait)) { grid-template-columns: minmax(0, 900px); }
.home-founder .founder-portrait { background: #D3CDC1; }
.home-first { margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.home-quote { margin: 0 0 30px; font-family: var(--reading); font-weight: 500; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.32; letter-spacing: -.01em; color: var(--deep); }
.lang-zh .home-quote { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.65; letter-spacing: 0; }
.home-sig { margin: 0 0 26px; font-size: 16px; }
.home-sig span { color: var(--graphite); }
.home-founder-note { margin: 0; max-width: 600px; font-family: var(--reading); font-size: 20px; line-height: 1.6; color: var(--graphite); }
.home-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.home-person-media { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #3A4842; color: var(--porcelain); }
.home-person-media img, .home-city-media img, .home-close-media img { filter: var(--muted-photo); }
.home-person-media::after, .home-city-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,12,0) 50%, rgba(10,14,12,.6) 100%); }
.home-person-media figcaption { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; }
.home-person-where { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(243,242,238,.86); }
.home-person-who { font-family: var(--reading); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; line-height: 1.12; }
.home-person-credit { margin-top: 10px; color: var(--slate); }
.home-person-text { margin: 16px 0 0; line-height: 1.65; color: var(--graphite); }
@media (max-width: 900px) {
  .home-founder { grid-template-columns: 1fr; }
  .home-founder .founder-portrait { max-width: 420px; }
  .home-people { grid-template-columns: 1fr; gap: 48px; }
  .home-person-media { aspect-ratio: 4 / 3; }
}

/* 03 What the guidelines suggest: the example scan on a deep band. */
.home-guide { padding: clamp(96px, 10vw, 128px) 0; background: #18211D; color: var(--porcelain); }
.home-guide-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 64px; align-items: center; }
.home-guide .home-mark { color: var(--on-deep); }
.home-guide .home-mark-sun { background: rgba(216,167,60,.22); color: #F3EFE6; }
.home-guide .home-h { color: #F3EFE6; font-size: clamp(36px, 3.6vw, 52px); }
.home-guide-text { margin: 28px 0 30px; font-family: var(--reading); font-size: 20px; line-height: 1.6; color: rgba(243,242,238,.86); }
.home-guide-note { margin: 12px 0 0; font-size: 15px; color: rgba(243,242,238,.68); }
.home-guide-honest { margin: 44px 0 0; padding-top: 22px; border-top: 1px solid rgba(243,242,238,.2); color: rgba(243,242,238,.84); }
.home-scan-fig { margin: 0; }
.home-scan { position: relative; aspect-ratio: 1200 / 1000; container-type: inline-size; }
.home-scan canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.home-scan-head, .home-scan-label { position: absolute; margin: 0; transform: translateY(-50%); }
.home-scan .is-left { right: 69cqw; text-align: right; }
.home-scan .is-right { left: 69cqw; text-align: left; }
.home-scan-head { font-size: max(11px, 1cqw); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: #A9BDB0; }
.home-scan-head.is-not { color: #8F9792; }
.lang-zh .home-scan-head { letter-spacing: .1em; }
.home-scan-label { width: 26cqw; padding: 4px 0; }
.home-scan-title { display: block; font-size: max(14px, 1.5cqw); font-weight: 600; line-height: 1.25; color: #F3F2EE; }
.home-scan-label.is-not .home-scan-title { font-weight: 500; color: #B5BDB8; }
.home-scan-num { margin-right: .35em; font-family: var(--reading); font-size: 1.2em; font-weight: 400; color: #A9BDB0; }
.home-scan-sub { display: block; margin-top: 2px; font-size: max(12.5px, 1.2cqw); line-height: 1.3; color: #A9B4AE; }
.home-scan-fig figcaption { margin-top: 10px; text-align: center; font-size: 15px; color: #A9B4AE; }
@media (max-width: 900px) { .home-guide-grid { grid-template-columns: 1fr; } }
/* On a phone the labels would crowd the figure: it shows the body alone, and the guide shows the rest. */
@media (max-width: 640px) { .home-scan-head, .home-scan-label { display: none; } }

/* 04 Where we begin: a second famous view of each city, in its own colours, with its own sun or moon. */
.home-where { padding: var(--section) 0 clamp(96px, 10vw, 136px); scroll-margin-top: 24px; }
.home-where-head { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px 80px; align-items: end; margin-bottom: 56px; }
.home-where-text { margin: 0; font-family: var(--reading); font-size: 20px; line-height: 1.6; color: var(--graphite); }
.home-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-cities > *, .home-people > *, .home-facts > *, .home-practical-grid > *, .home-guide-grid > *, .home-founder > *, .home-open-body > * { min-width: 0; }
.home-city { display: flex; flex-direction: column; color: var(--band-text); text-decoration: none; }
.home-city-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #3A4842; }
.home-city-name { position: absolute; left: 28px; bottom: 24px; z-index: 1; margin: 0; font-family: var(--reading); font-size: clamp(40px, 3.8vw, 54px); font-weight: 500; line-height: 1; color: #F3F2EE; }
.home-city-credit { position: absolute; right: 18px; top: 16px; z-index: 1; font-size: 10px; color: rgba(243,242,238,.84); text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.home-city-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 28px 28px 30px; background: var(--band); }
.home-city-sun { position: absolute; right: 26px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: var(--disc, var(--mark)); }
.home-city.theme-tokyo { --disc: #EFD3D3; }
.home-city.theme-shanghai { --disc: #E4EBEB; }
.home-city-text { margin: 0 0 14px; font-family: var(--reading); font-size: 20px; line-height: 1.5; }
.home-city-facts { margin: 0 0 24px; font-size: 15px; color: var(--band-ink); }
.home-city-more { margin: auto 0 0; font-size: 16px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.home-city:hover .home-city-more { text-underline-offset: 4px; }
@media (max-width: 900px) {
  .home-where-head { grid-template-columns: 1fr; }
  .home-cities { grid-template-columns: 1fr; }
  .home-city-media { aspect-ratio: 4 / 3; }
}

/* 05 What it costs and 06 Questions, side by side and quiet. */
.home-practical { padding: 0 0 var(--section); }
.home-practical-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; padding-top: 64px; border-top: 1px solid var(--deep); }
.home-cost-text { margin: 0 0 28px; line-height: 1.65; color: var(--graphite); }
.home-cost { width: 100%; border-collapse: collapse; }
.home-cost th, .home-cost td { padding: 18px 0; border-top: 1px solid var(--linen); vertical-align: baseline; }
.home-cost tr:last-child > * { border-bottom: 1px solid var(--linen); }
.home-cost th { padding-right: 16px; text-align: left; font-size: 16.5px; font-weight: 600; }
.home-cost th a { text-decoration: none; border-bottom: 1px solid var(--linen); transition: border-color .4s var(--ease); }
.home-cost th a:hover { border-bottom-color: var(--ink); }
.home-cost-at { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.home-cost-sub { display: block; margin-top: 3px; font-size: 14px; font-weight: 400; color: var(--slate); }
.home-cost td { text-align: right; white-space: nowrap; font-family: var(--reading); font-size: 26px; font-weight: 500; line-height: 1; color: var(--deep); }
.home-faq { padding: 22px 0; border-top: 1px solid var(--linen); }
.home-faq:last-child { border-bottom: 1px solid var(--linen); }
.home-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; cursor: pointer; font-family: var(--reading); font-size: 22px; font-weight: 500; line-height: 1.35; color: var(--deep); }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: '+'; flex: none; font-size: 28px; line-height: .9; color: var(--slate); }
.home-faq[open] summary::after { content: '–'; }
.home-faq p { margin: 12px 0 0; line-height: 1.65; color: var(--graphite); }
@media (max-width: 900px) { .home-practical-grid { grid-template-columns: 1fr; gap: 72px; } }

/* The close: text in the sky, the dawn wing misting in below. */
.home-close { position: relative; text-align: center; background: var(--grain), linear-gradient(180deg, var(--porcelain) 0%, #F2EDE1 100%); }
.home-close-copy { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: clamp(72px, 8vw, 104px) var(--gutter) 0; }
.home-close .home-h { margin-bottom: 20px; font-size: clamp(40px, 4.6vw, 64px); }
.home-close-text { margin: 0 auto 36px; max-width: 560px; font-family: var(--reading); font-size: 21px; line-height: 1.6; color: var(--graphite); }
.home-close .btn { background: var(--deep); color: #F3EFE6; }
.home-close .btn:hover { background: var(--ink); }
.home-close-note { margin: 16px 0 0; font-size: 15px; color: var(--graphite); }
.home-close-media {
  position: relative; height: clamp(300px, 40vw, 560px); margin-top: -10px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%); mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
}
.home-close-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-close-credit { position: absolute; right: var(--gutter); bottom: 22px; color: rgba(243,242,238,.78); }

/* Closing band ----------------------------------------------------------- */

.closing { position: relative; overflow: hidden; padding: clamp(120px, 13vw, 184px) 0; background: var(--deep); color: var(--porcelain); text-align: center; }
.closing-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing-scrim { position: absolute; inset: 0; background: rgba(10,14,12,.46); }
.closing-inner { position: relative; }
.closing-text { margin: 0 auto 44px; max-width: 540px; font-family: var(--reading); font-size: 20px; line-height: 1.55; color: rgba(243,242,238,.9); }

/* Newsletter and forms ----------------------------------------------------- */

.field-label { display: block; margin: 0 0 8px; font-size: 13.5px; font-weight: 500; color: var(--graphite); }
input[type="email"], input[type="text"] {
  width: 100%; min-height: 54px; padding: 0 16px;
  border: 1px solid var(--linen); border-bottom-color: var(--ink); border-radius: 0;
  background: #FBFAF7; color: var(--ink); font-size: 16px;
}
input[type="email"]:focus, input[type="text"]:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.inline-field { display: flex; }
.inline-field input { flex: 1; min-width: 0; }
.fine { margin: 12px 0 0; font-size: 14px; color: var(--slate); }
.fine a { color: inherit; text-underline-offset: 3px; }
.form-status { margin: 10px 0 0; font-weight: 500; color: var(--accent); }
.form-status:empty { display: none; }
@media (max-width: 760px) {
  .inline-field { flex-direction: column; gap: 10px; }
}

/* Footer ----------------------------------------------------------------- */

.site-footer { background: var(--ink); color: #C9CCC8; padding: 88px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid #2E3431; }
.footer-brand { flex: 1 1 300px; max-width: 420px; }
.footer-brand .wordmark { margin: 0 0 16px; font-size: 40px; color: var(--porcelain); }
.footer-brand p:last-child { margin: 0; font-size: 15px; line-height: 1.6; color: #9AA19D; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 72px; font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-label { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: #8A918D; }
.footer-col a { color: #C9CCC8; text-decoration: none; }
.footer-col a:hover { color: var(--porcelain); text-decoration: underline; text-underline-offset: 4px; }
.footer-fine { margin: 28px 0 0; font-size: 14px; color: #8A918D; }

/* Articles: guides, privacy, standards -------------------------------------- */

.article-head { padding: clamp(72px, 8vw, 104px) 0 clamp(44px, 5vw, 64px); text-align: center; }
.article-dek { margin: 0 auto 34px; max-width: 700px; font-family: var(--reading); font-size: 22px; line-height: 1.5; color: var(--graphite); }
.byline { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 15px; color: var(--caption); }
.byline strong { color: var(--ink); font-weight: 600; }
.byline a { color: inherit; text-underline-offset: 4px; }
.lead-figure { margin: 0 auto; }
.lead-media { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: #CFC9BE; }
.figcaption { margin-top: 14px; font-size: 13px; color: var(--slate); }
.lead-rule hr { margin: 0; border: 0; border-top: 1px solid var(--linen); }
@media (max-width: 760px) { .lead-media { aspect-ratio: 3 / 2; } .article-dek { font-size: 19px; } }

.article-grid {
  display: grid; grid-template-columns: 220px minmax(0, 680px) 240px; justify-content: space-between;
  gap: 56px; align-items: start; padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(88px, 9vw, 120px);
}
.toc, .glance-rail { position: sticky; top: 32px; }
.rail-label { margin: 0 0 16px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.toc { font-size: 15px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--linen); }
.toc a { display: block; margin-left: -1px; padding: 8px 0 8px 16px; border-left: 1px solid transparent; color: var(--caption); text-decoration: none; line-height: 1.4; transition: color .3s var(--ease), border-color .3s var(--ease); }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--ink); }
.glance-rail dl { margin: 0; }
.glance-rail dl div { padding: 18px 0; border-top: 1px solid var(--linen); }
.glance-rail dl div:first-child { border-top-color: var(--ink); }
.glance-rail dl div:last-child { border-bottom: 1px solid var(--linen); }
.glance-rail dt { font-family: var(--display); font-size: 42px; line-height: 1; color: var(--accent); }
.glance-rail dd { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: var(--muted); }
.rail-note { margin: 14px 0 0; font-size: 12.5px; color: var(--slate); }
.toc-mobile { display: none; }
@media (max-width: 1180px) {
  .article-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .toc { grid-row: 1 / span 2; }
  .glance-rail { position: static; grid-column: 2; grid-row: 1; }
  .glance-rail:empty { display: none; }
  .glance-rail dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); column-gap: 32px; }
  .glance-rail dl div, .glance-rail dl div:last-child { border-bottom: 0; border-top: 1px solid var(--ink); }
  .prose { grid-column: 2; grid-row: 2; max-width: 720px; }
}
@media (max-width: 900px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .toc { display: none; }
  .glance-rail, .prose { grid-column: 1; }
  .toc-mobile { display: block; margin: 0 0 40px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--linen); font-family: var(--sans); font-size: 15px; }
  .toc-mobile summary { cursor: pointer; padding: 16px 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
  .toc-mobile ol { margin: 0 0 16px; padding-left: 20px; }
  .toc-mobile li { margin: 0 0 8px; }
  .toc-mobile a { color: var(--ink); text-decoration: none; }
}

.prose { min-width: 0; font-family: var(--reading); font-size: 20px; line-height: 1.72; color: var(--ink); }
.lang-zh .prose { font-size: 18.5px; line-height: 1.9; }
.prose p { margin: 0 0 22px; }
.prose .lead-para { margin: 0 0 40px; font-size: 25px; line-height: 1.55; }
.lang-zh .prose .lead-para { font-size: 21px; line-height: 1.8; }
.prose h2 { margin: 64px 0 20px; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.1; letter-spacing: -.01em; scroll-margin-top: 24px; }
.lang-zh .prose h2 { font-size: 32px; line-height: 1.35; font-weight: 500; letter-spacing: 0; }
.prose h3 { margin: 40px 0 12px; font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.35; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 24px; }
.prose li { margin: 0 0 10px; }
.prose li::marker { color: var(--slate); }
.prose strong { font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose a:hover { color: var(--ink); }
.prose code { font-size: .85em; background: var(--stone); padding: 1px 5px; }
.prose hr { margin: 48px 0; border: 0; border-top: 1px solid var(--linen); }
.table-wrap { overflow-x: auto; margin: 8px 0 28px; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-family: var(--sans); font-size: 16px; line-height: 1.45; }
.prose thead th { padding: 0 16px 12px 0; text-align: left; vertical-align: bottom; font-weight: 500; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); border-bottom: 1px solid var(--ink); }
.prose tbody th, .prose tbody td { padding: 16px 16px 16px 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--linen); }
.prose tbody th { font-weight: 500; }
.prose th:last-child, .prose td:last-child { padding-right: 0; }
.prose .num { text-align: right; }
.prose td.num { font-family: var(--display); font-size: 24px; line-height: 1.15; white-space: nowrap; }
.prose blockquote.pull { margin: 48px 0; padding: 0 0 0 28px; border-left: 1px solid var(--accent); }
.prose blockquote.pull p { margin: 0 0 14px; font-style: italic; color: var(--accent); font-size: 22px; line-height: 1.6; }
.prose blockquote.pull p:last-child { margin-bottom: 0; }
.prose .checklist { list-style: none; padding-left: 0; }
.prose .task { display: flex; gap: 14px; }
.prose .box { flex: none; width: 18px; height: 18px; margin-top: 7px; border: 1.5px solid var(--slate); }
.prose .box.checked { background: var(--accent); border-color: var(--accent); }
.editor-note { margin: 0 0 32px; padding: 20px 24px; background: #FFF6DC; border: 1px solid #E7CF8A; font-family: var(--sans); font-size: 15px; line-height: 1.55; }
.editor-note p { margin: 0 0 8px; }

.cta-aside { margin: 64px 0; padding: 40px; background: var(--deep); color: var(--porcelain); font-family: var(--sans); }
.cta-title { margin: 0 0 12px !important; font-family: var(--display); font-size: 34px; line-height: 1.15; }
.cta-body { margin: 0 0 26px !important; font-size: 16px; line-height: 1.6; color: rgba(243,242,238,.84); }
.prose .cta-aside a.link-light { color: var(--porcelain); }
.prose .cta-aside a.btn { color: var(--ink); text-decoration: none; }
@media (max-width: 560px) { .cta-aside { padding: 28px 22px; } }

.sources { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; }
.prose .sources-title { margin: 0 0 16px; font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.prose .sources p { margin: 0 0 12px; }
.source-list { padding-left: 22px; color: var(--graphite); }
.prose .source-list li { margin: 0 0 8px; }
.src-host { font-size: 13px; color: var(--slate); }
.src-host::before { content: '· '; }
.disclaimer { margin: 24px 0 0 !important; color: var(--muted); }
.trust-line { margin: 28px 0 0 !important; padding-top: 18px; border-top: 1px solid var(--linen); display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; color: var(--caption); }
.author-row { margin-top: 48px; display: flex; gap: 22px; align-items: flex-start; font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--graphite); }
.author-row p { margin: 0; }
.author-row strong { color: var(--ink); }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #CFC9BE; }
.avatar-initials { display: flex; align-items: center; justify-content: center; background: var(--stone); font-family: var(--display); font-size: 28px; color: var(--accent); }

.continue { border-top: 1px solid var(--linen); padding: clamp(80px, 8vw, 104px) 0 clamp(96px, 10vw, 136px); }
.continue .h-section-s { margin-bottom: 40px; }

/* Editor marks (preview build only) ----------------------------------------- */

mark.ed { padding: 1px 6px; font-family: var(--sans); font-size: .78em; font-weight: 500; font-style: normal; line-height: 1.5; white-space: normal; }
.ed-verify { background: #FCE8B2; color: #5C3B00; outline: 1px dashed #C9922B; }
.ed-ph { background: #E3E9F7; color: #1F3A6B; outline: 1px dashed #6B86C2; }
.editor-panel { margin-top: 40px; display: flex; gap: 14px; padding: 18px 20px; background: #FFF6DC; border: 1px solid #E7CF8A; font-family: var(--sans); font-size: 14.5px; line-height: 1.5; }
.editor-panel p { margin: 0; }
.ep-title { font-weight: 600; margin-bottom: 4px !important; }
.editor-badge { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 380px; padding: 8px 12px; background: #FFF6DC; border: 1px solid #E7CF8A; font-size: 13px; line-height: 1.45; color: #3A2E10; }
.editor-badge summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.editor-badge summary::-webkit-details-marker { display: none; }
.editor-badge summary span { color: #6B5A2E; }
.editor-badge p { margin: 8px 0 2px; }
.draft-banner { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 0; padding: 14px 18px; background: #FFF6DC; border: 1px solid #E7CF8A; font-size: 14.5px; }

/* Journal index: start here, then your question, then everything (folded) ----------- */

.journal-head { padding: clamp(72px, 8vw, 104px) 0 clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--linen); }
.journal-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 96px; align-items: end; }
.journal-head .display-l { margin-bottom: 0; }
.journal-head .article-dek { margin: 0; }

.start { padding: clamp(64px, 7vw, 96px) 0 0; }
.start .h-sub, .ask .h-sub { margin-bottom: 28px; }
.start-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.start-step a { display: flex; flex-direction: column; height: 100%; padding: 28px 28px 24px; background: var(--stone); border-top: 1px solid var(--ink); text-decoration: none; color: var(--ink); transition: background-color .4s var(--ease); }
.start-step a:hover { background: #DFDBD2; }
.start-no { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.start-q { margin: 14px 0 18px; font-family: var(--display); font-size: clamp(26px, 2.3vw, 32px); line-height: 1.12; }
.start-title { margin-top: auto; font-size: 15px; color: var(--muted); }
.start-meta { margin-top: 10px; font-size: 14px; color: var(--slate); }
.start-step a:hover .start-q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

.ask { padding: clamp(72px, 8vw, 112px) 0 clamp(56px, 6vw, 80px); }
.q-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.q-card { display: flex; flex-direction: column; padding: 28px 28px 22px; background: var(--stone); border-top: 1px solid var(--ink); scroll-margin-top: 24px; }
.q-title { margin: 0 0 18px; font-family: var(--display); font-size: clamp(26px, 2.3vw, 32px); font-weight: 400; line-height: 1.12; }
.q-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid #CBC6BC; }
.q-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #CBC6BC; color: var(--ink); text-decoration: none; }
.q-links a::after { content: "→"; grid-column: 2; grid-row: 1; font-size: 18px; transition: transform .3s var(--ease); }
.q-links a:hover::after { transform: translateX(4px); }
.q-link-title { font-size: 17px; line-height: 1.4; }
.q-links a:hover .q-link-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.q-link-meta { grid-column: 1; font-size: 15px; color: var(--graphite); }
.q-cities { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 16px 0 0; font-size: 15.5px; color: var(--graphite); }
.q-cities a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.q-card-tool { justify-content: space-between; gap: 20px; background: var(--deep); border-top-color: var(--deep); color: var(--porcelain); }
.q-card-tool .q-title { margin-bottom: 10px; }
.q-tool-text { margin: 0; font-size: 17px; line-height: 1.5; color: var(--on-deep-soft); }
.q-card-tool .btn { align-self: flex-start; }
.lang-zh .q-title { font-weight: 500; font-size: clamp(22px, 2vw, 26px); line-height: 1.35; }
.read-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linen); }
.read-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 6px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--linen); text-decoration: none; color: var(--ink); }
.read-title { font-family: var(--display); font-size: 26px; line-height: 1.18; }
.read-dek { grid-column: 1; max-width: 720px; font-size: 16px; color: var(--muted); }
.read-meta { grid-column: 2; grid-row: 1; text-align: right; font-size: 14px; color: var(--slate); }
.read-row:hover .read-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.read-row.compact { padding: 16px 0; }
.read-row.compact .read-title { font-size: 21px; }
.lang-zh .read-title, .lang-zh .start-q { font-weight: 500; }
.lang-zh .read-title { font-size: 21px; line-height: 1.45; }
.lang-zh .read-row.compact .read-title { font-size: 18px; }
.lang-zh .start-q { font-size: clamp(22px, 2vw, 26px); line-height: 1.4; }

.all-guides { padding: 0 0 clamp(88px, 9vw, 120px); }
.all-fold > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 24px 48px 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--linen); cursor: pointer; list-style: none; position: relative; }
.all-fold > summary::-webkit-details-marker { display: none; }
.all-fold > summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 34px; line-height: 1; color: var(--ink); transition: transform .3s var(--ease); }
.all-fold[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.all-title { font-family: var(--display); font-size: clamp(26px, 2.4vw, 32px); }
.all-hint { font-size: 15px; color: var(--slate); }
.all-fold > summary:hover .all-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.chapters { padding-top: 40px; }
.chapter { padding: 0 0 40px; scroll-margin-top: 24px; }
.chapter-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 4px; }
.chapter-title { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.chapter-count { font-size: 13px; color: var(--slate); }

@media (max-width: 900px) {
  .journal-head-grid { grid-template-columns: 1fr; }
  .start-steps { grid-template-columns: 1fr; gap: 12px; }
  .q-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start-q { margin-bottom: 12px; }
}
@media (max-width: 640px) {
  .read-row { grid-template-columns: minmax(0, 1fr); }
  .read-meta { grid-column: 1; grid-row: auto; text-align: left; }
  .q-grid { grid-template-columns: 1fr; gap: 12px; }
  .q-card { padding: 24px 20px 18px; }
  .read-title { font-size: 23px; }
}

/* Begin page ----------------------------------------------------------------- */

.begin-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px 96px; align-items: start; padding-top: clamp(64px, 7vw, 96px); padding-bottom: clamp(96px, 10vw, 136px); }
.begin-copy .article-dek { margin: 0 0 32px; }
.begin-status { margin: 0 0 56px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--linen); color: var(--graphite); }
.begin-photo { position: relative; margin: 56px 0 0; aspect-ratio: 16 / 10; overflow: hidden; background: #C9C3B8; }
.begin-form { display: flex; flex-direction: column; padding: 40px; background: var(--stone); }
.begin-form input[type="text"], .begin-form input[type="email"] { margin-bottom: 16px; }
.begin-form fieldset { margin: 6px 0 14px; padding: 0; border: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--linen); background: var(--porcelain); cursor: pointer; font-size: 15px; }
.choice input { accent-color: var(--ink); margin: 0; }
.choice:has(input:checked) { border-color: var(--ink); }
.begin-form .btn { align-self: flex-start; margin-top: 14px; }
.read-first { margin-top: 48px; }
.read-first p { color: var(--muted); }
.read-first ol { list-style: none; margin: 0; padding: 0; }
.read-first a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 16px 0; border-top: 1px solid var(--linen); text-decoration: none; font-family: var(--display); font-size: 22px; line-height: 1.25; }
.read-first a:hover span:last-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.read-no { color: var(--accent); }
@media (max-width: 900px) { .begin-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .begin-form { padding: 28px 20px; } }

/* Destination pages ------------------------------------------------------------ */

.dest-hero-body { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 48px; }
.dest-hero-body .hero-copy { flex: 1 1 560px; max-width: 820px; }
.needs-js { display: none; }
.now-panel { flex: 0 1 300px; border-top: 1px solid rgba(243,242,238,.45); padding-top: 18px; }
.js .now-panel.needs-js { display: block; }
.now-label { margin: 0 0 10px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(243,242,238,.82); }
.now-time { margin: 0 0 6px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.now-clock { font-family: var(--display); font-size: 58px; line-height: 1; font-variant-numeric: tabular-nums; }
.now-day { font-size: 16px; color: rgba(243,242,238,.86); }
.now-sun { margin: 0; font-size: 14px; color: rgba(243,242,238,.8); }
.now-credit { margin-top: 18px; color: rgba(243,242,238,.68); }

/* The city's word sits on a full-width band of the country's main color. */
.word { padding: clamp(96px, 10vw, 152px) 0; text-align: center; background: var(--band); color: var(--band-text); }
.word + .hours { padding-top: var(--section); }
.word .eyebrow, .word .word-gloss, .word .word-roman, .word .word-text { color: var(--band-text); }
.word a { color: inherit; }
.word-native { margin: 0 0 26px; font-size: clamp(72px, 11vw, 168px); line-height: 1.08; letter-spacing: .04em; color: var(--band-ink); }
.theme-shanghai .word-native { letter-spacing: .1em; font-size: clamp(88px, 13vw, 196px); }
.word-native:lang(ko), .meal-native:lang(ko), .phrase-native:lang(ko) { font-family: 'Noto Serif KR', serif; }
.word-native:lang(ja), .meal-native:lang(ja), .phrase-native:lang(ja) { font-family: 'Noto Serif JP', serif; }
.word-native:lang(zh), .meal-native:lang(zh), .phrase-native:lang(zh) { font-family: 'Noto Serif SC', serif; }
.word-gloss { margin: 0 0 40px; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.word-roman { font-family: var(--reading); font-style: italic; font-size: 20px; letter-spacing: .02em; text-transform: none; color: var(--graphite); }
.word-text { margin: 0 auto; max-width: 680px; font-family: var(--reading); font-size: 21px; line-height: 1.6; color: var(--graphite); }

.hours { padding: 0 0 clamp(88px, 9vw, 120px); }
.hours-after { padding: clamp(48px, 5vw, 64px) 0 clamp(96px, 10vw, 152px); }
.hour { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; padding: 44px 0; border-top: 1px solid var(--linen); }
.hour:not(.has-photo) { grid-template-columns: 220px minmax(0, 640px); }
.hours .hour.first { border-top-color: var(--ink); }
.hours-after .hour.first { border-top: 0; padding-top: 0; }
.hour-day { margin: 0 0 6px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); }
.hour-time { margin: 0; font-family: var(--display); font-size: 52px; line-height: 1; }
.hour-copy h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.1; }
.hour-copy p { margin: 0 0 16px; font-family: var(--reading); font-size: 19px; line-height: 1.65; color: var(--graphite); }
.hour-copy p:last-child { margin-bottom: 0; }
.hour-photo { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #CFC9BE; }
@media (max-width: 1100px) {
  .hour, .hour:not(.has-photo) { grid-template-columns: 180px minmax(0, 1fr); }
  .hour-photo { grid-column: 2; }
}
@media (max-width: 700px) {
  .hour, .hour:not(.has-photo) { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .hour-photo { grid-column: 1; }
  .hour-time { font-size: 42px; }
}

.meal { padding: clamp(88px, 9vw, 120px) 0; }
/* The meal sits on the softer country band; greys inside it darken so text stays easy to read. */
.meal.band-stone { background: var(--soft); --graphite: var(--soft-text); --muted: var(--soft-text); --slate: var(--soft-text); --caption: var(--soft-text); }
.meal .eyebrow, .meal .meal-native { color: var(--soft-ink); }
.meal-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px 96px; align-items: center; }
.meal-photo { position: relative; margin: 0; aspect-ratio: 5 / 4; overflow: hidden; background: #CFC9BE; }
.meal-name { margin: 0 0 28px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.meal-native { font-size: 34px; color: var(--native); }
.meal-roman { font-family: var(--reading); font-style: italic; font-size: 20px; color: var(--muted); }
.meal-text { margin: 0 0 18px; font-family: var(--reading); font-size: 20px; line-height: 1.65; color: var(--graphite); }
@media (max-width: 900px) { .meal-grid { grid-template-columns: 1fr; } }

.different { padding: 0 0 clamp(96px, 10vw, 152px); }
.phrases { padding: clamp(96px, 10vw, 128px) 0; }
.phrase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px 36px; }
.phrase { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(243,242,238,.25); padding-top: 22px; }
.phrase-native { margin: 0; font-size: 32px; line-height: 1.3; }
.phrase-roman { margin: 0; font-family: var(--reading); font-style: italic; font-size: 19px; color: var(--on-deep-soft); }
.phrase-meaning { margin: 0 0 8px; font-size: 16px; color: rgba(243,242,238,.8); }
.phrase .listen { align-self: flex-start; }

.day-after { padding: 0 0 clamp(96px, 10vw, 152px); }
.day-after-photo { position: relative; margin: 0; height: clamp(420px, 56vw, 760px); overflow: hidden; background: #2F3A2A; }
.day-after-photo .photo-credit.on-photo { right: var(--gutter); bottom: 28px; padding: 6px 10px; background: rgba(20,24,22,.5); font-size: 11px; }
.day-after-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px 96px; padding-top: 80px; }
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { padding: 20px 0; border-top: 1px solid var(--linen); }
.rule-list li:last-child { border-bottom: 1px solid var(--linen); }
.rule-list p { margin: 0; color: var(--muted); }
.rule-list .rule-list-head { margin: 0 0 4px; font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .day-after-grid { grid-template-columns: 1fr; padding-top: 56px; } }

/* Country marks: a rule under the hero, a small seal before each eyebrow, figures and rules in the accent. */
.dest-page .glance { border-top: 4px solid var(--mark); }
.dest-page .glance-value { color: var(--figure); }
.dest-page .eyebrow::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 12px; vertical-align: .12em; background: var(--mark); }
.dest-page .word .eyebrow::before { background: var(--band-ink); }
.dest-page .band-deep .eyebrow::before { background: var(--on-deep); }
.dest-page .promise { border-top: 2px solid var(--mark); }
.dest-page main a:not([class]), .dest-page .link-underline { text-decoration-color: var(--mark); text-decoration-thickness: 2px; }
.dest-page .word a:not([class]) { text-decoration-color: currentColor; text-decoration-thickness: 1px; }

/* The window seat ---------------------------------------------------------------- */
/* A full-screen cabin scene. Scrolling flies the night: the section is tall and the scene stays pinned.
   The window is built in layers like a real one: moulded surround, recessed reveal, the view,
   the outer pane's glass (with its tiny breather hole) and a ribbed shade with a pull lip. */

@property --cabin { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --mood { syntax: '<color>'; inherits: true; initial-value: rgba(0, 0, 0, 0); }
@property --spill { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --shade { syntax: '<percentage>'; inherits: true; initial-value: 6%; }

.window-seat {
  --cabin: 1; --mood: rgba(0, 0, 0, 0); --spill: 0; --shade: 6%;
  --wh: min(76svh, 760px); --ww: calc(var(--wh) * .66);
  position: relative; background: #121110; color: var(--porcelain);
  transition: --cabin 1.8s var(--ease), --mood 2.4s var(--ease), --spill 2s var(--ease), --shade 1.6s var(--ease);
}
.js .window-seat { height: 560vh; }
.ws-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; box-sizing: border-box;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  gap: 0 clamp(32px, 4vw, 72px); padding: 96px var(--gutter) 88px;
}

/* The cabin wall, lit by the ceiling, the mood lights and, at the end, the window */
.ws-cabin {
  position: absolute; inset: 0;
  background: radial-gradient(70% 55% at 50% -8%, rgba(255, 238, 214, .16), transparent 70%), linear-gradient(180deg, #3b3936 0%, #2a2826 45%, #1a1918 100%);
  filter: brightness(var(--cabin));
}
.ws-cabin::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 160px); }
.ws-mood { position: absolute; inset: 0; background: radial-gradient(80% 50% at 50% 0%, var(--mood), transparent 75%); }
.ws-spill { position: absolute; inset: 0; opacity: var(--spill); background: radial-gradient(38% 46% at 50% 50%, rgba(255, 176, 104, .34), transparent 72%); }

/* The window */
.ws-window {
  position: relative; z-index: 2; grid-column: 2; grid-row: 1; margin: 0; width: var(--ww); height: var(--wh);
  transform-origin: 50% 50%; transition: transform 1.9s cubic-bezier(.55, 0, .2, 1), opacity 1.2s ease .5s;
}
.ws-surround {
  position: absolute; inset: 0; border-radius: 48% / 34%;
  background: radial-gradient(120% 90% at 32% 18%, #4a4845 0%, #33312e 45%, #1f1e1c 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), inset 8px 12px 22px rgba(255, 255, 255, .07), inset -12px -18px 34px rgba(0, 0, 0, .55), 0 50px 120px rgba(0, 0, 0, .45);
  filter: brightness(calc(.25 + var(--cabin) * .75));
}
.ws-recess {
  position: absolute; top: 7%; bottom: 7%; left: 9%; right: 9%; overflow: hidden; border-radius: 46% / 31%;
  background: linear-gradient(180deg, #19191b, #0b0b0c);
  box-shadow: inset 0 14px 26px rgba(0, 0, 0, .9), inset 0 -3px 0 rgba(255, 255, 255, .05), 0 0 0 1px rgba(0, 0, 0, .35);
}
.ws-view { position: absolute; inset: 6% 7%; overflow: hidden; border-radius: 44% / 29%; background: #04070A; }
.ws-layer { position: absolute; inset: -12%; }
.ws-layer img { width: 100%; height: 100%; object-fit: cover; }
.ws-depart { transition: opacity .8s ease; }
.ws-depart img { transform: rotate(var(--bank, -6deg)) scale(var(--climb, 1.22)); transition: transform .5s linear; }
/* Framed on the starry upper sky, darkened to deep night, drifting slowly as the plane moves */
.ws-night img { transform: translate(0, 36%) scale(1.8); filter: brightness(.62) saturate(.9); animation: ws-drift 80s linear infinite alternate; }
@keyframes ws-drift { from { transform: translate(3%, 36%) scale(1.8); } to { transform: translate(-5%, 36%) scale(1.8); } }
.ws-twinkle {
  position: absolute; inset: 0 0 45% 0; opacity: .7; animation: ws-twinkle 5.5s ease-in-out infinite alternate;
  background-image: radial-gradient(1.2px 1.2px at 22% 18%, #fff 99%, transparent), radial-gradient(1px 1px at 64% 12%, #fff 99%, transparent),
    radial-gradient(1.4px 1.4px at 78% 30%, #fff 99%, transparent), radial-gradient(1px 1px at 38% 36%, #fff 99%, transparent),
    radial-gradient(1px 1px at 52% 24%, #fff 99%, transparent);
}
@keyframes ws-twinkle { 0% { opacity: .2; } 60% { opacity: .85; } 100% { opacity: .35; } }
.ws-glass {
  position: absolute; inset: 6% 7%; border-radius: 44% / 29%; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .025) 20%, transparent 38%, transparent 74%, rgba(255, 255, 255, .05) 100%);
  box-shadow: inset 0 0 34px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.ws-breather { position: absolute; left: 50%; bottom: 7%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: rgba(0, 0, 0, .55); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.ws-shade {
  position: absolute; left: 0; right: 0; top: 0; height: var(--shade);
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .045) 0 1px, transparent 1px 6px), linear-gradient(180deg, #ebe7df 0%, #dcd7cd 60%, #cfc9be 100%);
  filter: brightness(calc(.32 + var(--cabin) * .68)); box-shadow: 0 6px 14px rgba(0, 0, 0, .4);
}
.ws-lip { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: linear-gradient(180deg, #d3cdc2, #b6afa2); border-top: 1px solid rgba(255, 255, 255, .4); }
.ws-lip::after { content: ''; position: absolute; left: 50%; top: 5px; width: 54px; height: 6px; margin-left: -27px; border-radius: 3px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); }
.ws-credit { position: absolute; left: 0; right: 0; top: calc(100% + 16px); text-align: center; color: rgba(243, 242, 238, .55); }

/* Words, the seatback map, the controls */
.ws-copy { position: relative; z-index: 3; grid-column: 1; grid-row: 1; align-self: center; max-width: 420px; }
.ws-title { margin: 0 0 30px; font-family: var(--display); font-weight: 400; font-size: clamp(38px, 3.6vw, 58px); line-height: 1.04; letter-spacing: -.015em; }
.ws-title em { font-style: italic; color: var(--on-deep-soft); }
.ws-phase { min-height: 150px; border-top: 1px solid rgba(243, 242, 238, .2); padding-top: 22px; transition: opacity .4s var(--ease); }
.ws-phase.is-changing { opacity: 0; }
.ws-phase-title { margin: 0 0 10px; font-family: var(--display); font-size: 30px; line-height: 1.15; }
.ws-phase-text { margin: 0; font-family: var(--reading); font-size: 19px; line-height: 1.6; color: rgba(243, 242, 238, .82); }
.ws-arrive-link { display: inline-block; margin-top: 22px; opacity: 0; pointer-events: none; transition: opacity .8s var(--ease) 1.2s; }

.ws-hud {
  position: relative; z-index: 3; grid-column: 3; grid-row: 1; justify-self: end; width: min(100%, 340px); padding: 18px 20px 14px;
  background: rgba(10, 12, 14, .62); border: 1px solid rgba(243, 242, 238, .12); backdrop-filter: blur(6px); transition: opacity .8s ease;
}
.hud-head { margin: 0 0 8px; display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-deep); }
.ws-route { display: block; width: 100%; height: auto; margin: 0 0 6px; }
/* The real globe: NASA's Earth at night, the true great-circle route, the plane following it */
.hud-map { position: relative; }
.hud-globe { display: none; }
/* While it loads, the globe sits invisibly over the drawn map, which stays until the globe has drawn */
.hud-map.is-loading .hud-globe { display: block; position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.hud-map.is-globe { aspect-ratio: 4 / 3; margin: 0 0 4px; background: radial-gradient(60% 60% at 50% 55%, #0b1424 0%, #05070b 70%); overflow: hidden; }
.hud-map.is-globe .ws-route { display: none; }
.hud-map.is-globe .hud-globe { display: block; position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hud-map.is-ready .hud-globe { opacity: 1; }
.hud-globe .maplibregl-canvas { outline: none; }
.globe-plane { width: 20px; height: 20px; color: #F3F2EE; filter: drop-shadow(0 0 6px rgba(220, 229, 223, .6)); }
.globe-plane svg { display: block; width: 100%; height: 100%; }
.hud-credit { display: none; margin: 0 0 8px; font-size: 10px; letter-spacing: .08em; color: rgba(243, 242, 238, .45); }
.hud-map.is-globe + .hud-credit { display: block; }
.hud-data { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.hud-data div { border-top: 1px solid rgba(243, 242, 238, .14); padding-top: 8px; }
.hud-data dt { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243, 242, 238, .6); }
.hud-data dd { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.hud-data dd span { font-family: var(--display); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.hud-data dd small { font-size: 12px; color: rgba(243, 242, 238, .68); }

.ws-controls { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 26px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.js .ws-controls.needs-js { display: flex; }
.ws-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ws-play { min-height: 46px; padding: 0 24px; }
.ws-sound {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: transparent; color: rgba(243, 242, 238, .8); border: 1px solid rgba(243, 242, 238, .3); border-radius: 0;
  font-size: 13.5px; cursor: pointer; transition: border-color .3s var(--ease), color .3s var(--ease);
}
.ws-sound:hover, .ws-sound[aria-pressed="true"] { color: var(--porcelain); border-color: rgba(243, 242, 238, .7); }
.ws-chapters { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.ws-chapter { min-height: 44px; padding: 0; background: none; border: 0; border-bottom: 1px solid transparent; color: rgba(243, 242, 238, .55); font-size: 13.5px; letter-spacing: .04em; cursor: pointer; transition: color .3s var(--ease), border-color .3s var(--ease); }
.ws-chapter:hover { color: var(--porcelain); }
.ws-chapter[aria-pressed="true"] { color: var(--porcelain); border-bottom-color: var(--on-deep); }
.ws-hint { position: absolute; z-index: 3; left: 50%; bottom: 96px; transform: translateX(-50%); margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243, 242, 238, .7); text-align: center; white-space: nowrap; transition: opacity .6s var(--ease); }
.js .ws-hint.needs-js { display: block; }
.ws-hint span { display: block; width: 1px; height: 34px; margin: 10px auto 0; background: linear-gradient(180deg, rgba(243, 242, 238, .7), transparent); transform-origin: top; animation: ws-hint 2.4s ease-in-out infinite; }
@keyframes ws-hint { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.window-seat.is-moving .ws-hint { opacity: 0; }
.ws-progress { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(243, 242, 238, .1); }
.js .ws-progress.needs-js { display: block; }
.ws-progress span { display: block; width: 100%; height: 100%; background: var(--on-deep); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Arrival: you go through the window, into the sunrise over Seoul */
.ws-arrival { position: absolute; inset: 0; z-index: 1; opacity: 0; background: #A65A1E; transition: opacity 1.6s ease .4s; }
.ws-arrival video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-arrival-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 6, .55) 0%, rgba(10, 8, 6, .15) 45%, rgba(10, 8, 6, 0) 70%); }
.ws-arrival-credit { position: absolute; right: var(--gutter); bottom: 86px; color: rgba(243, 242, 238, .72); }
.window-seat.is-arrived .ws-arrival { opacity: 1; }
.window-seat.is-arrived .ws-window { transform: scale(3.4); opacity: 0; }
.window-seat.is-arrived .ws-cabin { opacity: 0; transition: opacity 1.4s ease .5s; }
.window-seat.is-arrived .ws-hud { opacity: 0; }
.window-seat.is-arrived .ws-arrive-link { opacity: 1; pointer-events: auto; }
.ws-timetable { margin: 0 auto; padding-top: 28px; padding-bottom: 8px; font-size: 13px; color: var(--slate); }

@media (max-width: 1180px) {
  .window-seat { --wh: min(68svh, 640px); }
  .ws-sticky { grid-template-columns: minmax(0, 1fr) auto; }
  .ws-hud { position: absolute; right: var(--gutter); top: 92px; width: 300px; }
  .ws-hud .ws-route { display: none; }
}
@media (max-width: 900px) {
  .js .window-seat { height: 480vh; }
  .window-seat { --wh: min(46svh, 420px); }
  .ws-sticky { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; justify-items: center; align-items: start; gap: 16px; padding: 84px var(--gutter) 128px; }
  .ws-window { grid-column: 1; grid-row: 1; }
  .ws-credit { display: none; }
  .ws-hud { position: static; grid-column: 1; grid-row: 2; width: 100%; max-width: 560px; padding: 10px 14px; }
  .ws-hud .hud-head { display: none; }
  .hud-data { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 10px; }
  .hud-data dt { font-size: 9.5px; letter-spacing: .1em; }
  .hud-data dd span { font-size: 20px; }
  .hud-data dd small { font-size: 10.5px; }
  .ws-copy { grid-column: 1; grid-row: 3; width: 100%; max-width: 560px; }
  .ws-copy .eyebrow { display: none; }
  .ws-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
  .ws-phase { min-height: 0; padding-top: 14px; }
  .ws-phase-title { font-size: 24px; }
  .ws-phase-text { font-size: 16.5px; }
  .ws-controls { bottom: 14px; }
  .ws-chapters { display: none; }
  .js .ws-hint.needs-js { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-night img, .ws-twinkle, .ws-hint span { animation: none; }
}

.week { padding: clamp(96px, 10vw, 136px) 0 clamp(88px, 9vw, 120px); }
.week-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.week-day { padding: 22px 18px 26px; border-right: 1px solid var(--linen); }
.week-day:first-child { padding-left: 0; }
.week-day:last-child { border-right: 0; padding-right: 0; }
.week-day.is-key { background: var(--deep); color: var(--porcelain); padding-left: 18px; }
.week-name { margin: 0 0 4px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); }
.week-word { margin: 0 0 10px; font-family: var(--display); font-size: 28px; line-height: 1.05; }
.week-text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.week-day.is-key .week-name { color: var(--on-deep); }
.week-day.is-key .week-text { color: rgba(243,242,238,.86); }
.week-day.is-muted .week-word, .week-day.is-muted .week-text { color: var(--slate); }
@media (max-width: 1100px) {
  .week-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); border-top: 0; }
  .week-day, .week-day:first-child, .week-day:last-child { padding: 20px 18px 24px; border-right: 0; border-top: 1px solid var(--ink); }
}

.wait { padding: 0 0 var(--section); }
.wait-bar { padding-bottom: 40px; }
.wait-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.wait-label { margin: 0; font-size: 17px; font-weight: 600; }
.wait-value { margin: 0; font-family: var(--display); font-size: 44px; line-height: 1; }
.wait-track { height: 10px; background: var(--stone); }
.wait-track span { display: block; height: 100%; background: #C9C3B8; transform-origin: left center; }
.wait-bar.is-key .wait-track span { background: var(--deep); }
.wait-bar.is-key .wait-value { color: var(--accent); }

/* Page-to-page morphs (View Transitions) -----------------------------------------
   A city card grows into that city's page; a journal photo grows into its guide.
   Browsers without support simply load the page. */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
::view-transition-group(*) { animation-duration: .75s; animation-timing-function: var(--ease); }
::view-transition-group(*.photo) { overflow: hidden; }
::view-transition-old(*.photo), ::view-transition-new(*.photo) { width: 100%; height: 100%; object-fit: cover; }
.hero-media { position: absolute; inset: 0; }

/* Video loops ---------------------------------------------------------------------- */

video.closing-photo, .hour-video { display: block; }
.hour-video-wrap { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #1C2230; }
.hour-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  width: 40px; height: 40px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(20,24,22,.42); border: 1px solid rgba(243,242,238,.5); border-radius: 0; cursor: pointer;
  transition: background-color .3s var(--ease);
}
.video-toggle:hover { background: rgba(20,24,22,.66); }
.video-toggle[hidden] { display: none; }
.vt-pause { display: block; width: 10px; height: 12px; border-left: 3px solid var(--porcelain); border-right: 3px solid var(--porcelain); }
.video-toggle.is-paused .vt-pause { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--porcelain); margin-left: 3px; }
.closing .video-toggle { right: var(--gutter); bottom: 24px; }
.band-credit { position: absolute; left: var(--gutter); bottom: 34px; color: rgba(243,242,238,.7); }
.hour-video-wrap .photo-credit.on-light { left: 16px; bottom: 14px; }
@media (max-width: 560px) { .band-credit { bottom: 30px; max-width: 60%; } }

/* The pinned clock on "hour by hour" ------------------------------------------------ */

@property --sky-top { syntax: '<color>'; inherits: false; initial-value: #0E1522; }
@property --sky-bottom { syntax: '<color>'; inherits: false; initial-value: #1D2738; }
@property --sun-y { syntax: '<percentage>'; inherits: true; initial-value: 110%; }
@property --night { syntax: '<number>'; inherits: true; initial-value: 1; }

.hours-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0 64px; align-items: start; border-top: 1px solid var(--ink); }
.dial { position: sticky; top: 28px; padding-top: 44px; }
.dial-sky {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom));
  transition: --sky-top 1.4s var(--ease), --sky-bottom 1.4s var(--ease), --sun-y 1.6s var(--ease), --night 1.4s var(--ease);
}
.dial-stars {
  position: absolute; inset: 0 0 30% 0; opacity: var(--night);
  background-image:
    radial-gradient(1px 1px at 18% 22%, #fff 99%, transparent), radial-gradient(1px 1px at 62% 14%, #fff 99%, transparent),
    radial-gradient(1.2px 1.2px at 80% 34%, #fff 99%, transparent), radial-gradient(1px 1px at 35% 46%, #fff 99%, transparent),
    radial-gradient(1px 1px at 72% 58%, #fff 99%, transparent), radial-gradient(1.4px 1.4px at 46% 8%, #fff 99%, transparent),
    radial-gradient(1px 1px at 8% 60%, #fff 99%, transparent), radial-gradient(1px 1px at 90% 10%, #fff 99%, transparent);
}
.dial-sun {
  position: absolute; left: 62%; top: var(--sun-y); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: #FFF4DC; box-shadow: 0 0 28px 10px rgba(255,226,170,.55);
}
.dial-horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, rgba(20,24,22,0), rgba(20,24,22,.55)); }
.dial-text { padding: 18px 0 14px; }
.dial-day { margin: 0 0 4px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); }
.dial-time { margin: 0; font-family: var(--display); font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; transition: opacity .35s var(--ease); }
.dial.is-changing .dial-time, .dial.is-changing .dial-day { opacity: .15; }
.dial-ticks { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--linen); display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--slate); }
.dial-ticks li { position: relative; padding-left: 12px; transition: color .3s var(--ease); }
.dial-ticks li::before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--linen); transition: background-color .3s var(--ease); }
.dial-ticks li.is-on { color: var(--ink); }
.dial-ticks li.is-on::before { background: var(--mark); }
.lang-zh .dial-time { font-size: 50px; font-weight: 500; }

/* Inside the layout, each scene shows its time as a small label; the big time lives in the dial. */
.hours-layout .hour, .hours-layout .hour:not(.has-photo) { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 16px 48px; }
.hours-layout .hour:not(.has-photo) .hour-copy { grid-column: 1 / -1; max-width: 640px; }
.hours-layout .hour.first { border-top: 0; }
.hours-layout .hour-when { grid-column: 1 / -1; display: flex; gap: 10px; align-items: baseline; }
.hours-layout .hour-day, .hours-layout .hour-time { margin: 0; font-family: var(--sans); font-size: 12px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); }
.hours-layout .hour-time::before { content: '·'; margin-right: 10px; }

@media (max-width: 1100px) {
  .hours-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 0 40px; }
  .hours-layout .hour, .hours-layout .hour:not(.has-photo) { grid-template-columns: minmax(0, 1fr); }
  .hours-layout .hour-photo { grid-column: 1; }
}
@media (max-width: 760px) {
  .hours-layout { grid-template-columns: minmax(0, 1fr); }
  .dial { top: 0; z-index: 6; padding: 10px 0; background: var(--porcelain); border-bottom: 1px solid var(--linen); }
  .dial-inner { display: flex; align-items: center; gap: 14px; }
  .dial-sky { width: 44px; flex: none; aspect-ratio: 1; }
  .dial-sun { width: 10px; height: 10px; margin: -5px 0 0 -5px; box-shadow: 0 0 10px 4px rgba(255,226,170,.5); }
  .dial-text { display: flex; align-items: baseline; gap: 10px; padding: 0; }
  .dial-time { font-size: 30px; }
  .dial-ticks { display: none; }
}

/* Motion: slow, quiet, and off for anyone who asks ------------------------------- */

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
.reveal-ready .media img { transform: scale(1.04); transition: transform 1.6s var(--ease); }
.reveal-ready .media.is-in img { transform: scale(1); }
.reveal-ready .dest-card:hover .media.is-in img, .reveal-ready .card:hover .media.is-in img { transform: scale(1.025); }
.reveal-ready .wait-bar .wait-track span { transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.reveal-ready .wait-bar.is-in .wait-track span { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal-ready [data-reveal], .reveal-ready .media img, .reveal-ready .wait-bar .wait-track span { opacity: 1; transform: none; }
  }

/* Print ------------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .toc, .toc-mobile, .cta-aside, .continue, .editor-badge, .closing, .nav-mobile { display: none !important; }
  .article-grid { display: block; }
  body { background: #fff; }
}

/* Tools: "Your checkup, by the guidelines" and "Your week, planned" ------------------- */

.tool-head { padding: clamp(64px, 7vw, 96px) 0 clamp(40px, 4vw, 56px); border-bottom: 1px solid var(--linen); }
.tool-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 96px; align-items: end; }
.tool-head .display-l { margin-bottom: 0; }
.tool-head .article-dek { margin: 0 0 14px; }
.tool-privacy { margin: 0; font-size: 14px; color: var(--accent); }
.pl { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px 88px; align-items: start; padding-top: clamp(48px, 5vw, 72px); padding-bottom: clamp(88px, 9vw, 120px); }
.js .pl-form.needs-js, .js .pl-days.needs-js { display: block; }
.js .pl-stats.needs-js { display: grid; }
.pl-form { position: sticky; top: 24px; padding: 32px; background: var(--stone); }
.ck-field { margin: 0 0 22px; padding: 0; border: 0; }
.ck-field .fine { margin-top: 8px; }
.pl-actions .btn { margin-top: 6px; }
.btn-quiet { min-height: 48px; padding: 0 4px; background: none; border: 0; color: var(--ink); font: 500 15px var(--sans); text-decoration: underline; text-underline-offset: 6px; cursor: pointer; }
.pl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pl-select, .pl-input { width: 100%; min-height: 54px; padding: 0 14px; border: 1px solid var(--linen); border-bottom-color: var(--ink); border-radius: 0; background: #FBFAF7; color: var(--ink); font: 16px var(--sans); }

/* The checkup consultation ---------------------------------------------------------------
   Written for older eyes: large type, dark text, large targets, one question at a time. */

/* The full list, for visitors without JavaScript */
.ck { display: block; padding-top: 40px; padding-bottom: 40px; }
.ck-group { margin: 0 0 40px; }
.ck-list { list-style: none; margin: 0; padding: 0; }
.ck-item { padding: 18px 0; border-bottom: 1px solid var(--linen); }
.ck-name { margin: 0 0 4px; font-weight: 600; font-size: 19px; line-height: 1.3; }
.ck-how { margin: 0; font-size: 17px; line-height: 1.5; color: var(--graphite); }
.ck-meta { margin: 6px 0 0; font-size: 15px; color: var(--graphite); }
.ck-notes { max-width: 860px; margin: 0 0 36px; font-size: 16px; line-height: 1.55; color: var(--graphite); }
.ck-notes p { margin: 0 0 10px; }
.ck-next .rule-list a { font-size: 18px; }
.cg-about { padding-top: 56px; padding-bottom: clamp(72px, 8vw, 112px); border-top: 1px solid var(--linen); }

.cg [hidden] { display: none !important; }
.cg-label { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.cg .btn-quiet { font-size: 17px; }

/* The start: two answers beside the introduction */
.js .cg-first.needs-js, .js .cg-result.needs-js { display: block; }
.cg-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px clamp(40px, 6vw, 96px); align-items: end; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(28px, 3vw, 40px); }
.cg-intro .display-l { margin: 0 0 20px; font-size: clamp(44px, 4.6vw, 72px); }
.cg-intro .article-dek { margin: 0; max-width: 620px; }
.cg-first { padding: 26px 28px 22px; background: #FFFFFF; border-top: 3px solid var(--ink); }
.cg-field + .cg-field { margin-top: 22px; }
.cg-field-label { display: block; margin: 0 0 10px; font-size: 19px; font-weight: 600; }
.cg-age { display: flex; align-items: stretch; }
.cg-age input { width: 140px; min-height: 72px; padding: 0 12px; border: 1px solid var(--ink); border-left: 0; border-right: 0; border-radius: 0; background: #FFFFFF; font-family: var(--display); font-size: 44px; text-align: center; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.cg-age input::-webkit-outer-spin-button, .cg-age input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cg-step { width: 72px; min-height: 72px; border: 1px solid var(--ink); border-radius: 0; background: var(--porcelain); color: var(--ink); font: 400 32px/1 var(--sans); cursor: pointer; }
.cg-step:hover { background: var(--stone); }
.cg-privacy { margin: 0; font-size: 15px; color: var(--graphite); }
.cg-first .cg-privacy { margin-top: 18px; }
.cg-hint { max-width: 640px; margin: 14px 0 0; font-size: 18px; line-height: 1.5; color: var(--graphite); }
.cg-opts { max-width: 760px; margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cg-opts.is-many { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cg-opts.is-small { margin-top: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cg-opt { min-height: 64px; padding: 10px 18px; border: 1px solid #8F8B82; border-radius: 0; background: #FFFFFF; color: var(--ink); font: 500 18px/1.3 var(--sans); text-align: left; cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.cg-opts.is-small .cg-opt { min-height: 52px; font-size: 16.5px; }
.cg-opt:hover { border-color: var(--ink); }
.cg-opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--porcelain); }
.cg-error { margin: 12px 0 0; font-size: 17px; font-weight: 500; color: #8E2A1F; }
.cg-error:empty { display: none; }
.cg-tree { position: relative; max-width: 640px; margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 96px 96px 96px; gap: 40px 18px; }
.cg-ln { position: absolute; background: #8F8B82; }
.cg-ln.a { top: 48px; left: 30%; right: 30%; height: 1px; }
.cg-ln.b { top: 48px; left: 50%; width: 1px; height: 68px; }
.cg-ln.c { top: 116px; left: 16.66%; width: 33.34%; height: 1px; }
.cg-ln.d { top: 116px; left: 16.66%; width: 1px; height: 20px; }
.cg-ln.e { top: 116px; left: 50%; width: 1px; height: 20px; }
.cg-ln.f { top: 232px; left: 50%; width: 1px; height: 40px; }
.cg-person { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 10px 14px; border: 1px solid #8F8B82; border-radius: 0; background: #FFFFFF; color: var(--ink); text-align: left; cursor: pointer; font: inherit; transition: background-color .25s var(--ease); }
.cg-person:hover { border-color: var(--ink); }
.cg-person.has { background: var(--deep); border-color: var(--deep); color: var(--porcelain); }
.cg-person.on { outline: 2px solid var(--ink); outline-offset: 3px; }
.cg-person-name { font-size: 18px; font-weight: 600; line-height: 1.25; }
.cg-person-note { margin-top: 4px; font-size: 14.5px; line-height: 1.3; }
.cg-you { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--ink); background: var(--porcelain); font-family: var(--display); font-size: 28px; }
.cg-pick { max-width: 640px; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--ink); }
.cg-pick-q { margin: 12px 0 0; font-size: 18px; font-weight: 600; }
.cg-pick .btn-quiet { margin-top: 10px; }
.cg-src { margin: 12px 0 0; font-size: 15px; color: var(--graphite); }
.cg-opts.is-two { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Before the two answers, the card says what is coming */
.cg-preview { list-style: none; margin: 4px 0 16px; padding: 0; }
.cg-preview li { padding: 12px 0; border-bottom: 1px solid var(--linen); }
.cg-preview .cg-chip { font-size: 16.5px; color: var(--ink); }

/* Make it more accurate: every optional question on one page */
.cg-refine { padding-top: clamp(56px, 6vw, 88px); }
.cg-refine-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.cg-refine-head .h-sub { margin-bottom: 8px; }
.cg-refine-lead { max-width: 640px; margin: 0; font-size: 17.5px; line-height: 1.55; color: var(--graphite); }
.cg-meter { min-width: 240px; }
.cg-meter p { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.cg-meter-bar { display: block; height: 4px; background: var(--linen); }
.cg-meter-bar span { display: block; height: 100%; background: var(--deep); transition: width .5s var(--ease); }
.cg-part { padding-top: 36px; }
.cg-part > .cg-label { margin-bottom: 0; }
.cg-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px clamp(32px, 5vw, 72px); padding: 26px 0; border-bottom: 1px solid var(--linen); }
.cg-row-title { display: flex; align-items: baseline; gap: 12px; margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; }
.cg-tick { flex: 0 0 auto; width: 14px; height: 14px; border: 1.5px solid #8F8B82; border-radius: 50%; box-sizing: border-box; transform: translateY(1px); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.cg-row.is-answered .cg-tick { background: var(--deep); border-color: var(--deep); }
.cg-row .cg-hint { margin-top: 8px; font-size: 17px; }
.cg-why { margin-top: 10px; }
.cg-why summary { cursor: pointer; font-size: 16px; font-weight: 600; color: var(--accent); }
.cg-why p { margin: 8px 0 0; font-size: 17px; line-height: 1.55; color: var(--graphite); }
.cg-why .cg-src { font-size: 15px; }
.cg-row-a .cg-opts.is-small { margin-top: 0; }
.cg-row-a .cg-tree { margin-top: 0; margin-bottom: 14px; }
.cg-row-a .cg-pick + .cg-opts { margin-top: 14px; }
.cg-changed { margin: 12px 0 0; padding: 10px 14px; background: #EEF3EF; border-left: 3px solid var(--deep); font-size: 16.5px; line-height: 1.5; animation: tile-in .45s var(--ease) both; }
.cg-changed.is-quiet { background: transparent; border-left-color: var(--linen); color: var(--graphite); }
.cg-changed:empty { display: none; }

/* The bar that keeps the result in view while answering further down */
.cg-summary { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 12px var(--gutter); background: var(--ink); color: var(--porcelain); border-top: 1px solid rgba(243, 242, 238, .2); }
.cg-summary-text { margin: 0; font-size: 17px; font-weight: 600; }
.cg-summary-go { min-height: 48px; padding: 0 20px; border: 1px solid rgba(243, 242, 238, .6); border-radius: 0; background: transparent; color: var(--porcelain); font: 600 16px/1 var(--sans); cursor: pointer; }
.cg-summary-go:hover { background: rgba(243, 242, 238, .08); }
.page-consult .site-footer { padding-bottom: 120px; }

/* Under the result: plan a checkup, print the brief, start again */
.cg-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.cg-plan-note { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.5; color: var(--graphite); }

/* The result */
.cg-res-head { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 28px; }
.cg-headline { max-width: 1100px; margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; outline: none; }
.cg-headline em { font-style: italic; }
.cg-res-sub { max-width: 780px; margin: 16px 0 0; font-family: var(--reading); font-size: 20px; line-height: 1.55; color: var(--graphite); }
.cg-res-actions, .cg-res-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 24px; }
.cg-res-actions .btn, .cg-res-foot .btn { min-height: 60px; padding: 0 30px; font-size: 17px; }
.cg-res-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 28px; align-items: start; }
.cg-scan { position: relative; aspect-ratio: 1200 / 1000; container-type: inline-size; background: #101412; color: #F3F2EE; }
.cg-stage { position: absolute; inset: 0; }
.cg-stage canvas { display: block; width: 100%; height: 100%; }
.cg-lbl, .cg-lbl-head { position: absolute; transform: translateY(-50%); }
.cg-lbl { width: 26cqw; padding: 4px 0; border: 0; background: none; color: #F3F2EE; font: inherit; cursor: pointer; }
.cg-lbl.is-left, .cg-lbl-head.is-left { right: 69cqw; text-align: right; }
.cg-lbl.is-right, .cg-lbl-head.is-right { left: 69cqw; text-align: left; }
.cg-lbl-t { display: block; font-size: max(15px, 1.5cqw); font-weight: 600; line-height: 1.25; }
.cg-lbl-s { display: block; margin-top: 2px; font-size: max(13px, 1.2cqw); line-height: 1.3; color: #A9B4AE; }
.cg-num { margin-right: .35em; font-family: var(--display); font-weight: 400; font-size: 1.2em; color: #A9BDB0; }
.cg-lbl.is-not .cg-lbl-t { font-weight: 500; color: #B5BDB8; }
.cg-lbl:hover .cg-lbl-t, .cg-lbl[aria-pressed="true"] .cg-lbl-t { color: #FFFFFF; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cg-lbl:focus-visible { outline: 2px solid #A9BDB0; outline-offset: 4px; }
.cg-lbl-head { margin: 0; font-size: max(11px, 1cqw); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #A9BDB0; white-space: nowrap; }
.cg-lbl-head.is-not { color: #8F9792; }
.cg-tap { position: absolute; left: 0; right: 0; bottom: 10px; margin: 0; text-align: center; font-size: 14px; color: #8F9792; }
.cg-scan.is-compact { aspect-ratio: auto; }
.cg-scan.is-compact .cg-stage { position: relative; aspect-ratio: 560 / 1000; max-height: 78vh; margin: 0 auto; }
.cg-scan.is-compact .cg-labels { padding: 4px 18px 18px; }
.cg-scan.is-compact .cg-lbl, .cg-scan.is-compact .cg-lbl-head { position: static; transform: none; width: auto; text-align: left; top: auto !important; }
.cg-scan.is-compact .cg-lbl { display: block; width: 100%; padding: 12px 0; border-top: 1px solid rgba(243, 242, 238, .12); }
.cg-scan.is-compact .cg-lbl-head { margin: 22px 0 4px; }
.cg-scan.is-compact .cg-tap { position: static; padding: 0 18px 18px; text-align: left; }

.cg-card { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 26px 26px 22px; background: #FFFFFF; box-shadow: inset 0 1px 0 var(--ink); }
.cg-chip { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14.5px; font-weight: 600; color: var(--deep); }
.cg-chip span { flex: 0 0 auto; width: 11px; height: 11px; border-radius: 50%; box-sizing: border-box; }
.cg-chip.is-due span { background: var(--deep); box-shadow: 0 0 0 4px rgba(34, 51, 44, .14); }
.cg-chip.is-ok span { border: 2px solid var(--deep); }
.cg-chip.is-later span { border: 2px dashed var(--deep); }
.cg-chip.is-talk span { border: 1.5px solid var(--ink); }
.cg-chip.is-not { color: var(--graphite); }
.cg-chip.is-not span { background: #CBC6BC; }
.cg-card-title { margin: 12px 0 14px; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.04; }
.cg-card-full { margin: -8px 0 14px; font-size: 14.5px; color: var(--graphite); }
.cg-specs { margin: 0 0 6px; display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--linen); }
.cg-specs div { padding: 10px 10px 10px 0; }
.cg-specs div + div { padding-left: 10px; border-left: 1px solid var(--linen); }
.cg-specs dt { font-size: 13px; color: var(--graphite); }
.cg-specs dd { margin: 4px 0 0; font-family: var(--display); font-size: 21px; line-height: 1.15; }
.cg-illus { margin: 16px 0 8px; padding: 14px; background: #FBF8F5; text-align: center; }
.cg-illus img { display: inline-block; width: auto; max-width: 78%; max-height: 240px; }
.cg-illus.is-grey img { filter: grayscale(1); opacity: .55; }
.cg-illus figcaption { margin-top: 8px; font-size: 12.5px; color: var(--graphite); }
.cg-card .cg-label { margin-top: 18px; }
.cg-card-text { margin: 0; font-size: 17px; line-height: 1.55; }
.cg-foryou { margin-top: 6px; }
.cg-foryou p:not(.cg-label) { margin: 0 0 8px; font-size: 16.5px; line-height: 1.5; }
.cg-sub { padding: 14px 0; border-top: 1px solid var(--linen); }
.cg-sub h4 { margin: 0 0 4px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.cg-sub-status { margin: 0 0 6px; font-size: 14.5px; font-weight: 600; color: var(--deep); }
.cg-card-src { margin: 14px 0 0; font-size: 15px; color: var(--graphite); }
.cg-card-src a { color: var(--accent); text-underline-offset: 3px; }

.cg-talk { padding-top: 28px; }
.cg-talk-list { display: flex; flex-wrap: wrap; gap: 10px; }
.cg-talk-item { min-height: 52px; padding: 8px 18px; border: 1px solid var(--ink); border-radius: 0; background: #FFFFFF; color: var(--ink); font: 500 16.5px/1.3 var(--sans); text-align: left; cursor: pointer; }
.cg-talk-item[aria-pressed="true"] { background: var(--ink); color: var(--porcelain); }

.cg-years { padding-top: clamp(56px, 6vw, 88px); }
.cg-years-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.cg-years-head .h-sub { margin-bottom: 8px; }
.cg-years-lead { max-width: 640px; margin: 0; font-size: 17.5px; line-height: 1.55; color: var(--graphite); }
.cg-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--graphite); }
.cg-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cg-legend .cg-tile { width: 22px; height: 14px; padding: 0; animation: none; }
.cg-sky { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); }
.cg-sky-col { display: flex; flex-direction: column; min-width: 0; padding: 18px 5px 0; border-right: 1px solid var(--linen); }
.cg-sky-col:last-child { border-right: 0; }
.cg-sky-col.is-now { background: rgba(34, 51, 44, .06); }
.cg-sky-stack { flex: 1; min-height: 120px; display: flex; flex-direction: column-reverse; justify-content: flex-start; gap: 4px; }
.cg-tile { display: block; padding: 7px 8px; background: #DCE5DF; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; animation: tile-in .6s var(--ease) both; }
.cg-tile.is-now { background: var(--deep); color: var(--porcelain); }
.cg-tile.is-first { background: #FFFFFF; outline: 1px dashed var(--deep); outline-offset: -1px; }
@keyframes tile-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .cg-tile { animation: none; } }
.cg-sky-base { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; margin-top: 10px; padding: 10px 2px 14px; border-top: 1px solid var(--ink); }
.cg-sky-year { font-family: var(--display); font-size: 26px; line-height: 1; }
.cg-sky-age { font-size: 13px; color: var(--graphite); }
.cg-sky-n { margin-top: 4px; font-size: 13.5px; font-weight: 600; }
.cg-sky-col.is-quiet .cg-sky-n { font-weight: 400; color: var(--slate); }
.cg-sky-col.is-now .cg-sky-age { font-weight: 600; color: var(--deep); }
.cg-sky-trip { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--accent); }
.cg-sky-home { margin: 14px 0 0; font-size: 15.5px; color: var(--graphite); }
@media (max-width: 760px) {
  .cg-sky { grid-template-columns: 1fr; }
  .cg-sky-col { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 14px; padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--linen); }
  .cg-sky-col.is-now { padding-left: 10px; padding-right: 10px; }
  .cg-sky-stack { order: 2; min-height: 0; flex-direction: row; flex-wrap: wrap; align-content: flex-start; gap: 6px; }
  .cg-sky-base { order: 1; margin: 0; padding: 0; border: 0; }
  .cg-tile { padding: 7px 10px; }
}
.cg-res-foot { padding-top: 32px; padding-bottom: 32px; margin-top: 32px; border-top: 1px solid var(--linen); border-bottom: 1px solid var(--linen); }

/* "What happens to 1,000 people like you", inside a card */
.facts { margin-top: 22px; padding: 18px 16px; background: #FBFAF7; border-top: 1px solid var(--ink); }
.facts-label { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.facts-summary { margin: 0 0 6px; font-family: var(--display); font-size: 24px; line-height: 1.2; }
.facts-who { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--graphite); }
.facts-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.facts-table th, .facts-table td { padding: 9px 4px; border-bottom: 1px solid var(--linen); text-align: left; vertical-align: middle; }
.facts-table thead th { font-size: 12.5px; font-weight: 600; color: var(--graphite); text-align: right; }
.facts-table tbody th { padding-left: 0; font-weight: 400; line-height: 1.35; }
.facts-table td { width: 62px; text-align: right; font-family: var(--display); font-size: 25px; line-height: 1; white-space: nowrap; }
.facts-table tr.is-same td { color: var(--graphite); }
.facts-chip { display: inline-block; width: 11px; height: 11px; margin-right: 8px; border-radius: 50%; }
.is-benefit .facts-chip, .d-benefit { background: #1F4A3A; }
.is-harm .facts-chip, .d-harm { background: #E2A84A; }
.is-harm2 .facts-chip, .d-harm2 { background: #A3412F; }
.facts-dots { margin: 18px 0 0; }
.facts-blocks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.facts-block { position: relative; aspect-ratio: 1; background: radial-gradient(circle closest-side, #D3CEC4 66%, transparent 72%) 0 0 / 10% 10%; }
.facts-block i { position: absolute; width: 6.4%; height: 6.4%; border-radius: 50%; }
.facts-dots figcaption { margin-top: 8px; font-size: 13.5px; color: var(--graphite); }
.facts-trend { margin: 0; display: grid; }
.facts-trend div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--linen); }
.facts-trend dt { font-size: 16px; line-height: 1.4; }
.facts-trend dd { margin: 0; font-family: var(--display); font-size: 24px; text-align: right; }
.facts-trend .is-harm dd { color: #A3412F; }
.facts-source { margin: 14px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--graphite); }
.facts-source a { color: inherit; text-underline-offset: 3px; }

.lang-zh .cg-row-title, .lang-zh .cg-headline, .lang-zh .cg-card-title, .lang-zh .facts-summary { font-weight: 500; }
.lang-zh .cg-row-title { font-size: 24px; line-height: 1.35; }
.lang-zh .cg-headline { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.25; }
.lang-zh .cg-card-title { font-size: 32px; line-height: 1.3; }

/* The brief only appears on paper */
.cg-brief { display: none; }

@media (max-width: 1100px) {
  .cg-res-grid { grid-template-columns: 1fr; }
  .cg-card { position: static; max-height: none; }
}
@media (max-width: 900px) {
  .cg-top { grid-template-columns: 1fr; align-items: start; }
  .cg-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cg-first { padding: 22px 18px 18px; }
  .cg-opts, .cg-opts.is-many { grid-template-columns: 1fr; }
  .cg-opts.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-row-title { font-size: 24px; }
  .cg-summary { padding: 10px 16px; }
  .cg-summary-text { font-size: 15.5px; }
  .cg-tree { grid-template-rows: 88px 88px 88px; gap: 36px 10px; }
  .cg-ln.a, .cg-ln.b { top: 44px; }
  .cg-ln.b { height: 62px; }
  .cg-ln.c, .cg-ln.d, .cg-ln.e { top: 106px; }
  .cg-ln.d, .cg-ln.e { height: 18px; }
  .cg-ln.f { top: 212px; height: 36px; }
  .cg-person { padding: 8px 10px; }
  .cg-person-name { font-size: 16px; }
  .cg-person-note { font-size: 13px; }
  .cg-card { padding: 22px 18px; }
  .cg-card-title { font-size: 34px; }
}
@media print {
  .page-consult main > *:not(.cg), .page-consult .cg > *:not(.cg-brief) { display: none !important; }
  .page-consult .cg-brief { display: block; color: #000; font-size: 11pt; line-height: 1.45; }
  .cg-brief-mast { display: flex; justify-content: space-between; margin: 0 0 10pt; padding-bottom: 6pt; border-bottom: 1pt solid #000; font-size: 10pt; }
  .cg-brief-mast span:first-child { font-family: var(--display); font-size: 16pt; }
  .cg-brief h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26pt; }
  .cg-brief-for { margin: 2pt 0 12pt; font-style: italic; }
  .cg-brief h3 { margin: 14pt 0 4pt; font-size: 9pt; letter-spacing: .14em; text-transform: uppercase; }
  .cg-brief-about { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14pt; }
  .cg-brief-about div { padding: 3pt 0; border-bottom: .5pt solid #999; }
  .cg-brief-about dt { font-size: 8pt; color: #333; }
  .cg-brief-about dd { margin: 0; }
  .cg-brief-table { width: 100%; border-collapse: collapse; }
  .cg-brief-table th, .cg-brief-table td { padding: 4pt 6pt 4pt 0; border-bottom: .5pt solid #999; text-align: left; }
  .cg-brief-table th { border-bottom: 1pt solid #000; font-size: 9pt; }
  .cg-box { display: inline-block; width: 10pt; height: 10pt; border: 1pt solid #000; }
  .cg-brief ul { margin: 0; padding-left: 14pt; }
  .cg-brief-leave { margin-top: 12pt; padding: 6pt 10pt; border: 1pt solid #000; }
  .cg-brief-leave h3 { margin-top: 0; }
  .cg-brief-leave p { margin: 0; }
  .cg-brief-foot { margin-top: 16pt; padding-top: 6pt; border-top: .5pt solid #999; font-size: 8.5pt; color: #333; }
}

.pl-stats { margin: 0 0 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pl-stats div { border-top: 1px solid var(--ink); padding-top: 12px; }
.pl-stats dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.pl-stats dd { margin: 6px 0 0; font-family: var(--display); font-size: 40px; line-height: 1; }
.pl-days { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--linen); }
.pl-day { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4px 32px; padding: 18px 0; border-bottom: 1px solid var(--linen); }
.pl-date { grid-row: 1 / span 2; margin: 0; font-size: 14px; color: var(--slate); }
.pl-date span { display: block; margin-top: 2px; font-family: var(--display); font-size: 26px; color: var(--ink); }
.pl-title { margin: 0; font-family: var(--display); font-size: 28px; line-height: 1.1; }
.pl-text { margin: 0; color: var(--muted); }
.pl-day.is-key { background: var(--deep); color: var(--porcelain); padding-left: 18px; padding-right: 18px; border-bottom-color: var(--deep); }
.pl-day.is-key .pl-date, .pl-day.is-key .pl-text { color: rgba(243, 242, 238, .8); }
.pl-day.is-key .pl-date span { color: var(--porcelain); }
.pl-day.is-muted .pl-title { color: var(--slate); }
.lang-zh .pl-title { font-weight: 500; font-size: 24px; }

@media (max-width: 960px) {
  .tool-head-grid, .pl { grid-template-columns: 1fr; }
  .pl-form { position: static; }
}
@media (max-width: 560px) {
  .pl-form { padding: 22px 18px; }
  .pl-day { grid-template-columns: 1fr; }
  .pl-date { grid-row: auto; }
  .pl-stats dd { font-size: 30px; }
}
@media print {
  .pl-form, .tool-head .tool-privacy, .pl .btn { display: none !important; }
  .pl { display: block; padding-top: 16px; }
}

/* Home: the two tools ------------------------------------------------------------------ */

