/* ============================================================
   BURDS NERDS — bn-style.css
   All elements visible by default. JS animations are additive,
   never the only path to content being shown.
   ============================================================ */


/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bn-bg);
  color: var(--bn-text);
  font-family: var(--bn-font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

a { color: var(--bn-acc); text-decoration: none; transition: opacity 0.15s ease; }
a:hover { opacity: 0.75; }

:focus-visible { outline: 2px solid var(--bn-acc); outline-offset: 3px; border-radius: 3px; }

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


/* ── SHARED ───────────────────────────────────────────────── */

.rule {
  width: 28px;
  height: 3px;
  background: var(--bn-acc);
  border-radius: 2px;
  margin-bottom: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--bn-acc);
  color: var(--bn-acc-on);
  font-family: var(--bn-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover { background: var(--bn-acc-hover); opacity: 1; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary--light { background: #F0EDE6; color: #1A1818; }
.btn-primary--light:hover { background: #ffffff; opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--bn-acc);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn-ghost:hover { opacity: 0.7; }
.btn-ghost--light { color: var(--bn-acc); text-decoration-color: rgba(184,134,11,0.35); }
.btn-ghost--light:hover { color: var(--bn-acc); opacity: 0.8; }
.btn-ghost--onaccent { color: #F0EDE6; text-decoration-color: rgba(240,237,230,0.4); }

.text-accent { color: var(--bn-acc); }

.section-header { margin-bottom: 48px; }

.section-title {
  font-family: var(--bn-font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bn-text);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 15px;
  color: var(--bn-text-muted);
  line-height: 1.6;
}

/* JS-powered scroll reveal — only fires when js-ready class is on body */
body.js-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
body.js-ready .reveal.d1 { transition-delay: 0.1s; }
body.js-ready .reveal.d2 { transition-delay: 0.2s; }
body.js-ready .reveal.d3 { transition-delay: 0.3s; }
body.js-ready .reveal.d4 { transition-delay: 0.4s; }
body.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }


/* ── NAV ──────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  /* Semi-transparent so backdrop-filter blur actually shows through */
  background: rgba(250,250,247,0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  transition: border-color 0.25s ease, background 0.25s ease, backdrop-filter 0.25s ease;
}

.nav.is-scrolled {
  background: rgba(250,250,247,0.95);
  border-bottom-color: var(--bn-bdr);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

[data-theme="dark"] .nav              { background: rgba(17,16,16,0.82); }
[data-theme="dark"] .nav.is-scrolled  { background: rgba(17,16,16,0.96); }

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bn-logo-circle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.nav__logo-circle span {
  display: block;
  font-family: var(--bn-font-display);
  font-weight: 800;
  font-size: 8.5px;
  color: var(--bn-logo-letter);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.nav__logo-circle--sm { width: 32px; height: 32px; }
.nav__logo-circle--sm span { font-size: 7px; }

.nav__logo-word {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--bn-logo-word);
  transition: color 0.25s ease;
}

/* ── Logo SVG swap (light / dark mode) ──────────────────────── */
.nav__logo-img {
  display: block;
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

/* Until the white version exists, both show the dark logo.
   Once bn-logomark-white.svg is uploaded, update --for-dark src. */
[data-theme="light"] .nav__logo-img--for-dark  { display: none; }
[data-theme="dark"]  .nav__logo-img--for-light  { display: none; }

/* Hero state — no longer needed since hero shares page bg color */

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--bn-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--bn-text); opacity: 1; }

/* Active page indicator — set server-side via aria-current="page" in nav.php.
   Gold underline shows users which section they're currently in. */
.nav__links a[aria-current="page"] {
  color: var(--bn-acc);
  position: relative;
}
.nav__links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--bn-acc);
  border-radius: 2px;
}

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__theme {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--bn-bdr);
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--bn-text-muted);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.nav__theme:hover { border-color: var(--bn-bdr-strong); color: var(--bn-text); background: var(--bn-surf); }
.nav--on-hero .nav__theme { border-color: rgba(240,237,230,0.3); color: rgba(240,237,230,0.7); }

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

.nav__cta {
  display: inline-flex;
  align-items: center;
  background: var(--bn-acc);
  color: var(--bn-acc-on);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav__cta:hover { background: var(--bn-acc-hover); opacity: 1; transform: translateY(-1px); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--bn-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav--on-hero .nav__burger span { background: rgba(240,237,230,0.9); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--bn-bg);
  border-top: 1px solid var(--bn-bdr);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.nav__mobile.is-open { max-height: 600px; padding: 16px 24px 24px; }
.nav__mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--bn-text);
  padding: 12px 0;
  border-bottom: 1px solid var(--bn-bdr);
  text-decoration: none;
}

/* Mobile sub-items (Portfolio dropdown) */
.nav__mobile-sub {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--bn-text-muted) !important;
  padding: 8px 0 8px 16px !important;
  border-bottom: 1px solid transparent !important;
}
.nav__mobile-sub--soon {
  color: var(--bn-text-faint) !important;
  cursor: default;
  pointer-events: none;
  display: block;
  padding: 8px 0 8px 16px;
  border-bottom: 1px solid transparent;
  font-size: 13px;
}
.nav__mobile-contact {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bn-bdr);
}
.nav__mobile-contact a { font-size: 13px; color: var(--bn-text-muted); border: none; padding: 2px 0; }
.nav__mobile-cta {
  margin-top: 16px;
  background: var(--bn-acc);
  color: var(--bn-acc-on) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 4px;
  border: none !important;
  text-align: center;
  justify-content: center;
}

