/* Homepage-only pilot. No shared article styles or content are changed. */
@font-face {
  font-family: "Taka Editorial";
  src: url("/assets/fonts/taka-editorial-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Taka Editorial";
  src: url("/assets/fonts/taka-editorial-italic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
body[data-home-editorial] {
  --ink: #171719;
  --ink-soft: #55514e;
  --paper: #f8f5ef;
  --paper-bright: #fffdf8;
  --red: #c8102e;
  --line: rgb(23 23 25 / 22%);
  --serif: "Taka Editorial", "Bodoni MT", Didot, "Yu Mincho", "Songti SC", Georgia, serif;
}
body[data-home-editorial] .site-header { border-bottom: 1px solid var(--ink); }
body[data-home-editorial] .brand-type { font-family: var(--serif); font-weight: 700; letter-spacing: -.035em; }
body[data-home-editorial] .nav-dropdown { border-radius: 0; }
body[data-home-editorial] .nav-dropdown a:hover { background: rgb(200 16 46 / 7%); }
body[data-home-editorial] :is(.text-link,.note-link,.social-link):hover { color: var(--red); }
body[data-home-editorial] .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(42rem, 82svh) auto auto;
  min-height: 0;
  position: relative;
}
body[data-home-editorial] .hero-copy { display: contents; }
body[data-home-editorial] .hero-visual {
  grid-area: 1 / 1;
  min-height: 0;
  isolation: isolate;
}
body[data-home-editorial] .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 62%), rgb(0 0 0 / 20%) 60%, transparent 85%);
  pointer-events: none;
}
body[data-home-editorial] .hero-visual img { object-position: center 52%; }
body[data-home-editorial] .hero-visual figcaption {
  z-index: 1;
  inset-inline: 0;
  bottom: 0;
  max-width: none;
  padding: 4rem 2.5rem 1.5rem;
  text-align: end;
  background: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / 65%) 100%);
}
body[data-home-editorial] .hero .eyebrow {
  grid-area: 1 / 1;
  z-index: 2;
  align-self: start;
  justify-self: start;
  margin: 3rem 5vw 0;
  padding-block-start: .8rem;
  border-block-start: 4px solid var(--red);
  color: white;
  letter-spacing: .2em;
}
body[data-home-editorial] .hero h1 {
  grid-area: 1 / 1;
  align-self: center;
  z-index: 2;
  margin: 3rem 5vw 0;
  max-width: 80%;
  color: #fffdf8;
  font-size: clamp(5rem, 9.6vw, 10.5rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.055em;
  text-shadow: 0 2px 25px rgb(0 0 0 / 12%);
}
body[data-home-editorial] .hero h1 em { color: inherit; font-weight: 700; }
body[data-home-editorial] .hero-intro {
  grid-area: 2 / 1;
  width: min(54rem, 88%);
  max-width: none;
  justify-self: center;
  margin: 4rem 0 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  line-height: 1.65;
}
body[data-home-editorial] .hero-intro::first-letter {
  float: inline-start;
  margin-inline-end: .1em;
  padding-block-start: .06em;
  color: var(--red);
  font-family: var(--serif);
  font-size: 4.4em;
  font-weight: 700;
  line-height: .78;
}
body[data-home-editorial] .hero-copy > .text-link {
  grid-area: 3 / 1;
  justify-self: center;
  margin: 1rem 0 3.5rem;
  border-color: var(--red);
}
body[data-home-editorial] .journal-strip {
  background: transparent;
  color: var(--ink);
  border-block: 1px solid var(--ink);
}
body[data-home-editorial] .journal-strip p { border-color: var(--line); }
body[data-home-editorial] .journal-strip p > span:first-child {
  color: var(--red);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: normal;
}
body[data-home-editorial] :is(.section-heading h2,.food-title h2,.about-grid h2) {
  font-size: clamp(3rem, 5.8vw, 6.8rem);
  font-weight: 700;
  line-height: 1;
}
body[data-home-editorial] .section-number { color: var(--red); }
body[data-home-editorial] .places-section .section-heading {
  grid-template-columns: .3fr 1.35fr .7fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
body[data-home-editorial] .places-section .section-heading > p:last-child {
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--red);
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
}
body[data-home-editorial] .destination-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.4rem;
}
body[data-home-editorial] .destination-card {
  grid-column: span 4;
  min-height: 28rem;
  padding: 2rem;
  border: 0;
}
body[data-home-editorial] .destination-card:first-child {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 58rem;
}
body[data-home-editorial] .destination-card:nth-child(4) { grid-column: span 5; min-height: 34rem; }
body[data-home-editorial] .destination-card:nth-child(5) { grid-column: span 7; min-height: 34rem; }
body[data-home-editorial] .destination-card:nth-child(6) { grid-column: span 7; min-height: 31rem; }
body[data-home-editorial] .destination-card:nth-child(7) { grid-column: span 5; min-height: 31rem; }
body[data-home-editorial] .destination-card:nth-child(8),
body[data-home-editorial] .destination-card:nth-child(9) { grid-column: span 6; }
body[data-home-editorial] .destination-card h3 { font-weight: 700; font-size: clamp(2.8rem, 4.5vw, 4.8rem); line-height: 1; }
body[data-home-editorial] .destination-card:first-child h3 { font-size: clamp(4rem, 6.8vw, 7.4rem); max-width: 9ch; }
body[data-home-editorial] .card-index {
  top: 1rem;
  right: 1.5rem;
  color: #fffdf8;
  font-size: 2.5rem;
  font-weight: 700;
  border-top: 3px solid var(--red);
  padding-top: .35rem;
}
body[data-home-editorial] .destination-card:hover,
body[data-home-editorial] .destination-card:focus-visible { transform: none; outline: 3px solid var(--red); outline-offset: -3px; }
body[data-home-editorial] .destination-card:hover .destination-card-link { border-color: var(--red); }
body[data-home-editorial] .hotel-heading .section-number { color: #ff617a; }
body[data-home-editorial] .hotel-heading h2 { color: var(--paper-bright); }
body[data-home-editorial] .hotel-section .hotel-place { color: #ff617a; }
body[data-home-editorial] .hotel-section .note-link:hover { color: #ff617a; }
/* The other written-language homepages retain their own existing text and links. */
body[data-home-editorial] .edition-home {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 82svh;
  background: var(--ink);
  color: var(--paper-bright);
}
body[data-home-editorial] .edition-home > div {
  grid-area: 1 / 1;
  z-index: 1;
  padding: 4rem 5vw;
  background: linear-gradient(90deg,rgb(0 0 0 / 65%),transparent);
  align-items: flex-start;
}
body[data-home-editorial] .edition-home > img { grid-area: 1 / 1; height: 100%; max-height: none; object-fit: cover; }
body[data-home-editorial] .edition-home h1 { max-width: 16ch; font-size: clamp(4rem, 7.8vw, 9rem); line-height: 1.06; font-weight: 700; }
body[data-home-editorial] .edition-home .eyebrow { color: white; border-top: 4px solid var(--red); padding-top: .75rem; }
body[data-home-editorial] .edition-home > div > p:not(.eyebrow) { max-width: 44rem; font-size: 1.25rem; }
body[data-home-editorial] .edition-home > div > p:not(.eyebrow)::first-letter { font-size: 3em; float: inline-start; line-height: 1; padding-inline-end: .1em; font-family: var(--serif); }
body[data-home-editorial] .edition-home .note-link { color: white; }
body[data-home-editorial] .edition-home-section > h2 { font-weight: 700; font-size: clamp(3rem,5vw,6rem); }
body[data-home-editorial] #places .edition-cards { grid-template-columns: repeat(12,minmax(0,1fr)); align-items: stretch; }
body[data-home-editorial] #places .edition-card { grid-column: span 4; }
body[data-home-editorial] #places .edition-card:first-child { grid-column: span 8; grid-row: span 2; }
body[data-home-editorial] #places .edition-card:first-child > img { height: 65%; min-height: 28rem; }
body[data-home-editorial] #places .edition-card:nth-child(4),
body[data-home-editorial] #places .edition-card:nth-child(7) { grid-column: span 5; }
body[data-home-editorial] #places .edition-card:nth-child(5),
body[data-home-editorial] #places .edition-card:nth-child(6) { grid-column: span 7; }
body[data-home-editorial] #places .edition-card:nth-child(n+8) { grid-column: span 6; }
body[data-home-editorial] .edition-card h3 { font-family: var(--serif); font-weight: 700; font-size: 2rem; }
body[data-home-editorial] .edition-card:hover { border-color: var(--red); }
body[data-home-editorial][data-language="ja"] .hero h1 { font-size: clamp(4rem,7vw,8rem); line-height: 1.18; max-width: 80%; }
body[data-home-editorial][data-edition="ar"] .edition-home > div { background: linear-gradient(270deg,rgb(0 0 0 / 65%),transparent); }
@media (max-width: 900px) {
  body[data-home-editorial] .hero { grid-template-rows: minmax(38rem,74svh) auto auto; }
  body[data-home-editorial] .hero h1 { font-size: clamp(4.7rem,10.8vw,7rem); max-width: 88%; }
  body[data-home-editorial] .hero-visual img { object-position: 65% center; }
  body[data-home-editorial] .places-section .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  body[data-home-editorial] .destination-card { padding: 1.4rem; }
  body[data-home-editorial] .destination-card:first-child { min-height: 56rem; }
}
@media (max-width: 600px) {
  body[data-home-editorial] .hero { grid-template-rows: minmax(34rem,72svh) auto auto; }
  body[data-home-editorial] .hero .eyebrow { margin-top: 2rem; font-size: .68rem; }
  body[data-home-editorial] .hero h1 { margin-top: 1rem; max-width: 90%; font-size: clamp(2.75rem,11.7vw,4.4rem); line-height: 1.02; }
  body[data-home-editorial] .hero-visual img { object-position: 78% center; }
  body[data-home-editorial] .hero-visual::after { background: linear-gradient(90deg,rgb(0 0 0 / 62%),rgb(0 0 0 / 16%)); }
  body[data-home-editorial] .hero-visual figcaption { inset-inline: 0; bottom: 0; padding: 4rem 5vw 1rem; font-size: .65rem; max-width: none; }
  body[data-home-editorial] .hero-intro { margin-top: 2.5rem; }
  body[data-home-editorial] .journal-strip p { padding: 1rem .6rem; gap: .5rem; font-size: .7rem; }
  body[data-home-editorial] .journal-strip p > span:first-child { font-size: 1.9rem; }
  body[data-home-editorial] .destination-grid,
  body[data-home-editorial] #places .edition-cards { grid-template-columns: minmax(0,1fr); }
  body[data-home-editorial] .destination-card:nth-child(n),
  body[data-home-editorial] #places .edition-card:nth-child(n) { grid-column: 1; grid-row: auto; min-height: 27rem; }
  body[data-home-editorial] .destination-card:first-child { min-height: 37rem; }
  body[data-home-editorial] .destination-card:first-child h3 { font-size: 3.6rem; }
  body[data-home-editorial] .destination-card:nth-child(2n) { min-height: 23rem; }
  body[data-home-editorial] #places .edition-card:first-child > img { height: auto; min-height: 0; }
  body[data-home-editorial][data-language="ja"] .hero h1 { font-size: clamp(2.5rem,9.2vw,3.8rem); }
  body[data-home-editorial] .edition-home h1 { font-size: clamp(2.5rem,10vw,4.5rem); max-width: 100%; }
  body[data-home-editorial] .edition-home > div { padding: 3rem 6vw; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-home-editorial] .destination-card { transition: none; }
}
