:root {
  --forest: #0F4D3A;
  --forest-dark: #0B3A2C;
  --forest-mid: #1C6A52;
  --accent: #B4480C;
  --accent-dark: #8A3B10;
  --sand: #F4F1EA;
  --line: #E4E1D8;
  --ink: #12241D;
  --muted: #4A5A53;
  --body: #3A4A43;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --link: #0F4D3A;
  --link-hover: #0B3A2C;
  --prose: #22332C;
  --input-border: #C9C4B8;
  --tile-hover: #ECE7DB;
  --card-img: #CFE0D6;
  --callout-border: #9DB8AB;
  --shadow: rgba(18,36,29,.10);
  color-scheme: light;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --text: 'Source Sans 3', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #0E1714;
  --surface: #16221D;
  --sand: #121D19;
  --line: #2A3A33;
  --ink: #E8EFEB;
  --muted: #A3B3AB;
  --body: #C2CFC8;
  --link: #7FD1B0;
  --link-hover: #A6E3CA;
  --prose: #D5DFDA;
  --input-border: #3A4C44;
  --tile-hover: #1C2A24;
  --card-img: #1F2F28;
  --callout-border: #3F6656;
  --shadow: rgba(0,0,0,.45);
  color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1714;
  --surface: #16221D;
  --sand: #121D19;
  --line: #2A3A33;
  --ink: #E8EFEB;
  --muted: #A3B3AB;
  --body: #C2CFC8;
  --link: #7FD1B0;
  --link-hover: #A6E3CA;
  --prose: #D5DFDA;
  --input-border: #3A4C44;
  --tile-hover: #1C2A24;
  --card-img: #1F2F28;
  --callout-border: #3F6656;
  --shadow: rgba(0,0,0,.45);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
@media (min-width: 900px) { .site-header { position: sticky; top: 0; z-index: 5; } }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--forest); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 18px; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); object-fit: cover; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 20px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--link); }
.nav .nav-cta { color: #fff; background: var(--accent); padding: 10px 18px; border-radius: 999px; }
.nav .nav-cta:hover { color: #fff; background: var(--accent-dark); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; line-height: 1.2; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--link); }
.btn-ghost-light { border-color: #fff; color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Type */
.h-display { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.015em; line-height: 1.08; }
.h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.04; letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 4.4vw, 42px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.lede { margin: 0; font-size: 19px; color: var(--body); }

/* Sections */
.section { padding: 80px 0; }
.section-sand { background: var(--sand); }
.section-dark { background: #12241D; color: #fff; }
:root[data-theme="dark"] .section-dark { background: #0A1310; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .section-dark { background: #0A1310; } }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: var(--forest); color: #fff; }
.hero .wrap { padding-top: 72px; padding-bottom: 64px; }
.hero p { margin: 0; font-size: 20px; color: #DCEAE3; max-width: 540px; }
.hero-kicker { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; color: #F6C9A6; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; font-size: 15px; color: #DCEAE3; }
.stats strong { display: block; font-family: var(--display); font-size: 26px; color: #fff; }
.hero-photo { position: relative; min-height: 420px; border-radius: 20px; overflow: hidden; background: var(--forest-mid); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 320px; background: var(--surface); color: var(--ink); border-radius: 14px; padding: 12px 16px; font-size: 15px; }
.hero-photo figcaption span { display: block; color: var(--muted); }

/* Booking strip */
.booking { background: var(--sand); padding: 32px 0; }
.booking-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.booking-card strong { font-family: var(--display); font-size: 22px; display: block; }
.booking-card span { color: var(--muted); }
.booking-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 15px; color: var(--muted); }

/* Cards */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile { text-decoration: none; color: var(--ink); background: var(--sand); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 6px; min-height: 120px; }
.tile:hover { background: var(--tile-hover); color: var(--ink); }
.tile strong { font-size: 19px; }
.tile span { color: var(--muted); font-size: 15px; }
.tile-wide { grid-column: span 2; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card { text-decoration: none; color: var(--ink); background: var(--surface); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .15s; }
.card:hover { color: var(--ink); box-shadow: 0 10px 30px var(--shadow); }
.card-img { aspect-ratio: 16 / 9; background: var(--card-img); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.card-body strong { font-family: var(--display); font-size: 21px; line-height: 1.2; }
.card-body small { color: var(--muted); font-size: 14px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.dest { text-decoration: none; color: #fff; border-radius: 18px; padding: 26px; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; position: relative; overflow: hidden; background: var(--forest); }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.dest > * { position: relative; }
.dest:hover { color: #fff; }
.dest strong { font-family: var(--display); font-size: 30px; }
.dest span { font-size: 15px; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #23392F; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.book-cover { width: 180px; height: 270px; flex: 0 0 180px; border-radius: 10px; background: var(--forest); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; box-shadow: 0 12px 30px rgba(18,36,29,.25); }
.book-cover b { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.book-cover i { font-style: normal; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #F6C9A6; }
.panel { background: var(--sand); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.callout { border: 2px dashed var(--callout-border); border-radius: 18px; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }

/* Forms */
.form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field input { font: inherit; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--input-border); background: var(--surface); color: var(--ink); }
.form button { font: inherit; font-weight: 700; border: 0; border-radius: 12px; padding: 15px 26px; min-height: 52px; cursor: pointer; color: #fff; background: var(--accent); }
.form button:hover { background: var(--accent-dark); }
.hidden { display: none; }

/* Footer */
.site-footer { background: var(--forest-dark); color: #DCEAE3; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; font-size: 15px; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; }
.site-footer strong { color: #fff; }
.site-footer a { color: #DCEAE3; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid #1F5443; padding-top: 18px; padding-bottom: 28px; font-size: 14px; color: #B5CCC1; }

/* Article */
.article-head { background: var(--sand); padding: 56px 0 40px; }
.article-head .inner, .article .inner { max-width: 820px; margin: 0 auto; }
.article-head h1 { font-size: clamp(32px, 5vw, 48px); }
.meta { color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: 14px; font-weight: 600; text-decoration: none; background: var(--surface); border: 1px solid var(--line); color: var(--link); padding: 4px 12px; border-radius: 999px; }
.article { padding: 40px 0 64px; }
.hero-img { max-width: 1000px; margin: 0 auto 32px; border-radius: 18px; overflow: hidden; }
.hero-img img { display: block; width: 100%; max-height: 560px; object-fit: cover; }

.prose { font-size: 18px; line-height: 1.75; color: var(--prose); overflow-wrap: break-word; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--display); color: var(--ink); line-height: 1.2; margin: 1.8em 0 .6em; }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 23px; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose table { margin: 0 0 1.2em; }
.prose img { border-radius: 12px; height: auto; }
.prose figure { max-width: 100%; }
.prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 6px; }
.prose blockquote { border-left: 4px solid var(--accent); padding: 4px 0 4px 18px; color: var(--body); }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose iframe { max-width: 100%; border: 0; }
.prose iframe[src*="youtube"], .prose .wp-block-embed iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose .aligncenter { margin-left: auto; margin-right: auto; display: block; text-align: center; }
.prose .alignleft { float: left; margin: 0 20px 12px 0; }
.prose .alignright { float: right; margin: 0 0 12px 20px; }
.prose .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; }
.prose .wp-block-column { flex: 1 1 240px; min-width: 0; }
.prose .wp-block-button__link { display: inline-block; background: var(--forest); color: #fff; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.2em; }
.prose pre { overflow-x: auto; background: var(--sand); padding: 14px; border-radius: 10px; font-size: 15px; }
.prose::after { content: ''; display: block; clear: both; }
@media (max-width: 640px) { .prose .alignleft, .prose .alignright { float: none; margin: 0 auto 12px; } }

.cta-box { max-width: 820px; margin: 48px auto 0; background: var(--forest); color: #fff; border-radius: 18px; padding: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cta-box strong { font-family: var(--display); font-size: 22px; display: block; }
.cta-box span { color: #DCEAE3; }
.related { padding: 56px 0 72px; background: var(--sand); }

.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; font-weight: 700; }
.page-hero { background: var(--sand); padding: 56px 0 40px; }

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .hero .wrap { padding-top: 48px; padding-bottom: 48px; }
  .hero-photo { min-height: 280px; }
  .tiles { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .nav { gap: 6px 16px; font-size: 15px; }
}

/* Theme toggle */
.theme-toggle { font: inherit; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; }
.theme-toggle:hover { border-color: var(--link); color: var(--link); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme]) .theme-toggle .i-moon { display: none; }
}
/* Old post content sometimes hard-codes light backgrounds; keep text readable on them in dark mode */
:root[data-theme="dark"] .prose [style*="background"]:not(a):not(button), :root[data-theme="dark"] .prose [style*="background"]:not(a):not(button) *:not(a):not(button) { color: #12241D; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .prose [style*="background"]:not(a):not(button), :root:not([data-theme="light"]) .prose [style*="background"]:not(a):not(button) *:not(a):not(button) { color: #12241D; }
}

/* Roku */
.roku-band { background: linear-gradient(135deg, #0F4D3A, #0B3A2C); color: #fff; }
.roku { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.roku-code { font-size: 16px; color: #DCEAE3; }
.roku-code b { font-family: var(--display); font-size: 22px; letter-spacing: .08em; color: #fff; margin-left: 6px; }
.roku-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fff; color: #12241D; padding: 16px 16px 12px; border-radius: 16px; text-decoration: none; font-size: 14px; font-weight: 600; }
.roku-qr:hover { color: #12241D; }
.roku-qr img { display: block; width: 180px; height: 180px; }
@media (max-width: 720px) { .roku { grid-template-columns: 1fr; } .roku-qr { justify-self: start; } }
.roku-new { margin-top: 40px; }
.roku-new-h { font-family: var(--display); font-size: 22px; margin: 0 0 16px; color: #fff; }
.roku-new-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.roku-new-card a { display: flex; flex-direction: column; gap: 6px; color: #fff; text-decoration: none; }
.roku-new-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #0B3A2C; }
.roku-new-card a:hover img { outline: 3px solid #F6C9A6; outline-offset: 2px; }
.roku-new-meta { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #F6C9A6; }
.roku-new-title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.roku-new-blurb { font-size: 14px; line-height: 1.45; color: #DCEAE3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .roku-new-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .roku-new-grid { gap: 16px 12px; } .roku-new-title { font-size: 15px; } .roku-new-blurb { display: none; } }

/* Books */
.book-feature img { display: block; width: 200px; height: auto; border-radius: 8px; box-shadow: 0 12px 30px var(--shadow); }
.book-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 14px; }
.shelf-item img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 6px 16px var(--shadow); transition: transform .15s; }
.shelf-item:hover img { transform: translateY(-3px); }
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 28px; }
.book-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.book-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 24px var(--shadow); }
.book-card strong { font-family: var(--display); font-size: 18px; line-height: 1.25; }
.book-card span { color: var(--muted); font-size: 15px; }

/* Content designed for a light page stays light even in dark mode */
.light-island {
  --bg: #FFFFFF; --surface: #FFFFFF; --sand: #F4F1EA; --line: #E4E1D8; --ink: #12241D; --muted: #4A5A53; --body: #3A4A43;
  --link: #0F4D3A; --link-hover: #0B3A2C; --prose: #22332C; --input-border: #C9C4B8; --shadow: rgba(18,36,29,.10);
  color-scheme: light; background: #FFFFFF; color: var(--prose);
}

/* Links inside light content boxes keep a dark link color in dark mode */
:root[data-theme="dark"] .prose [style*="background"] a:not([style*="background"]):not([style*="color"]) { color: #0F4D3A; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .prose [style*="background"] a:not([style*="background"]):not([style*="color"]) { color: #0F4D3A; }
}
.guide-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; background: var(--sand); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 14px; padding: 16px 20px; margin: 0 0 28px; }
.guide-cta strong { font-family: var(--display); font-size: 19px; color: var(--ink); flex: 1 1 100%; }
.guide-cta span { flex: 1 1 280px; color: var(--body); }
.guide-cta a { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 999px; text-decoration: none; }
.guide-cta a:hover { background: var(--accent-dark); color: #fff; }
.roku-steps { margin: 18px 0 0; padding-left: 22px; display: grid; gap: 14px; font-size: 17px; line-height: 1.55; }
.roku-rows { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.roku-rows li { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.roku-rows strong { font-family: var(--display); font-size: 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.roku-rows-n { font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--link); white-space: nowrap; }
.roku-rows span:not(.roku-rows-n) { color: var(--body); line-height: 1.5; }
@media (max-width: 640px) { .roku-rows { grid-template-columns: 1fr; } }