/* ── NAV DROPDOWN (desktop) ─────────────────────────────── */

.nav__dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav__chevron {
  transition: transform 0.18s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

.nav__dropdown:hover .nav__chevron,
.nav__dropdown:focus-within .nav__chevron { transform: rotate(180deg); opacity: 1; }

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: -16px;
  background: var(--bn-bg);
  border: 1px solid var(--bn-bdr);
  border-radius: 8px;
  min-width: 192px;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

/* Invisible hover bridge — fills the gap between toggle and menu
   so the mouse never leaves the hover zone mid-travel.          */
.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: -8px;
  right: -8px;
  height: 12px;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bn-text);
  text-decoration: none;
  transition: background 0.12s ease;
  white-space: nowrap;
  cursor: pointer;
}

.nav__dropdown-item:hover { background: var(--bn-acc-subtle); opacity: 1; }
.nav__dropdown-item--external svg { opacity: 0.5; flex-shrink: 0; }
.nav__dropdown-item--soon {
  color: var(--bn-text-faint);
  cursor: default;
  pointer-events: none;
}
.nav__dropdown-item--soon:hover { background: none; }

.nav__badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bn-acc-subtle);
  color: var(--bn-acc);
  border: 1px solid rgba(184,134,11,0.3);
  border-radius: 100px;
  padding: 2px 7px;
  margin-left: auto;
}


/* ── HERO ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bn-bg);
  border-bottom: 1px solid var(--bn-bdr);
}

.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}

.hero__dots {
  position: absolute;
  inset: -20%;
  background-image: radial-gradient(circle, rgba(184,134,11,0.17) 1px, transparent 1px);
  background-size: 32px 32px;
  will-change: transform;
}

.hero__circle-bg {
  position: absolute;
  right: -10vw; top: 50%;
  transform: translateY(-50%);
  width: min(70vw, 700px);
  height: min(70vw, 700px);
  border-radius: 50%;
  border: 1px solid rgba(184,134,11,0.13);
  background: radial-gradient(circle at center, rgba(184,134,11,0.09) 0%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 24px 60px;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bn-acc);
  margin-bottom: 20px;
}

/* Greeting rotator glow — breathes independently from the JS opacity/transform.
   text-shadow is not set by the JS inline style, so the animation runs freely.
   Period (2.8s) is intentionally offset from rotation interval (3s) for an
   organic, non-mechanical feel. */
@keyframes greeting-breathe {
  0%, 100% { text-shadow: none; }
  50%       { text-shadow: 0 0 14px rgba(184,134,11,0.75), 0 0 32px rgba(184,134,11,0.25); }
}

#greeting {
  animation: greeting-breathe 2.8s ease-in-out infinite;
}

.hero__headline {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.hero__line-1,
.hero__line-2 {
  display: block;
  font-family: var(--bn-font-display);
  font-weight: 800;
  font-size: clamp(42px, 7.5vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
}

.hero__line-1 { color: var(--bn-text); }
.hero__line-2 { color: var(--bn-acc); }

.hero__body {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--bn-text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bn-text-faint);
}

.hero__scroll-cue {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero__scroll-cue span {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bn-text-faint);
}

.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--bn-acc), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.1); }
}

