/* =========================================================
   Montana.co.jp — Site CSS
   Big Sky Japanese woodblock / alpine ink wash / frontier rail poster
   Base path for images in HTML: https://montana.co.jp/images/
   ========================================================= */

:root {
  --ink: #18222b;
  --ink-soft: #394653;
  --paper: #f6f0e4;
  --paper-deep: #eadfcb;
  --cloud: #fbf8f1;
  --snow: #f7fbff;
  --river: #4f8394;
  --river-deep: #2f5967;
  --glacier: #b7d6df;
  --pine: #233b31;
  --sage: #798b72;
  --prairie: #c59a57;
  --gold: #d2a956;
  --rust: #9c5e3d;
  --rail: #3a332b;
  --night: #101820;
  --line: rgba(24, 34, 43, 0.16);
  --line-light: rgba(255, 255, 255, 0.28);
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.18);
  --shadow-soft: 0 12px 34px rgba(16, 24, 32, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Times New Roman", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
}

/* ---------- Base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.025em;
  background:
    radial-gradient(circle at top left, rgba(183, 214, 223, 0.42), transparent 32rem),
    radial-gradient(circle at 90% 8%, rgba(210, 169, 86, 0.22), transparent 30rem),
    linear-gradient(180deg, #f8f3e8 0%, #f3eadb 48%, #eee1cf 100%);
  min-height: 100vh;
}

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

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

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

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

p {
  margin: 0 0 1.35rem;
}

strong {
  color: #000;
  font-weight: 800;
}

small {
  font-size: 0.86rem;
}

::selection {
  background: rgba(210, 169, 86, 0.42);
}

/* ---------- Layout Helpers ---------- */

.wrap,
.container {
  width: min(var(--max), calc(100% - 42px));
  margin-inline: auto;
}

.narrow {
  width: min(840px, calc(100% - 42px));
  margin-inline: auto;
}

.wide {
  width: min(1360px, calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 8vw, 108px) 0;
}

.section-tight {
  padding: clamp(34px, 5vw, 64px) 0;
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--river-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.lede {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 2.05;
}

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

.center {
  text-align: center;
}

.grid {
  display: grid;
  gap: clamp(22px, 3vw, 38px);
}

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

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

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

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(24, 34, 43, 0.12);
  background: rgba(246, 240, 228, 0.88);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1320px, calc(100% - 30px));
  margin-inline: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cloud);
  background:
    linear-gradient(135deg, rgba(35, 59, 49, 0.96), rgba(47, 89, 103, 0.96)),
    var(--pine);
  box-shadow: 0 8px 22px rgba(16, 24, 32, 0.16);
}

.brand-mark::before {
  content: "M";
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 900;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 1.04rem;
}

.brand-subtitle {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 24px);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--rust);
  transition: right 0.24s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  right: 0;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: clamp(620px, 88vh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cloud);
  background: var(--night);
}

.hero.hero-medium {
  min-height: clamp(480px, 64vh, 720px);
}

.hero.hero-small {
  min-height: clamp(360px, 48vh, 560px);
}

.hero-bg,
.hero picture,
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img,
.hero picture img,
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.84), rgba(16, 24, 32, 0.48) 44%, rgba(16, 24, 32, 0.2)),
    linear-gradient(0deg, rgba(16, 24, 32, 0.92), rgba(16, 24, 32, 0.16) 54%, rgba(16, 24, 32, 0.35));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  z-index: 2;
  background: linear-gradient(0deg, var(--paper), transparent);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1160px, calc(100% - 42px));
  margin: 0 auto;
  padding: 0 0 clamp(66px, 9vw, 122px);
}

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

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 8.2vw, 7.8rem);
  line-height: 0.98;
  letter-spacing: 0.015em;
  text-wrap: balance;
}

.hero-lede {
  max-width: 740px;
  margin: clamp(20px, 3vw, 34px) 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.6vw, 1.38rem);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* ---------- Buttons ---------- */

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.18rem;
  border: 1px solid rgba(24, 34, 43, 0.18);
  border-radius: 999px;
  background: var(--cloud);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.button:hover {
  transform: translateY(-2px);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.16);
}

