/* ════════════════════════════════════════════════════════════════════
   KYOTO FIELD NOTES — Editorial travel-journal aesthetic
   Layered on top of main.css. A bold rewrite of the cream/sumi
   material direction with characterful typography, washi paper
   grain, hanko seal stamps, vertical kanji rails, and slow
   ink-wash motion.
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Material palette (deepened) ── */
  --sumi:        #14110e;   /* deepest ink */
  --sumi-soft:   #2a2520;   /* near-black body */
  --ink-wash:    #4a4339;   /* mid-text */
  --cha:         #7d6750;   /* tea brown, tertiary */
  --kasumi:      #c9c0ad;   /* mist — borders */
  --kasumi-soft: #e2dccb;   /* very light mist */
  --washi:       #e6dcc2;   /* toasted paper cream — body bg (deepened for island contrast) */
  --washi-pure:  #f9f4e4;   /* lighter paper — cards float as visible islands */
  --shu:         #a02e22;   /* deeper torii vermilion */
  --shu-deep:    #7a1f15;   /* pressed/hover */
  --shu-light:   #c14c3e;   /* hover surface */
  --kincha:      #a07d2a;   /* aged gold leaf */
  --kincha-deep: #6f5418;
  --sango:       #c9603e;   /* coral persimmon */

  /* ── Override generic tokens ── */
  --gold:          var(--kincha);
  --gold-light:    var(--kincha);
  --gold-dark:     var(--kincha-deep);
  --gold-shimmer:  var(--shu);
  --canal-teal:    var(--shu);
  --canal-light:   var(--washi);
  --deep-canal:    var(--sumi);
  --charcoal:      var(--sumi);
  --slate:         var(--ink-wash);
  --stone:         var(--cha);
  --silver:        var(--kasumi);
  --mist:          var(--washi);
  --white:         var(--washi-pure);
  --marble-white:  var(--washi-pure);
  --ocean-depth:   var(--sumi);
  --amber-warm:    var(--kincha);
  --dutch-orange:  var(--shu);
  --hero-overlay:  rgba(20,17,14,0.62);

  /* ── Typography: magazine grotesque (Archivo variable) + mono UI + sans JP ── */
  --font-display:  'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:     'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-ui:       'IBM Plex Mono', 'Courier Prime', 'Courier New', monospace;
  --font-jp:       'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;

  /* ── Sharp corners, no shadows, slow rhythm ── */
  --rounded-sm:    0;
  --rounded-md:    0;
  --rounded-lg:    0;
  --rounded-xl:    0;
  --rounded-full:  0;
  --shadow-sm:  none;
  --shadow-md:  none;
  --shadow-lg:  none;
  --shadow-xl:  none;
  --transition-fast:    180ms ease-out;
  --transition-normal:  400ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow:    600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ════════════════════════════════════════════════════════════════════
   GLOBAL — body, washi paper grain overlay, vertical kanji rail
   ════════════════════════════════════════════════════════════════════ */

html { font-size: 17px; }
body {
  background: var(--washi);
  color: var(--sumi-soft);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.7;
  font-feature-settings: "kern", "liga", "calt", "ss01";
  position: relative;
}

/* Subtle paper grain — smooth magazine print feel, very faint */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.40 0 0 0 0 0.32 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Vertical kanji rail removed — replaced with editorial masthead on hero */

main, header, footer { position: relative; z-index: 2; }

/* ════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ════════════════════════════════════════════════════════════════════ */

/* Fraunces variable axes for display headings */
h1, h2, h3,
.section-title, .hero-title, .hub-hero-title, .hub-guide-title,
.experience-title, .step-title, .highlight-title, .faq-question,
.cta-title, .footer-col-title, .review-author, .price-amount {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--sumi);
  line-height: 1.18;
}