/* Grain texture overlay — subtle film noise adds physical depth to the hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bn-grain-img);
  background-size: 256px 256px;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}


/* ── SERVICES ─────────────────────────────────────────────── */

.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  /* perspective enables the JS mousemove tilt effect on child cards */
  perspective: 1000px;
}

/* Full-width banner card — spans all 3 columns. Used by Web Design (row 1)
   and Retouching (row 3). Middle row auto-fills with 3 equal cards. */
.bento__card--large { grid-column: 1 / -1; }

.bento__card {
  background: var(--bn-surf);
  border: 1px solid var(--bn-bdr);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  /* Dual-layer elevation: ambient fill + directional key-light */
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.07);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.bento__card:hover {
  transform: translateY(-5px);
  border-color: var(--bn-acc);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.12), 0 24px 56px rgba(0,0,0,0.08);
}

/* Grain texture inside each card — adds surface tactility */
.bento__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bn-grain-img);
  background-size: 256px 256px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
  border-radius: 12px;
}

.bento__card-inner {
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1; /* float above card grain */
}

.bento__card-title {
  font-family: var(--bn-font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bn-text);
  margin-bottom: 10px;
}

.bento__card-body {
  font-size: 15px;
  color: var(--bn-text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.bento__card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--bn-acc);
  text-decoration: none;
  margin-top: auto;
}
.bento__card-link:hover { opacity: 0.7; }


/* ── WHY SECTION ──────────────────────────────────────────── */

.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bn-surf);
  position: relative;
  /* No border — angle divider handles the visual transition to proof strip */
}

/* Grain overlay — sits above the grid surface, below content via pointer-events */
.why::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bn-grain-img);
  background-size: 256px 256px;
  opacity: 0.028;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

.why__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  align-items: center;
  padding: 80px 56px 0;
  border-right: 1px solid var(--bn-bdr);
}

.why__sticky-inner { max-width: 520px; }

.why__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bn-acc);
  margin-bottom: 24px;
}

.why__headline {
  font-family: var(--bn-font-display);
  font-size: clamp(33px, 3.8vw, 49px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--bn-text);
  line-height: 1.1;
  margin-bottom: 18px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.why__headline.fading { opacity: 0; transform: translateY(8px); }

.why__body {
  font-size: 15px;
  color: var(--bn-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.why__body.fading { opacity: 0; transform: translateY(6px); }

.why__dots { display: flex; gap: 8px; align-items: center; }

.why__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bn-bdr-strong);
  transition: background 0.3s ease, width 0.3s ease;
}

.why__dot--active {
  background: var(--bn-acc);
  width: 20px;
  border-radius: 3px;
}

/* Right panels */
.why__panels { position: relative; }

.why__panel {
  min-height: 70vh;
  display: flex;
  align-items: flex-start;
  padding: 80px 56px 60px;
  border-bottom: 1px solid var(--bn-bdr);
}
.why__panel:last-child { border-bottom: none; }

.why__panel-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 520px;
}

.why__panel-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--bn-acc);
}

.why__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.why__list li {
  font-family: var(--bn-font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bn-text);
  line-height: 1.3;
  padding: 8px 0;
  border-bottom: 1px solid var(--bn-bdr);
}
.why__list li:last-child { border-bottom: none; }

.why__quote {
  font-family: var(--bn-font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  font-style: italic;
  color: var(--bn-text);
  line-height: 1.45;
  letter-spacing: -0.01em;
  border-left: 3px solid var(--bn-acc);
  padding-left: 18px;
}

.why__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.why__price-from {
  font-size: 15px;
  font-weight: 500;
  color: var(--bn-text-muted);
}

.why__price-num {
  font-family: var(--bn-font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--bn-text);
  line-height: 1;
}

.why__price-unit {
  font-size: 20px;
  font-weight: 600;
  color: var(--bn-text-muted);
}

.why__panel-note {
  font-size: 15px;
  color: var(--bn-text-muted);
  line-height: 1.65;
}


/* ── PROOF STRIP ──────────────────────────────────────────── */

.proof {
  background: var(--bn-acc-subtle);
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
  /* No border — angle dividers on both sides handle visual separation */
}

/* Grain overlay on the gold-tinted proof strip */
.proof::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bn-grain-img);
  background-size: 256px 256px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

.proof__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.proof__stat {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  text-align: center; flex: 1; min-width: 120px;
}

