/* =====================================================================
   티나나 — 표본집 (design-taste-frontend / uneven-photographs)
   dealt palette: slate #a6b3bc · sage #b7c8be · blush #d6c4b8 · olive #2c3620
   Kept from the brand: Korean serif display, small quiet text, left grid.
   This file overrides the legacy token layer and defines the home page.
   ===================================================================== */

:root {
  --bg: #a6b3bc;
  --surface: #b2bdc5;
  --ink: #1c1c1c;
  --muted: #38424a;
  --accent: #2c3620;
  --accent-ink: #ffffff;
  --field-1: #a6b3bc;
  --field-2: #b7c8be;
  --field-3: #d6c4b8;
  --field-4: #2c3620;

  /* legacy token remap: the whole SPA takes the dealt palette */
  --paper: var(--bg);
  --paper-2: var(--surface);
  --paper-3: #9aa8b1;
  --card: var(--field-2);
  --ink-soft: var(--ink);
  --line: transparent;
  --line-strong: transparent;
  --matcha: var(--accent);
  --matcha-deep: #1f2717;
  --matcha-tint: var(--field-2);
  --amber: var(--accent);
  --amber-tint: var(--field-3);
  --clay: var(--muted);
  --clay-tint: var(--field-3);
  --focus: #1c1c1c;
}

html {
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

a {
  color: inherit;
}

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

/* ---------- chrome: header / footer ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border: 0 !important;
  box-shadow: none !important; /* taste-skill-ignore: cancels legacy decoration / neutral photo scrim */
  backdrop-filter: none !important; /* taste-skill-ignore: cancels legacy decoration / neutral photo scrim */
  -webkit-backdrop-filter: none !important; /* taste-skill-ignore: cancels legacy decoration / neutral photo scrim */
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  align-self: center;
  width: 30px;
  height: 30px;
  color: var(--ink);
}

.brand__word {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__latin {
  display: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: auto;
  font-size: 16px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
}

.nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--field-2);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 0;
}

.site-footer {
  margin-top: 140px;
  padding: 72px 0 40px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0 !important;
  font-size: 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: start;
}

.footer-word {
  margin: 0;
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.footer-word span {
  font-size: 0.32em;
  letter-spacing: 0.08em;
  margin-left: 10px;
}

.footer-desc,
.footer-meta p,
.footer-note p {
  color: var(--accent-ink);
  font-size: 16px;
  line-height: 1.6;
}

.footer-desc {
  margin: 20px 0 0;
  max-width: 34ch;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
}

.footer-nav a {
  color: var(--accent-ink);
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-label {
  display: none;
}

.footer-meta p {
  margin: 0 0 10px;
}

.footer-fine {
  color: var(--accent-ink);
  font-size: 15px;
  opacity: 0.86;
}

.footer-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  margin-top: 56px;
  padding-top: 26px;
  border: 0;
  font-size: 15px;
}

.footer-note p {
  margin: 0;
  font-size: 15px;
}

.footer-credit {
  grid-column: 1 / -1;
  color: var(--accent-ink);
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.92;
}

.footer-credit a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- page shell ---------- */

.tp {
  overflow-x: clip;
}

.tp-wrap {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.tp-hero {
  position: relative;
  min-height: min(78svh, 760px);
  margin: 0;
  background: var(--field-4);
  overflow: hidden;
  isolation: isolate;
}

.tp-hero__media,
.tp-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tp-hero__media img {
  object-fit: cover;
  object-position: center 62%;
  display: block;
}

.tp-hero__media img:nth-child(2) {
  opacity: 0;
  animation: tp-cross 27s linear infinite 9s;
}

.tp-hero__media img:nth-child(3) {
  opacity: 0;
  animation: tp-cross 27s linear infinite 18s;
}

.tp-hero__media img:nth-child(1) {
  animation: tp-cross-first 27s linear infinite;
}

@keyframes tp-cross-first {
  0%, 30% { opacity: 1; }
  36%, 100% { opacity: 0; }
}

@keyframes tp-cross {
  0%, 30% { opacity: 0; }
  36%, 66% { opacity: 1; }
  72%, 100% { opacity: 0; }
}

.tp-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(18, 22, 20, 0.78) 0%, rgba(18, 22, 20, 0.42) 34%, rgba(18, 22, 20, 0) 58%); /* taste-skill-ignore: cancels legacy decoration / neutral photo scrim */
  pointer-events: none;
}

