/*
Theme Name: Downtown Dahlonega — Gilded Square
Theme URI: https://downtowndahlonega.com/
Description: Independent visitor guide to downtown Dahlonega, Georgia. Gilded Square design system: forest-night ink, gold leaf, cream paper, storefront brick. Block theme (child of Twenty Twenty-Four) with server-rendered events, directory, live conditions and structured data.
Template: twentytwentyfour
Version: 3.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: dd-gilded
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --ink: #101B15;
  --ink-2: #16251C;
  --ink-3: #1E3A2B;
  --paper: #FBF8F1;
  --cream: #F3ECDD;
  --parchment: #EDE3CF;
  --text: #1C1B17;
  --muted: #5A574E;
  --line: rgba(28, 27, 23, .12);
  --line-dark: rgba(246, 240, 228, .14);
  --gold: #C9A24B;
  --gold-bright: #E4C47C;
  --gold-deep: #8A6420;
  --brick: #8E3324;
  --brick-bright: #B24A36;
  --slate: #3D5263;
  --on-dark: #F6F0E4;
  --on-dark-muted: rgba(246, 240, 228, .74);

  --f-display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --f-caps: Cinzel, 'Trajan Pro', Georgia, serif;
  --f-body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(16, 27, 21, .06), 0 8px 24px -12px rgba(16, 27, 21, .18);
  --shadow-2: 0 2px 6px rgba(16, 27, 21, .08), 0 30px 60px -28px rgba(16, 27, 21, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 76px;
  --bar-h: 40px;
}

/* ==========================================================================
   2. Fonts (self-hosted, latin subset)
   ========================================================================== */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/cormorant-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('assets/fonts/cormorant-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500 600; font-display: swap; src: url('assets/fonts/cormorant-500-italic.woff2') format('woff2'); }
@font-face { font-family: Cinzel; font-style: normal; font-weight: 500 700; font-display: swap; src: url('assets/fonts/cinzel-600.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 500; font-display: swap; src: url('assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600 700; font-display: swap; src: url('assets/fonts/inter-600.woff2') format('woff2'); }

/* ==========================================================================
   3. Base
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--gold-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brick); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; color: var(--ink); line-height: 1.1; letter-spacing: -.005em; text-wrap: balance; }
p { text-wrap: pretty; }
.screen-reader-text, .dd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dd-skip { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--gold); color: var(--ink); padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.dd-skip:focus { top: .75rem; }

.dd-header-part, .dd-footer-part { display: contents; }
/* The TT4 parent + legacy REOS nav fix force every group to 100% width; scope it back. */
.dd-site .wp-block-group, .dd-site .wp-block-cover { max-width: none !important; }
.dd-site .wp-block-group.dd-wrap { width: min(100% - 2 * var(--gutter), var(--wrap)) !important; margin-inline: auto !important; }
.dd-site main.dd-main { width: 100% !important; }

.dd-wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.dd-wrap--narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.dd-section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.dd-section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.dd-section--dark { background: var(--ink); color: var(--on-dark); }
.dd-section--dark h2, .dd-section--dark h3 { color: var(--on-dark); }
.dd-section--cream { background: var(--cream); }
.dd-section--forest { background: radial-gradient(120% 140% at 0% 0%, #22432F 0%, var(--ink-3) 35%, var(--ink) 100%); color: var(--on-dark); }
.dd-section--forest h2, .dd-section--forest h3 { color: var(--on-dark); }

/* Small caps label */
.dd-kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--f-caps); font-weight: 600; font-size: .78rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-deep);
}
.dd-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.dd-section--dark .dd-kicker, .dd-section--forest .dd-kicker, .dd-hero .dd-kicker { color: var(--gold-bright); }
.dd-h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: .6rem 0 1rem; }
.dd-h2 em, .dd-hero h1 em, .dd-h3 em { font-style: italic; font-weight: 500; color: var(--gold-deep); }
.dd-section--dark .dd-h2 em, .dd-section--forest .dd-h2 em, .dd-hero h1 em { color: var(--gold-bright); }
.dd-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.dd-section--dark .dd-lede, .dd-section--forest .dd-lede { color: var(--on-dark-muted); }
.dd-head { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: end; justify-content: space-between; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.dd-head > div { max-width: 720px; }
.dd-rule { width: 64px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); border: 0; margin: 1.5rem 0; }

