:root {
  --c-forest: #2f4a3a;
  --c-forest-dark: #1f3327;
  --c-moss: #6f8b72;
  --c-wood: #b08a5a;
  --c-cream: #f7f2ea;
  --c-paper: #fffdf9;
  --c-ink: #2b2a27;
  --c-muted: #6e6a62;
  --c-line: #e5ddd0;
  --c-accent: #c46a43;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 51, 39, 0.12);
  --font-serif: "Noto Serif JP", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-cream: #1b1f1c;
    --c-paper: #232825;
    --c-ink: #ece7dd;
    --c-muted: #a9a399;
    --c-line: #3a423c;
  }
}

:root[data-theme="dark"] {
  --c-cream: #1b1f1c;
  --c-paper: #232825;
  --c-ink: #ece7dd;
  --c-muted: #a9a399;
  --c-line: #3a423c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--font-sans);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--c-forest); }
:root[data-theme="dark"] a { color: #b9d3bd; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--c-paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--c-forest);
  text-decoration: none;
  letter-spacing: .08em;
  display: flex; align-items: baseline; gap: 8px;
}
:root[data-theme="dark"] .logo { color: #cfe3d2; }
.logo small { font-family: var(--font-sans); font-size: .7rem; color: var(--c-muted); letter-spacing: .14em; }

.nav { display: flex; gap: 18px; align-items: center; margin-left: 24px; }
.nav a {
  color: var(--c-ink); text-decoration: none; font-size: .85rem; white-space: nowrap;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--c-wood); }
.nav .btn-mini {
  background: var(--c-forest); color: #fff; padding: 8px 16px;
  border-radius: 999px; border: none;
}
.nav .btn-mini:hover { border-bottom-color: transparent; background: var(--c-forest-dark); }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--c-line);
  border-radius: 10px; padding: 8px 12px; color: var(--c-ink); font-size: .9rem; cursor: pointer;
}