.hero-title, .hub-hero-title {
  font-weight: 600;
  font-size: clamp(2.5rem, 5.8vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.024em;
}

.section-title {
  font-size: clamp(1.95rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 0.65rem;
  letter-spacing: -0.022em;
}

/* UI eyebrows — IBM Plex Mono, tiny, kanji prefix optional */
.hero-overline,
.section-overline,
.hub-hero-overline,
.hub-guide-label,
.experience-badge,
.hero-badge,
.hub-guide-badge,
.comparison-badge,
.trust-label,
.footer-col-title,
.footer-seo-title,
.nav-link,
.nav-cta,
.btn-primary, .btn-outline, .btn-lg, .btn-sm, .cta-btn, .comparison-btn,
.mobile-nav-link {
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-overline,
.hero-overline,
.hub-hero-overline,
.hub-guide-label {
  font-size: 0.7rem;
  color: var(--shu);
  letter-spacing: 0.18em;
  position: relative;
  display: inline-block;
  padding-left: 1.6rem;
}
/* horizontal stroke before each overline like a calligraphy first stroke */
.section-overline::before,
.hero-overline::before,
.hub-hero-overline::before,
.hub-guide-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.1rem;
  height: 1px;
  background: var(--shu);
  transform: translateY(-50%);
}

/* Body text — Cormorant Garamond at 17px reads like printed editorial */
p, li {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--sumi-soft);
}

/* Drop cap for first paragraph of long bodies */
.faq-answer-inner > p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 600;
  float: left;
  line-height: 0.9;
  margin: 0.35rem 0.6rem 0 0;
  color: var(--shu);
}

/* ════════════════════════════════════════════════════════════════════
   HEADER + NAV
   ════════════════════════════════════════════════════════════════════ */

header.site-header,
#site-header {
  background: var(--washi);
  border-bottom: 1px solid var(--kasumi);
  box-shadow: none !important;
}

.logo-tagline {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--sumi);
  font-weight: 500;
  position: relative;
}
/* Tiny hanko square next to logo — flex centering is robust across font switches */
.logo-tagline::after {
  content: "京";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  background: var(--shu);
  color: var(--washi);
  font-family: var(--font-jp);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 0.5rem;
  vertical-align: middle;
  transform: rotate(-3deg);
  letter-spacing: 0;
}

.nav-link {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 0.5rem 0.6rem;
  color: var(--sumi-soft);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.3rem;
  height: 1px;
  background: var(--shu);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition-normal);
}
.nav-link:hover { color: var(--shu); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-links { gap: 0.15rem; }
.nav-cta {
  background: var(--shu);
  color: var(--washi-pure);
  border: 1px solid var(--shu);
  border-radius: 0 !important;
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  font-weight: 500;
}
.nav-cta:hover { background: var(--washi-pure); color: var(--shu); }

.mobile-nav-link {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--sumi);
  border-bottom: 1px solid var(--kasumi);
  padding: 0.95rem 0;
}
.mobile-nav-link:hover { color: var(--shu); }
.mobile-menu-cta {
  background: var(--shu);
  color: var(--washi-pure);
  border-radius: 0 !important;
  font-family: var(--font-ui);
  letter-spacing: 0.08em;
}

/* ════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════ */

.hero, .hub-hero {
  background: var(--sumi);
  background-image:
    linear-gradient(180deg, rgba(20,17,14,0.52) 0%, rgba(20,17,14,0.86) 100%),
    var(--hero-bg-image, none);
  background-size: cover;
  background-position: center;
  position: relative;
}
.hub-hero {
  background-image: linear-gradient(160deg, #14110e 0%, #2a2520 50%, #14110e 100%);
}

.hero-overlay { background: var(--hero-overlay); }

.hero-title, .hero-subtitle,
.hub-hero-title, .hub-hero-subtitle {
  color: var(--washi);
}
.hero-subtitle, .hub-hero-subtitle {
  color: rgba(241,235,217,0.85);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.65;
  max-width: 38em;
}

.hero-overline, .hub-hero-overline {
  color: var(--shu-light);
}
.hero-overline::before, .hub-hero-overline::before {
  background: var(--shu-light);
}

/* Asymmetric hero hanko stamp — top-right */
.hero::after, .hub-hero::after {
  content: "京都";
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  width: 4.2rem;
  height: 4.2rem;
  background: var(--shu);
  color: var(--washi);
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid var(--shu);
  outline: 1px solid rgba(241,235,217,0.4);
  outline-offset: -6px;
  transform: rotate(-4deg);
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(20,17,14,0.2);
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════════
   HUB QUICK NAV PILLS — sharp, hairline
   ════════════════════════════════════════════════════════════════════ */

.hub-nav-pill {
  border-radius: 0 !important;
  background: transparent;
  border: 1px solid rgba(192,76,62,0.5);
  color: var(--washi);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  font-weight: 500;
}
.hub-nav-pill:hover {
  background: var(--shu);
  border-color: var(--shu);
  color: var(--washi-pure);
}

/* ════════════════════════════════════════════════════════════════════
   CARDS — flat panels, hairline borders, no shadows
   ════════════════════════════════════════════════════════════════════ */

.experience-card,
.hub-guide-card,
.hub-tip-card,
.review-card,
.step-card,
.gallery-item,
.faq-item,
.comparison-table {
  border-radius: 0 !important;
  box-shadow: none !important;
  background: var(--washi-pure);
  border: 1px solid var(--kasumi);
  transition: all var(--transition-normal);
}

.experience-card:hover,
.hub-guide-card:hover {
  border-color: var(--shu);
  box-shadow: none !important;
  transform: none !important;
}

.experience-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem !important;
  line-height: 1.25;
  color: var(--sumi);
  margin-bottom: 0.5rem;
}

.experience-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-wash);
  font-style: italic;
}