.proof__num {
  font-family: var(--bn-font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bn-text);
  line-height: 1;
}

.proof__lbl {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--bn-text-muted);
  text-transform: uppercase;
}

.proof__div {
  width: 1px; height: 40px;
  background: var(--bn-bdr);
  flex-shrink: 0;
}


/* ── BLOG PREVIEW ─────────────────────────────────────────── */

.blog-preview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.blog-card {
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--bn-bdr);
  transition: border-color 0.15s ease;
}
.blog-card:hover { border-top-color: var(--bn-acc); }

.blog-card__meta {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
}

.blog-card__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bn-acc);
}

.blog-card__date { font-size: 12px; color: var(--bn-text-muted); }

.blog-card__title {
  font-family: var(--bn-font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--bn-text);
}

.blog-card__title a {
  color: inherit; text-decoration: none;
  transition: color 0.15s ease;
}
.blog-card__title a:hover { color: var(--bn-acc); opacity: 1; }

.blog-card__excerpt {
  font-size: 13px;
  color: var(--bn-text-muted);
  line-height: 1.6;
  flex: 1;
}

.blog-card__link { font-size: 13px; font-weight: 600; color: var(--bn-acc); }


/* ── SECTION ANGLE DIVIDERS ──────────────────────────────── */
/* 40px wedge elements placed between sections with different backgrounds.
   linear-gradient hard stops create a perfectly crisp diagonal line.
   CSS custom properties ensure automatic dark-mode adaptation. */

.angle-div {
  /* 64px gives a readable angle (~2.5° at 1440px width, ~5.7° at 635px) */
  height: 64px;
  display: block;
  margin: 0;
  line-height: 0;
}

/* surf  →  acc-subtle  (after why, before proof)
   / diagonal: bottom-left→top-right momentum sweep */
.angle-div--surf-to-acc {
  background: linear-gradient(to bottom right, var(--bn-surf) 49.9%, var(--bn-acc-subtle) 50%);
}

/* acc-subtle  →  bg  (after proof, before blog)
   \ diagonal: alternating direction for rhythm */
.angle-div--acc-to-bg {
  background: linear-gradient(to bottom left, var(--bn-acc-subtle) 49.9%, var(--bn-bg) 50%);
}

/* bg  →  dark  (after blog, before cta)
   / diagonal: final forward-drive into the dark CTA — most dramatic in light mode */
.angle-div--bg-to-dark {
  background: linear-gradient(to bottom right, var(--bn-bg) 49.9%, #1A1818 50%);
}
[data-theme="dark"] .angle-div--bg-to-dark {
  background: linear-gradient(to bottom right, var(--bn-bg) 49.9%, #0F0E0E 50%);
}


/* ── CTA SECTION ──────────────────────────────────────────── */

.cta-section {
  /* Multi-layer bg: dot grid (0.09 opacity) over solid dark */
  background-color: #1A1818;
  background-image: radial-gradient(circle, rgba(184,134,11,0.09) 1px, transparent 1px);
  background-size: 32px 32px;
  color: #F0EDE6;
  padding: 96px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .cta-section {
  background: #0F0E0E;
  border-top: 1px solid #2E2B28;
}

.cta-section::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,134,11,0.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Grain texture — highest opacity here since dark bg makes it most visible/impactful */
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bn-grain-img);
  background-size: 256px 256px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

.cta-section__inner {
  position: relative; z-index: 1;
  max-width: 600px; margin: 0 auto;
}

.cta-section__headline {
  font-family: var(--bn-font-display);
  font-size: clamp(52px, 9vw, 100px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #F0EDE6;
  line-height: 1.0;
  margin-bottom: 20px;
}

.cta-section__sub {
  font-size: 15px;
  color: rgba(240,237,230,0.5);
  line-height: 1.6;
  margin-bottom: 40px;
}

.cta-section__actions {
  display: flex; align-items: center;
  justify-content: center; gap: 24px;
  flex-wrap: wrap; margin-bottom: 24px;
}

.cta-section__meta {
  font-size: 12px;
  color: rgba(240,237,230,0.3);
}
.cta-section__meta a { color: rgba(240,237,230,0.3); text-decoration: none; }
.cta-section__meta a:hover { color: rgba(240,237,230,0.7); opacity: 1; }


/* ── FOOTER ───────────────────────────────────────────────── */

.footer {
  background: var(--bn-surf);
  border-top: 1px solid var(--bn-bdr);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
}

.footer__brand { display: flex; flex-direction: column; gap: 16px; }

.footer__logo { display: flex; align-items: center; gap: 10px; }

.footer__wordmark {
  display: block;
  height: 28px;
  width: auto;
}

[data-theme="light"] .footer__wordmark--for-dark  { display: none; }
[data-theme="dark"]  .footer__wordmark--for-light  { display: none; }

.footer__tagline {
  font-family: var(--bn-font-display);
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bn-text); line-height: 1.25;
}

.footer__social { display: flex; gap: 10px; }

.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--bn-bdr);
  display: flex; align-items: center; justify-content: center;
  color: var(--bn-text-muted);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.footer__social a svg { display: block; flex-shrink: 0; }
.footer__social a:hover { border-color: var(--bn-acc); color: var(--bn-acc); opacity: 1; }

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

.footer__col { display: flex; flex-direction: column; gap: 10px; }

.footer__col-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bn-text); margin-bottom: 4px;
}

