/* ============================================================
   TLG - front page
   Palette: deep navy night + warm gold + cream
   Type:    Cormorant Garamond (display) + Inter (UI/body)
   ============================================================ */

:root {
  --bg:          #0b1422;
  --bg-deep:     #06101c;
  --panel:      rgba(10, 18, 31, 0.55);
  --panel-edge: rgba(216, 175, 110, 0.22);
  --ink:        #f4e9d4;
  --ink-soft:   #d9c9a8;
  --ink-mute:   #aa9c80;
  --gold:       #d8af6e;
  --gold-soft:  #f3d28a;
  --gold-deep:  #a87a32;
  --accent:     #f5d089;
  --radius:     14px;
  --radius-lg:  20px;
  --maxw:       1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.005em;
  margin: 0 0 0.6em;
  color: var(--gold-soft);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); }
h3 { font-size: 1.55rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--gold-soft); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.5em;
  border-radius: 999px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-outline {
  color: var(--gold-soft);
  border-color: rgba(216, 175, 110, 0.55);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold-soft);
  background: rgba(216, 175, 110, 0.08);
  color: var(--gold-soft);
}

.btn-primary {
  color: #1c1407;
  background: linear-gradient(180deg, #f3d28a 0%, #c98e3a 100%);
  border-color: rgba(255, 230, 180, 0.55);
  box-shadow: 0 6px 24px -10px rgba(216, 175, 110, 0.7);
}
.btn-primary:hover {
  color: #1c1407;
  background: linear-gradient(180deg, #f7daa0 0%, #d59a45 100%);
}

.btn-ghost {
  color: var(--ink);
  border-color: rgba(244, 233, 212, 0.25);
}
.btn-ghost:hover {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn-pill {
  color: var(--gold-soft);
  border: 1px solid rgba(216, 175, 110, 0.5);
  padding: 0.55em 1.4em;
  font-size: 1rem;
}
.btn-pill:hover {
  background: rgba(216, 175, 110, 0.08);
  border-color: var(--gold-soft);
}

.btn-large { padding: 0.9em 2.2em; font-size: 1.2rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(6, 16, 28, 0.92) 0%, rgba(6, 16, 28, 0.6) 80%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
}
.brand-mark {
  width: 64px;
  height: 48px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.primary-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.primary-nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  padding: 4px 2px;
  position: relative;
}
.primary-nav a.is-active,
.primary-nav a:hover { color: var(--gold-soft); }
.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(216, 175, 110, 0.45);
  border-radius: 8px;
  width: 42px; height: 42px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--gold-soft);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px 28px 26px;
  background: rgba(6, 16, 28, 0.96);
  border-bottom: 1px solid var(--panel-edge);
}
.mobile-menu a {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  color: var(--ink);
}
.mobile-menu a.btn { align-self: flex-start; }
.mobile-menu[data-open="true"] { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 80px 0 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero-beavers-den.png") center/cover no-repeat;
  z-index: -2;
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 80% 45%, rgba(216, 165, 90, 0.35) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6, 16, 28, 0.65) 0%, rgba(6, 16, 28, 0.55) 50%, rgba(6, 16, 28, 0.92) 100%),
    linear-gradient(90deg, rgba(6, 16, 28, 0.92) 0%, rgba(6, 16, 28, 0.5) 50%, rgba(6, 16, 28, 0.3) 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-copy h1 {
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.hero-copy h1 .br { display: block; }
.hero-lede {
  font-size: 1.15rem;
  max-width: 520px;
  color: var(--ink);
  margin-bottom: 30px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-illustration svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
}

/* ============================================================
   Hero illustration variants
   ============================================================ */

/* ---- Variant 1: featured site photo ---- */
.hero-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(216, 175, 110, 0.4),
    0 0 0 6px rgba(216, 175, 110, 0.08);
  isolation: isolate;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(60% 60% at 60% 50%, rgba(245, 200, 120, 0.45) 0%, transparent 60%);
  z-index: -1;
  filter: blur(20px);
}
.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-photo .photo-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(10, 18, 31, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(216, 175, 110, 0.4);
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* ---- Variant 2: awards constellation ---- */
.hero-awards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  aspect-ratio: 1 / 1;
  padding: 8px;
}
.hero-awards::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 200, 120, 0.28) 0%, transparent 65%);
  z-index: -1;
  filter: blur(6px);
}
.hero-awards .award-badge {
  background: linear-gradient(180deg, rgba(245, 232, 205, 0.96) 0%, rgba(232, 215, 178, 0.94) 100%);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 18px 40px -18px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(216, 175, 110, 0.45);
  transition: transform 0.3s ease;
}
.hero-awards .award-badge:hover { transform: translateY(-4px) rotate(-1deg); }
.hero-awards .award-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hero-awards .award-1 { grid-column: 1 / 4; grid-row: 1 / 4; transform: rotate(-3deg); }
.hero-awards .award-2 { grid-column: 4 / 7; grid-row: 2 / 5; transform: rotate(2deg); }
.hero-awards .award-3 { grid-column: 1 / 4; grid-row: 4 / 7; transform: rotate(2deg); }
.hero-awards .award-4 { grid-column: 4 / 7; grid-row: 5 / 7; transform: rotate(-2deg); }
.hero-awards .award-caption {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  text-transform: uppercase;
  background: rgba(10, 18, 31, 0.75);
  border: 1px solid rgba(216, 175, 110, 0.35);
  padding: 6px 18px;
  border-radius: 999px;
}

