 /* =========================================================
   Oklahoma.co.jp / site.css
   Editorial travel magazine system
   Fixed: long-form article content is always visible.
   ========================================================= */

:root {
  --ink: #1d1712;
  --ink-soft: #4f443a;
  --muted: #75685c;
  --paper: #f7efe4;
  --paper-deep: #efe0cc;
  --cream: #fffaf1;
  --rust: #9d4528;
  --rust-dark: #6f2d1d;
  --gold: #b98535;
  --sage: #60735a;
  --sky: #d7e6e8;
  --line: rgba(29, 23, 18, 0.16);
  --shadow: 0 22px 60px rgba(61, 38, 20, 0.16);
  --radius: 22px;
  --radius-lg: 34px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(185, 133, 53, 0.12), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(96, 115, 90, 0.12), transparent 30%),
    linear-gradient(180deg, #fbf4e9 0%, var(--paper) 46%, #f3e4cf 100%);
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    "Noto Serif JP",
    Georgia,
    serif;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(29, 23, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 23, 18, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--rust);
}

p {
  margin: 0 0 1.25rem;
}

strong,
b {
  color: var(--ink);
  font-weight: 800;
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 241, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
}

.brand .en {
  font-size: 1.34rem;
  font-weight: 900;
  letter-spacing: 0.055em;
}

.brand .jp {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(157, 69, 40, 0.08);
  border-color: rgba(157, 69, 40, 0.22);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 22px 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 34px;
  align-items: stretch;
}

.hero-copy {
  padding: clamp(26px, 4vw, 48px);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.94), rgba(239, 224, 204, 0.78)),
    radial-gradient(circle at 0% 0%, rgba(185, 133, 53, 0.16), transparent 38%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.kicker {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
.h1 {
  margin: 0 0 20px;
  font-size: clamp(2.35rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 2;
}

.hero-art {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper-deep);
}

.hero-art img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 52%, rgba(29, 23, 18, 0.54)),
    radial-gradient(circle at 20% 10%, rgba(255, 250, 241, 0.18), transparent 30%);
}

.caption,
figcaption {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.hero-art .caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  color: rgba(255, 250, 241, 0.9);
}

/* =========================================================
   Layout
   ========================================================= */

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 22px 80px;
}

.section {
  margin: 44px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.section-header h2,
h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-header p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* =========================================================
   Cards / Homepage
   ========================================================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  overflow: hidden;
  background: rgba(255, 250, 241, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(61, 38, 20, 0.10);
}

.card a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-deep);
}

.card-body {
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.24rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.home-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.home-mosaic .large-card {
  grid-row: span 2;
}

.home-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.home-mosaic .large-card img {
  min-height: 560px;
}

/* =========================================================
   Feature Bands
   ========================================================= */

.feature-band {
  margin: 56px 0;
  padding: clamp(26px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(111, 45, 29, 0.95), rgba(157, 69, 40, 0.86)),
    radial-gradient(circle at 100% 0%, rgba(185, 133, 53, 0.35), transparent 40%);
  color: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-band h2,
.feature-band h3,
.feature-band strong {
  color: var(--cream);
}

.feature-band p {
  color: rgba(255, 250, 241, 0.84);
}

.feature-band a {
  color: var(--cream);
}

/* =========================================================
   Long-form Article Layout
   CRITICAL: article-body is never hidden by CSS.
   ========================================================= */

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 96px;
  padding: 24px;
  background: rgba(255, 250, 241, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-aside h2 {
  font-size: 1.42rem;
}

.article-aside p {
  color: var(--ink-soft);
}

.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 60px);
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 52px rgba(61, 38, 20, 0.10);
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  display: block !important;
  color: var(--ink);
}

.article-body * {
  visibility: visible;
}

.article-body h1,
.article-body h2,
.article-body h3 {
  color: var(--ink);
}

.article-body h2 {
  margin: 2.55rem 0 1.05rem;
  padding-top: 0.2rem;
}

.article-body h3 {
  margin: 1.85rem 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.38;
}

.article-body p {
  color: var(--ink-soft);
  font-size: 1.055rem;
  line-height: 2.08;
  margin-bottom: 1.35rem;
}

.article-body .lead {
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 2.05;
}

.article-body .kicker {
  color: var(--rust);
}

.article-body ul,
.article-body ol {
  color: var(--ink-soft);
  padding-left: 1.25rem;
}

.article-body li {
  margin: 0.45rem 0;
}

.article-body a {
  color: var(--rust-dark);
  font-weight: 700;
}

.article-body a:hover {
  color: var(--rust);
}

/* Safety override for old JS-added reveal classes */
.article-body.js-reveal,
.article-body.js-reveal.is-visible,
.utility-card.js-reveal,
.utility-card.js-reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  display: block !important;
}