.tp-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(20px, 3vw, 34px) 0 clamp(30px, 4vw, 48px);
}

.tp-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  color: #fff;
  font-size: 16px;
}

.tp-hero__top p {
  margin: 0;
}

.tp-hero__top a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tp-hero__fact {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 300px;
  margin: 0;
  padding: 26px 28px;
  background: var(--accent);
  color: #fff;
}

.tp-hero__fact p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.tp-hero__fact-big {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.tp-hero__fact a {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  font-size: 17px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.tp-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.tp-hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.tp-hero__sentence {
  margin: 0;
  max-width: 26ch;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  text-align: right;
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: 0;
}

.tp-btn:hover,
.tp-btn:focus-visible {
  background: #1f2717;
  color: #fff;
}

.tp-btn:active {
  transform: translateY(1px);
}

.tp-figcap {
  margin: 12px auto 0;
  font-size: 16px;
  color: var(--ink);
}

.tp-figcap a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- stats: quiet figure lines ---------- */

.tp-stats {
  padding: clamp(96px, 12vw, 168px) 0;
}

.tp-stats h2,
.tp-showcase h2,
.tp-proof h2,
.tp-list h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.02em;
}

.tp-stats__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 64px);
}

.tp-stats__rows {
  margin: 0;
  display: grid;
  gap: 28px;
}

.tp-stats__rows > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
}

.tp-stats__rows dt {
  margin: 0;
  text-align: right;
  font-family: var(--font-display);
  color: var(--ink);
}

.tp-stats__rows dt strong {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.tp-stats__rows dt span {
  margin-left: 4px;
  font-size: 16px;
  color: var(--muted);
}

.tp-stats__rows dd {
  margin: 0;
  max-width: 42ch;
  font-size: 17px;
  color: var(--ink);
}

.tp-stats__photo {
  margin: 80px 0 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--field-3);
  overflow: hidden;
}

.tp-stats__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- showcase: frame run, one lifted ---------- */

.tp-showcase {
  padding: clamp(96px, 12vw, 168px) 0;
}

.tp-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.tp-showcase__side {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
}

.tp-showcase__note {
  margin: 26px 0 0;
  max-width: 26ch;
  font-size: 16px;
  color: var(--ink);
}