/* ---- Variant 3: photo collage ---- */
.hero-collage {
  position: relative;
  aspect-ratio: 4 / 5;
}
.hero-collage::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: radial-gradient(55% 55% at 55% 50%, rgba(245, 200, 120, 0.35) 0%, transparent 65%);
  z-index: -1;
  filter: blur(20px);
}
.hero-collage .collage-img {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 50px -24px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(216, 175, 110, 0.4),
    0 0 0 4px rgba(216, 175, 110, 0.08);
  transition: transform 0.4s ease;
}
.hero-collage .collage-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-collage .collage-1 { top: 0;  left: 8%;  width: 60%; aspect-ratio: 4/5; transform: rotate(-4deg); z-index: 3; }
.hero-collage .collage-2 { top: 18%; right: 0;  width: 52%; aspect-ratio: 3/4; transform: rotate(3deg);  z-index: 2; }
.hero-collage .collage-3 { bottom: 0; left: 22%; width: 56%; aspect-ratio: 4/3; transform: rotate(-2deg); z-index: 4; }
.hero-collage:hover .collage-1 { transform: rotate(-4deg) translateY(-6px); }
.hero-collage:hover .collage-2 { transform: rotate(3deg)  translateY(-6px); }
.hero-collage:hover .collage-3 { transform: rotate(-2deg) translateY(-6px); }

/* ---- Variant 4: stylised twig hut (SVG) ---- */
.hero-illustration.illustration-twighut svg {
  filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.6));
}

/* ============================================================
   Inner-page hero (shared by ventures / studios / legal pages)
   ============================================================ */
.inner-hero {
  position: relative;
  isolation: isolate;
  padding: 90px 0 70px;
  overflow: hidden;
  border-bottom: 1px solid rgba(216, 175, 110, 0.12);
}
.inner-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: center/cover no-repeat;
  opacity: 0.5;
  transform: scale(1.04);
}
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 60% at 75% 50%, rgba(216, 165, 90, 0.28) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6, 16, 28, 0.85) 0%, rgba(6, 16, 28, 0.78) 60%, rgba(6, 16, 28, 0.95) 100%);
}
.eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(216, 175, 110, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.inner-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}
.inner-hero p {
  max-width: 680px;
  font-size: 1.15rem;
  color: var(--ink);
}

/* ============================================================
   Differentiators (ventures page)
   ============================================================ */