.experience-meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cha);
}

.experience-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sumi);
}
.experience-price-from {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cha);
  display: block;
  margin-bottom: 0.15rem;
}
.experience-cta-text {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shu);
}

/* Image treatment: subtle desaturation, full color on hover */
.experience-image img,
.hub-guide-card img,
.gallery-item img {
  filter: saturate(0.78) contrast(0.95);
  transition: filter var(--transition-slow);
}
.experience-card:hover .experience-image img,
.hub-guide-card:hover img,
.gallery-item:hover img {
  filter: saturate(1) contrast(1);
}

/* ════════════════════════════════════════════════════════════════════
   HUB GUIDE GRID
   ════════════════════════════════════════════════════════════════════ */

.hub-guide-card {
  padding: 1.85rem 1.6rem 1.6rem;
  position: relative;
}
/* featured card: magazine "Editor's Pick" tab (hanko kept for hero only) */
.hub-guide-card--featured {
  border-color: var(--shu);
  background:
    linear-gradient(180deg, rgba(160,46,34,0.04) 0%, var(--washi-pure) 70%);
}
.hub-guide-card--featured::after {
  content: "EDITOR'S PICK";
  position: absolute;
  top: -9px;
  left: 1.25rem;
  background: var(--washi-pure);
  padding: 0 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--shu);
  border-left: 1px solid var(--kasumi);
  border-right: 1px solid var(--kasumi);
  line-height: 18px;
  z-index: 1;
}

.hub-guide-icon { color: var(--shu); margin-bottom: 1rem; }
.hub-guide-label { color: var(--shu); margin-bottom: 0.4rem; }
.hub-guide-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.22;
  margin-bottom: 0.6rem;
  color: var(--sumi);
}
.hub-guide-body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-wash);
  flex: 1;
}
.hub-guide-meta {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cha);
  margin: 0.85rem 0 0.5rem;
}
.hub-guide-cta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shu);
  font-weight: 600;
  margin-top: auto;
}

/* ════════════════════════════════════════════════════════════════════
   HUB TIPS
   ════════════════════════════════════════════════════════════════════ */

.hub-tips-section { background: var(--washi); }
.hub-tip-card { padding: 1.4rem; }
/* Magazine hanko-style number: shu-bg square with washi numeral, confident accent */
.hub-tip-number {
  border-radius: 0 !important;
  background: var(--shu);
  color: var(--washi-pure);
  border: none;
  font-family: var(--font-display);
  width: 42px;
  height: 42px;
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-bottom: 0.85rem;
  position: relative;
}
.hub-tip-number::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(249,244,228,0.35);
  pointer-events: none;
}
.hub-tip-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sumi);
}
.hub-tip-body {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-wash);
}

/* ════════════════════════════════════════════════════════════════════
   ALL TOURS DARK SECTION
   ════════════════════════════════════════════════════════════════════ */

.hub-all-tours { background: var(--sumi); }
.hub-all-tours .section-title {
  color: var(--washi);
  font-family: var(--font-display);
}
.hub-all-tours .section-subtitle { color: rgba(241,235,217,0.78); }

/* ════════════════════════════════════════════════════════════════════
   SECTION HEADERS — vertical stroke + airy spacing
   ════════════════════════════════════════════════════════════════════ */

.section-header { margin-bottom: 2.75rem; }
.section-header::before {
  content: "";
  display: block;
  width: 1px;
  height: 32px;
  background: var(--shu);
  margin: 0 auto 1.1rem;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-wash);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}

/* ════════════════════════════════════════════════════════════════════
   BUTTONS — flat, sharp, brushstroke hover
   ════════════════════════════════════════════════════════════════════ */