/* Buttons */
.dd-btn {
  --b: var(--ink); --c: var(--on-dark);
  display: inline-flex; align-items: center; gap: .6rem; min-height: 48px;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid var(--b);
  background: var(--b); color: var(--c); font: 600 .95rem/1 var(--f-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.dd-btn:hover { transform: translateY(-2px); color: var(--c); box-shadow: 0 14px 30px -14px rgba(16, 27, 21, .55); }
.dd-btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.dd-btn:hover svg { transform: translateX(3px); }
.dd-btn--gold { --b: var(--gold); --c: var(--ink); background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, #B18A39); border-color: transparent; }
.dd-btn--ghost { background: transparent; --c: var(--on-dark); border-color: rgba(246, 240, 228, .45); }
.dd-btn--ghost:hover { background: rgba(246, 240, 228, .1); }
.dd-btn--line { background: transparent; --c: var(--ink); border-color: var(--line); }
.dd-btn--line:hover { border-color: var(--ink); }
.dd-btn--brick { --b: var(--brick); --c: #fff; }
.dd-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; color: var(--gold-deep); }
.dd-link::after { content: "→"; transition: transform .25s var(--ease); }
.dd-link:hover::after { transform: translateX(4px); }
.dd-section--dark .dd-link, .dd-section--forest .dd-link { color: var(--gold-bright); }

/* ==========================================================================
   4. Conditions bar (top of every page)
   ========================================================================== */
.dd-bar {
  position: relative; z-index: 60; height: var(--bar-h);
  background: var(--ink); color: var(--on-dark-muted); font-size: .8rem; letter-spacing: .01em;
  border-bottom: 1px solid var(--line-dark);
}
.dd-bar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.dd-bar a { color: var(--on-dark); text-decoration: none; }
.dd-bar a:hover { color: var(--gold-bright); }
.dd-bar__now { display: flex; align-items: center; gap: .9rem; white-space: nowrap; overflow: hidden; min-width: 0; }
.dd-bar__dot { width: 7px; height: 7px; border-radius: 50%; background: #6FCF8E; box-shadow: 0 0 0 0 rgba(111, 207, 142, .6); animation: dd-pulse 2.4s infinite; flex: none; }
@keyframes dd-pulse { 0% { box-shadow: 0 0 0 0 rgba(111, 207, 142, .55); } 70% { box-shadow: 0 0 0 8px rgba(111, 207, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 207, 142, 0); } }
.dd-bar__temp { color: var(--on-dark); font-weight: 600; font-variant-numeric: tabular-nums; }
.dd-bar__sep { opacity: .35; }
.dd-bar__next { display: flex; align-items: center; gap: .6rem; white-space: nowrap; overflow: hidden; }
.dd-bar__next b { font-family: var(--f-caps); font-weight: 600; font-size: .68rem; letter-spacing: .2em; color: var(--gold-bright); }
.dd-bar__wx-ico { width: 18px; height: 18px; color: var(--gold-bright); flex: none; }
@media (max-width: 760px) {
  .dd-bar__hide-sm { display: none; }
  .dd-bar__next { display: none; }
}

/* ==========================================================================
   5. Header + mega navigation
   ========================================================================== */
.dd-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(16, 27, 21, .92);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
body.dd-has-hero .dd-header { margin-bottom: calc(-1 * var(--header-h)); background: linear-gradient(180deg, rgba(10, 17, 13, .78), rgba(10, 17, 13, 0)); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.dd-has-hero.dd-scrolled .dd-header,
body.dd-nav-open .dd-header { background: rgba(16, 27, 21, .94); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line-dark); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); }
.dd-header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.dd-logo { display: block; flex: none; line-height: 0; }
.dd-logo img { height: 46px; width: auto; }
@media (max-width: 480px) { .dd-logo img { height: 38px; } }

.dd-nav { display: flex; align-items: center; gap: .25rem; }
.dd-nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.dd-nav__item { position: relative; }
.dd-nav__top {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .5rem .85rem;
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  font: 500 .92rem/1 var(--f-body); color: var(--on-dark); text-decoration: none; letter-spacing: .01em;
  transition: background .2s, color .2s;
}
.dd-nav__top:hover, .dd-nav__item.is-open > .dd-nav__top, .dd-nav__top[aria-current="page"] { background: rgba(246, 240, 228, .1); color: #fff; }
.dd-nav__top svg { width: 12px; height: 12px; opacity: .7; transition: transform .25s var(--ease); }
.dd-nav__item.is-open > .dd-nav__top svg { transform: rotate(180deg); }

.dd-mega {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0;
  width: min(760px, 92vw); padding: 1.5rem; border-radius: var(--radius);
  background: var(--paper); color: var(--text); box-shadow: var(--shadow-2);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s var(--ease), transform .3s var(--ease-out), visibility .22s;
}
.dd-mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.dd-nav__item.is-open > .dd-mega { opacity: 1; visibility: visible; transform: none; }
.dd-mega--sm { width: min(460px, 92vw); grid-template-columns: 1fr; }
.dd-mega__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; align-content: start; }
.dd-mega__links a { display: grid; grid-template-columns: 34px 1fr; gap: .1rem .75rem; align-items: center; padding: .6rem .7rem; border-radius: 12px; text-decoration: none; color: var(--text); }
.dd-mega__links a:hover, .dd-mega__links a:focus-visible { background: var(--cream); }
.dd-mega__links strong { font-weight: 600; font-size: .95rem; }
.dd-mega__links small { grid-column: 2; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.dd-mega__ico { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--cream); color: var(--gold-deep); }
.dd-mega__links a:hover .dd-mega__ico { background: var(--ink); color: var(--gold-bright); }
.dd-mega__ico svg { width: 18px; height: 18px; }
.dd-mega__feature { position: relative; border-radius: 14px; overflow: hidden; min-height: 240px; display: flex; align-items: end; color: #fff; text-decoration: none; isolation: isolate; }
.dd-mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease-out); }
.dd-mega__feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 27, 21, 0) 30%, rgba(16, 27, 21, .9)); }
.dd-mega__feature:hover img { transform: scale(1.05); }
.dd-mega__feature span { padding: 1.1rem 1.2rem; display: grid; gap: .25rem; }
.dd-mega__feature em { font-style: normal; font-family: var(--f-caps); font-size: .66rem; letter-spacing: .22em; color: var(--gold-bright); }
.dd-mega__feature b { font-family: var(--f-display); font-size: 1.55rem; font-weight: 600; line-height: 1.1; }
.dd-mega__feature small { font-size: .82rem; opacity: .85; }