.differentiators {
  padding: 70px 0 40px;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.diff-card {
  background: rgba(14, 24, 40, 0.6);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.diff-card .diff-num {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 10px;
}
.diff-card h3 { margin-bottom: 10px; }
.diff-card p { margin: 0; color: var(--ink-soft); }

/* ============================================================
   Portfolio (Cedar Hollow sites on ventures page)
   ============================================================ */
.portfolio {
  padding: 70px 0 90px;
  position: relative;
}
.portfolio-intro {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.portfolio-intro .portfolio-owl {
  width: 72px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(82%) sepia(34%) saturate(420%) hue-rotate(2deg) brightness(98%) contrast(92%);
  flex-shrink: 0;
}
.portfolio-intro h2 { margin: 4px 0 6px; }
.portfolio-intro p { max-width: 640px; margin: 0; color: var(--ink-soft); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.portfolio-card {
  background: rgba(14, 24, 40, 0.6);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 175, 110, 0.45);
}

.portfolio-img {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.04); }
.portfolio-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 16, 28, 0.6) 100%);
  pointer-events: none;
}

.portfolio-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.portfolio-location {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.portfolio-body h3 { font-size: 1.85rem; margin: 0; }
.portfolio-body p { margin: 0; color: var(--ink-soft); flex-grow: 1; }
.portfolio-link {
  align-self: flex-start;
  margin-top: 10px;
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(216, 175, 110, 0.35);
  padding-bottom: 2px;
}
.portfolio-link:hover { color: var(--accent); border-color: var(--gold-soft); }

@media (max-width: 820px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Products grid (studios page)
   ============================================================ */
.products {
  padding: 70px 0 100px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.product-card {
  background:
    linear-gradient(180deg, rgba(14, 24, 40, 0.7) 0%, rgba(10, 18, 31, 0.7) 100%);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 175, 110, 0.45);
}
.product-card .product-domain {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-soft);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.product-card h3 {
  font-size: 1.85rem;
  margin: 0;
}
.product-card p {
  color: var(--ink-soft);
  margin: 0;
  flex-grow: 1;
}
.product-card .product-link {
  align-self: flex-start;
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", serif;
  border-bottom: 1px solid rgba(216, 175, 110, 0.35);
  padding-bottom: 2px;
}
.product-card .product-link:hover { color: var(--accent); border-color: var(--gold-soft); }

.custom-build {
  margin-top: 60px;
  background:
    radial-gradient(70% 80% at 50% 50%, rgba(216, 165, 90, 0.18) 0%, transparent 60%),
    rgba(10, 18, 31, 0.6);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
}
.custom-build h2 { margin-bottom: 14px; }
.custom-build p { max-width: 620px; margin: 0 auto 24px; color: var(--ink-soft); }

/* ============================================================
   Legal / policy doc pages
   ============================================================ */
.legal-doc { padding: 60px 0 100px; }
.legal-doc .legal-meta {
  color: var(--ink-mute);
  font-size: 0.95rem;
  margin-bottom: 30px;
  letter-spacing: 0.04em;
}
.legal-doc .legal-toc {
  background: rgba(14, 24, 40, 0.55);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 40px;
}
.legal-doc .legal-toc-title {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-soft);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  display: block;
}
.legal-doc .legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
  counter-reset: legal-toc;
}
.legal-doc .legal-toc li {
  counter-increment: legal-toc;
  font-size: 0.96rem;
}
.legal-doc .legal-toc li::before {
  content: counter(legal-toc, decimal-leading-zero) "  ";
  color: var(--ink-mute);
  font-family: "Cormorant Garamond", serif;
}
.legal-doc .legal-toc a { color: var(--ink-soft); }
.legal-doc .legal-toc a:hover { color: var(--gold-soft); }