.tp-link {
  display: inline-block;
  font-size: 16px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.tp-showcase__run {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px;
  min-height: 0;
  padding-bottom: 2px;
  overflow: visible;
}

.tp-frame {
  margin: 0;
  flex: 0 0 auto;
  height: 26vh;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tp-frame--lift {
  height: 46vh;
  min-height: 340px;
}

.tp-frame__art {
  flex: 1 1 auto;
  min-height: 0;
  background: var(--field-1);
  overflow: hidden;
}

.tp-frame:nth-child(2n) .tp-frame__art {
  background: var(--field-2);
}

.tp-frame:nth-child(3n) .tp-frame__art {
  background: var(--field-3);
}

.tp-frame:nth-child(4n) .tp-frame__art {
  background: var(--surface);
}

.tp-frame__art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tp-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 16px;
  white-space: nowrap;
}

.tp-frame figcaption span:last-child {
  color: var(--muted);
}

.tp-frame__name {
  font-weight: 600;
}

/* ---------- proof: plain names in columns ---------- */

.tp-proof {
  padding: clamp(96px, 12vw, 168px) 0;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.tp-proof__head p {
  margin: 22px 0 0;
  max-width: 28ch;
  font-size: 16px;
  color: var(--ink);
}

.tp-proof__names {
  columns: 4;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-proof__names li {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  break-inside: avoid;
  padding: 0 0 6px;
  overflow-wrap: anywhere;
}

/* ---------- how: photographs down a diagonal + live scale ---------- */

.tp-how {
  padding: clamp(96px, 12vw, 168px) 0 0;
}

.tp-how h2 {
  margin: 0 0 0 auto;
  width: min(100%, 50%);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.tp-how__stage {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(40px, 6vw, 88px);
  align-items: start;
}

.tp-how__stage figure {
  margin: 0;
  background: var(--field-1);
  overflow: hidden;
}

.tp-how__stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-how__stage p {
  margin: 0;
  max-width: 36ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

.tp-how__stage p strong {
  font-weight: 700;
}

.tp-how__stage--1 {
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
}

.tp-how__stage--1 figure {
  aspect-ratio: 3 / 4;
}

.tp-how__stage--2 {
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  margin-top: 0;
}

.tp-how__stage--2 figure {
  aspect-ratio: 1 / 1;
  margin-top: 120px;
  grid-column: 2;
}

.tp-how__stage--2 p {
  grid-column: 3;
  padding-top: 120px;
}

.tp-how__stage--3 {
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  margin-top: 0;
}

.tp-how__stage--3 figure {
  grid-column: 2 / 4;
  aspect-ratio: 16 / 10;
  margin-top: 60px;
}

.tp-how__stage--3 p {
  grid-column: 1;
  padding-top: 60px;
}

/* live thing: brewing scale */

.tp-scale {
  margin-top: clamp(64px, 8vw, 112px);
  background: var(--field-2);
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.tp-scale h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.tp-scale__intro p {
  margin: 14px 0 0;
  max-width: 34ch;
  font-size: 16px;
  color: var(--ink);
}

.tp-scale__controls {
  display: grid;
  gap: 16px;
}

.tp-scale label {
  display: grid;
  gap: 6px;
  font-size: 16px;
  color: var(--ink);
}

.tp-scale select {
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--muted);
  border-radius: 0;
}

.tp-scale__out {
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
}

.tp-scale__out div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  font-size: 17px;
}

.tp-scale__out dt {
  color: var(--muted);
}

.tp-scale__out dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tp-scale__note {
  margin: 18px 0 0;
  font-size: 16px;
  color: var(--ink);
}

.tp-scale__note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tp-scale table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 16px;
}

.tp-scale th,
.tp-scale td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--muted);
  text-align: left;
}

/* ---------- list: statement, table pushed right ---------- */

.tp-list {
  padding: clamp(96px, 12vw, 168px) 0;
}

.tp-list h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 18ch;
  padding-left: 3vw;
}

.tp-list__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: clamp(24px, 4vw, 48px);
  margin-top: 96px;
  align-items: end;
}

.tp-list__photo {
  grid-column: 1;
  margin: 0;
  width: min(100%, 22vw);
  min-width: 200px;
  aspect-ratio: 4 / 5;
  background: var(--field-3);
  overflow: hidden;
}

.tp-list__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tp-list__table {
  grid-column: 2 / 4;
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.tp-list__table td {
  padding: 13px 0;
  vertical-align: baseline;
}

.tp-list__table tr + tr td {
  padding-top: 26px;
}

.tp-list__country {
  width: 84px;
  color: var(--muted);
}

.tp-list__name a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.tp-list__name a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tp-list__meta {
  color: var(--ink);
  font-size: 16px;
}

.tp-list__value {
  text-align: right;
  white-space: nowrap;
}

.tp-list__foot {
  grid-column: 2 / 4;
  margin: 28px 0 0;
}

/* ---------- cta: three photographs, then a field ---------- */

.tp-cta__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.tp-cta__strip figure {
  margin: 0;
  height: 40svh;
  min-height: 280px;
  overflow: hidden;
  background: var(--field-1);
}

.tp-cta__strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tp-cta__band {
  background: var(--accent);
  color: var(--accent-ink);
  padding: clamp(48px, 7vw, 96px) 0;
}

.tp-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}

.tp-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 26ch;
}

.tp-cta h2 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.tp-cta__lines {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.tp-cta__photo {
  margin: 0;
  justify-self: end;
  width: 150px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--field-3);
}

.tp-cta__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- motion ---------- */