.dd-header__cta { display: flex; align-items: center; gap: .5rem; }
.dd-header__cta .dd-btn { min-height: 42px; padding: .65rem 1.15rem; font-size: .88rem; }
.dd-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(246, 240, 228, .3); background: transparent; color: var(--on-dark); cursor: pointer; place-items: center; }
.dd-burger span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: background .2s; }
.dd-burger span::before, .dd-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.dd-burger span::before { top: -6px; } .dd-burger span::after { top: 6px; }
body.dd-nav-open .dd-burger span { background: transparent; }
body.dd-nav-open .dd-burger span::before { transform: translateY(6px) rotate(45deg); }
body.dd-nav-open .dd-burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .dd-burger { display: grid; }
  .dd-header__cta .dd-btn--gold { display: none; }
  .dd-nav {
    position: fixed; inset: calc(var(--header-h)) 0 0 0; z-index: 49; display: block;
    background: var(--ink); overflow-y: auto; padding: 1rem var(--gutter) 3rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease-out), visibility .25s;
  }
  body.dd-nav-open .dd-nav { opacity: 1; visibility: visible; transform: none; }
  body.dd-nav-open { overflow: hidden; }
  .dd-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .dd-nav__item { border-bottom: 1px solid var(--line-dark); }
  .dd-nav__top { width: 100%; justify-content: space-between; font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; padding: 1rem .25rem; border-radius: 0; }
  .dd-nav__top:hover, .dd-nav__item.is-open > .dd-nav__top { background: none; color: var(--gold-bright); }
  .dd-mega { position: static; translate: none; width: auto; transform: none; box-shadow: none; background: transparent; color: var(--on-dark); padding: 0 0 1rem; display: none; grid-template-columns: 1fr; opacity: 1; visibility: visible; }
  .dd-nav__item.is-open > .dd-mega { display: grid; }
  .dd-mega__feature { display: none; }
  .dd-mega__links a { color: var(--on-dark); }
  .dd-mega__links a:hover { background: rgba(246, 240, 228, .06); }
  .dd-mega__links small { color: var(--on-dark-muted); }
  .dd-mega__ico { background: rgba(246, 240, 228, .08); color: var(--gold-bright); }
  .dd-nav__mobile-cta { display: grid !important; gap: .75rem; margin-top: 1.5rem; }
}
.dd-nav__mobile-cta { display: none !important; }

/* ==========================================================================
   6. Home hero (real photography, slow crossfade + Ken Burns)
   ========================================================================== */
.dd-hero {
  position: relative; min-height: min(100svh, 980px); min-height: max(640px, min(100svh, 980px));
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--on-dark); isolation: isolate; overflow: hidden; background: var(--ink);
}
.dd-hero__media { position: absolute; inset: 0; z-index: -2; }
.dd-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.dd-hero__slide.is-active { opacity: 1; }
.dd-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transform-origin: 60% 40%; }
.dd-hero__slide.is-active img { animation: dd-kenburns 11s var(--ease) forwards; }
.dd-hero__slide:nth-child(2n).is-active img { transform-origin: 30% 60%; }
@keyframes dd-kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.dd-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 17, 13, .7) 0%, rgba(10, 17, 13, .2) 22%, rgba(10, 17, 13, .35) 55%, rgba(10, 17, 13, .94) 100%),
    linear-gradient(90deg, rgba(10, 17, 13, .82) 0%, rgba(10, 17, 13, .55) 42%, rgba(10, 17, 13, .1) 75%);
}
.dd-hero::after { /* fine film grain, inline SVG noise */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dd-hero__in { padding-block: calc(var(--header-h) + 3rem) clamp(2.5rem, 6vw, 4.5rem); }
.dd-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(2rem, 4vw, 4rem); align-items: end; }
.dd-hero h1 {
  color: var(--on-dark); margin: .9rem 0 1.1rem; font-weight: 600;
  font-size: clamp(2.9rem, 7.4vw, 6.6rem); line-height: .96; letter-spacing: -.012em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .35);
}
.dd-hero h1 .dd-hero__small { display: block; font-family: var(--f-body); font-size: clamp(.95rem, 1.4vw, 1.1rem); font-weight: 500; letter-spacing: .02em; color: var(--on-dark-muted); margin-bottom: .9rem; line-height: 1.4; text-shadow: none; }
.dd-hero__tldr { font-size: clamp(1.02rem, 1.35vw, 1.16rem); line-height: 1.65; color: rgba(246, 240, 228, .9); max-width: 58ch; margin: 0 0 1.75rem; }
.dd-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.dd-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; list-style: none; padding: 0; }
.dd-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .95rem; border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--on-dark); text-decoration: none; border: 1px solid rgba(246, 240, 228, .28); background: rgba(16, 27, 21, .35); backdrop-filter: blur(6px); transition: background .2s, border-color .2s, color .2s; }
.dd-chips a:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.dd-hero__credit { position: absolute; right: var(--gutter); bottom: .9rem; font-size: .68rem; color: rgba(246, 240, 228, .6); z-index: 2; max-width: 46ch; text-align: right; }
.dd-hero__credit a { color: inherit; }
.dd-hero__dots { display: flex; gap: .5rem; margin-top: 1.5rem; }
.dd-hero__dots button { width: 34px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(246, 240, 228, .3); cursor: pointer; position: relative; overflow: hidden; }
.dd-hero__dots button::after { content: ""; position: absolute; inset: 0; background: var(--gold-bright); transform: scaleX(0); transform-origin: left; }
.dd-hero__dots button.is-active::after { animation: dd-progress 7s linear forwards; }
@keyframes dd-progress { to { transform: scaleX(1); } }
.dd-hero__dots button::before { content: ""; position: absolute; inset: -12px 0; }