.legal-doc article {
  max-width: 780px;
  margin: 0 auto;
}
.legal-doc article > section { padding: 24px 0; border-bottom: 1px solid rgba(216, 175, 110, 0.1); }
.legal-doc article > section:last-child { border-bottom: 0; }
.legal-doc article h2 {
  font-size: 1.65rem;
  color: var(--gold-soft);
  margin: 0 0 14px;
  scroll-margin-top: 110px;
}
.legal-doc article h3 {
  font-size: 1.15rem;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 18px 0 8px;
}
.legal-doc article p { color: var(--ink-soft); margin: 0 0 12px; font-size: 1rem; line-height: 1.7; }
.legal-doc article ul {
  margin: 6px 0 14px;
  padding-left: 22px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal-doc article ul li { margin-bottom: 4px; }
.legal-doc article strong { color: var(--ink); font-weight: 500; }

.legal-contact {
  margin-top: 30px;
  background: rgba(14, 24, 40, 0.55);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.legal-contact h3 { color: var(--gold-soft); font-family: "Cormorant Garamond", serif; font-size: 1.3rem; margin: 0 0 8px; }

/* ============================================================
   Site-footer policy row
   ============================================================ */
.policy-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.policy-links a { color: var(--ink-mute); }
.policy-links a:hover { color: var(--gold-soft); }

/* ============================================================
   Responsive tweaks for new templates
   ============================================================ */
@media (max-width: 820px) {
  .diff-grid, .products-grid { grid-template-columns: 1fr; }
  .legal-doc .legal-toc ol { grid-template-columns: 1fr; }
  .custom-build { padding: 36px 24px; }
}

/* ============================================================
   Recognition strip - awards marquee + media strip
   ============================================================ */
.recognition {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(216, 175, 110, 0.12);
}
.recognition-intro {
  text-align: center;
  margin-bottom: 36px;
}
.recognition-intro h2 { margin: 8px 0 8px; }
.recognition-intro p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
}

/* shared marquee */
.marquee {
  position: relative;
  overflow: hidden;
  margin: 0 calc(50% - 50vw); /* full-bleed within container */
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee-scroll 50s linear infinite;
}
.marquee--media .marquee-track {
  animation-duration: 60s;
  gap: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
  .marquee::-webkit-scrollbar { display: none; }
}

/* award pills - large, prominent press-quality cards */
.award-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 248, 225, 0.98) 0%, rgba(245, 232, 205, 0.96) 50%, rgba(228, 207, 165, 0.94) 100%);
  border-radius: 18px;
  padding: 10px 22px 10px 10px;
  min-width: 340px;
  height: 144px;
  box-shadow:
    0 24px 50px -24px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(216, 175, 110, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.award-pill .award-pill-img {
  width: 124px;
  height: 124px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(216, 175, 110, 0.3);
  border-radius: 12px;
  padding: 4px;
}
.award-pill .award-pill-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.award-pill .award-pill-img.is-glyph {
  background: linear-gradient(180deg, #2a1f10 0%, #0d0703 100%);
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
.award-pill-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.award-pill-title {
  font-family: "Cormorant Garamond", serif;
  color: #2a1c08;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.award-pill-sub {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b4f1f;
  margin-top: 8px;
  font-weight: 500;
}

/* Allow the awards marquee to be slower so they're readable */
.marquee--awards .marquee-track { animation-duration: 80s; }

/* media strip */
.recognition-media {
  margin-top: 48px;
  text-align: center;
}
.recognition-media .eyebrow { margin-bottom: 20px; }
.media-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 72px;
  padding: 0 36px;
  white-space: nowrap;
  color: var(--ink);
  position: relative;
}
.media-item + .media-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(216, 175, 110, 0.18);
}

/* Media logos - real brand images on white pill backgrounds, like a press kit */
.media-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  height: 76px;
  box-shadow:
    0 8px 20px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(216, 175, 110, 0.12);
}
.media-logo img {
  max-height: 100%;
  width: auto;
  display: block;
}
/* per-outlet sizing tweaks so different aspect ratios sit well */
.media-logo--bbc img          { height: 48px; }
.media-logo--bbc-two img      { height: 48px; }
.media-logo--times img        { height: 38px; }
.media-logo--sun img          { height: 52px; border-radius: 4px; }
.media-logo--ok img           { height: 60px; }
.media-logo--evening-standard img { height: 34px; }
.media-logo--swns img         { height: 42px; }
.media-logo--c4-mafs          { gap: 14px; padding: 6px 18px 6px 6px; }
.media-logo--c4-mafs img      { height: 60px; }
.media-logo--c4-mafs .show-name {
  font-family: "Cormorant Garamond", serif;
  color: #1a1a1a;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  text-align: left;
  white-space: nowrap;
}
.media-logo--c4-mafs .show-name small {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: #6b4f1f;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 500;
}
/* CSS-fallback wordmarks (no real logo asset available) */
.media-logo--text {
  font-family: "Cormorant Garamond", serif;
  color: #1a1a1a;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 18px;
}
.media-logo--text small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #6b4f1f;
  margin-bottom: 4px;
  font-weight: 500;
}