.tp [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tp [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.tp .tp-cta__strip img {
  transition: transform 8s ease-out;
}

.tp .tp-cta__strip figure:hover img {
  transform: scale(1.03);
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .tp-proof {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
  .tp-proof__names {
    columns: 3;
  }
  .tp-list__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
  .tp-list__photo {
    width: 100%;
  }
  .tp-list__table,
  .tp-list__foot {
    grid-column: 2;
  }
  .tp-cta__inner {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }
  .tp-cta__photo {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 17px;
  }
  .tp-stats__grid {
    grid-template-columns: 1fr;
  }
  .tp-stats__photo {
    margin-top: 40px;
    width: 72%;
    justify-self: end;
  }
  .tp-showcase__grid {
    grid-template-columns: 1fr;
  }
  .tp-showcase__side {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 12px;
  }
  .tp-showcase__note {
    grid-column: 1 / -1;
    margin-top: 6px;
  }
  .tp-showcase__run {
    min-height: 0;
    margin-top: 24px;
    align-items: flex-end;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }
  .tp-frame {
    height: 34vw;
    min-height: 180px;
    scroll-snap-align: start;
  }
  .tp-frame--lift {
    height: 76vw;
    min-height: 320px;
  }
  .tp-proof {
    grid-template-columns: 1fr;
  }
  .tp-proof__names {
    columns: 2;
    column-gap: 20px;
  }
  .tp-proof__names li {
    font-size: 17px;
  }
  .tp-how h2 {
    width: 100%;
    margin-left: 0;
    font-size: 30px;
  }
  .tp-how__stage {
    display: block;
    margin-top: 48px;
  }
  .tp-how__stage figure {
    margin: 0 0 20px;
  }
  .tp-how__stage--1 figure {
    width: 100%;
  }
  .tp-how__stage--2 figure {
    width: 62%;
    margin-left: auto;
    margin-top: 0;
  }
  .tp-how__stage--3 figure {
    width: 78%;
    margin-top: 0;
  }
  .tp-how__stage--3 p {
    padding-top: 0;
  }
  .tp-how__stage p + p {
    margin-top: 40px;
  }
  .tp-scale {
    grid-template-columns: 1fr;
    margin-top: 56px;
    padding: 28px 20px;
  }
  .tp-list h2 {
    font-size: 9.5vw;
    padding-left: 0;
  }
  .tp-list__grid {
    display: block;
    margin-top: 40px;
  }
  .tp-list__table {
    width: 100%;
    font-size: 16px;
  }
  .tp-list__table td {
    display: block;
    padding: 0;
  }
  .tp-list__table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 20px 0 0;
  }
  .tp-list__table tr + tr td {
    padding-top: 0;
  }
  .tp-list__country {
    grid-column: 1;
    width: auto;
  }
  .tp-list__name {
    grid-column: 1;
  }
  .tp-list__meta {
    grid-column: 1;
    font-size: 15px;
  }
  .tp-list__value {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    text-align: right;
  }
  .tp-list__photo {
    display: none;
  }
  .tp-list__foot {
    margin-top: 24px;
  }
  .tp-cta__strip {
    grid-template-columns: 1fr;
  }
  .tp-cta__strip figure {
    height: 46vw;
    min-height: 220px;
  }
  .tp-cta__strip figure:not(:first-child) {
    height: 32vw;
    min-height: 150px;
  }
  .tp-cta__strip figure:nth-child(2) {
    display: none;
  }
  .tp-cta__inner {
    grid-template-columns: 1fr;
  }
  .tp-cta h2 {
    font-size: 22px;
  }
  .tp-hero h1 {
    font-size: 12vw;
  }
  .tp-hero__foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .tp-hero__sentence {
    text-align: left;
    max-width: 30ch;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-note {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-footer {
    margin-top: 96px;
    padding-top: 56px;
  }
  .tp-stats,
  .tp-showcase,
  .tp-proof,
  .tp-list {
    padding-block: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-hero__media img {
    animation: none !important;
  }
  .tp-hero__media img:nth-child(n + 2) {
    display: none;
  }
  .tp [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .tp .tp-cta__strip img {
    transition: none;
  }
}

/* SSR pages share the palette; keep their tables/frames quiet */
.seo-page {
  background: var(--bg);
  color: var(--ink);
}

/* ---------- footer corrections over the legacy layer ---------- */

.footer-grid,
.footer-note {
  border: 0 !important;
}

.site-footer,
.site-footer p,
.site-footer a {
  color: #fff;
}

.footer-word span {
  font-family: var(--font-display);
  font-size: 0.36em;
  letter-spacing: 0;
}

.footer-desc {
  font-size: 17px;
}

.footer-nav {
  font-size: 17px;
}

.footer-meta p,
.footer-fine,
.footer-note p {
  font-size: 16px;
}

.footer-credit {
  max-width: 68ch;
  font-size: 16px;
  overflow-wrap: anywhere;
}

#footer-updated,
.footer-fine strong {
  color: #fff;
}

.footer-note {
  font-size: 16px;
}

.footer-credit a {
  overflow-wrap: anywhere;
}

.tp-figcap a {
  color: var(--ink);
}


@media (max-width: 1024px) {
  .tp-hero__fact { display: none; }
}

/* ---------- pass 3 corrections ---------- */
.tp-hero__what {
  margin: 18px 0 0;
  max-width: 34ch;
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
}

.tp-hero__foot {
  justify-content: flex-end;
}

.tp-hero__fact {
  left: 46%;
  right: auto;
}

.tp-hero__fact-big {
  font-size: 24px;
}

.tp-cta__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--field-1);
}

.skip-link,
.brand__latin,
.footer-label,
#live-region {
  font-size: 16px;
}

/* type scale trim: footer bilingual mark + form controls sit on the scale */
.footer-word span {
  font-size: 20px;
}
select,
option,
button,
input,
textarea {
  font-size: 16px;
}

/* ---------- round-1 redraw: split hero (reason: white-on-sky contrast + hero void) ---------- */
.tp-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  min-height: min(76svh, 720px);
  background: var(--accent);
  overflow: hidden;
}

.tp-hero__media {
  position: relative;
  min-height: inherit;
  overflow: hidden;
  background: var(--field-4);
}

.tp-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.tp-hero__shade { display: none; }

.tp-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  min-height: inherit;
  padding: clamp(20px, 3vw, 32px) clamp(22px, 3vw, 38px) clamp(24px, 3.4vw, 38px);
  color: #fff;
}

.tp-hero__top { color: #fff; }

.tp-hero__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.tp-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.tp-hero__what {
  margin: 0;
  max-width: 30ch;
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
}

.tp-hero__fact {
  position: static;
  transform: none;
  width: auto;
  max-width: 32ch;
  margin: 6px 0 0;
  padding: 0;
  background: transparent;
  color: #fff;
}

.tp-hero__fact a { color: #fff; }

.tp-hero__foot {
  justify-content: flex-start;
  align-items: flex-end;
}

.tp-showcase__run { flex-wrap: wrap; }

.tp-frame__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* app screens: components in the dealt palette */
.art {
  background: var(--field-2) !important;
  color: var(--ink) !important;
}

.art::before,
.art::after { display: none !important; }

.art__tag,
.art__seal {
  background: var(--bg) !important;
  border-color: var(--muted) !important;
  color: var(--ink) !important;
  backdrop-filter: none !important; /* taste-skill-ignore: cancels legacy decoration / neutral photo scrim */
  font-size: 16px;
}

.art__glyph,
.art__region,
.art__foot { color: var(--ink) !important; }

.tea-card,
.review-card,
.archive-card,
.vendor-card,
.brand-card {
  background: var(--surface) !important;
  border-color: transparent !important;
  box-shadow: none !important; /* taste-skill-ignore: cancels legacy decoration / neutral photo scrim */
}

.btn {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  border-radius: 0;
}

.btn--ghost {
  background: var(--field-2);
  color: var(--ink);
  border-color: transparent;
}

.chip {
  background: var(--field-2);
  color: var(--ink);
  border-color: transparent;
}

.input,
select,
textarea {
  background: var(--bg);
  border: 1px solid var(--muted);
  color: var(--ink);
}

@media (max-width: 768px) {
  .tp-hero {
    grid-template-columns: 1fr;
    grid-template-rows: 44svh auto;
    min-height: 0;
  }
  .tp-hero__media { min-height: 44svh; }
  .tp-hero h1 { font-size: 12vw; }
  .tp-hero__panel { min-height: 0; padding-top: 26px; }
}

/* ---------- round-2 fixes ---------- */
.tp-hero h1 { font-size: 64px; }
.tp-list h2 { font-size: 64px; }
.footer-word { font-size: 64px; }
.tp-hero__links { margin: 0 0 0 8px; display: flex; gap: 10px; font-size: 17px; color: #fff; }
.tp-hero__links a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.tp-hero__foot { align-items: center; justify-content: flex-start; flex-wrap: wrap; }

.tp-frame {
  width: calc(26vh * 0.75);
}
.tp-frame--lift {
  width: calc(46vh * 0.75);
}
.tp-frame__art {
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .tp-frame { width: 40vw; height: 30vh; }
  .tp-frame--lift { width: 68vw; height: 46vh; }
}

.tp-hero__caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  padding: 10px 12px;
  max-width: 34ch;
  background: rgba(18, 22, 20, 0.72);
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .tp-list h2 { font-size: 9.5vw; }
  .tp-hero h1 { font-size: 12vw; }
  .footer-word { font-size: 44px; }
  .tp-hero__caption { left: 12px; bottom: 12px; font-size: 15px; }
}

@media (max-width: 1024px) {
  .tp-hero__caption { display: none; }
}

/* crossfade with no all-transparent gap: first frame always visible */
.tp-hero__media img:nth-child(1) { animation: none; opacity: 1; }
.tp-hero__media img:nth-child(2) {
  opacity: 0;
  animation: tp-b 27s linear infinite;
}
.tp-hero__media img:nth-child(3) {
  opacity: 0;
  animation: tp-c 27s linear infinite;
}
@keyframes tp-b {
  0%, 32% { opacity: 0; }
  36%, 62% { opacity: 1; }
  66%, 100% { opacity: 0; }
}
@keyframes tp-c {
  0%, 62% { opacity: 0; }
  66%, 92% { opacity: 1; }
  96%, 100% { opacity: 0; }
}

/* deterministic hero: one photograph, motion lives in the reveal layer and the CTA film */
.tp-hero__media img:nth-child(1) {
  opacity: 1;
  animation: none;
}
.tp-hero__media img:nth-child(n + 2) {
  display: none;
}

/* =====================================================================
   UI UX Pro Max audit pass — accessibility & interaction polish
   ===================================================================== */

/* 1) light-only editorial system (legacy dark tokens are neutralised) */
:root { color-scheme: light; }

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
    --paper: #a6b3bc;
    --paper-2: #b2bdc5;
    --paper-3: #9aa8b1;
    --card: #b7c8be;
    --ink: #1c1c1c;
    --ink-soft: #1c1c1c;
    --muted: #38424a;
    --line: transparent;
    --line-strong: transparent;
    --matcha: #2c3620;
    --matcha-deep: #1f2717;
    --matcha-tint: #b7c8be;
    --amber: #2c3620;
    --amber-tint: #d6c4b8;
    --clay: #38424a;
    --clay-tint: #d6c4b8;
  }
}

/* 2) sticky header must not cover keyboard focus (WCAG 2.2 focus not obscured) */
html { scroll-padding-top: 92px; }
.tp h1, .tp h2, .tp h3,
.tp [id] { scroll-margin-top: 96px; }

.tp-hero :focus-visible,
.tp-cta__band :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
  outline-offset: 4px;
}