.btn-primary, .btn-outline, .cta-btn, .comparison-btn,
.btn-lg, .btn-sm {
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: all var(--transition-normal);
  position: relative;
  padding: 0.85rem 1.6rem;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--shu);
  color: var(--washi-pure);
  border: 1px solid var(--shu);
}
.btn-primary:hover {
  background: var(--washi-pure);
  color: var(--shu);
  border-color: var(--shu);
}

.btn-outline {
  background: transparent;
  color: var(--sumi);
  border: 1px solid var(--sumi);
}
.btn-outline:hover {
  background: var(--sumi);
  color: var(--washi-pure);
}

.btn-lg { padding: 1rem 2rem; font-size: 0.85rem; }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.72rem; letter-spacing: 0.08em; }

.comparison-btn {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-family: var(--font-ui) !important;
  font-size: 0.78rem !important;
  font-weight: 500;
  padding: 0.65rem 0.85rem !important;
  white-space: normal;
  line-height: 1.3;
  max-width: 200px !important;
}

/* ════════════════════════════════════════════════════════════════════
   BADGES — small flat shu rectangles
   ════════════════════════════════════════════════════════════════════ */

.hub-guide-badge,
.experience-badge,
.hero-badge {
  border-radius: 0 !important;
  background: var(--shu);
  color: var(--washi-pure);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border: none;
}
.hero-badge {
  background: rgba(20,17,14,0.55);
  border: 1px solid var(--shu-light);
  color: var(--washi);
  backdrop-filter: blur(2px);
}

/* ════════════════════════════════════════════════════════════════════
   COMPARISON TABLE — editorial magazine grid
   ════════════════════════════════════════════════════════════════════ */

/* Bali-era last-child opacity/italic rules removed from main.css directly.
   No override needed here. */

.comparison-table {
  border-collapse: collapse;
  background: var(--washi-pure);
  width: 100%;
}
.comparison-table th,
.comparison-table td {
  border: 1px solid var(--kasumi);
  background: var(--washi-pure);
  vertical-align: middle;
}

/* Header row — badge ABOVE label, tighter padding, sumi text */
.comparison-col {
  background: var(--washi);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--sumi);
  padding: 1.5rem 1.1rem 1.25rem;
  text-align: center;
  letter-spacing: -0.01em;
  vertical-align: bottom;
  position: relative;
}

/* Featured header: shu tint + accent top stripe + badge pinned above.
   Use higher specificity (.comparison-table .comparison-col--highlight)
   to beat the base .comparison-table th { border: 1px solid kasumi } rule. */
.comparison-table .comparison-col--highlight {
  background: rgba(160,46,34,0.07);
  color: var(--sumi);
  border-top: 3px solid var(--shu);
  border-bottom: none;
  padding-top: 3rem;
}

/* Badge — shu vermilion stamp above the header label. */
.comparison-badge {
  display: inline-block;
  background: var(--shu);
  color: var(--washi-pure);
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 0;
  margin-bottom: 0.75rem;
  vertical-align: middle;
}
/* Badge sits INSIDE the TH at the top — no negative positioning so it
   isn't clipped by .comparison-wrapper { overflow-x: auto }. */
.comparison-col .comparison-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  margin-bottom: 0;
}
/* padding-top merged into the main .comparison-table .comparison-col--highlight rule */

/* Row-label column — right-aligned caps, editorial magazine treatment */
.comparison-row-label {
  background: var(--washi);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cha);
  font-weight: 600;
  padding: 0.9rem 1.2rem 0.9rem 0.5rem;
  text-align: right;
  width: 20%;
  line-height: 1.35;
}

/* Body cells */
.comparison-cell {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 1rem 1.1rem;
  color: var(--sumi-soft);
  text-align: center;
  line-height: 1.45;
}

/* Featured column body cells — continuous shu left stripe, tinted bg */
.comparison-cell--highlight {
  background: rgba(160,46,34,0.04) !important;
  border-left: 3px solid var(--shu) !important;
  border-right: 3px solid var(--shu) !important;
  font-weight: 600;
  color: var(--sumi) !important;
  font-style: normal !important;
  opacity: 1 !important;
}

/* Featured column — remove side borders on adjacent cells to keep stripe clean */
.comparison-table tr:first-child .comparison-col--highlight {
  border-left: 3px solid var(--shu) !important;
  border-right: 3px solid var(--shu) !important;
}

/* CTA row — give the bottom some breathing room.
   Re-declare shu borders here because main.css's `.comparison-cta-row` /
   `.comparison-cta-cell` rules otherwise interrupt the continuous column stripe. */