@media (max-width: 720px) {
  .award-pill { min-width: 220px; height: 80px; padding: 10px 18px 10px 10px; }
  .award-pill .award-pill-img { width: 48px; height: 48px; }
  .media-item { font-size: 1.2rem; padding: 0 22px; height: 50px; }
}

/* ============================================================
   Floating variant badge (bottom-right corner on each variant)
   ============================================================ */
.variant-badge {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  background: rgba(10, 18, 31, 0.85);
  border: 1px solid rgba(216, 175, 110, 0.45);
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.variant-badge:hover {
  transform: translateY(-2px);
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

/* ============================================================
   variants.html - picker page
   ============================================================ */
.variants-page { background: var(--bg-deep); }
.variants-page .site-header { background: transparent; }
.variants-eyebrow {
  color: var(--ink-mute);
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.06em;
  font-size: 1rem;
}

.variants-main { padding: 50px 0 100px; }
.variants-main h1 {
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
}
.variants-lede {
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 38px;
  font-size: 1.1rem;
}

.variants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.variant-card {
  display: grid;
  grid-template-rows: auto auto;
  background: rgba(14, 24, 40, 0.6);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.variant-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 175, 110, 0.55);
}

.variant-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(55% 65% at 60% 50%, rgba(245, 200, 120, 0.22) 0%, transparent 65%),
    linear-gradient(180deg, #0c1726 0%, #050d18 100%);
  overflow: hidden;
}

/* photo preview */
.variant-preview--photo img {
  position: absolute;
  inset: 14% 14%;
  width: 72%;
  height: 72%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(216,175,110,0.4);
}
.variant-preview .variant-tag {
  position: absolute;
  left: 14%; bottom: 16%;
  background: rgba(10, 18, 31, 0.7);
  border: 1px solid rgba(216, 175, 110, 0.4);
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
}

/* awards preview */
.variant-preview--awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16% 8%; }
.variant-preview--awards .vp-award {
  background: linear-gradient(180deg, rgba(245,232,205,0.96) 0%, rgba(232,215,178,0.94) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,0.7), 0 0 0 1px rgba(216,175,110,0.45);
}
.variant-preview--awards .vp-award img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* collage preview */
.variant-preview--collage .vp-c {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.8), 0 0 0 1px rgba(216,175,110,0.4);
}
.variant-preview--collage .vp-c img { width: 100%; height: 100%; object-fit: cover; display: block; }
.variant-preview--collage .vp-c1 { top: 18%; left: 12%; width: 38%; aspect-ratio: 4/5; transform: rotate(-4deg); z-index: 3; }
.variant-preview--collage .vp-c2 { top: 22%; left: 40%; width: 32%; aspect-ratio: 3/4; transform: rotate(3deg); z-index: 2; }
.variant-preview--collage .vp-c3 { top: 40%; left: 28%; width: 38%; aspect-ratio: 4/3; transform: rotate(-2deg); z-index: 4; }

/* illustration preview - fall back to a label */
.variant-preview--illust { display: flex; align-items: center; justify-content: center; }
.variant-preview--illust img { max-width: 80%; max-height: 80%; }
.variant-preview--illust .vp-illust-fallback {
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
  border: 1px dashed rgba(216, 175, 110, 0.5);
  padding: 14px 22px;
  border-radius: 12px;
}

