:root {
  --bg: #fff8f3;
  --bg-soft: #fffdfb;
  --peach: #f6d7cb;
  --rose: #efc0c8;
  --rose-deep: #c9798b;
  --cream: #f8efe2;
  --ink: #5b4a4f;
  --ink-soft: #7a666d;
  --line: rgba(147, 100, 112, 0.16);
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-soft: rgba(255, 252, 249, 0.66);
  --surface-rose: rgba(255, 244, 246, 0.86);
  --button-surface: rgba(255, 255, 255, 0.9);
  --button-ink: #4f3940;
  --shadow: 0 22px 60px rgba(186, 134, 145, 0.18);
  --shadow-soft: 0 14px 34px rgba(183, 144, 151, 0.12);
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(246, 215, 203, 0.9), transparent 28%),
    radial-gradient(circle at right 20%, rgba(239, 192, 200, 0.45), transparent 24%),
    linear-gradient(180deg, #fffaf6 0%, #fff5ef 100%);
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 12px;
}

.brand,
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.brand {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: color 160ms ease;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.nav a {
  border-bottom: 1px solid transparent;
  transition:
    border-color 160ms ease,
    color 160ms ease;
}

.nav a.is-active {
  color: var(--ink);
  border-color: currentColor;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover {
  color: var(--ink);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--button-surface);
  color: var(--button-ink);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    background 140ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  color: var(--ink);
  border-color: currentColor;
}

.theme-toggle:active,
.feature-card:active,
.treat-card:active,
.soft-panel:active,
.place-item:active {
  transform: translateY(0);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 2px;
}

.feature-card:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 4px;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  color: currentColor;
}

.theme-toggle svg * {
  stroke: currentColor;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

.theme-toggle[data-theme="light"] .icon-moon,
.theme-toggle[data-theme="dark"] .icon-sun {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: 42px;
  padding: 34px 0 28px;
}

.hero-home {
  min-height: calc(100vh - 140px);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.3rem, 9vw, 6rem);
  line-height: 0.95;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rose-deep);
}

.lead {
  max-width: 40rem;
  margin: 18px 0 0;
  font-size: 1.14rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.version-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 18px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-notes span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.portrait-wrap {
  display: flex;
  justify-content: center;
}

.portrait {
  width: min(100%, 500px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 8px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.story-band {
  margin: 14px 0 18px;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--surface-soft);
}

.inner-hero {
  padding: 48px 0 24px;
  max-width: 52rem;
}

.inner-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 1;
}

.content-section {
  padding: 30px 0 6px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.columns {
  display: grid;
  gap: 18px;
}

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

.soft-panel {
  min-height: 100%;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 180ms ease;
}

.soft-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 100, 112, 0.28);
  box-shadow: var(--shadow);
}

.soft-panel.rose {
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-rose));
}

.soft-panel h3,
.treat-card h3,
.place-item h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.detail-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.treat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.feature-card {
  min-height: 220px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 100, 112, 0.28);
  box-shadow: var(--shadow);
}

.feature-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--ink-soft);
}

.treat-card {
  min-height: 220px;
  padding: 22px 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 180ms ease;
}

.treat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 100, 112, 0.28);
  box-shadow: var(--shadow);
}

.treat-card:hover .treat-art {
  transform: translateY(-1px) scale(1.03);
  color: var(--ink);
}

.treat-art {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--surface-rose);
  color: var(--rose-deep);
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 10px 24px rgba(183, 144, 151, 0.1);
  transition:
    transform 160ms ease,
    color 160ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.treat-art svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.treat-art svg * {
  stroke: currentColor;
}

.treat-card p,
.place-item p {
  margin: 0;
  line-height: 1.7;
  color: var(--ink-soft);
}

.places-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.place-item {
  padding: 22px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
  transition:
    transform 160ms ease,
    background 180ms ease,
    border-color 160ms ease;
}

.place-item:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 100, 112, 0.28);
  background: var(--surface);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 34px;
  padding: 20px 0 4px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .two-up,
  .feature-grid,
  .treat-grid,
  .places-list {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
  }

  .hero-home {
    min-height: auto;
  }

  .portrait {
    width: min(100%, 420px);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav {
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 18vw, 4.1rem);
  }

  .story-band,
  .soft-panel,
  .feature-card,
  .treat-card,
  .place-item {
    padding-left: 18px;
    padding-right: 18px;
  }
}

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

html[data-theme="dark"] {
  --bg: #151116;
  --bg-soft: #1b151b;
  --peach: #4a3135;
  --rose: #56333d;
  --rose-deep: #f0b8c3;
  --cream: #241d22;
  --ink: #f6e9ee;
  --ink-soft: #d1bbc3;
  --line: rgba(240, 184, 195, 0.18);
  --surface: rgba(28, 22, 28, 0.78);
  --surface-strong: rgba(35, 27, 34, 0.94);
  --surface-soft: rgba(28, 22, 28, 0.66);
  --surface-rose: rgba(44, 26, 32, 0.86);
  --button-surface: rgba(28, 22, 28, 0.88);
  --button-ink: #f6e9ee;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 16px 36px rgba(0, 0, 0, 0.22);
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(110, 64, 75, 0.45), transparent 28%),
    radial-gradient(circle at right 20%, rgba(88, 55, 67, 0.4), transparent 24%),
    linear-gradient(180deg, #151116 0%, #1c161c 100%);
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .hero-notes span,
html[data-theme="dark"] .story-band,
html[data-theme="dark"] .soft-panel,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .treat-card,
html[data-theme="dark"] .place-item {
  background: var(--surface);
}

html[data-theme="dark"] .theme-toggle {
  color: var(--button-ink);
  border-color: rgba(246, 233, 238, 0.3);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .theme-toggle:hover {
  color: #ffffff;
}

html[data-theme="dark"] .soft-panel.rose {
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-rose));
}

html[data-theme="dark"] .portrait {
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(246, 215, 203, 0.9), transparent 28%),
    radial-gradient(circle at right 20%, rgba(239, 192, 200, 0.45), transparent 24%),
    linear-gradient(180deg, #fffaf6 0%, #fff5ef 100%);
}

html[data-theme="light"] .theme-toggle {
  color: var(--button-ink);
  border-color: rgba(91, 74, 79, 0.22);
}

html[data-theme="light"] .theme-toggle:hover {
  color: #35252b;
}