.comparison-cta-row td {
  padding: 1.2rem 1rem !important;
  background: var(--washi-pure);
}
body .comparison-cta-row .comparison-cell--highlight,
body .comparison-table .comparison-cta-row .comparison-cell--highlight {
  background: rgba(160,46,34,0.06) !important;
  border-left: 3px solid var(--shu) !important;
  border-right: 3px solid var(--shu) !important;
  border-bottom: 3px solid var(--shu) !important;
  border-top: 1px solid var(--kasumi) !important;
}

/* Buttons inside comparison — neat, consistent */
.comparison-btn {
  width: 100%;
  display: inline-block !important;
}

/* ════════════════════════════════════════════════════════════════════
   FAQ — editorial, drop caps in answers
   ════════════════════════════════════════════════════════════════════ */

.faq-section { background: var(--washi-pure); }
.faq-item {
  border: none !important;
  border-bottom: 1px solid var(--kasumi) !important;
}
.faq-item:first-child { border-top: 1px solid var(--kasumi) !important; }
.faq-question {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--sumi);
  padding: 1.4rem 0;
  letter-spacing: -0.01em;
  border-bottom: none !important;
}
.faq-question:hover { color: var(--shu); }
.faq-chevron { color: var(--shu); }
.faq-question[aria-expanded="true"] .faq-chevron { color: var(--shu-deep); }
/* NOTE: do NOT add padding to .faq-answer — main.css uses max-height+padding
   transitions for the accordion; static padding here causes "sliver of content"
   to show when collapsed. Padding belongs on the INNER wrapper. */
.faq-answer-inner {
  padding-bottom: 1.4rem;
}
.faq-answer-inner p {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--ink-wash);
}

/* ════════════════════════════════════════════════════════════════════
   STEPS / HOW IT WORKS
   ════════════════════════════════════════════════════════════════════ */

.step-card { padding: 1.6rem 1.4rem; }
.step-number {
  background: var(--shu) !important;
  color: var(--washi-pure) !important;
  border-radius: 0 !important;
  font-family: var(--font-display);
  font-weight: 600;
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
}
.step-number::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(249,244,228,0.35);
  pointer-events: none;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--sumi);
  margin-top: 0.85rem;
}
.step-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-wash);
}

/* ════════════════════════════════════════════════════════════════════
   HIGHLIGHTS + GALLERY
   ════════════════════════════════════════════════════════════════════ */

.highlight-icon { color: var(--shu); }
.highlight-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--sumi);
}
.highlight-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

.gallery-section { background: var(--washi); }
.gallery-scroll { gap: 1.1rem; }
.gallery-item {
  border: 1px solid var(--kasumi);
  background: var(--washi-pure);
  position: relative;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,17,14,0.18) 100%);
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════════
   BOOKING WIDGET SECTION
   ════════════════════════════════════════════════════════════════════ */

.booking-section {
  background: var(--washi);
  position: relative;
}
.booking-widget-wrapper {
  background: var(--washi-pure);
  border: 1px solid var(--kasumi);
  padding: 2rem;
  position: relative;
}
.booking-widget-wrapper::before {
  content: "予約";
  position: absolute;
  top: -14px;
  left: 1.5rem;
  background: var(--washi);
  padding: 0 0.7rem;
  font-family: var(--font-jp);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--shu);
  border-left: 1px solid var(--kasumi);
  border-right: 1px solid var(--kasumi);
}
.booking-section .section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

/* ════════════════════════════════════════════════════════════════════
   TRUST BAND
   ════════════════════════════════════════════════════════════════════ */

.trust-band {
  background: var(--washi-pure);
  border-top: 1px solid var(--kasumi);
  border-bottom: 1px solid var(--kasumi);
}
.trust-item { border-right: 1px solid var(--kasumi); }
.trust-item:last-child { border-right: none; }
.trust-metric {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--sumi);
}
.trust-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cha);
}

/* ════════════════════════════════════════════════════════════════════
   CTA BAND — dark sumi panel with shu top/bottom rails
   ════════════════════════════════════════════════════════════════════ */

.cta-band {
  background: var(--sumi);
  color: var(--washi-pure);
  border-top: 3px solid var(--shu);
  border-bottom: 3px solid var(--shu);
  position: relative;
}
.cta-band .cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--washi);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}
.cta-band .cta-body {
  font-family: var(--font-body);
  color: rgba(241,235,217,0.85);
  font-size: 1.1rem;
  line-height: 1.7;
}
.cta-band .cta-btn {
  background: var(--shu);
  color: var(--washi-pure);
  border: 1px solid var(--shu);
}
.cta-band .cta-btn:hover {
  background: var(--washi-pure);
  color: var(--shu);
}
.cta-band .section-overline { color: var(--shu-light); }
.cta-band .section-overline::before { background: var(--shu-light); }