.btn-dark {
  background: var(--pine);
  color: var(--cloud);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-dark:hover {
  background: var(--night);
  color: var(--cloud);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--cloud);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--cloud);
}

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.6vw, 4rem);
  text-wrap: balance;
}

h3 {
  margin: 0 0 0.72rem;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

h4 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
}

.section-title {
  max-width: 860px;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.section-title.center {
  margin-inline: auto;
}

.section-title p {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.article-title {
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
}

.article-title h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6.5vw, 6.6rem);
}

.article-title .lede {
  margin-top: 22px;
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(251, 248, 241, 0.8);
  box-shadow: var(--shadow-soft);
}

.card-pad {
  padding: clamp(22px, 3vw, 34px);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card h3,
.card h4 {
  margin-top: 0;
}

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

.card a.stretched {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-indent: -9999px;
}

.card:hover img {
  filter: saturate(1.04) contrast(1.02);
}

.feature-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.feature-card .card-body {
  padding: 24px;
}

.feature-card .meta {
  margin-bottom: 0.65rem;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.destination-card img {
  aspect-ratio: 16 / 10;
}

.destination-card .card-body {
  padding: 24px;
}

/* ---------- Image Treatments ---------- */

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.figure figcaption,
.caption {
  margin-top: 0.82rem;
  color: rgba(24, 34, 43, 0.66);
  font-size: 0.84rem;
  line-height: 1.65;
}

.image-frame {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(24, 34, 43, 0.12);
  border-radius: calc(var(--radius-lg) + 12px);
  background: rgba(251, 248, 241, 0.62);
  box-shadow: var(--shadow-soft);
}

.image-frame img {
  border-radius: var(--radius-lg);
}

.full-bleed {
  width: min(1500px, calc(100% - 24px));
  margin-inline: auto;
}

.full-bleed img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- Editorial Blocks ---------- */

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.editorial-split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.text-panel {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(251, 248, 241, 0.88), rgba(234, 223, 203, 0.7));
  box-shadow: var(--shadow-soft);
}

.callout {
  margin: clamp(42px, 6vw, 76px) 0;
  padding: clamp(30px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(35, 59, 49, 0.97), rgba(47, 89, 103, 0.97));
  color: var(--cloud);
  box-shadow: var(--shadow);
}

.callout h2,
.callout h3 {
  color: var(--cloud);
}

.callout p {
  color: rgba(255, 255, 255, 0.82);
}

.pullquote {
  margin: clamp(44px, 7vw, 92px) auto;
  max-width: 980px;
  padding: clamp(28px, 5vw, 60px);
  border-top: 1px solid rgba(156, 94, 61, 0.35);
  border-bottom: 1px solid rgba(156, 94, 61, 0.35);
  color: var(--pine);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.2vw, 3rem);
  line-height: 1.62;
  text-align: center;
}

.note-box {
  padding: 22px;
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 255, 255, 0.38);
}

.map-box {
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(183, 214, 223, 0.48), rgba(210, 169, 86, 0.22)),
    rgba(251, 248, 241, 0.62);
  box-shadow: var(--shadow-soft);
}

/* ---------- Article Layout ---------- */

.article-shell {
  padding: clamp(56px, 8vw, 106px) 0;
}

.article-body {
  width: min(840px, calc(100% - 42px));
  margin-inline: auto;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.03rem, 1.18vw, 1.17rem);
  line-height: 2.15;
}

.article-body h2 {
  margin-top: clamp(46px, 7vw, 84px);
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 3.8vw, 3.25rem);
}

.article-body h3 {
  margin-top: clamp(34px, 5vw, 56px);
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
}

.article-body p {
  margin-bottom: 1.55rem;
}

.article-body ul,
.article-body ol {
  margin: 1.2rem 0 1.8rem;
  padding-left: 1.35rem;
}

.article-body li {
  margin-bottom: 0.72rem;
}

.article-body a {
  color: var(--river-deep);
  font-weight: 800;
}

