/* GENERATED from design/prototypes/d/style.css by design/prototypes/d/export_theme_css.py.
   Departures page styles, scoped under .dep. Edit the prototype and re-run, or move rules out of this
   file once a template is final. */

.dep { font-family: var(--f); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg); font-stretch: 100%; }
.dep img { display: block; max-width: 100%; height: auto; }

/* --- preamble --- */
.dep {
  /* ground + ink */
  --bg: #fbfbf9;
  --paper: #ffffff;
  --ink: #111111;
  --ink-2: #2b2b29;
  --muted: #565650;
  --hair: #d5d5cf;
  --board: #111111;
  --board-2: #1d1d1b;
  --board-hair: #3a3a37;
  --board-text: #f4f4ef;
  --board-muted: #bdbdb6;

  /* signals */
  --red: #e8483b;
  --yellow: #ffd23f;
  --grey-tag: #e4e4df;

  /* regions: wayfinding colour + text colour on top of it (all AA for the code text) */
  --r-europe: #2456c9;        --r-europe-on: #ffffff;
  --r-asia: #c2185b;          --r-asia-on: #ffffff;
  --r-africa: #e06c00;        --r-africa-on: #111111;
  --r-north-america: #13874b; --r-north-america-on: #ffffff;
  --r-south-america: #6f3fc9; --r-south-america-on: #ffffff;
  --r-australia: #8c5a14;     --r-australia-on: #ffffff;
  --r-oceania: #00727d;       --r-oceania-on: #ffffff;

  /* type */
  --f: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --w-cond: 62%;
  --w-semi: 82%;
  --w-wide: 125%;

  /* rhythm */
  --rule: 3px;
  --max: 1440px;
  --gut: clamp(16px, 3.2vw, 40px);
  --sec: clamp(56px, 8vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
.dep .rg-europe { --rc: var(--r-europe);        --rc-on: var(--r-europe-on); }
.dep .rg-asia { --rc: var(--r-asia);          --rc-on: var(--r-asia-on); }
.dep .rg-africa { --rc: var(--r-africa);        --rc-on: var(--r-africa-on); }
.dep .rg-north-america { --rc: var(--r-north-america); --rc-on: var(--r-north-america-on); }
.dep .rg-south-america { --rc: var(--r-south-america); --rc-on: var(--r-south-america-on); }
.dep .rg-australia { --rc: var(--r-australia);     --rc-on: var(--r-australia-on); }
.dep .rg-oceania { --rc: var(--r-oceania);       --rc-on: var(--r-oceania-on); }

/* --- base --- */
.dep *, .dep *::before, .dep *::after { box-sizing: border-box; }
.dep img { display: block; max-width: 100%; height: auto; }
.dep h1, .dep h2, .dep h3, .dep p, .dep ol, .dep ul, .dep dl, .dep dd, .dep figure { margin: 0; }
.dep ol, .dep ul { padding: 0; list-style: none; }
.dep a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dep abbr[title] { text-decoration: none; }
.dep .num { font-variant-numeric: tabular-nums lining-nums; }
.dep .wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.dep .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.dep :focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--yellow); }
.dep .board :focus-visible { outline-color: var(--yellow); box-shadow: 0 0 0 6px var(--ink); }
.dep .dot {
  display: inline-block; flex: none; width: .78em; height: .78em; border-radius: 50%;
  background: var(--rc, var(--ink)); vertical-align: -.06em;
}
.dep .chip {
  display: inline-flex; align-items: center; gap: .4em; white-space: nowrap;
  font-size: 13px; font-weight: 600; line-height: 1;
}
.dep .chip__code {
  font-weight: 800; font-stretch: var(--w-wide); letter-spacing: .02em;
  background: var(--rc); color: var(--rc-on); padding: 3px 5px 2px;
}
.dep .chip .dot { display: none; }
.dep .chip__name { color: inherit; }
.dep .tag {
  display: inline-block; font-size: 12px; font-weight: 800; line-height: 1;
  letter-spacing: .04em; text-transform: uppercase; padding: 5px 7px 4px;
  color: var(--ink); background: var(--yellow); white-space: nowrap;
}
.dep .tag--go { background: var(--yellow); }
.dep .tag--half { background: repeating-linear-gradient(135deg, var(--yellow) 0 6px, #fff1b8 6px 12px); }
.dep .tag--wait { background: var(--grey-tag); color: #3d3d39; }
.dep .tag--guide { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.dep .tag--ink { background: var(--ink); color: var(--bg); }
.dep .tag--sm { font-size: 10px; padding: 3px 5px 2px; vertical-align: 2px; }
.dep .tag-note { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.dep .btn {
  display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: 12px 20px;
  font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--ink); line-height: 1.1;
  transition: background .15s, color .15s, box-shadow .15s;
}
.dep .btn--ink { background: var(--ink); color: var(--bg); }
.dep .btn--ink:hover { background: var(--bg); color: var(--ink); box-shadow: 6px 6px 0 var(--red); }
.dep .btn--line { background: transparent; color: var(--ink); }
.dep .btn--line:hover { background: var(--yellow); }
.dep .btn--big { min-height: 60px; padding: 16px 26px; font-size: 17px; }
.dep .more {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 800; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.dep .more__arrow { color: var(--red); transition: transform .2s var(--ease); }
.dep .card { position: relative; }
.dep .stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.dep .card:hover .more__arrow, .dep .more:hover .more__arrow { transform: translateX(4px); }
.dep .ph { position: relative; overflow: hidden; background: #e7e7e2; }
.dep .ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dep .ph--3x2 { aspect-ratio: 3 / 2; }
.dep .ph--4x5 { aspect-ratio: 4 / 5; }
.dep .ph--2x1 { aspect-ratio: 2 / 1; }
.dep .ph--21x9 { aspect-ratio: 21 / 9; }
.dep .ph--hero { aspect-ratio: 16 / 9; }
.dep .card .ph > img { transition: transform .5s var(--ease); }
.dep .card:hover .ph > img { transform: scale(1.03); }
.dep .credit { font-size: 12px; line-height: 1.4; color: var(--muted); padding-top: 8px; }

/* --- section heads --- */
.dep .sec-home { padding-block: var(--sec) 0; }
.dep .sec-head {
  display: grid; grid-template-columns: minmax(80px, 1fr) minmax(0, 6fr) minmax(0, 4fr);
  gap: 8px 24px; align-items: end; border-top: var(--rule) solid var(--ink); padding-top: 14px; margin-bottom: 28px;
}
.dep .sec-head__n { font-weight: 900; font-stretch: var(--w-cond); font-size: clamp(40px, 6vw, 88px); line-height: .8; color: var(--red); font-variant-numeric: tabular-nums; }
.dep .sec-head__h { font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: clamp(48px, 7.5vw, 120px); line-height: .82; letter-spacing: -.005em; }
.dep .sec-head__p { color: var(--muted); max-width: 42ch; font-size: 16px; }
.dep .sec-foot { margin-top: 28px; }
@media (max-width: 767px) {
  .dep .sec-head { grid-template-columns: auto minmax(0, 1fr); }
  .dep .sec-head__p { grid-column: 1 / -1; }
}

/* --- home · hero --- */
.dep .hero { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 6vw, 80px); }
.dep .hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.dep .eyebrow__tag {
  display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px 5px;
}
.dep .hero__h1 {
  margin-top: 18px; font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase;
  font-size: clamp(60px, 10.4vw, 176px); line-height: .8; letter-spacing: -.01em;
}
.dep .hero__h1 .hl { color: var(--red); }
.dep .hero__lede { margin-top: 22px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; max-width: 34ch; }
.dep .hero__ctas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.dep .stats { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule) solid var(--ink); }
.dep .stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 12px 14px 0 0; }
.dep .stat + .stat { border-left: 1px solid var(--ink); padding-left: 14px; }
.dep .stat__v { font-weight: 900; font-stretch: var(--w-semi); font-size: clamp(40px, 5.2vw, 84px); line-height: .9; font-variant-numeric: tabular-nums; }
.dep .stat__l { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dep .feat { border: var(--rule) solid var(--ink); background: var(--paper); }
.dep .feat__plate {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 4px 14px;
  padding: 14px 16px 16px; border-top: var(--rule) solid var(--ink);
}
.dep .feat__label { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dep .feat__code { grid-row: span 2; align-self: stretch; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 900; font-stretch: var(--w-wide); font-size: 30px; padding: 6px 10px; line-height: 1; }
.dep .feat__title { font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: 64px; line-height: .82; }
.dep .feat__meta { display: flex; }
.dep .feat .more { grid-column: 1 / -1; justify-self: start; margin-top: 10px; }
.dep .feat .credit { padding: 8px 16px 10px; border-top: 1px solid var(--hair); }
@media (max-width: 1023px) {
  .dep .hero__grid { grid-template-columns: 1fr; }
  .dep .feat .ph--4x5 { aspect-ratio: 3 / 2; }
}

/* --- home · departures board --- */
.dep .board { background: var(--board); color: var(--board-text); padding-block: clamp(32px, 5vw, 64px); }
.dep .board__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding-bottom: 14px; border-bottom: var(--rule) solid var(--yellow); }
.dep .board__title { font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: clamp(56px, 9vw, 140px); line-height: .8; color: var(--yellow); }
.dep .board__langs { font-weight: 600; font-stretch: var(--w-wide); font-size: 15px; color: var(--board-muted); }
.dep .board__asof { margin-left: auto; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--board-muted); }
.dep .board__asof span { color: var(--board-text); font-weight: 700; }
.dep .board__scroll { overflow-x: auto; }
.dep .board__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.dep .board__table th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--board-muted); padding: 14px 12px 10px; border-bottom: 1px solid var(--board-text);
}
.dep .board__table td { padding: 18px 12px; border-bottom: 1px solid var(--board-hair); vertical-align: top; }
.dep .board__table tbody tr { transition: background .15s; }
.dep .board__table tbody tr:hover { background: var(--board-2); }
.dep .board__table th:first-child, .dep .board__table td:first-child { padding-left: 0; }
.dep .board__table th:last-child, .dep .board__table td:last-child { padding-right: 0; }
.dep .pcode {
  display: inline-block; min-width: 3.1em; text-align: center; font-weight: 900; font-stretch: var(--w-wide);
  font-size: 22px; line-height: 1; padding: 8px 6px 6px; background: var(--rc); color: var(--rc-on);
}
.dep .c-code { width: 92px; }
.dep .c-dest { position: relative; min-width: 260px; }
.dep .c-dest__flag { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.dep .c-dest__name { display: block; margin-top: 2px; font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: clamp(36px, 4.4vw, 64px); line-height: .85; }
.dep .c-dest__meta { display: none; margin-top: 8px; font-size: 13px; color: var(--board-muted); align-items: center; gap: 8px; }
.dep .c-dest__text { display: block; margin-top: 10px; max-width: 52ch; font-size: 15px; line-height: 1.45; color: var(--board-muted); }
.dep .c-dest .more { margin-top: 12px; color: var(--board-text); }
.dep .c-dest .stretch::after { inset: -18px -12px; }
.dep .c-country { font-weight: 600; font-size: 15px; white-space: nowrap; }
.dep .c-region .chip { font-size: 14px; }
.dep .c-region .chip .dot { display: inline-block; }
.dep .c-region .chip__code { background: transparent; color: inherit; padding: 0; }
.dep .c-days { white-space: nowrap; }
.dep .c-days .num { font-weight: 900; font-stretch: var(--w-semi); font-size: 34px; line-height: 1; }
.dep .c-days .nil { font-size: 28px; color: var(--board-muted); }
.dep .c-status { width: 150px; }
.dep .c-status .tag { font-size: 14px; padding: 7px 9px 6px; }
.dep .c-status .tag--wait { background: #3a3a37; color: var(--board-text); }
.dep .c-status .tag-note { color: var(--board-muted); }
.dep .c-img { width: 22%; min-width: 160px; }
.dep .board__legend { margin-top: 18px; font-size: 13px; color: var(--board-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.dep .board__legend .tag { font-size: 11px; }
.dep .board__legend .tag:not(:first-child) { margin-left: 10px; }
.dep .board__legend .tag--wait { background: #3a3a37; color: var(--board-text); }
.dep @media (prefers-reduced-motion: no-preference) {
  .board .c-status .tag, .facts__now .tag { animation: flap .7s var(--ease) both; transform-origin: 50% 0; }
  .board tbody tr:nth-child(2) .c-status .tag { animation-delay: .12s; }
  .board tbody tr:nth-child(3) .c-status .tag { animation-delay: .24s; }
  .board tbody tr:nth-child(4) .c-status .tag { animation-delay: .36s; }
  @keyframes flap {
    0% { transform: perspective(300px) rotateX(-90deg); opacity: 0; }
    55% { transform: perspective(300px) rotateX(18deg); opacity: 1; }
    100% { transform: perspective(300px) rotateX(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .dep *, .dep *::before, .dep *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 1023px) {
  .dep .c-img { display: none; }
}
@media (max-width: 767px) {
  .dep .c-country, .dep .c-region { display: none; }
  .dep .c-dest__meta { display: flex; }
  .dep .c-dest { min-width: 0; }
  .dep .c-code { width: 70px; }
  .dep .pcode { font-size: 17px; }
  .dep .c-status { width: auto; }
}
@media (max-width: 560px) {
  .dep .board__table thead { display: none; }
  .dep .board__table, .dep .board__table tbody { display: block; }
  .dep .board__table tr {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 12px;
    padding: 18px 0; border-bottom: 1px solid var(--board-hair);
  }
  .dep .board__table td { display: block; padding: 0; border: 0; }
  .dep .board__table .c-code { grid-row: 1; grid-column: 1; width: auto; }
  .dep .board__table .c-status { grid-row: 1; grid-column: 2 / 4; justify-self: end; text-align: right; }
  .dep .board__table .c-dest { grid-row: 2; grid-column: 1 / -1; }
  .dep .board__table .c-days { display: none; }
  .dep .board__asof { margin-left: 0; }
}

/* --- home · regions grid --- */
.dep .rgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.dep .rtile { display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper); min-width: 0; }
.dep .rtile__band { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; background: var(--rc); color: var(--rc-on); }
.dep .rtile__code { font-weight: 900; font-stretch: var(--w-wide); font-size: 22px; line-height: 1; letter-spacing: .02em; }
.dep .rtile__count { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dep .rtile__count .num { font-size: 22px; font-weight: 900; font-stretch: var(--w-semi); margin-right: 2px; }
.dep .rtile__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 18px; flex: 1; border-top: var(--rule) solid var(--rc); }
.dep .rtile__name { font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: clamp(38px, 3.6vw, 56px); line-height: .85; overflow-wrap: anywhere; }
.dep .rtile__text { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.dep .rtile .more { margin-top: auto; align-self: flex-start; }
.dep .rtile:hover .rtile__name { color: var(--rc); }
.dep .rtile--key { background: var(--ink); color: var(--board-text); padding: 16px; justify-content: space-between; gap: 16px; }
.dep .rtile__keyh { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.dep .rtile__total { font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: 44px; line-height: .85; }
.dep .rtile__total .num { display: block; font-size: clamp(88px, 9vw, 140px); color: var(--yellow); }
.dep .rkey { display: grid; gap: 6px; font-size: 14px; }
.dep .rkey li { display: flex; align-items: center; gap: 8px; }
.dep .rkey .dot { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--board-muted); }
.dep .rkey .num { font-weight: 800; font-stretch: var(--w-wide); width: 3.4em; }
@media (max-width: 1023px) {
  .dep .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .dep .rgrid { grid-template-columns: minmax(0, 1fr); }
}

/* --- home · countries index --- */
.dep .cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: var(--rule) solid var(--ink); }
.dep .ccard { display: flex; flex-direction: column; min-width: 0; padding: 16px 16px 22px; border-bottom: 1px solid var(--ink); }
.dep .ccard { border-right: 1px solid var(--hair); }
.dep .ccard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding-top: 14px; }
.dep .ccard__top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.dep .ccard__n { font-weight: 900; font-stretch: var(--w-semi); font-size: 15px; color: var(--red); }
.dep .ccard__code { font-weight: 900; font-stretch: var(--w-wide); font-size: 15px; letter-spacing: .02em; }
.dep .ccard__top .chip { margin-left: auto; }
.dep .ccard__name { font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: clamp(40px, 3.8vw, 60px); line-height: .85; }
.dep .ccard__text { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.dep .ccard .more { margin-top: auto; align-self: flex-start; }
.dep .ccard:hover .ccard__name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--rc); }
.dep .ccard--lead { grid-column: span 2; grid-row: span 2; border-right: 1px solid var(--ink) !important; }
.dep .ccard--lead .ph { aspect-ratio: auto; flex: 1; min-height: 340px; }
.dep .ccard--lead .ccard__body { flex: none; }
.dep .ccard--lead .ccard__name { font-size: clamp(72px, 9vw, 150px); }
.dep .ccard--lead .ccard__text { font-size: 18px; max-width: 46ch; }
.dep .ccard:nth-child(3), .dep .ccard:nth-child(5), .dep .ccard:nth-child(9) { border-right: 0; }
@media (max-width: 1023px) {
  .dep .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dep .ccard--lead { grid-row: auto; border-right: 0 !important; }
  .dep .ccard--lead .ph { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
  .dep .ccard:nth-child(n) { border-right: 0; }
  .dep .ccard:nth-child(2n) { border-right: 1px solid var(--hair); }
}
@media (max-width: 560px) {
  .dep .cgrid { grid-template-columns: minmax(0, 1fr); }
  .dep .ccard--lead { grid-column: auto; }
  .dep .ccard:nth-child(n) { border-right: 0; padding-inline: 0; }
  .dep .ccard--lead .ccard__name { font-size: 72px; }
}

/* --- home · notices --- */
.dep .notices { border-top: var(--rule) solid var(--ink); }
.dep .notice {
  display: grid; grid-template-columns: minmax(70px, 1fr) minmax(0, 6fr) minmax(0, 5fr);
  gap: 16px 28px; padding-block: 22px; border-bottom: 1px solid var(--ink); align-items: start;
}
.dep .notice__n { font-weight: 900; font-stretch: var(--w-cond); font-size: clamp(64px, 8vw, 128px); line-height: .78; }
.dep .notice__body { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.dep .notice__title { font-weight: 900; font-stretch: var(--w-semi); font-size: clamp(26px, 2.6vw, 38px); line-height: 1; letter-spacing: -.01em; }
.dep .notice__text { max-width: 52ch; color: var(--ink-2); }
.dep .notice:hover .notice__title { color: var(--red); }
@media (max-width: 767px) {
  .dep .notice { grid-template-columns: auto minmax(0, 1fr); }
  .dep .notice__img { grid-column: 1 / -1; grid-row: 1; }
  .dep .notice__n { font-size: 64px; }
}

/* --- home · travel ai --- */
.dep .aicta { margin-top: var(--sec); background: var(--yellow); color: var(--ink); border-block: var(--rule) solid var(--ink); }
.dep .aicta__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; align-items: center; padding-block: clamp(36px, 6vw, 80px); }
.dep .aicta__code { font-weight: 900; font-stretch: var(--w-wide); font-size: clamp(120px, 20vw, 320px); line-height: .78; letter-spacing: -.04em; }
.dep .aicta__h { margin-top: 14px; font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: clamp(56px, 7.4vw, 120px); line-height: .82; }
.dep .aicta__text { margin-block: 18px 24px; font-size: 19px; max-width: 40ch; }
.dep .aicta .btn--ink:hover { background: var(--yellow); }
@media (max-width: 767px) {
  .dep .aicta__grid { grid-template-columns: 1fr; }
  .dep .aicta__code { font-size: 120px; }
}

/* --- kyoto --- */
.dep .crumbs { padding-block: 16px 0; font-size: 14px; }
.dep .crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.dep .crumbs li { display: inline-flex; align-items: center; }
.dep .crumbs li + li::before { content: ""; width: 22px; height: 2px; background: var(--ink); margin-inline: 8px; }
.dep .crumbs a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.dep .crumbs [aria-current] { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.dep .loc { padding-block: 20px 24px; }
.dep .loc__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0; border-top: var(--rule) solid var(--ink); border-bottom: 1px solid var(--ink); }
.dep .loc__code {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  background: var(--red); color: #fff; padding: 16px 20px 18px; min-width: 0;
}
.dep .loc__codetop { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--ink); }
.dep .loc__pcode { font-weight: 900; font-stretch: var(--w-wide); font-size: clamp(56px, 8vw, 120px); line-height: .78; letter-spacing: -.02em; }
.dep .loc__copy { padding: 18px 0 20px clamp(16px, 3vw, 36px); min-width: 0; }
.dep .loc__h1 { font-weight: 900; line-height: .8; }
.dep .loc__name { display: block; font-stretch: var(--w-cond); text-transform: uppercase; font-size: clamp(96px, 17vw, 260px); letter-spacing: -.01em; }
.dep .loc__rest { display: block; margin-top: 10px; font-stretch: var(--w-semi); font-size: clamp(22px, 2.6vw, 36px); line-height: 1.05; font-weight: 800; }
.dep .loc__sub { margin-top: 12px; font-size: clamp(18px, 1.6vw, 22px); max-width: 48ch; color: var(--ink-2); }
.dep .byline { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; }
.dep .byline a { font-weight: 800; }
.dep .byline__sep { color: var(--hair); font-weight: 900; }
@media (max-width: 560px) {
  .dep .loc__grid { grid-template-columns: minmax(0, 1fr); }
  .dep .loc__code { flex-direction: row; align-items: flex-end; gap: 16px; padding: 12px 14px; }
  .dep .loc__pcode { font-size: 56px; }
  .dep .loc__copy { padding-left: 0; }
}
.dep .khero .ph--hero { border: var(--rule) solid var(--ink); }
@media (max-width: 767px) {
  .dep .khero .ph--hero { aspect-ratio: 3 / 2; }
}
.dep .facts { margin-top: clamp(32px, 4vw, 56px); }
.dep .facts__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; border-top: var(--rule) solid var(--ink); padding-block: 12px; }
.dep .facts__title { font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: 44px; line-height: .85; }
.dep .facts__now { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.dep .facts__now .tag { font-size: 15px; padding: 7px 10px 6px; }
.dep .facts__now .tag-note { margin: 0; }
.dep .facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.dep .fact { padding: 16px 18px 20px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.dep .fact + .fact { border-left: 1px solid var(--hair); }
.dep .fact:first-child { padding-left: 0; }
.dep .fact__l { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dep .fact__v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.dep .fact__v .num { font-weight: 900; font-stretch: var(--w-semi); font-size: clamp(44px, 4.8vw, 72px); line-height: .9; letter-spacing: -.01em; }
.dep .fact__v--text { flex-direction: column; gap: 2px; }
.dep .fact__line { font-weight: 800; font-stretch: var(--w-semi); font-size: 22px; line-height: 1.1; }
.dep .fact__line:first-child { font-weight: 900; font-size: clamp(30px, 3vw, 44px); line-height: .95; }
.dep .fact__u { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dep .fact__scale { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dep .scale { display: inline-flex; gap: 3px; }
.dep .scale i { width: 18px; height: 18px; background: var(--ink); }
.dep .scale i.off { background: transparent; box-shadow: inset 0 0 0 2px var(--hair); }
.dep .fact__long { margin-top: auto; padding-top: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); border-top: 1px dashed var(--hair); }
@media (max-width: 1023px) {
  .dep .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dep .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .dep .fact:nth-child(n + 3) { border-top: 1px solid var(--hair); }
}
@media (max-width: 560px) {
  .dep .facts__grid { grid-template-columns: minmax(0, 1fr); }
  .dep .fact { padding-inline: 0; }
  .dep .fact + .fact { border-left: 0; border-top: 1px solid var(--hair); }
}
.dep .season { padding-block: 18px 0; }
.dep .season__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; margin-bottom: 10px; }
.dep .season__title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dep .season__key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 600; }
.dep .key { display: inline-flex; align-items: center; gap: 6px; }
.dep .key::before { content: ""; width: 14px; height: 14px; }
.dep .key--best::before { background: var(--red); }
.dep .key--half::before { background: repeating-linear-gradient(135deg, var(--red) 0 3px, #f7c0bb 3px 6px); height: 8px; }
.dep .key--off::before { background: var(--ink); height: 3px; }
.dep .season__strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; padding-top: 28px; }
.dep .mo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.dep .mo__bar { display: block; height: 72px; position: relative; }
.dep .mo__bar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; background: var(--ink); height: 3px; }
.dep .mo--best .mo__bar::before { height: 100%; background: var(--red); }
.dep .mo--half .mo__bar::before { height: 50%; background: repeating-linear-gradient(135deg, var(--red) 0 4px, #f7c0bb 4px 8px); }
.dep .mo__m { padding-top: 6px; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; text-align: center; border-top: 1px solid var(--ink); }
.dep .mo--best .mo__m { color: var(--ink); }
.dep .mo__now { display: none; position: absolute; top: -28px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 5px 2px; white-space: nowrap; }
.dep .mo__now::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--yellow); }
.dep .mo.is-now .mo__now { display: block; }
.dep .mo.is-now .mo__m { background: var(--ink); color: var(--bg); }
.dep .season__note { margin-top: 10px; font-size: 12px; color: var(--muted); }
@media (max-width: 560px) {
  .dep .mo__rest { display: none; }
  .dep .mo__bar { height: 56px; }
}
.dep .qa { margin-top: clamp(28px, 4vw, 48px); }
.dep .qa > * { max-width: 1040px; }
.dep .qa { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 5fr); gap: 12px 28px; }
.dep .qa__label { align-self: start; font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: 40px; line-height: .85; padding-top: 14px; border-top: var(--rule) solid var(--red); }
.dep .qa__text { font-size: clamp(20px, 2vw, 26px); line-height: 1.38; font-weight: 500; padding: 14px 0 0 18px; border-top: var(--rule) solid var(--ink); border-left: 8px solid var(--yellow); }
@media (max-width: 767px) {
  .dep .qa { grid-template-columns: minmax(0, 1fr); }
}
.dep .kbody { display: grid; grid-template-columns: minmax(220px, 3fr) minmax(0, 8fr) minmax(0, 1fr); gap: 40px; margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.dep .toc { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.dep .toc__h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; border-bottom: var(--rule) solid var(--ink); }
.dep .toc__list { position: relative; padding-top: 10px; }
.dep .toc__list::before { content: ""; position: absolute; left: 13px; top: 24px; bottom: 24px; width: 4px; background: var(--rc); }
.dep .toc__list a { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; padding-block: 8px; text-decoration: none; }
.dep .stop__n {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg);
  border: 3px solid var(--rc); font-size: 12px; font-weight: 800; z-index: 1;
}
.dep .stop__t { font-weight: 700; font-size: 15px; line-height: 1.25; }
.dep .toc__list a:hover .stop__n, .dep .toc__list a:focus-visible .stop__n { background: var(--rc); color: var(--rc-on); }
.dep .toc__list a:hover .stop__t { text-decoration: underline; }
@media (max-width: 1023px) {
  .dep .kbody { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .dep .toc { position: static; max-height: none; }
  .dep .toc__list { columns: 2; column-gap: 24px; }
  .dep .toc__list::before { display: none; }
}
@media (max-width: 560px) {
  .dep .toc__list { columns: 1; }
  .dep .toc__list::before { display: block; }
}
.dep .kart { min-width: 0; }
.dep .ksec { scroll-margin-top: 16px; padding-bottom: 40px; }
.dep .ksec + .ksec { margin-top: 8px; }
.dep .ksec__h {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 14px;
  border-top: var(--rule) solid var(--ink); padding-top: 12px; margin-bottom: 20px;
}
.dep .ksec__n { font-weight: 900; font-stretch: var(--w-cond); font-size: clamp(56px, 6vw, 88px); line-height: .8; color: var(--red); }
.dep .ksec__t { font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: clamp(40px, 4.6vw, 68px); line-height: .86; }
.dep .prose { max-width: 68ch; font-size: 18px; line-height: 1.62; }
.dep .prose > * + * { margin-top: 1em; }
.dep .prose h3 {
  margin-top: 1.8em; display: flex; align-items: baseline; gap: 10px;
  font-weight: 800; font-stretch: var(--w-semi); font-size: 24px; line-height: 1.15; letter-spacing: -.005em;
}
.dep .prose h3::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--red); transform: translateY(-1px); }
.dep .prose h3 + p { margin-top: .5em; }
.dep .prose strong { font-weight: 800; }
.dep .prose ol { counter-reset: day; border-top: 1px solid var(--ink); }
.dep .prose ol li { counter-increment: day; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--hair); }
.dep .prose ol li::before { content: counter(day, decimal-leading-zero); font-weight: 900; font-stretch: var(--w-cond); font-size: 40px; line-height: .85; color: var(--red); font-variant-numeric: tabular-nums; }
.dep .prose ul { list-style: square; padding-left: 1.2em; }
.dep .tt { overflow-x: auto; border-top: var(--rule) solid var(--ink); border-bottom: var(--rule) solid var(--ink); margin-block: 1.4em; }
.dep .tt__table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.dep .tt__table th { background: var(--ink); color: var(--bg); text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 10px 12px; }
.dep .tt__table td { padding: 12px; border-top: 1px solid var(--hair); vertical-align: top; }
.dep .tt__table td:first-child { font-weight: 800; font-stretch: var(--w-semi); font-size: 18px; white-space: nowrap; }
.dep .tt__table tbody tr:nth-child(odd) { background: #f1f1ec; }
.dep .tt__table tbody tr:hover { background: #fff6cf; }
.dep .fig { margin-block: 1.6em; }
.dep .fig img { width: 100%; height: auto; border: var(--rule) solid var(--ink); background: #e7e7e2; }
.dep .fig__n { display: inline-block; margin-right: 6px; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.dep .faq__item { border-bottom: 1px solid var(--ink); }
.dep .faq__item:first-of-type { border-top: 1px solid var(--ink); }
.dep .faq__item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px minmax(0, 1fr) 28px;
  gap: 12px; align-items: center; padding-block: 16px; font-weight: 800; font-size: 19px; line-height: 1.25;
}
.dep .faq__item summary::-webkit-details-marker { display: none; }
.dep .faq__q { font-weight: 900; font-stretch: var(--w-wide); font-size: 15px; background: var(--ink); color: var(--bg); text-align: center; padding: 6px 0 5px; }
.dep .faq__icon { position: relative; width: 22px; height: 22px; justify-self: end; }
.dep .faq__icon::before, .dep .faq__icon::after { content: ""; position: absolute; background: var(--ink); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.dep .faq__icon::before { width: 18px; height: 3px; }
.dep .faq__icon::after { width: 3px; height: 18px; transition: transform .2s; }
.dep .faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.dep .faq__item[open] summary .faq__q { background: var(--red); color: var(--ink); }
.dep .faq__item summary:hover .faq__t { text-decoration: underline; }
.dep .faq__item p { padding: 0 0 20px 60px; max-width: 68ch; font-size: 17px; }
@media (max-width: 560px) {
  .dep .faq__item p { padding-left: 0; }
  .dep .faq__item summary { grid-template-columns: 40px minmax(0, 1fr) 24px; font-size: 17px; }
}
.dep .persona { margin-top: 40px; display: grid; grid-template-columns: 120px minmax(0, 1fr); border: var(--rule) solid var(--ink); background: var(--paper); }
.dep .persona__mono { display: grid; place-items: center; background: var(--yellow); border-right: var(--rule) solid var(--ink); font-weight: 900; font-stretch: var(--w-wide); font-size: 88px; line-height: 1; }
.dep .persona__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.dep .persona__kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dep .persona__name { font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: 56px; line-height: .82; }
.dep .persona__role { font-weight: 800; font-stretch: var(--w-semi); font-size: 18px; }
.dep .persona__bio { max-width: 60ch; }
.dep .persona__note { font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 560px) {
  .dep .persona { grid-template-columns: minmax(0, 1fr); }
  .dep .persona__mono { border-right: 0; border-bottom: var(--rule) solid var(--ink); font-size: 64px; padding-block: 8px; }
}
.dep .sources { margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--ink); }
.dep .sources__h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dep .sources__list { margin-top: 8px; counter-reset: src; }
.dep .sources__list li { counter-increment: src; display: flex; gap: 10px; font-size: 14px; padding-block: 4px; }
.dep .sources__list li::before { content: "[" counter(src) "]"; font-weight: 800; font-variant-numeric: tabular-nums; }
.dep .src { overflow-wrap: anywhere; color: var(--ink-2); }
.dep .related { margin-top: var(--sec); }
.dep .rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule) solid var(--ink); }
.dep .rcard { display: flex; flex-direction: column; padding: 16px 16px 22px; border-bottom: 1px solid var(--ink); min-width: 0; }
.dep .rcard:not(:nth-child(3n)) { border-right: 1px solid var(--hair); }
.dep .rcard:nth-child(3n + 1) { padding-left: 0; }
.dep .rcard:nth-child(3n) { padding-right: 0; }
.dep .rcard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding-top: 14px; }
.dep .rcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dep .rcard__code { font-weight: 900; font-stretch: var(--w-wide); font-size: 26px; line-height: 1; background: var(--ink); color: var(--bg); padding: 6px 8px 4px; }
.dep .rcard__name { font-weight: 900; font-stretch: var(--w-cond); text-transform: uppercase; font-size: clamp(40px, 4vw, 60px); line-height: .85; }
.dep .rcard__text { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.dep .rcard .more { margin-top: auto; align-self: flex-start; }
.dep .rcard:hover .rcard__code { background: var(--red); }
@media (max-width: 1023px) {
  .dep .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dep .rcard:nth-child(n) { border-right: 0; padding-inline: 16px; }
  .dep .rcard:nth-child(odd) { border-right: 1px solid var(--hair); padding-left: 0; }
  .dep .rcard:nth-child(even) { padding-right: 0; }
}
@media (max-width: 560px) {
  .dep .rel-grid { grid-template-columns: minmax(0, 1fr); }
  .dep .rcard:nth-child(n) { border-right: 0; padding-inline: 0; }
}
@media print {
  .dep .top__strip, .dep .btn--ai, .dep .toc { display: none; }
  .dep .board { background: #fff; color: #000; }
}