/* ════════════════════════════════════════════════════════════════════
   FOOTER — dark sumi with hanko signature
   ════════════════════════════════════════════════════════════════════ */

footer.site-footer, .site-footer {
  background: var(--sumi);
  color: rgba(241,235,217,0.7);
  border-top: 4px solid var(--shu);
  position: relative;
}
.footer-link, .footer-legal-link, .footer-seo-link {
  color: rgba(241,235,217,0.7);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.85;
}
.footer-seo-link {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-link:hover, .footer-legal-link:hover, .footer-seo-link:hover {
  color: var(--shu-light);
}
.footer-col-title, .footer-seo-title {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--washi);
  font-weight: 600;
}
.footer-brand-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(241,235,217,0.78);
  font-style: italic;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--washi);
  letter-spacing: 0.16em;
}
.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(241,235,217,0.55);
}

/* ════════════════════════════════════════════════════════════════════
   STICKY CTA
   ════════════════════════════════════════════════════════════════════ */

.sticky-cta {
  background: var(--sumi);
  border-top: 1px solid var(--shu);
  box-shadow: none !important;
}
.sticky-cta-btn {
  background: var(--shu);
  color: var(--washi-pure);
  border-radius: 0 !important;
  font-family: var(--font-ui);
  letter-spacing: 0.1em;
}

/* ════════════════════════════════════════════════════════════════════
   GLOBAL RESET — kill rounded corners and shadows everywhere
   ════════════════════════════════════════════════════════════════════ */

input, textarea, select,
.experience-image, .gallery-item img, img,
.review-card, .step-card {
  border-radius: 0 !important;
}

/* Kill scaffold hover-lift but TARGETED — universal `*:hover` locks mobile menu
   open by freezing transforms on .mobile-menu after JS removes .open class.
   See feedback_new_project_workflow.md rule #41. */
.experience-card:hover, .hub-guide-card:hover, .hub-tip-card:hover,
.review-card:hover, .step-card:hover, .related-tour-card:hover,
.gallery-item:hover, .faq-item:hover, .complementary-card:hover,
.tour-booking-card:hover {
  transform: none !important;
}

.fade-up, .booking-section, .experiences-grid,
.hub-guide-grid, .comparison-table, .faq-item,
.review-card, .step-card, .gallery-item,
.experience-card, .hub-guide-card, .hub-tip-card,
.booking-widget-wrapper, .trust-band, .cta-band,
header, footer {
  box-shadow: none !important;
}

/* ════════════════════════════════════════════════════════════════════
   STAGGERED PAGE-LOAD — ink-wash reveal
   ════════════════════════════════════════════════════════════════════ */

@keyframes ink-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero, .hub-hero, .section, section {
  animation: none;
}