@media (max-width: 880px) {
  .menu-toggle { display: inline-block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-paper); border-bottom: 1px solid var(--c-line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-bottom: 1px solid var(--c-line); }
  .nav .btn-mini { margin: 12px 20px; text-align: center; border-bottom: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: flex-end;
  color: #fff;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,14,.25) 0%, rgba(10,20,14,.7) 100%);
}
.hero .wrap { position: relative; padding: 90px 0 64px; }
.eyebrow {
  font-size: .8rem; letter-spacing: .24em; text-transform: uppercase;
  color: #e9d7b8; margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1.35;
  margin: 0 0 18px; max-width: 16em;
}
.hero p.lead { max-width: 36em; font-size: 1.02rem; margin: 0 0 28px; color: #f1ece3; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: inherit; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: #ad5530; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-line { background: #06c755; color: #fff; }
.btn-ig { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af); color: #fff; }
.btn-outline { background: transparent; color: var(--c-forest); border-color: var(--c-forest); }
:root[data-theme="dark"] .btn-outline { color: #cfe3d2; border-color: #cfe3d2; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sections ---------- */
section.block { padding: 88px 0; }
section.block.alt { background: var(--c-paper); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head .eyebrow { color: var(--c-wood); }
:root[data-theme="dark"] .sec-head .eyebrow { color: #d8b98a; }
h2.title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.4; margin: 0 0 14px;
}
.sec-head p { color: var(--c-muted); margin: 0; }

.page-hero {
  position: relative; padding: 120px 0 64px; color: #fff;
  background-size: cover; background-position: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,14,.35), rgba(10,20,14,.75));
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 10px; font-weight: 600; }
.page-hero p { margin: 0; color: #f1ece3; max-width: 40em; }
.crumb { font-size: .8rem; color: #e9d7b8; margin-bottom: 10px; }

/* ---------- cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--c-paper); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.card .body { padding: 22px 24px 26px; }
.card h3 { font-family: var(--font-serif); font-size: 1.15rem; margin: 0 0 8px; font-weight: 600; }
.card p { margin: 0; color: var(--c-muted); font-size: .94rem; }
.card .tag {
  display: inline-block; font-size: .72rem; letter-spacing: .08em;
  background: var(--c-cream); color: var(--c-forest); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.card .icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--c-cream);
  display: grid; place-items: center; color: var(--c-forest); margin-bottom: 14px;
}
.card .icon svg { width: 22px; height: 22px; }

.photo { position: relative; overflow: hidden; border-radius: var(--radius); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo:hover img { transform: scale(1.04); }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-34 { aspect-ratio: 3 / 4; }

/* ---------- concept split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.split p { color: var(--c-ink); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 7px; border-radius: 50%;
  background: var(--c-moss) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/12px no-repeat;
}

/* ---------- stats strip ---------- */
.stats { background: var(--c-forest); color: #f3efe6; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 38px 0; text-align: center; }
.stats b { display: block; font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: #f0d9b2; }
.stats span { font-size: .85rem; opacity: .9; }
@media (max-width: 680px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 180px; gap: 12px; }
.gallery .photo { cursor: zoom-in; }
.gallery .photo:nth-child(1) { grid-row: span 2; }
.gallery .photo:nth-child(4) { grid-column: span 2; }
@media (max-width: 680px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery .photo:nth-child(1) { grid-row: span 2; grid-column: span 2; }
  .gallery .photo:nth-child(4) { grid-column: span 2; }
}
.lightbox {
  position: fixed; inset: 0; background: rgba(10,14,12,.9); display: none;
  align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 10px; }
.lightbox button {
  position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,.15); color: #fff;
  border: none; border-radius: 999px; width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer;
}

/* ---------- rooms ---------- */
.room { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.room + .room { margin-top: 26px; }
.room .photo { border-radius: 0; height: 100%; min-height: 300px; }
.room .body { padding: 34px 36px; }
.room h3 { font-family: var(--font-serif); font-size: 1.5rem; margin: 0 0 10px; font-weight: 600; }
.room .spec { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.room .spec span { font-size: .8rem; background: var(--c-cream); border: 1px solid var(--c-line); padding: 4px 12px; border-radius: 999px; }
.room ul { padding-left: 1.2em; margin: 0; color: var(--c-muted); font-size: .94rem; }
@media (max-width: 800px) { .room { grid-template-columns: 1fr; } .room .photo { min-height: 240px; } .room .body { padding: 26px 22px; } }

.amen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.amen div {
  background: var(--c-paper); border: 1px solid var(--c-line); border-radius: 12px;
  padding: 16px; font-size: .92rem; display: flex; gap: 10px; align-items: center;
}
.amen svg { color: var(--c-forest); flex: 0 0 20px; width: 20px; height: 20px; }
@media (max-width: 800px) { .amen { grid-template-columns: repeat(2, 1fr); } }

/* ---------- plans & booking ---------- */
.plan-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
@media (max-width: 920px) { .plan-layout { grid-template-columns: 1fr; } }
.panel { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.panel h3 { font-family: var(--font-serif); margin: 0 0 6px; font-size: 1.2rem; }
.panel .hint { color: var(--c-muted); font-size: .85rem; margin: 0 0 18px; }

.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-head button {
  background: var(--c-cream); border: 1px solid var(--c-line); border-radius: 10px;
  width: 38px; height: 38px; cursor: pointer; color: var(--c-ink); font-size: 1rem;
}
.cal-head strong { font-family: var(--font-serif); font-size: 1.1rem; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal .dow { font-size: .75rem; color: var(--c-muted); padding: 6px 0; }
.cal button {
  aspect-ratio: 1 / 1; border: 1px solid transparent; background: var(--c-cream);
  border-radius: 10px; font-family: inherit; font-size: .9rem; color: var(--c-ink); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0;
}
.cal button small { font-size: .6rem; color: var(--c-muted); }
.cal button:disabled { background: transparent; color: #b9b2a7; cursor: not-allowed; text-decoration: line-through; }
.cal button.sel { background: var(--c-forest); color: #fff; }
.cal button.sel small { color: #e6dcc7; }
.cal button.in-range { background: #dfe9dd; color: var(--c-forest-dark); }
:root[data-theme="dark"] .cal button.in-range { background: #34463a; color: #e2efe4; }
.cal button.empty { background: transparent; cursor: default; }
.legend { display: flex; gap: 14px; font-size: .78rem; color: var(--c-muted); margin-top: 12px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .85rem; color: var(--c-muted); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--c-line); background: var(--c-cream); color: var(--c-ink); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.summary { border-top: 1px dashed var(--c-line); margin-top: 16px; padding-top: 16px; }
.summary .row { display: flex; justify-content: space-between; font-size: .94rem; padding: 4px 0; }
.summary .total { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; margin-top: 8px; color: var(--c-forest); }
:root[data-theme="dark"] .summary .total { color: #cfe3d2; }
.plan-opt { display: grid; gap: 10px; margin-bottom: 18px; }
.plan-opt label {
  display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--c-line);
  border-radius: 12px; padding: 14px 16px; cursor: pointer; background: var(--c-cream);
}
.plan-opt input { margin-top: 5px; accent-color: var(--c-forest); }
.plan-opt b { display: block; }
.plan-opt span { font-size: .85rem; color: var(--c-muted); }
.plan-opt em { font-style: normal; margin-left: auto; font-family: var(--font-serif); white-space: nowrap; }
.plan-opt label:has(input:checked) { border-color: var(--c-forest); background: var(--c-paper); }

.rate-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rate-table th, .rate-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--c-line); }
.rate-table th { font-weight: 500; color: var(--c-muted); font-size: .85rem; }
.rate-table td.price { font-family: var(--font-serif); font-size: 1.05rem; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(140%); opacity: 0; pointer-events: none;
  background: var(--c-forest-dark); color: #fff; padding: 14px 22px; border-radius: 12px;
  transition: transform .35s ease; z-index: 120; max-width: 92vw; font-size: .92rem; box-shadow: var(--shadow);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- access ---------- */
.access-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.access-list li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.access-list b { color: var(--c-forest); font-weight: 600; }
:root[data-theme="dark"] .access-list b { color: #cfe3d2; }
.access-list span { color: var(--c-ink); }
@media (max-width: 520px) { .access-list li { grid-template-columns: 1fr; gap: 4px; } }
.map-box {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px;
  background: #d8e2d4; border: 1px solid var(--c-line);
}
.map-box svg { width: 100%; height: 100%; display: block; }
.map-pin {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%);
  background: var(--c-forest); color: #fff; padding: 8px 12px; border-radius: 10px; font-size: .8rem; white-space: nowrap;
}
.map-pin::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--c-forest); border-bottom: 0;
}

/* ---------- guide / steps ---------- */
.steps { counter-reset: st; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; background: var(--c-paper);
  border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 24px;
}
.step::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  font-family: var(--font-serif); font-size: 1.6rem; color: var(--c-wood); line-height: 1;
}
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--c-muted); font-size: .94rem; }

.timeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.timeline .panel b { font-family: var(--font-serif); font-size: 1.4rem; color: var(--c-forest); display: block; }
:root[data-theme="dark"] .timeline .panel b { color: #cfe3d2; }
@media (max-width: 720px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  border: 1px solid var(--c-line); background: var(--c-paper); color: var(--c-ink);
  border-radius: 999px; padding: 8px 16px; font-family: inherit; font-size: .88rem; cursor: pointer;
}
.chip.on { background: var(--c-forest); color: #fff; border-color: var(--c-forest); }
details.faq {
  background: var(--c-paper); border: 1px solid var(--c-line); border-radius: 12px;
  padding: 0 22px; margin-bottom: 12px;
}
details.faq summary {
  cursor: pointer; padding: 18px 0; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--c-wood); line-height: 1.2; }
details.faq[open] summary::after { content: "−"; }
details.faq div { padding: 0 0 18px; color: var(--c-muted); font-size: .95rem; }
details.faq[hidden] { display: none; }

/* ---------- news / blog ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .news-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-list { grid-template-columns: 1fr; } }
.news-card { text-decoration: none; color: inherit; display: block; }
.news-card .photo { margin-bottom: 14px; }
.news-card .meta { font-size: .8rem; color: var(--c-muted); display: flex; gap: 10px; align-items: center; }
.news-card h3 { font-size: 1.05rem; line-height: 1.6; margin: 6px 0 4px; font-family: var(--font-serif); font-weight: 600; }
.news-card p { color: var(--c-muted); font-size: .9rem; margin: 0; }
.cat { font-size: .72rem; background: var(--c-cream); color: var(--c-forest); padding: 2px 10px; border-radius: 999px; border: 1px solid var(--c-line); }

.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-family: var(--font-serif); font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.45; margin: 10px 0 14px; font-weight: 600; }
.article h2 { font-family: var(--font-serif); font-size: 1.4rem; margin: 40px 0 12px; font-weight: 600; }
.article p { margin: 0 0 18px; }
.article figure { margin: 30px 0; }
.article figcaption { font-size: .82rem; color: var(--c-muted); margin-top: 8px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side .card { margin-bottom: 18px; }
.contact-side .card .body { display: flex; gap: 14px; align-items: flex-start; }
.contact-side .card .body svg { flex: 0 0 22px; color: var(--c-forest); margin-top: 3px; }
.contact-side h4 { margin: 0 0 4px; font-size: 1rem; }
.contact-side p { margin: 0; color: var(--c-muted); font-size: .92rem; }
.form-done { display: none; text-align: center; padding: 40px 10px; }
.form-done.show { display: block; }
.form-done h3 { font-family: var(--font-serif); font-size: 1.4rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--c-forest-dark); color: #d9d4c9; padding: 64px 0 28px; margin-top: 40px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 880px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-family: var(--font-serif); color: #f3efe6; font-weight: 600; font-size: 1rem; margin: 0 0 12px; }
.site-footer a { color: #d9d4c9; text-decoration: none; display: block; padding: 4px 0; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: .88rem; margin: 0; opacity: .85; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .8rem; opacity: .75; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.sns { display: flex; gap: 10px; margin-top: 14px; }
.sns a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; padding: 0;
}
.sns a:hover { background: rgba(255,255,255,.1); }
.sns svg { width: 18px; height: 18px; }

.demo-note {
  background: #f3e6cf; color: #5b4321; font-size: .8rem; text-align: center; padding: 8px 12px;
}
:root[data-theme="dark"] .demo-note { background: #3a3122; color: #e7d6b4; }

.fade { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

.mt-0 { margin-top: 0; }
.center { text-align: center; }
.muted { color: var(--c-muted); }

/* dark-mode accents for OS dark setting only */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) a { color: #b9d3bd; }
  :root:not([data-theme="light"]) .logo { color: #cfe3d2; }
  :root:not([data-theme="light"]) .btn-outline { color: #cfe3d2; border-color: #cfe3d2; }
  :root:not([data-theme="light"]) .sec-head .eyebrow { color: #d8b98a; }
  :root:not([data-theme="light"]) .cal button.in-range { background: #34463a; color: #e2efe4; }
  :root:not([data-theme="light"]) .summary .total { color: #cfe3d2; }
  :root:not([data-theme="light"]) .access-list b { color: #cfe3d2; }
  :root:not([data-theme="light"]) .timeline .panel b { color: #cfe3d2; }
  :root:not([data-theme="light"]) .demo-note { background: #3a3122; color: #e7d6b4; }
}

.cta-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; padding: 40px; }
@media (max-width: 720px) { .cta-panel { grid-template-columns: 1fr; padding: 26px 22px; gap: 22px; } }