.article-hero {
  max-width: 980px;
  margin: 34px auto 46px;
}

.article-hero figure {
  margin: 0;
}

.article-hero img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-hero figcaption {
  margin-top: 12px;
  padding: 0 8px;
}

/* Interior page editorial rule:
   use this for the single primary image on each article/subpage. */
.single-main-image {
  margin: 34px 0 44px;
}

.single-main-image img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.single-main-image figcaption {
  margin-top: 12px;
}

/* =========================================================
   Editorial Elements
   ========================================================= */

.pullquote {
  margin: 38px 0;
  padding: 30px 34px;
  color: var(--rust-dark);
  background: rgba(185, 133, 53, 0.14);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: clamp(1.22rem, 2.2vw, 1.72rem);
  line-height: 1.68;
  letter-spacing: -0.02em;
}

.article-body .pullquote {
  color: var(--rust-dark);
}

.info-panel {
  padding: 24px;
  background: rgba(96, 115, 90, 0.10);
  border: 1px solid rgba(96, 115, 90, 0.22);
  border-radius: var(--radius);
}

.info-panel h3 {
  margin-top: 0;
}

.place-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 36px;
}

.place {
  padding: 20px;
  background: rgba(255, 250, 241, 0.84);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(61, 38, 20, 0.06);
}

.place h3 {
  margin: 0 0 8px;
  font-size: 1.13rem;
  color: var(--ink);
}

.place p {
  margin: 0.25rem 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.8;
}

/* =========================================================
   Buttons
   ========================================================= */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--cream);
  background: var(--rust);
  border: 1px solid rgba(111, 45, 29, 0.26);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(157, 69, 40, 0.20);
}

.btn:hover {
  color: var(--cream);
  background: var(--rust-dark);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255, 250, 241, 0.74);
  border-color: var(--line);
  box-shadow: none;
}

.btn.secondary:hover {
  color: var(--rust-dark);
  background: var(--cream);
}

/* =========================================================
   Breadcrumbs / Footer
   ========================================================= */

.breadcrumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 22px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--ink-soft);
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(239, 224, 204, 0.72);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 22px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer h2,
.footer h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

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

.footer-links a:hover {
  color: var(--rust);
  text-decoration: underline;
}

/* =========================================================
   Utility Pages
   ========================================================= */

.utility-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 54px 22px 82px;
}

.utility-card {
  padding: clamp(28px, 5vw, 56px);
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.utility-card h1,
.utility-card h2,
.utility-card h3 {
  color: var(--ink);
}

.utility-card p,
.utility-card li {
  color: var(--ink-soft);
}

.utility-card ul {
  padding-left: 1.25rem;
}

.utility-card li {
  margin: 0.4rem 0;
}

/* =========================================================
   Gallery
   ========================================================= */

.gallery-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gallery-room {
  background: rgba(255, 250, 241, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-room img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* =========================================================
   JS Reveal Safety
   Cards can animate. Articles must stay visible.
   ========================================================= */

.js-reveal {
  will-change: opacity, transform;
}

.article-body,
.article-body.js-reveal,
.article-body.js-reveal.is-visible,
.utility-card,
.utility-card.js-reveal,
.utility-card.js-reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-grid,
  .editorial-layout,
  .footer-inner,
  .home-mosaic {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-art,
  .hero-art img {
    min-height: 420px;
  }

  .home-mosaic .large-card img {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  body {
    line-height: 1.78;
  }

  .nav {
    padding: 12px 16px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .hero,
  main,
  .breadcrumbs {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 34px;
  }

  h1,
  .h1 {
    font-size: clamp(2.15rem, 12vw, 3.45rem);
  }

  .hero-copy,
  .article-body,
  .feature-band,
  .utility-card {
    border-radius: 24px;
  }

  .hero-art,
  .hero-art img {
    min-height: 340px;
  }

  .card-grid,
  .gallery-index {
    grid-template-columns: 1fr;
  }

  .section-header {
    display: block;
  }

  .section-header p {
    margin-top: 10px;
  }

  .footer-inner {
    padding: 30px 16px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .article-body {
    padding: 24px 18px;
  }

  .article-body p {
    font-size: 1rem;
    line-height: 1.92;
  }

  .pullquote {
    padding: 22px;
  }
}

@media print {
  .site-header,
  .footer,
  .button-row {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .article-body,
  .hero-copy,
  .card,
  .utility-card {
    box-shadow: none;
    border-color: #ccc;
  }

  .article-body p,
  .utility-card p {
    color: black;
  }
}