.footer__col a,
.footer__col span {
  font-size: 13px;
  color: var(--bn-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer__col a:hover { color: var(--bn-acc); opacity: 1; }

.footer__bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid var(--bn-bdr);
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}

.footer__bottom p { font-size: 13px; color: var(--bn-text-muted); }

.footer__legal { display: flex; gap: 20px; }

.footer__legal a {
  font-size: 13px;
  color: var(--bn-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer__legal a:hover { color: var(--bn-text); opacity: 1; }

/* Wrap legal links on small screens */
@media (max-width: 600px) {
  .footer__legal { flex-wrap: wrap; gap: 12px; justify-content: center; }
}


/* ── COOKIE BANNER ────────────────────────────────────────── */
/* Always visible (fixed bottom) until consent is recorded.
   Uses brand tokens so it respects dark/light mode. */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bn-surf-2, #1e1e1e);
  color: var(--bn-text);
  font-size: 13px;
  line-height: 1.5;
  z-index: 9998; /* below modals, above everything else */
  padding: 16px 24px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.25);
  border-top: 1px solid var(--bn-bdr);
}

[data-theme="light"] #cookie-banner {
  background: var(--bn-surf);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.10);
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner__text { flex: 1 1 280px; }
.cookie-banner__text p { margin: 0; }
.cookie-banner__text a {
  color: var(--bn-acc);
  text-decoration: underline;
}
.cookie-banner__text a:hover { opacity: 0.8; }

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Buttons */
.cookie-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  white-space: nowrap;
}
.cookie-btn:hover { opacity: 0.85; }

.cookie-btn--primary {
  background: var(--bn-acc);
  color: #1a1a1a;
  font-weight: 700;
}
.cookie-btn--secondary {
  background: transparent;
  color: var(--bn-text);
  border: 1px solid var(--bn-bdr);
}

/* Preferences panel */
#cookie-preferences {
  max-width: 1200px;
  margin: 12px auto 0;
  padding-top: 12px;
  border-top: 1px solid var(--bn-bdr);
}

.cookie-pref__group { margin-bottom: 12px; }

.cookie-pref__group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  cursor: pointer;
  font-size: 13px;
}

.cookie-pref__group label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--bn-acc);
  cursor: pointer;
}

.cookie-pref__group label input[disabled] { cursor: default; opacity: 0.6; }

.cookie-pref__group p {
  margin: 0 0 0 23px;
  font-size: 12px;
  color: var(--bn-text-muted);
  line-height: 1.4;
}

/* Mobile */
@media (max-width: 600px) {
  #cookie-banner { padding: 14px 16px; }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; font-size: 13px; }
}


/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }

  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .bento__card--large { grid-column: 1 / -1; }

  .why {
    display: block;
    min-height: auto;
    background: var(--bn-surf);
  }
  .why__sticky { display: none; }
  .why__panels { display: block; }
  .why__panel {
    height: auto;
    min-height: auto;
    padding: 56px 24px;
    border-bottom: 1px solid var(--bn-bdr);
  }
  .why__panel:last-child { border-bottom: none; }
  .why__panel-inner { max-width: 100%; }

  .blog-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--large { grid-column: auto; }

  .proof__inner { flex-direction: column; gap: 24px; }
  .proof__div { width: 40px; height: 1px; }

  .footer__nav { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .nav__logo-img { height: 26px; }
  .nav__inner { padding: 12px 16px 0; }
}
