/* Morning (day) colors are the default; night overrides them below. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, .96);
  --soft: #fbf3f5;
  --text: #1d2733;
  --body-text: #3b4550;
  --muted: #5d6874;
  --line: #eee3e6;
  --chip-line: #ecd2da;
  --accent: #c4407e;
  --band-tint: #7a2f58;

  --white: #ffffff;
  --sakura: #eba3b6;
  --sakura-deep: #c4407e;
  --night: #0f1a2b;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Montserrat", system-ui, sans-serif;
}
:root[data-mode="night"] {
  --bg: #0e1726;
  --surface: #16223a;
  --surface-glass: rgba(22, 34, 58, .94);
  --soft: #111d31;
  --text: #eef1f6;
  --body-text: #c9d1db;
  --muted: #a8b3c2;
  --line: #24324a;
  --chip-line: #2e3d58;
  --accent: #f08fab;
  --band-tint: #0f1a2b;
}

/* Only the images for the current view are shown (and downloaded) */
:root[data-mode="day"] .night-only,
:root[data-mode="night"] .day-only,
:root:not([data-mode]) .day-only { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.75 var(--font); -webkit-font-smoothing: antialiased; transition: background-color .4s, color .4s; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--font); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 14px; background: var(--text); color: var(--bg); }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--sakura-deep); color: var(--white);
  font: 700 15px/1.2 var(--font); letter-spacing: .02em; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: #a8326a; }
.btn-light { background: rgba(255, 255, 255, .92); color: #1d2733; }
.btn-light:hover { background: var(--white); }
.btn-small { padding: 10px 20px; font-size: 14px; }

/* Header: transparent over the hero, solid once scrolled */
.masthead { position: fixed; inset: 0 0 auto; z-index: 20; transition: background-color .25s, box-shadow .25s; }
.masthead .wrap { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { display: flex; flex-direction: column; font: 600 21px/1 var(--font); letter-spacing: .005em; }
.brand small { margin-top: 6px; font: 600 9.5px/1 var(--font); letter-spacing: .62em; text-transform: uppercase; color: var(--accent); }
.home .masthead:not(.scrolled) .brand small, .footer .brand small { color: #f6b3cb !important; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; }

.home .masthead:not(.scrolled) .brand,
.home .masthead:not(.scrolled) .brand small,
.home .masthead:not(.scrolled) .nav a:not(.btn) { color: var(--white); }
.home .masthead:not(.scrolled) .nav-toggle span { background: var(--white); }
.masthead.scrolled, body:not(.home) .masthead { background: var(--bg); box-shadow: 0 1px 0 var(--line); }

/* Morning / Night switch */
.mode-toggle { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--soft); order: 2; }
.mode-toggle button {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font: 600 13px var(--font); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.mode-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mode-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.home .masthead:not(.scrolled) .mode-toggle { background: rgba(255, 255, 255, .16); }
.home .masthead:not(.scrolled) .mode-toggle button { color: rgba(255, 255, 255, .85); }
.home .masthead:not(.scrolled) .mode-toggle button[aria-pressed="true"] { background: var(--white); color: #1d2733; }
.nav { order: 1; }
.nav-toggle { order: 3; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: 72px; color: var(--white); background: var(--night); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 26, 43, .78) 0%, rgba(15, 26, 43, .5) 38%, rgba(15, 26, 43, 0) 68%),
    linear-gradient(180deg, rgba(15, 26, 43, .55) 0%, rgba(15, 26, 43, 0) 24%, rgba(15, 26, 43, 0) 55%, rgba(15, 26, 43, .7) 100%);
}
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(180deg, rgba(15, 26, 43, .55) 0%, rgba(15, 26, 43, .15) 30%, rgba(15, 26, 43, .88) 72%); }
}

/* Morning: no overlay on the photo; white text kept readable with a soft shadow and pink glow */
:root[data-mode="day"] .hero::after { display: none; }
:root[data-mode="day"] .hero h1 {
  text-shadow:
    0 2px 6px rgba(40, 20, 50, .45),
    0 4px 22px rgba(40, 20, 50, .4),
    0 0 42px rgba(232, 110, 165, .65);
}
:root[data-mode="day"] .hero .eyebrow,
:root[data-mode="day"] .hero .lede {
  color: var(--white);
  text-shadow:
    0 1px 3px rgba(40, 20, 50, .7),
    0 2px 14px rgba(40, 20, 50, .45),
    0 0 26px rgba(232, 110, 165, .55);
}
:root[data-mode="day"] .hero .lede { font-weight: 500; }
:root[data-mode="day"] .hero .eyebrow { font-weight: 700; text-shadow: 0 1px 3px rgba(40, 20, 50, .85), 0 2px 12px rgba(40, 20, 50, .6), 0 0 24px rgba(232, 110, 165, .6); }
:root[data-mode="day"] .hero .btn { box-shadow: 0 8px 24px rgba(40, 20, 50, .25); }