.hero-overline, .hub-hero-overline,
.hero-title, .hub-hero-title,
.hero-subtitle, .hub-hero-subtitle,
.hero-actions, .hub-quick-nav {
  opacity: 0;
  animation: ink-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-overline, .hub-hero-overline { animation-delay: 80ms; }
.hero-title, .hub-hero-title       { animation-delay: 220ms; }
.hero-subtitle, .hub-hero-subtitle { animation-delay: 380ms; }
.hero-actions, .hub-quick-nav      { animation-delay: 540ms; }

/* Hero hanko stamp — appears last, slight rotate-in */
@keyframes stamp-press {
  0%   { opacity: 0; transform: rotate(-12deg) scale(1.4); }
  60%  { opacity: 1; transform: rotate(-2deg) scale(0.94); }
  100% { opacity: 1; transform: rotate(-4deg) scale(1); }
}
.hero::after, .hub-hero::after {
  opacity: 0;
  animation: stamp-press 800ms cubic-bezier(0.5, 0, 0.5, 1.4) 700ms forwards;
}

/* ════════════════════════════════════════════════════════════════════
   ANCHOR LINKS — brushstroke underline
   ════════════════════════════════════════════════════════════════════ */

a { transition: color var(--transition-fast); }

.prose a, .faq-answer a {
  color: var(--shu);
  text-decoration: underline;
  text-decoration-color: rgba(160,46,34,0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.prose a:hover, .faq-answer a:hover {
  text-decoration-color: var(--shu);
  text-decoration-thickness: 2px;
}

/* ════════════════════════════════════════════════════════════════════
   PRICE / METADATA HARMONIZATION
   ════════════════════════════════════════════════════════════════════ */

.price-amount {
  font-family: var(--font-display);
  font-weight: 600;
}
.price-from, .price-per {
  font-family: var(--font-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════════════
   REVIEWS
   ════════════════════════════════════════════════════════════════════ */

.reviews-section { background: var(--washi-pure); }
.review-card { padding: 1.4rem; }
.review-author {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--sumi);
  font-size: 1.05rem;
}
.review-rating { color: var(--shu); }
.review-body, .review-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-wash);
  font-style: italic;
}

/* ════════════════════════════════════════════════════════════════════
   ACCESSIBILITY — respect reduced motion
   ════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body::before { display: none; }
}

/* ════════════════════════════════════════════════════════════════════
   IN-FLIGHT MAGAZINE REFINEMENT
   Pagination markers, brushstroke dividers, kanji section numbers,
   seigaiha wave pattern on tips, pull quote, figure caption
   ════════════════════════════════════════════════════════════════════ */

/* ── Section pagination markers — auto-counted like "01 / 18" + kanji ── */
main { counter-reset: section-num; }
main .section,
main > section:not(.hero):not(.hub-hero):not(.cta-band) {
  counter-increment: section-num;
  position: relative;
}
main .section > .container > .section-header::before,
main > section:not(.hero):not(.hub-hero):not(.cta-band) > .container > .section-header::before {
  content: counter(section-num, decimal-leading-zero);
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--shu);
  margin: 0 auto 1rem;
  width: auto;
  height: auto;
  background: none;
  padding: 0 0.6rem 0 0;
  border-right: 1px solid var(--shu);
  line-height: 1;
  vertical-align: middle;
}

/* ── Brushstroke SVG divider between sections (decorative hairline) ── */
main .section:not(:first-of-type)::before,
main > section:not(:first-of-type):not(.hero):not(.hub-hero)::before {
  content: "";
  display: block;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 120px 24px;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 120 24' xmlns='http://www.w3.org/2000/svg'><path d='M2 12 Q18 8 38 12 T78 11 Q100 13 118 11' stroke='%23a02e22' stroke-width='1.4' fill='none' stroke-linecap='round' opacity='0.7'/><circle cx='60' cy='11' r='1.2' fill='%23a02e22' opacity='0.6'/></svg>");
  opacity: 0.85;
  margin: 0;
}

/* ── Seigaiha (blue-wave) pattern on tips section ── SVG data URI ── */
.hub-tips-section {
  position: relative;
  background:
    radial-gradient(circle at 20px 20px, transparent 18px, rgba(160,46,34,0.07) 18.5px, rgba(160,46,34,0.07) 19.5px, transparent 20px),
    radial-gradient(circle at 60px 20px, transparent 18px, rgba(160,46,34,0.07) 18.5px, rgba(160,46,34,0.07) 19.5px, transparent 20px),
    radial-gradient(circle at 40px 40px, transparent 18px, rgba(160,46,34,0.07) 18.5px, rgba(160,46,34,0.07) 19.5px, transparent 20px),
    var(--washi);
  background-size: 80px 40px, 80px 40px, 80px 40px, auto;
  background-position: 0 0, 40px 0, 0 20px, center;
}
.hub-tips-section > * { position: relative; z-index: 1; }

/* ── Pull-quote utility (for editorial passages) ── */
.pull-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.35;
  color: var(--sumi);
  text-align: center;
  max-width: 38ch;
  margin: 3rem auto;
  position: relative;
  font-style: italic;
}
.pull-quote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--shu);
  font-style: normal;
  margin-bottom: 0.5rem;
}
.pull-quote::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--shu);
  margin: 1.25rem auto 0;
}
.pull-quote cite {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cha);
  margin-top: 0.9rem;
}

/* ── Figure caption (gallery, inline images) ── */
.figure-caption,
.gallery-item figcaption {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--cha);
  font-style: italic;
  padding: 0.5rem 0.85rem;
  border-top: 1px solid var(--kasumi);
  margin-top: 0;
}

/* ── Masthead treatment at top of hub hero ── */
.hub-hero-content::before {
  content: "京都 · KYOTO · ISSUE 01";
  display: block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--shu-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,96,62,0.35);
  display: inline-block;
  padding-right: 1rem;
}