/* "Right now" glass panel inside the hero */
.dd-now {
  border-radius: var(--radius); padding: 1.35rem 1.4rem;
  background: linear-gradient(160deg, rgba(246, 240, 228, .14), rgba(246, 240, 228, .05));
  border: 1px solid rgba(246, 240, 228, .2); backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.dd-now__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dd-now__label { font-family: var(--f-caps); font-size: .68rem; letter-spacing: .18em; white-space: nowrap; color: var(--gold-bright); display: flex; align-items: center; gap: .5rem; }
.dd-now__time { font-size: .8rem; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.dd-now__wx { display: flex; align-items: center; gap: 1rem; margin: .85rem 0 1rem; min-height: 64px; }
.dd-now__wx svg { width: 52px; height: 52px; color: var(--gold-bright); flex: none; }
.dd-now__deg { font-family: var(--f-display); font-size: 3.4rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.dd-now__desc { font-size: .92rem; line-height: 1.35; color: var(--on-dark); }
.dd-now__desc small { display: block; color: var(--on-dark-muted); font-size: .8rem; margin-top: .2rem; }
.dd-now__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.dd-now__rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line-dark); font-size: .86rem; color: var(--on-dark-muted); }
.dd-now__rows li b { color: var(--on-dark); font-weight: 600; text-align: right; }
.dd-now__rows a { color: var(--gold-bright); }
.dd-now__src { margin: .7rem 0 0; font-size: .7rem; color: rgba(246, 240, 228, .5); }
.dd-now__days { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .9rem; }
.dd-now__day { text-align: center; padding: .55rem .3rem; border-radius: 12px; background: rgba(246, 240, 228, .06); font-size: .78rem; color: var(--on-dark-muted); }
.dd-now__day b { display: block; color: var(--on-dark); font-size: .95rem; font-variant-numeric: tabular-nums; }
.dd-now__day svg { width: 22px; height: 22px; margin: .15rem auto; display: block; color: var(--gold-bright); }
.dd-skel { display: inline-block; min-width: 3ch; border-radius: 6px; background: linear-gradient(90deg, rgba(246, 240, 228, .08), rgba(246, 240, 228, .2), rgba(246, 240, 228, .08)); background-size: 200% 100%; animation: dd-shimmer 1.4s infinite; color: transparent !important; }
@keyframes dd-shimmer { to { background-position: -200% 0; } }

@media (max-width: 900px) {
  .dd-hero__grid { grid-template-columns: 1fr; }
  .dd-hero__credit { position: static; text-align: left; padding: 0 var(--gutter) 1rem; }
}

/* ==========================================================================
   7. Marquee (gold-rush ribbon)
   ========================================================================== */
.dd-ribbon { background: var(--gold); color: var(--ink); overflow: hidden; border-block: 1px solid #B18A39; }
.dd-ribbon__track { display: flex; gap: 3rem; width: max-content; padding: .85rem 0; animation: dd-marquee 48s linear infinite; }
.dd-ribbon:hover .dd-ribbon__track { animation-play-state: paused; }
.dd-ribbon__track span { font-family: var(--f-caps); font-weight: 600; font-size: .8rem; letter-spacing: .22em; white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.dd-ribbon__track span::after { content: "✦"; font-size: .7rem; opacity: .65; }
@keyframes dd-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   8. Events
   ========================================================================== */
.dd-events-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.25rem; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
@media (min-width: 1100px) { .dd-events-rail { grid-auto-columns: calc((100% - 3 * 1.25rem) / 4); } }
.dd-event {
  scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: .7rem;
  padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--text); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.dd-event:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; color: var(--text); }
.dd-event__date { display: flex; align-items: baseline; gap: .6rem; }
.dd-event__day { font-family: var(--f-display); font-size: 3.1rem; font-weight: 600; line-height: .9; color: var(--ink); font-variant-numeric: lining-nums; }
.dd-event__mon { font-family: var(--f-caps); font-size: .78rem; letter-spacing: .2em; color: var(--gold-deep); line-height: 1.3; }
.dd-event__mon small { display: block; font-family: var(--f-body); letter-spacing: 0; color: var(--muted); font-size: .78rem; }
.dd-event h3 { font-size: 1.45rem; margin: .1rem 0 0; }
.dd-event p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.dd-event__meta { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: var(--muted); }
.dd-event__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.dd-event__meta svg { width: 14px; height: 14px; color: var(--gold-deep); }
.dd-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--cream); color: var(--gold-deep); }
.dd-tag--christmas { background: #F4E1DB; color: var(--brick); }
.dd-tag--festival { background: #E9EFE6; color: #2D5A3D; }
.dd-tag--arts { background: #E6EBF0; color: var(--slate); }
.dd-tag--tba { background: transparent; border: 1px dashed var(--line); color: var(--muted); }

/* Full calendar (events page) */
.dd-cal { display: grid; gap: 2.5rem; }
.dd-cal__month h3 { font-family: var(--f-caps); font-size: .9rem; letter-spacing: .24em; color: var(--gold-deep); margin: 0 0 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.dd-cal__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.dd-cal__row { display: grid; grid-template-columns: 92px 1fr auto; gap: 1.25rem; align-items: start; padding: 1.15rem 1.25rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.dd-cal__row:hover { border-color: rgba(138, 100, 32, .35); box-shadow: var(--shadow-1); }
.dd-cal__when { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.dd-cal__when small { display: block; font-family: var(--f-body); font-size: .76rem; font-weight: 500; color: var(--muted); margin-top: .2rem; }
.dd-cal__row h4 { font-size: 1.3rem; margin: 0 0 .25rem; }
.dd-cal__row p { margin: 0; font-size: .9rem; color: var(--muted); }
.dd-cal__src { font-size: .74rem; margin-top: .45rem !important; }
.dd-cal__src svg { width: 13px; height: 13px; vertical-align: -2px; color: var(--gold-deep); }
.dd-site svg:not([width]):not([class]) { max-width: 100%; }
.dd-cal__src a { color: var(--muted); }
@media (max-width: 640px) { .dd-cal__row { grid-template-columns: 1fr; gap: .4rem; } }
.dd-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.dd-filter { min-height: 42px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 .88rem var(--f-body); color: var(--text); cursor: pointer; transition: all .2s; }
.dd-filter:hover { border-color: var(--ink); }
.dd-filter[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
[data-filter-item][hidden] { display: none !important; }

/* ==========================================================================
   9. Christmas feature
   ========================================================================== */
.dd-xmas { position: relative; overflow: hidden; background: linear-gradient(135deg, #2A0E09 0%, #5A1E15 45%, #1E3A2B 100%); color: var(--on-dark); }
.dd-xmas::before { /* twinkle field */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, #FFE7A8, transparent 60%), radial-gradient(1px 1px at 80% 20%, #FFE7A8, transparent 60%),
    radial-gradient(1.5px 1.5px at 60% 70%, #FFE7A8, transparent 60%), radial-gradient(1px 1px at 35% 80%, #FFE7A8, transparent 60%),
    radial-gradient(1.2px 1.2px at 90% 60%, #FFE7A8, transparent 60%), radial-gradient(1px 1px at 10% 65%, #FFE7A8, transparent 60%),
    radial-gradient(1.4px 1.4px at 50% 15%, #FFE7A8, transparent 60%), radial-gradient(1px 1px at 70% 45%, #FFE7A8, transparent 60%);
  background-size: 420px 420px; animation: dd-twinkle 6s ease-in-out infinite alternate;
}
@keyframes dd-twinkle { from { opacity: .25; } to { opacity: .7; } }
.dd-xmas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; }
.dd-xmas h2 { color: #fff; }
.dd-xmas .dd-kicker { color: #F2C9A0; }
.dd-xmas__photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.dd-xmas__photo img { width: 100%; height: 100%; object-fit: cover; }
.dd-xmas__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .8rem; font-size: .7rem; color: rgba(255, 255, 255, .78); background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.dd-xmas__photo figcaption a { color: inherit; }
.dd-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 1.75rem 0; max-width: 440px; }
.dd-count div { text-align: center; padding: .9rem .25rem; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.dd-count b { display: block; font-family: var(--f-display); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.dd-count span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.dd-xmas__list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0; }
.dd-xmas__list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; }
.dd-xmas__list b { font-family: var(--f-caps); font-size: .75rem; letter-spacing: .16em; color: #F2C9A0; padding-top: .2rem; }
.dd-xmas__list span { color: rgba(255, 255, 255, .9); }
.dd-xmas__list small { display: block; color: rgba(255, 255, 255, .62); font-size: .8rem; }
@media (max-width: 900px) { .dd-xmas__grid { grid-template-columns: 1fr; } .dd-xmas__photo { aspect-ratio: 4 / 3; } }

/* Schedule panel injected at top of the Christmas article */
.dd-sched { margin: 0 0 2.5rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: linear-gradient(135deg, #3A120C, #1E3A2B); color: var(--on-dark); }
.dd-sched h2 { color: #fff; font-size: 1.9rem; margin: .35rem 0 1rem; }
.dd-sched .dd-kicker { color: #F2C9A0; }
.dd-sched ol { list-style: none; margin: 0; padding: 0; }
.dd-sched li { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; }
.dd-sched li span small, .dd-xmas__list li span small { display: block; color: rgba(255, 255, 255, .66); font-size: .82rem; margin-top: .15rem; }
.dd-sched li b { font-family: var(--f-caps); font-size: .72rem; letter-spacing: .14em; color: #F2C9A0; padding-top: .25rem; }
.dd-sched p { font-size: .8rem; color: rgba(255, 255, 255, .7); margin: 1rem 0 0; }
.dd-sched a { color: #F2C9A0; }
@media (max-width: 560px) { .dd-sched li, .dd-xmas__list li { grid-template-columns: 1fr; gap: .15rem; } }

/* ==========================================================================
   10. Explore grid (category tiles)
   ========================================================================== */
.dd-tiles { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.dd-tile { position: relative; grid-column: span 4; border-radius: var(--radius); overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; display: flex; align-items: end; }
.dd-tile--wide { grid-column: span 8; }
.dd-tile--tall { grid-row: span 2; }
.dd-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease-out); }
.dd-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 27, 21, 0) 35%, rgba(16, 27, 21, .88)); transition: background .4s; }
.dd-tile:hover img { transform: scale(1.06); }
.dd-tile:hover { color: #fff; }
.dd-tile__body { padding: 1.4rem 1.5rem; width: 100%; }
.dd-tile__count { font-family: var(--f-caps); font-size: .68rem; letter-spacing: .2em; color: var(--gold-bright); }
.dd-tile h3 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: .25rem 0 .2rem; }
.dd-tile p { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .82); max-width: 42ch; }
.dd-tile__arrow { position: absolute; top: 1.1rem; right: 1.1rem; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); transition: background .3s, transform .3s var(--ease); }
.dd-tile:hover .dd-tile__arrow { background: var(--gold); color: var(--ink); transform: rotate(-45deg); }
.dd-tile__arrow svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .dd-tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; } .dd-tile, .dd-tile--wide { grid-column: span 1; } .dd-tile--wide:first-child { grid-column: span 2; } .dd-tile--tall { grid-row: span 1; } }
@media (max-width: 560px) { .dd-tiles { grid-template-columns: 1fr; } .dd-tile, .dd-tile--wide, .dd-tile--wide:first-child { grid-column: span 1; } }

/* ==========================================================================
   11. Story / history timeline
   ========================================================================== */
.dd-story { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.dd-story__media { position: relative; }
.dd-story__media figure { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-2); }
.dd-story__media img { width: 100%; height: 100%; object-fit: cover; }
.dd-story__media figure + figure { position: absolute; width: 46%; aspect-ratio: 4 / 3; right: -6%; bottom: -8%; border: 6px solid var(--paper); }
.dd-story__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .8rem .6rem; font-size: .66rem; color: rgba(255, 255, 255, .82); background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.dd-story__media figcaption a { color: inherit; }
@media (max-width: 900px) { .dd-story { grid-template-columns: 1fr; } .dd-story__media figure + figure { right: 4%; bottom: -10%; } .dd-story__media { margin-bottom: 3rem; } }

.dd-timeline { list-style: none; margin: 2rem 0 0; padding: 0; position: relative; }
.dd-timeline::before { content: ""; position: absolute; left: 7px; top: .6rem; bottom: .6rem; width: 1px; background: linear-gradient(var(--gold), rgba(201, 162, 75, .15)); }
.dd-timeline li { position: relative; padding: 0 0 1.4rem 2.25rem; }
.dd-timeline li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); }
.dd-timeline b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; color: var(--gold-deep); line-height: 1; display: block; }
.dd-timeline span { font-size: .95rem; color: var(--text); }
.dd-timeline a { font-size: .74rem; color: var(--muted); margin-left: .35rem; }

/* Facts strip with counters */
.dd-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.dd-fact { padding: 2rem 1.5rem; border-right: 1px solid var(--line-dark); }
.dd-fact:last-child { border-right: 0; }
.dd-fact b { display: block; font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; line-height: 1; color: var(--gold-bright); font-variant-numeric: tabular-nums lining-nums; }
.dd-fact span { display: block; margin-top: .6rem; font-size: .9rem; color: var(--on-dark-muted); line-height: 1.45; }
.dd-fact a { font-size: .72rem; color: rgba(246, 240, 228, .5); }
@media (max-width: 900px) { .dd-facts { grid-template-columns: 1fr 1fr; } .dd-fact:nth-child(2) { border-right: 0; } .dd-fact:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } }
@media (max-width: 480px) { .dd-facts { grid-template-columns: 1fr; } .dd-fact { border-right: 0; border-bottom: 1px solid var(--line-dark); } }

/* ==========================================================================
   12. Directory
   ========================================================================== */
.dd-dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.dd-biz { display: flex; flex-direction: column; gap: .5rem; padding: 1.35rem 1.4rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.dd-biz:hover { border-color: rgba(138, 100, 32, .35); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.dd-biz__top { display: flex; justify-content: space-between; align-items: start; gap: .75rem; }
.dd-biz h3 { font-size: 1.35rem; margin: 0; }
.dd-biz__walk { flex: none; font-size: .72rem; font-weight: 600; color: var(--gold-deep); background: var(--cream); padding: .25rem .55rem; border-radius: 999px; white-space: nowrap; }
.dd-biz__sub { font-family: var(--f-caps); font-size: .66rem; letter-spacing: .18em; color: var(--muted); }
.dd-biz p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.dd-biz__meta { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line); display: grid; gap: .35rem; font-size: .84rem; }
.dd-biz__meta span, .dd-biz__meta a { display: inline-flex; align-items: center; gap: .45rem; color: var(--text); text-decoration: none; min-height: 28px; }
.dd-biz__meta a:hover { color: var(--brick); }
.dd-biz__meta svg { width: 15px; height: 15px; color: var(--gold-deep); flex: none; }
.dd-dir-search { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.25rem; }
.dd-dir-search input { flex: 1 1 260px; min-height: 48px; padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font: inherit; font-size: .95rem; background: #fff; }
.dd-dir-search input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.dd-note { font-size: .8rem; color: var(--muted); margin-top: 1.5rem; }

/* ==========================================================================
   13. Guides (post cards) + FAQ + CTA
   ========================================================================== */
.dd-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.dd-guide { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.dd-guide__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream); margin-bottom: 1.1rem; }
.dd-guide__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.dd-guide:hover .dd-guide__img img { transform: scale(1.05); }
.dd-guide h3 { font-size: 1.5rem; margin: .4rem 0 .5rem; transition: color .2s; }
.dd-guide:hover h3 { color: var(--gold-deep); }
.dd-guide p { margin: 0; color: var(--muted); font-size: .92rem; }
.dd-guide time { font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) { .dd-guides { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dd-guides { grid-template-columns: 1fr; } }

.dd-faq { display: grid; gap: .75rem; }
.dd-faq details { border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.dd-faq details[open] { border-color: rgba(138, 100, 32, .35); box-shadow: var(--shadow-1); }
.dd-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); min-height: 48px; }
.dd-faq summary::-webkit-details-marker { display: none; }
.dd-faq summary::after { content: "+"; font-family: var(--f-body); font-weight: 400; font-size: 1.5rem; color: var(--gold-deep); transition: transform .3s var(--ease); }
.dd-faq details[open] summary::after { transform: rotate(45deg); }
.dd-faq__a { padding: 0 1.35rem 1.25rem; color: var(--muted); font-size: .98rem; }
.dd-faq__a p { margin: 0; }

.dd-live { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 26px; background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.dd-live::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 75, .22), transparent 70%); pointer-events: none; }
.dd-live h2 { color: #fff; }
.dd-live p { color: var(--on-dark-muted); }
.dd-live a:not(.dd-btn) { color: var(--gold-bright); }
.dd-live__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 800px) { .dd-live { grid-template-columns: 1fr; } .dd-live__actions { justify-content: flex-start; } }

/* ==========================================================================
   14. Page + hub headers, articles
   ========================================================================== */
.dd-pagehead { position: relative; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--on-dark); isolation: isolate; overflow: hidden; background: var(--ink); }
.dd-pagehead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: dd-kenburns 14s var(--ease) forwards; }
.dd-pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 17, 13, .55), rgba(10, 17, 13, .2) 40%, rgba(10, 17, 13, .9)); }
.dd-pagehead__in { padding-block: calc(var(--header-h) + 3.5rem) 3rem; }
.dd-pagehead h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.8rem); margin: .7rem 0 .8rem; }
.dd-pagehead p { color: rgba(246, 240, 228, .88); max-width: 62ch; font-size: 1.1rem; margin: 0; }
.dd-pagehead__credit { position: absolute; right: var(--gutter); bottom: .7rem; font-size: .66rem; color: rgba(246, 240, 228, .6); }
.dd-pagehead__credit a { color: inherit; }
.dd-pagehead .dd-kicker, .dd-article-head .dd-kicker { display: flex; margin-top: 1rem !important; }
.dd-crumbs { font-size: .8rem; color: var(--on-dark-muted); }
.dd-crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.dd-crumbs a:hover { color: var(--gold-bright); }
.dd-tldr { margin: 0 0 2.5rem; padding: 1.4rem 1.6rem; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 14px 14px 0; font-size: 1.05rem; }
.dd-tldr strong { display: block; font-family: var(--f-caps); font-size: .7rem; letter-spacing: .22em; color: var(--gold-deep); margin-bottom: .35rem; }
.dd-tldr p { margin: 0; }