.article-image {
  width: min(1120px, calc(100% - 42px));
  margin: clamp(38px, 6vw, 76px) auto;
}

.article-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article-side-note {
  float: right;
  width: min(310px, 42%);
  margin: 0.3rem 0 1.2rem 2rem;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ---------- Destination / Feature Index ---------- */

.index-hero {
  padding: clamp(62px, 9vw, 118px) 0 clamp(28px, 5vw, 54px);
}

.index-hero .lede {
  max-width: 780px;
}

.feature-grid,
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 42px);
}

.room-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 320px;
}

.room-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.room-card .card-body {
  padding: clamp(24px, 4vw, 38px);
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cloud);
  box-shadow: var(--shadow-soft);
}

.gallery-item a {
  display: block;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item figcaption {
  padding: 14px 16px 18px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

/* ---------- Practical Info ---------- */

.info-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(251, 248, 241, 0.7);
}

.info-table th,
.info-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 32%;
  color: var(--pine);
  font-weight: 900;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.place-list {
  display: grid;
  gap: 18px;
}

.place {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(251, 248, 241, 0.72);
}

.place h3 {
  margin-bottom: 0.35rem;
}

.place p {
  margin-bottom: 0.55rem;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(60px, 9vw, 120px);
  padding: clamp(54px, 7vw, 86px) 0 34px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at top left, rgba(79, 131, 148, 0.28), transparent 32rem),
    linear-gradient(135deg, #111a22, #1c2b2a 56%, #31271f);
}

.footer-grid {
  width: min(var(--max), calc(100% - 42px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: clamp(28px, 5vw, 70px);
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 42px));
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

/* ---------- Utility Backgrounds ---------- */

.bg-paper {
  background: var(--paper);
}

.bg-cloud {
  background: var(--cloud);
}

.bg-snow {
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.78), rgba(246, 240, 228, 0.92));
}

.bg-pine {
  background:
    radial-gradient(circle at 15% 0%, rgba(183, 214, 223, 0.22), transparent 34rem),
    linear-gradient(135deg, #16231d, #273d31);
  color: var(--cloud);
}

.bg-pine h2,
.bg-pine h3,
.bg-pine h4 {
  color: var(--cloud);
}

.bg-pine p {
  color: rgba(255, 255, 255, 0.78);
}

.border-top {
  border-top: 1px solid var(--line);
}

.border-bottom {
  border-bottom: 1px solid var(--line);
}

/* ---------- Forms ---------- */

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(24, 34, 43, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(79, 131, 148, 0.34);
  border-color: rgba(79, 131, 148, 0.58);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .navbar {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .two,
  .three,
  .four,
  .editorial-split,
  .editorial-split.reverse,
  .feature-grid,
  .destination-grid,
  .rooms-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .room-card {
    grid-template-columns: 1fr;
  }

  .room-card img {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .article-side-note {
    float: none;
    width: auto;
    margin: 1.2rem 0 1.8rem;
  }

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

  .hero {
    min-height: 660px;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 6.2rem);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .wrap,
  .container,
  .narrow,
  .hero-content,
  .article-body,
  .article-image,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, var(--max));
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    font-size: 0.84rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.86), rgba(16, 24, 32, 0.55)),
      linear-gradient(0deg, rgba(16, 24, 32, 0.92), rgba(16, 24, 32, 0.25) 58%);
  }

  .hero-content {
    padding-bottom: 78px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .button {
    width: 100%;
  }

  .text-panel,
  .callout {
    padding: 24px;
  }

  .feature-grid,
  .destination-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .info-table td {
    padding-top: 4px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .hero-actions,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .card,
  .text-panel,
  .callout,
  .image-frame,
  .figure img,
  .article-image img {
    box-shadow: none;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
/* ---------- Image Lightbox ---------- */

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 52px);
  background: rgba(10, 15, 20, 0.88);
  backdrop-filter: blur(10px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox figure {
  width: min(1200px, 96vw);
  max-height: 92vh;
  margin: 0;
  display: grid;
  gap: 12px;
}

.image-lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  background: #111;
}

.image-lightbox figcaption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: center;
}

.image-lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
}