/* ── Hero "dateline" treatment (magazine-style above title) ── */
.hero .hero-content::before,
.hub-hero .hub-hero-content::before {
  font-variant: small-caps;
}

/* ── Dot-leader row for meta/pagination lists ── */
.dot-leader {
  display: flex;
  align-items: baseline;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--cha);
}
.dot-leader::before {
  content: "";
  flex: 1;
  margin: 0 0.5rem;
  border-bottom: 1px dotted var(--kasumi);
  transform: translateY(-3px);
}

/* ── Tighten the section header::before (override the old vertical stroke) ── */
.section-header::before {
  display: none; /* superseded by counter-based pagination above */
}

/* ── Override the existing ::before on overlines so it doesn't stack with the numbered counter */
.section-overline::before {
  display: none;
}
.section-overline {
  padding-left: 0;
}

/* ════════════════════════════════════════════════════════════════════
   POLISH — user feedback fixes (logo visibility, fade-up failures,
   sticky CTA price contrast, card island lift)
   ════════════════════════════════════════════════════════════════════ */

/* Fix: wordmark "THINGS TO BOOK IN KYOTO" was color:var(--white) →
   maps to washi-pure → invisible on cream header. Force sumi. */
.logo-primary {
  color: var(--sumi) !important;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.logo-icon { color: var(--shu) !important; opacity: 1 !important; }

/* Fix: HERO price badge (.price-amount / .price-from / .price-per / .price-free-cancel)
   sits on dark sumi hero overlay → black inherit was invisible. Force cream. */
body .hero .price-amount,
body .hero .price-from,
body .hero .price-per,
body .hero .price-free-cancel,
body .hub-hero .price-amount,
body .hub-hero .price-from,
body .hub-hero .price-per,
body .hub-hero .price-free-cancel,
body .hero-price-badge .price-amount,
body .hero-price-badge .price-from,
body .hero-price-badge .price-per,
body .hero-price-badge .price-free-cancel {
  color: #f9f4e4 !important;
}
body .hero .price-from,
body .hero .price-per,
body .hero .price-free-cancel,
body .hub-hero .price-from,
body .hub-hero .price-per,
body .hub-hero .price-free-cancel,
body .hero-price-badge .price-from,
body .hero-price-badge .price-per,
body .hero-price-badge .price-free-cancel {
  color: rgba(249,244,228,0.75) !important;
}

/* Fix: sticky CTA is now dark sumi. Force all text cream — body-scoped
   specificity to beat main.css's .sticky-price-amount color rule. */
body .sticky-cta .sticky-price-amount,
body .sticky-cta-price .sticky-price-amount {
  color: #f1ebd9 !important;
  font-family: var(--font-display);
}
body .sticky-cta .sticky-price-from,
body .sticky-cta .sticky-price-per,
body .sticky-cta-price .sticky-price-from,
body .sticky-cta-price .sticky-price-per {
  color: rgba(241,235,217,0.7) !important;
}
body .sticky-cta-btn {
  color: #f9f4e4 !important;
  background: #a02e22 !important;
}

/* Fix: IntersectionObserver threshold bug on tall containers (same as
   the tours/list.html bug). FAQ list and comparison wrapper often exceed
   the 12% visibility threshold → observer never fires → opacity stays 0.
   Force visible; the surrounding section-header animation still plays. */
.faq-list.fade-up,
.comparison-wrapper.fade-up,
.experiences-grid.fade-up,
.hub-guide-grid.fade-up,
.hub-tips-grid.fade-up {
  opacity: 1 !important;
  transform: none !important;
}

/* Card "island" lift — subtle warm-white cards on toasted body bg.
   Hairline kasumi border already present; add faint inner highlight. */
.experience-card,
.hub-guide-card,
.hub-tip-card,
.review-card,
.step-card,
.gallery-item {
  background: var(--washi-pure);
  border: 1px solid var(--kasumi);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset;
}

/* ════════════════════════════════════════════════════════════════════
   MOBILE — keep characteristic but tighten
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  html { font-size: 16px; }
  .hero::after, .hub-hero::after {
    width: 3.2rem; height: 3.2rem; font-size: 1rem; line-height: 1;
    top: 0.85rem; right: 0.85rem;
  }
  .section-header { margin-bottom: 2rem; }
  .booking-widget-wrapper { padding: 1.4rem; }
  .booking-widget-wrapper::before { left: 1rem; font-size: 0.78rem; }
}