/* 3) Korean line breaking + long token safety */
.tp { word-break: keep-all; }
.tp-frame figcaption { min-width: 0; }
.tp-frame figcaption span { min-width: 0; overflow-wrap: anywhere; }
.tp-list__name, .tp-list__meta, .tp-list__value { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .tp-frame figcaption { white-space: normal; }
}

/* 4) touch + pointer affordance */
a, button, [role="button"], summary {
  touch-action: manipulation;
}
button, [role="button"] { cursor: pointer; }
a { cursor: pointer; }
.btn, .tp-btn, .chip, .tp-link, .nav a, .footer-nav a, .tp-hero__links a {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 150ms ease;
}
.btn:active, .tp-btn:active, .chip:active { transform: translateY(1px); }
.tp-link:hover { color: var(--accent); }
.site-footer a { min-height: 24px; display: inline-flex; align-items: center; }

/* 5) the film needs an operable pause (autoplay + reduced motion) */
.tp-cta__strip figure { position: relative; }
.tp-film__toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: rgba(18, 22, 20, 0.82);
  color: #fff;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}
.tp-film__toggle:hover { background: rgba(18, 22, 20, 0.95); }
.tp-film__toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* 6) WCAG 2.2 target size (24 CSS px) for standalone links in the vendor table */
.tp-list__table a,
.tp-list__name a,
.tp-list__foot a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