/* Morning: solid header so the menu stays readable over the bright sky */
:root[data-mode="day"] .home .masthead { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
:root[data-mode="day"] .home .masthead:not(.scrolled) .brand,
:root[data-mode="day"] .home .masthead:not(.scrolled) .nav a:not(.btn) { color: var(--text); }
:root[data-mode="day"] .home .masthead:not(.scrolled) .brand small { color: var(--muted); }
:root[data-mode="day"] .home .masthead:not(.scrolled) .nav-toggle span { background: var(--text); }
:root[data-mode="day"] .home .masthead:not(.scrolled) .mode-toggle { background: var(--soft); }
:root[data-mode="day"] .home .masthead:not(.scrolled) .mode-toggle button { color: var(--muted); }
:root[data-mode="day"] .home .masthead:not(.scrolled) .mode-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--text); }
.hero-copy { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(56px, 10vh, 112px); }
.eyebrow { font-weight: 600; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: #ffd6e1; }
.hero h1 { max-width: 14ch; margin-top: 16px; font-size: clamp(38px, 5.2vw, 68px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; text-shadow: 0 2px 24px rgba(15, 26, 43, .35); }
.lede { max-width: 54ch; margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .9); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

@media (prefers-reduced-motion: no-preference) {
  .hero picture img { animation: settle 2.4s ease-out both; }
  .hero-panel > * { animation: rise .9s ease-out both; }
  .hero-panel > :nth-child(2) { animation-delay: .1s; }
  .hero-panel > :nth-child(3) { animation-delay: .2s; }
  .hero-panel > :nth-child(4) { animation-delay: .3s; }
}
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Facts card, overlapping the bottom of the hero */
.facts { position: relative; z-index: 2; margin-top: -72px; }
.facts ul {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 8px; list-style: none;
  background: var(--surface); border-radius: 16px; box-shadow: 0 20px 50px rgba(15, 26, 43, .18);
}
.facts li { padding: 22px 20px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.facts b { display: block; margin-top: 12px; font-size: 16px; font-weight: 700; }
.facts span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Sections */
.band { padding: clamp(72px, 10vw, 128px) 0; }
.band-blush { background: var(--soft); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 18px; }

.about { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-copy p { margin-top: 18px; color: var(--muted); max-width: 60ch; }
.about-copy h2 { max-width: 16ch; }
.about-art { position: relative; padding-bottom: 64px; }
.about-art .tall { width: 86%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.about-art .small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 6px solid var(--bg); }

.features { display: grid; gap: clamp(40px, 6vw, 72px); }
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature:nth-child(even) img { order: 2; }
.feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 40px rgba(15, 26, 43, .14); }
.feature h3 { margin-top: 10px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.feature p { margin-top: 14px; color: var(--muted); max-width: 44ch; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }

.list-title { margin-top: 56px; font-size: 19px; }
.extras { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.extras li { padding: 8px 16px; border: 1px solid var(--chip-line); border-radius: 999px; background: var(--surface); font-size: 15px; }

/* Full-width statement band */
.statement { position: relative; padding: clamp(96px, 14vw, 180px) 0; color: var(--white); text-align: center; overflow: hidden; background: var(--band-tint); }
.statement img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
:root[data-mode="day"] .statement img { opacity: .42; }
.statement .wrap { position: relative; }
.statement p { font-size: clamp(28px, 4vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.statement span { display: block; max-width: 46ch; margin: 18px auto 0; font-size: 17px; color: rgba(255, 255, 255, .9); }

/* Gallery */
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--soft); }
.tabs button { padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 15px var(--font); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.grid li:first-child { grid-column: span 2; grid-row: span 2; }
.grid button { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: zoom-in; background: var(--soft); }
.grid img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.grid button:hover img { transform: scale(1.04); }

.tour {
  display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: 32px;
  margin-top: 48px; padding: 18px; border: 1px solid var(--line); border-radius: 10px;
  color: var(--muted); text-decoration: none;
}
.tour img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.tour b { display: block; font: 700 24px/1.3 var(--font); color: var(--text); margin-bottom: 6px; }
.tour em { display: block; margin-top: 14px; font-style: normal; font-weight: 700; color: var(--accent); }
.tour:hover { border-color: var(--sakura); }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 16, 26, .94); }
.lightbox::backdrop { background: rgba(10, 16, 26, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 86vh; border-radius: 4px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--white); font-size: 34px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .26); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reviews figure { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; margin: 0; padding: 28px; border-radius: 8px; background: var(--surface); }
.reviews blockquote { margin: 0; font-size: 16px; line-height: 1.75; }
.reviews blockquote::before { content: "“"; display: block; height: 30px; font: 700 54px/1 var(--font); color: var(--sakura); }
.reviews figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.reviews figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.reviews figcaption b { display: block; color: var(--text); font-size: 15px; }
.reviews .stars { display: flex; gap: 2px; margin-bottom: -12px; }
.reviews .stars svg { width: 18px; height: 18px; fill: #f0a03c; }
.reviews .stars + blockquote::before { display: none; }
.reviews .initials { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 700; font-size: 15px; }

/* Book: photo band */
.book-band { position: relative; padding: clamp(80px, 11vw, 140px) 0; background: var(--night); color: var(--white); overflow: hidden; }
.book-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
:root[data-mode="day"] .book-band > img { opacity: .45; }
.book { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.book-copy p { margin-top: 16px; font-size: 18px; max-width: 36ch; color: rgba(255, 255, 255, .88); }
.book-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.book-options a {
  display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 22px;
  border-radius: 14px; background: var(--surface-glass); color: var(--muted); text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.book-options a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.book-options svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--soft); fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.book-options b { display: block; margin-bottom: 2px; color: var(--text); font-size: 16px; }
.book-options span { font-size: 14px; line-height: 1.55; }

/* Location */
.location { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.location address { margin-top: 18px; font-style: normal; font-size: 18px; }
.location dl { margin: 24px 0 32px; }
.location dl div { display: grid; grid-template-columns: 9rem 1fr; padding: 10px 0; border-top: 1px solid var(--chip-line); }
.location dt { color: var(--muted); }
.location dd { margin: 0; font-weight: 500; }
.map { width: 100%; min-height: 380px; border: 0; border-radius: 10px; }
:root[data-mode="night"] .map { filter: brightness(.85) contrast(1.05); }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.post { color: var(--text); text-decoration: none; }
.post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.post h3 { margin-top: 14px; font-size: 18px; line-height: 1.45; }
.post:hover h3 { color: var(--accent); }

/* Article pages */
.article { padding: 140px 0 96px; }
.article .wrap { max-width: 760px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.article h1 { margin-top: 14px; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.2; }
.article-body { margin-top: 32px; }
.article-body > * + * { margin-top: 18px; }
.article-body h2, .article-body h3, .article-body h4 { margin-top: 40px; font-size: 26px; line-height: 1.3; }
.article-body h4 { font-size: 21px; }
.article-body p, .article-body li { color: var(--body-text); }
.article-body ul { padding-left: 22px; }
.article-body li + li { margin-top: 6px; }
.article-body img { width: 100%; border-radius: 8px; margin: 32px 0; }
.article-cta { margin-top: 56px; padding: 32px; border-radius: 10px; background: var(--soft); }
.article-cta h2 { font-size: 26px; }
.article-cta p { margin: 10px 0 22px; color: var(--muted); }

/* Footer */
.footer { padding: 64px 0 96px; background: var(--night); color: #c9d1db; font-size: 15px; }
:root[data-mode="night"] .footer { background: #0a111d; }
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer .brand, .footer .brand small { color: var(--white); }
.footer-brand p { margin-top: 14px; max-width: 30ch; }
.footer h3 { font: 700 13px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.footer p + p { margin-top: 10px; }
.footer a { color: #f2c2cf; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .fine { grid-column: 1 / -1; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); color: #8592a3; font-size: 13px; }

.book-bar { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about, .book, .location { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .mode-toggle span { display: none; }
  .mode-toggle button { padding: 7px 9px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; background: var(--text); }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px var(--gutter) 28px;
    background: var(--bg); box-shadow: 0 8px 16px rgba(0, 0, 0, .12);
  }
  .nav.open { display: flex; }
  .home .masthead:not(.scrolled) .nav a:not(.btn) { color: var(--text); }
  .masthead .wrap { gap: 10px; }
  .gallery-head { flex-direction: column; align-items: flex-start; }
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature:nth-child(even) img { order: 0; }
}

@media (max-width: 640px) {
  .facts { margin-top: -48px; }
  .facts ul { grid-template-columns: 1fr 1fr; padding: 4px; }
  .facts li { padding: 16px; border-left: 0 !important; border-top: 1px solid var(--line); }
  .facts li:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .facts li:first-child, .facts li:nth-child(2) { border-top: 0; }
  .facts svg { width: 26px; height: 26px; }
  .reviews, .book-options { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 9px 8px; font-size: 14px; }
  .tour { grid-template-columns: 1fr; gap: 16px; }
  .location dl div { grid-template-columns: 7rem 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
  .book-bar {
    position: fixed; inset: auto 0 0; z-index: 15;
    display: grid; grid-template-columns: 1fr 2fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--bg); box-shadow: 0 -1px 0 var(--line), 0 -6px 18px rgba(0, 0, 0, .1);
  }
  .book-bar a { padding: 13px; border-radius: 999px; text-align: center; font-weight: 700; text-decoration: none; }
  .book-bar a:first-child { border: 1.5px solid var(--text); color: var(--text); }
  .book-bar a:last-child { background: var(--sakura-deep); color: var(--white); }
}