.variant-meta {
  padding: 22px 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 6px;
}
.variant-num {
  grid-row: 1 / 3;
  align-self: start;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  color: var(--gold-soft);
  line-height: 1;
}
.variant-meta h2 {
  font-size: 1.55rem;
  margin: 0;
}
.variant-meta p { margin: 0; color: var(--ink-soft); }

@media (max-width: 820px) {
  .variants-grid { grid-template-columns: 1fr; }
}

/* ---------- Pillar cards ---------- */
.pillars {
  position: relative;
  padding: 0 0 90px;
  margin-top: -60px;
  z-index: 2;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pillar-card {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 175, 110, 0.45);
  background: rgba(14, 24, 40, 0.65);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.pillar-icon svg { width: 100%; height: 100%; }

.pillar-card h3 {
  margin-bottom: 14px;
}
.pillar-card p {
  flex-grow: 1;
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* ---------- Approach ---------- */
.approach {
  padding: 70px 0;
  position: relative;
}
.approach::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/gates-goldenhour.png") center/cover no-repeat;
  opacity: 0.22;
  z-index: -2;
}
.approach::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(6, 16, 28, 0.6) 30%, rgba(6, 16, 28, 0.7) 70%, var(--bg-deep) 100%);
  z-index: -1;
}

.approach h2 { max-width: 760px; }
.approach-lede {
  max-width: 720px;
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.approach-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  max-width: 600px;
}
.approach-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-size: 1.05rem;
}
.approach-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 14px; height: 1px;
  background: var(--gold-soft);
}

/* ---------- Cedar Hollow card ---------- */
.cedar-hollow {
  padding: 50px 0 90px;
}
.ch-card {
  background:
    linear-gradient(180deg, rgba(245, 232, 205, 0.96) 0%, rgba(232, 215, 178, 0.94) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 20px 60px -30px rgba(216, 175, 110, 0.4);
}
.ch-card-inner {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ch-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ch-owl {
  width: 78px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(38%) sepia(45%) saturate(550%) hue-rotate(13deg) brightness(92%) contrast(90%);
}
.ch-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.ch-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  font-weight: 500;
  color: #5a4218;
}
.ch-sub {
  font-family: "Inter", sans-serif;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  color: #6b4f1f;
  margin-top: 6px;
  text-transform: uppercase;
}
.ch-blurb {
  color: #4a3613;
  font-size: 1.05rem;
  margin: 0;
  max-width: 520px;
}

.ch-card .btn-primary {
  background: linear-gradient(180deg, #2a1f10 0%, #0d0703 100%);
  color: var(--gold-soft);
  border-color: rgba(216, 175, 110, 0.6);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.6);
}
.ch-card .btn-primary:hover {
  background: linear-gradient(180deg, #36281a 0%, #110a04 100%);
  color: var(--accent);
}

/* ---------- Footer CTA ---------- */
.footer-cta {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(216, 165, 90, 0.18) 0%, transparent 60%),
    var(--bg-deep);
}
.footer-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.footer-cta h2 { margin-bottom: 14px; }
.footer-cta p {
  font-size: 1.1rem;
  margin-bottom: 26px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(216, 175, 110, 0.15);
  padding: 36px 0;
  background: #050d18;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-soft);
}
.footer-brand p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  color: var(--gold-soft);
}
.site-footer nav {
  display: flex;
  gap: 22px;
}
.site-footer nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  color: var(--ink-mute);
}
.site-footer nav a:hover { color: var(--gold-soft); }
.copyright {
  color: var(--ink-mute);
  font-size: 0.88rem;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illustration { order: -1; max-width: 420px; margin: 0 auto 8px; }
  .hero { padding: 50px 0 80px; }
  .card-grid { grid-template-columns: 1fr; }
  .pillars { margin-top: -40px; padding-bottom: 60px; }
}

@media (max-width: 720px) {
  .primary-nav ul,
  .primary-nav .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; }

  .ch-card { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .ch-name { font-size: 2.1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .site-footer nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-copy h1 .br { display: inline; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