.dd-article-head { background: var(--ink); color: var(--on-dark); padding: calc(var(--header-h) + 3.5rem) 0 3rem; position: relative; overflow: hidden; }
.dd-article-head::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 75, .16), transparent 65%); pointer-events: none; }
.dd-article-head h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin: .8rem 0 1rem; max-width: 20ch; }
.dd-article-head .wp-block-post-date, .dd-article-head .dd-meta { color: var(--on-dark-muted); font-size: .88rem; }
.dd-article { padding-block: 3rem 4rem; }
.dd-article .wp-block-post-content { font-size: 1.1rem; line-height: 1.78; max-width: 760px; margin-inline: auto; overflow-wrap: anywhere; }
.dd-article .wp-block-post-content * { max-width: 100%; box-sizing: border-box; }
.dd-article .wp-block-post-content table { display: block; overflow-x: auto; }
.dd-article .wp-block-post-content h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 2.6em; }
.dd-article .wp-block-post-content h3 { font-size: 1.6rem; margin-top: 2em; }
.dd-article .wp-block-post-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.dd-article .wp-block-post-content th, .dd-article .wp-block-post-content td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.dd-article .wp-block-post-content th { font-family: var(--f-caps); font-size: .72rem; letter-spacing: .14em; color: var(--gold-deep); }
.dd-article .wp-block-post-content blockquote { border-left: 3px solid var(--gold); margin-left: 0; padding: .3rem 0 .3rem 1.4rem; font-family: var(--f-display); font-size: 1.5rem; font-style: italic; color: var(--ink); }
.dd-article .wp-block-post-content img { border-radius: 14px; }
.dd-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-bright)); z-index: 70; }
.dd-aside-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }

/* Generic page body */
.dd-page { padding-block: clamp(3rem, 6vw, 5rem); }
.dd-page .wp-block-post-content > * { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.dd-page--hub .wp-block-post-content > * { max-width: var(--wrap); }
.dd-page--hub .wp-block-post-content > .dd-tldr { max-width: 860px; margin-left: 0 !important; }
.dd-page--hub .dd-plan, .dd-page--hub .wp-block-post-content > p, .dd-page--hub .wp-block-post-content > h2 { max-width: 860px; margin-left: 0 !important; }
.dd-page .wp-block-post-content > .alignwide, .dd-page .wp-block-post-content > .dd-wide { max-width: var(--wrap); }

/* Archive grid */
.dd-archive .wp-block-post-template { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; list-style: none; padding: 0; }
.dd-archive .wp-block-post-featured-image { margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.dd-archive .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.dd-archive .wp-block-post-title { font-size: 1.5rem; margin: .4rem 0; }
.dd-archive .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.dd-archive .wp-block-post-title a:hover { color: var(--gold-deep); }
.dd-archive .wp-block-post-excerpt { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .dd-archive .wp-block-post-template { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dd-archive .wp-block-post-template { grid-template-columns: 1fr; } }

/* ==========================================================================
   15. Footer
   ========================================================================== */
.dd-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(4rem, 8vw, 6rem); font-size: .92rem; position: relative; overflow: hidden; }
.dd-footer::before { content: ""; position: absolute; left: 50%; top: 0; translate: -50% 0; width: min(90%, 1100px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6; }
.dd-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.5rem; }
.dd-footer__brand img { width: 220px; height: auto; }
.dd-footer__brand p { margin: 1.25rem 0 0; max-width: 34ch; line-height: 1.6; }
.dd-footer h2 { font-family: var(--f-caps); font-size: .72rem; font-weight: 600; letter-spacing: .22em; color: var(--gold-bright); margin: 0 0 1.1rem; }
.dd-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.dd-footer a { color: var(--on-dark); text-decoration: none; }
.dd-footer a:hover { color: var(--gold-bright); }
.dd-footer__gpr { margin-top: clamp(3rem, 6vw, 4rem); padding: 1.6rem 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; color: var(--on-dark); }
.dd-footer__gpr p { margin: 0; max-width: 72ch; }
.dd-footer__gpr a { color: var(--gold-bright); }
.dd-footer__legal { padding: 1.6rem 0 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; font-size: .78rem; color: rgba(246, 240, 228, .58); }
.dd-footer__legal a { color: rgba(246, 240, 228, .78); }
@media (max-width: 1000px) { .dd-footer__grid { grid-template-columns: 1fr 1fr; } .dd-footer__brand { grid-column: span 2; } }
@media (max-width: 520px) { .dd-footer__grid { grid-template-columns: 1fr; } .dd-footer__brand { grid-column: auto; } }
/* Site-wide REOS anchor (mu-plugin) — restyle to sit inside the dark footer */
.gpr-anchor { background: var(--ink); color: var(--on-dark-muted) !important; border-top: 1px solid var(--line-dark) !important; font-size: .82rem !important; }
.gpr-anchor a { color: var(--gold-bright) !important; }

/* Verified-photo figures (posts) */
.dd-figure { margin: 2rem 0; }
.dd-figure img { width: 100%; height: auto; border-radius: 14px; display: block; }
.dd-figure figcaption { margin-top: .6rem; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.dd-figure figcaption a { color: var(--muted); }
.dd-figure--hero { margin: 0; }
.dd-figure--hero img { aspect-ratio: 21 / 9; object-fit: cover; border-radius: 0 0 var(--radius) var(--radius); max-height: 620px; }
.dd-figure--hero figcaption { padding: 0 .25rem; }

/* Citations + small helpers */
.dd-cite { font-size: .72rem; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; vertical-align: .1em; }
.dd-cite:hover { color: var(--brick); text-decoration: underline; }
.dd-section--dark .dd-cite, .dd-section--forest .dd-cite { color: rgba(246, 240, 228, .5); }
.dd-hero__gpr { margin: 1.25rem 0 0; font-size: .86rem; color: var(--on-dark-muted); }
.dd-hero__gpr a { color: var(--gold-bright); }
@media (max-width: 900px) { [data-dd-faqgrid] { grid-template-columns: 1fr !important; } [data-dd-faqgrid] > div:first-child { position: static !important; } }
.dd-plan h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 2.4em; }
.dd-plan li { margin-bottom: .55rem; }
.dd-plan table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; border-radius: 12px; overflow: hidden; }
.dd-plan th, .dd-plan td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.dd-plan th { font-family: var(--f-caps); font-size: .7rem; letter-spacing: .14em; color: var(--gold-deep); background: var(--cream); }
.dd-after .dd-events-rail { grid-auto-columns: minmax(260px, 1fr); }

/* ==========================================================================
   16. Motion: reveal on scroll (only when JS is running), reduced motion
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] > :first-child { clip-path: inset(0 0 100% 0); transform: scale(1.08); transition: clip-path 1.3s var(--ease-out), transform 1.6s var(--ease-out); }
.js [data-reveal="clip"].is-in > :first-child { clip-path: inset(0 0 0 0); transform: none; }
@supports (animation-timeline: view()) {
  .dd-parallax img { animation: dd-par linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes dd-par { from { transform: translateY(-6%) scale(1.12); } to { transform: translateY(6%) scale(1.12); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .dd-hero__slide img { transform: none; }
  .dd-ribbon__track { animation: none; }
}
@media print { .dd-bar, .dd-header, .dd-footer, .dd-hero__media { display: none; } }
