/*
Theme Name: Bridge Child
Theme URI: https://www.diffendaffer.com/
Description: Child theme for Bridge — overrides for diffendaffer.com revamp.
Author: Grant Diffendaffer
Author URI: https://www.diffendaffer.com/
Template: bridge
Version: 0.8.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bridge-child
*/

/* ===================================================================
   Diffendaffer Design — clean foundation v0.4
   =================================================================== */

:root {
  --dd-warm-red: #c8362e;
  --dd-warm-red-hover: #a8281f;
  --dd-ink: #111111;
  --dd-text: #2a2a2a;
  --dd-muted: #6b6b6b;
  --dd-line: #e8e6e1;
  --dd-cream: #faf7f2;
  --dd-cream-deep: #f3efe8;
  --dd-paper: #ffffff;
  --dd-radius: 4px;
  --dd-shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --dd-shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --dd-shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --dd-ease: cubic-bezier(.2, .7, .2, 1);
}

/* Typography baseline */
body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: var(--dd-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .wp-block-heading {
  font-family: 'Raleway', sans-serif !important;
  color: var(--dd-ink);
  letter-spacing: -0.01em;
  margin: 0;
}

/* Bridge transparent header — keep above the hero AND enforce a proper
   navigation height. Bridge defaults to a 25px sliver on these pages,
   which reads as a status bar, not a menu. */
.page_header,
header.page_header,
.qodef-page-header,
header.scroll_header_top_area {
  z-index: 1000 !important;
}

/* Header inner containers — give them real navigation height */
header.page_header .header_inner,
header.page_header .header_top_bottom_holder,
header.page_header .header_bottom,
header.page_header .header_bottom .container,
header.page_header .header_bottom .container_inner {
  min-height: 80px !important;
  height: 80px !important;
}
header.page_header .header_bottom .container_inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 32px !important;
  max-width: 100% !important;
}
header.page_header .header_inner_left,
header.page_header .header_inner_right {
  display: flex !important;
  align-items: center !important;
}

/* Logo — make it visible at proper size */
header.page_header .q_logo {
  position: relative !important;
  height: auto !important;
  width: auto !important;
}
header.page_header .q_logo a {
  display: inline-flex !important;
  align-items: center !important;
  height: auto !important;
}
header.page_header .q_logo img {
  position: static !important;
  height: 32px !important;
  width: auto !important;
  max-height: 32px !important;
}

/* ===================================================================
   Logo swap — replace the Bridge logo with a CSS background image,
   chosen per body class for live A/B preview.
   Add ?logo=v1-light | v1-dark | v8-light | v8-dark to the URL,
   or set body class permanently in functions.php once a winner is chosen.
   =================================================================== */
body.dd-logo-test header.page_header .q_logo {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 80px !important;          /* full nav row height */
  width: auto !important;
  vertical-align: top !important;
}
body.dd-logo-test header.page_header .q_logo a {
  position: relative;
  width: 76px;
  height: 28px;
  display: block;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  margin: 0;
  transform: translateY(-13px);     /* align to menu mid-row */
}
body.dd-logo-test header.page_header .q_logo a img {
  visibility: hidden;
  width: 76px;
  height: 28px;
  display: block;
}

body.dd-logo-v1-light header.page_header .q_logo a {
  background-image: url('/wp-content/uploads/2026/04/GD_logo_v1_light.svg');
}
body.dd-logo-v1-dark header.page_header .q_logo a {
  background-image: url('/wp-content/uploads/2026/04/GD_logo_v1_dark.svg');
}
body.dd-logo-v8-light header.page_header .q_logo a {
  background-image: url('/wp-content/uploads/2026/04/GD_logo_v8_light.svg');
}
body.dd-logo-v8-dark header.page_header .q_logo a {
  background-image: url('/wp-content/uploads/2026/04/GD_logo_v8_dark.svg');
}

/* Main menu items — proper readable size */
header.page_header nav.main_menu {
  height: auto !important;
  display: flex !important;
  align-items: center !important;
}
header.page_header nav.main_menu > ul {
  display: flex !important;
  gap: 36px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
header.page_header nav.main_menu > ul > li {
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
}
header.page_header nav.main_menu > ul > li > a {
  font-family: 'Raleway', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  line-height: 1 !important;
  height: auto !important;
  padding: 12px 0 !important;
  transition: color 200ms ease !important;
}
header.page_header nav.main_menu > ul > li > a {
  position: relative !important;
}
/* Current page indicator: subtle red underline, not red text */
header.page_header nav.main_menu > ul > li.current-menu-item > a::after,
header.page_header nav.main_menu > ul > li.current_page_item > a::after,
header.page_header nav.main_menu > ul > li > a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--dd-warm-red);
  border-radius: 1px;
}
/* Hover state: still white text + red underline */
header.page_header nav.main_menu > ul > li > a:hover {
  color: #ffffff !important;
}
header.page_header nav.main_menu > ul > li.current-menu-item > a,
header.page_header nav.main_menu > ul > li.current_page_item > a {
  color: #ffffff !important;
}
/* Hide the menu icon decorations Bridge ships */
header.page_header nav.main_menu i.menu_icon { display: none !important; }
header.page_header nav.main_menu .plus_text { display: none !important; }

/* Hide Bridge's content max-width on rebuilt pages so our sections go edge-to-edge */
body.page-id-9476 .container_inner,
body.page-id-13 .container_inner,
body.page-id-9622 .container_inner {
  max-width: 100% !important;
  padding: 0 !important;
}
body.page-id-9476 .container,
body.page-id-13 .container,
body.page-id-9622 .container {
  padding: 0 !important;
}

/* DARK CINEMATIC MODE — redefine brand tokens per page so all the legacy
   `var(--dd-ink)` / `var(--dd-muted)` / `var(--dd-cream)` rules below
   automatically flip to a light-on-dark palette. Saves chasing each
   selector individually. */
body.page-id-9476,
body.page-id-13,
body.page-id-9622 {
  --dd-ink: #f4f0e7;
  --dd-text: #e6e3dc;
  --dd-muted: #b8b0a0;
  --dd-line: rgba(255,255,255,0.14);
  --dd-cream: #0e1828;
  --dd-cream-deep: #0a1422;
  --dd-paper: #f4f0e7;
}

body.page-id-9476,
body.page-id-13,
body.page-id-9622,
body.page-id-9476 .content,
body.page-id-13   .content,
body.page-id-9622 .content,
body.page-id-9476 .content_inner,
body.page-id-13   .content_inner,
body.page-id-9622 .content_inner,
body.page-id-9476 .qodef-page-content,
body.page-id-13   .qodef-page-content,
body.page-id-9622 .qodef-page-content {
  background-color: #0b1220 !important; /* deep night-blue water */
  background-image: none !important;
  color: #e6e3dc;
}

/* Recolor section backgrounds from white/cream to atmospheric dark variants */
body.page-id-9476 .dd-section,
body.page-id-13   .dd-section,
body.page-id-9622 .dd-section {
  background: #0b1220 !important;
}
body.page-id-9476 .dd-section--services,
body.page-id-13   .dd-section--services,
body.page-id-9622 .dd-section--cat-alt,
body.page-id-9476 .dd-section--offerings {
  background: #0e1828 !important; /* slightly lifted alt band */
}
body.page-id-9476 .dd-section--cta,
body.page-id-13   .dd-section--cta,
body.page-id-9622 .dd-section--cta {
  background: #060912 !important; /* darkest closing */
}

/* Default text inside dark sections — light cream that reads but doesn't
   shout. Brand color tokens still drive accents. */
body.page-id-9476 .dd-section,
body.page-id-13   .dd-section,
body.page-id-9622 .dd-section,
body.page-id-9476 .dd-section p,
body.page-id-13   .dd-section p,
body.page-id-9622 .dd-section p {
  color: #cfc9be !important;
}
body.page-id-9476 .dd-section h1,
body.page-id-9476 .dd-section h2,
body.page-id-9476 .dd-section h3,
body.page-id-9476 .dd-section h4,
body.page-id-13   .dd-section h1,
body.page-id-13   .dd-section h2,
body.page-id-13   .dd-section h3,
body.page-id-9622 .dd-section h1,
body.page-id-9622 .dd-section h2,
body.page-id-9622 .dd-section h3 {
  color: #f4f0e7 !important;
}
body.page-id-9476 .dd-section .dd-section__lede,
body.page-id-13   .dd-section .dd-section__lede,
body.page-id-9476 .dd-section .dd-cat-lede,
body.page-id-9622 .dd-section .dd-cat-lede,
body.page-id-9476 .dd-feature3__desc,
body.page-id-9476 .dd-feature3__kicker,
body.page-id-9622 .dd-portfolio-card .kicker,
body.page-id-9622 .dd-portfolio-card h3 + .kicker {
  color: #a89f8e !important;
}
body.page-id-9622 .dd-portfolio-card h3,
body.page-id-9476 .dd-feature3__title {
  color: #f4f0e7 !important;
}
body.page-id-9476 .dd-eyebrow,
body.page-id-13   .dd-eyebrow,
body.page-id-9622 .dd-eyebrow {
  color: #8a8270 !important;
}

/* Pull quotes (about) — slightly more luminous for emphasis */
body.page-id-9476 .dd-about-pull,
body.page-id-13   .dd-about-pull,
body.page-id-9476 .dd-lede {
  color: #f4f0e7 !important;
}

/* Index list links on dark */
body.page-id-9476 .dd-index__list a,
body.page-id-9476 .dd-index__list a:visited {
  color: #e6e3dc !important;
  border-bottom-color: rgba(255,255,255,0.08) !important;
}
body.page-id-9476 .dd-index__list a:hover {
  color: var(--dd-warm-red) !important;
  background: rgba(255,255,255,0.03) !important;
}
body.page-id-9476 .dd-idx-yr {
  color: #6b6357 !important;
}
body.page-id-9476 .dd-index__list {
  border-top-color: rgba(255,255,255,0.08) !important;
}

/* Link CTAs on dark */
body.page-id-9476 .dd-section .dd-link-cta,
body.page-id-13   .dd-section .dd-link-cta,
body.page-id-9622 .dd-section .dd-link-cta {
  color: #e6e3dc !important;
  border-bottom-color: rgba(255,255,255,0.5) !important;
}
body.page-id-9476 .dd-section .dd-link-cta:hover,
body.page-id-13   .dd-section .dd-link-cta:hover,
body.page-id-9622 .dd-section .dd-link-cta:hover {
  color: var(--dd-warm-red) !important;
}

/* Service/offering body text on dark */
body.page-id-9476 .dd-offering__body p,
body.page-id-9476 .dd-practice p {
  color: #a89f8e !important;
}
body.page-id-9476 .dd-offering__body h3,
body.page-id-9476 .dd-practice h3 {
  color: #f4f0e7 !important;
}
body.page-id-9476 .dd-offering__example a {
  color: #e6e3dc !important;
  border-bottom-color: rgba(255,255,255,0.25) !important;
}

/* Portfolio card backgrounds get a subtle tile lift on dark */
body.page-id-9622 .dd-portfolio-card img {
  filter: brightness(0.92);
  transition: filter 400ms var(--dd-ease), transform 600ms var(--dd-ease);
}
body.page-id-9622 .dd-portfolio-card:hover img {
  filter: brightness(1.05);
}

/* Recent-work tile lift on dark */
body.page-id-9476 .dd-feature3__media img {
  filter: brightness(0.95);
}
body.page-id-9476 .dd-feature3__tile:hover .dd-feature3__media img {
  filter: brightness(1.02);
}

/* Service card on dark — subtle bordered container */
body.page-id-9476 .dd-service__body h3 {
  color: #f4f0e7 !important;
}

/* Bridge → dark wp:group sections inside content (about page, etc.) so they
   inherit the dark theme rather than appearing as white islands. */
body.page-id-9476 .wp-block-group:not(.has-background),
body.page-id-13   .wp-block-group:not(.has-background),
body.page-id-9622 .wp-block-group:not(.has-background) {
  background-color: transparent !important;
}
body.page-id-13 .wp-block-group.has-background[style*="ffffff"],
body.page-id-9622 .wp-block-group.has-background[style*="ffffff"],
body.page-id-9476 .wp-block-group.has-background[style*="ffffff"] {
  background-color: #0b1220 !important;
}
body.page-id-13 .wp-block-group.has-background[style*="fafafa"],
body.page-id-9622 .wp-block-group.has-background[style*="fafafa"],
body.page-id-9476 .wp-block-group.has-background[style*="fafafa"] {
  background-color: #0e1828 !important;
}
/* Inline color="222222" / "444444" / "555555" / "666666" inline styles
   on text elements should NOT show as dark text on dark bg. Lift them. */
body.page-id-9476 [style*="color:#222"],
body.page-id-13   [style*="color:#222"],
body.page-id-9622 [style*="color:#222"],
body.page-id-13   [style*="color:#444"],
body.page-id-13   [style*="color:#555"],
body.page-id-13   [style*="color:#666"] {
  color: #cfc9be !important;
}
body.page-id-13 strong,
body.page-id-9476 strong,
body.page-id-9622 strong {
  color: #f4f0e7 !important;
}

/* ===================================================================
   DARK MODE — CONTACT PAGE ADD-ON (page-id-9121)
   Mirrors the page-id-13 / 9476 / 9622 dark treatment for the rebuilt
   /contact/ page. Kept as a self-contained block (rather than fanning
   9121 through every comma-list above) so the contact retheme is
   reversible by ripping this block out. Plus WPForms-on-dark overrides
   because WPForms ships with light-mode defaults that read as a white
   island inside our dark sections.
   =================================================================== */
body.page-id-9121,
body.postid-10665 {
  --dd-ink: #f4f0e7;
  --dd-text: #e6e3dc;
  --dd-muted: #b8b0a0;
  --dd-line: rgba(255,255,255,0.14);
  --dd-cream: #0e1828;
  --dd-cream-deep: #0a1422;
  --dd-paper: #f4f0e7;
}

/* Hide Bridge's content max-width so .dd-section bands go edge-to-edge */
body.page-id-9121 .container_inner,
body.postid-10665 .container_inner {
  max-width: 100% !important;
  padding: 0 !important;
}
body.page-id-9121 .container,
body.postid-10665 .container {
  padding: 0 !important;
}

body.page-id-9121,
body.postid-10665,
body.page-id-9121 .content,
body.postid-10665 .content,
body.page-id-9121 .content_inner,
body.postid-10665 .content_inner,
body.page-id-9121 .qodef-page-content,
body.postid-10665 .qodef-page-content {
  background-color: #0b1220 !important;
  background-image: none !important;
  color: #e6e3dc;
}
body.page-id-9121 .dd-section,
body.postid-10665 .dd-section { background: #0b1220 !important; }
body.page-id-9121 .dd-section--cat-alt,
body.postid-10665 .dd-section--cat-alt { background: #0e1828 !important; }
body.page-id-9121 .dd-section--cta,
body.postid-10665 .dd-section--cta { background: #060912 !important; }
body.page-id-9121 .dd-section,
body.postid-10665 .dd-section,
body.page-id-9121 .dd-section p,
body.postid-10665 .dd-section p { color: #cfc9be !important; }
body.page-id-9121 .dd-section h1,
body.postid-10665 .dd-section h1,
body.page-id-9121 .dd-section h2,
body.postid-10665 .dd-section h2,
body.page-id-9121 .dd-section h3,
body.postid-10665 .dd-section h3 { color: #f4f0e7 !important; }
body.page-id-9121 .dd-section .dd-section__lede,
body.postid-10665 .dd-section .dd-section__lede { color: #a89f8e !important; }
body.page-id-9121 .dd-eyebrow,
body.postid-10665 .dd-eyebrow { color: #8a8270 !important; }

/* WPForms — dark-mode skinning, scoped to the contact page */
body.page-id-9121 .wpforms-container,
body.postid-10665 .wpforms-container { color: #e6e3dc; }
body.page-id-9121 .wpforms-field-label,
body.postid-10665 .wpforms-field-label,
body.page-id-9121 .wpforms-required-label,
body.postid-10665 .wpforms-required-label,
body.page-id-9121 .wpforms-field-sublabel,
body.postid-10665 .wpforms-field-sublabel { color: #e6e3dc !important; }
body.page-id-9121 .wpforms-field input[type="text"],
body.postid-10665 .wpforms-field input[type="text"],
body.page-id-9121 .wpforms-field input[type="email"],
body.postid-10665 .wpforms-field input[type="email"],
body.page-id-9121 .wpforms-field textarea,
body.postid-10665 .wpforms-field textarea {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  color: #f4f0e7 !important;
  border-radius: var(--dd-radius);
  padding: 12px 14px;
  font: inherit;
  transition: border-color 200ms ease, background 200ms ease;
}
body.page-id-9121 .wpforms-field input:focus,
body.postid-10665 .wpforms-field input:focus,
body.page-id-9121 .wpforms-field textarea:focus,
body.postid-10665 .wpforms-field textarea:focus {
  outline: none;
  border-color: #c8362e !important;
  background: rgba(255,255,255,0.07) !important;
}
body.page-id-9121 .wpforms-field input::placeholder,
body.postid-10665 .wpforms-field input::placeholder,
body.page-id-9121 .wpforms-field textarea::placeholder,
body.postid-10665 .wpforms-field textarea::placeholder { color: rgba(244,240,231,0.4); }
body.page-id-9121 .wpforms-submit-container .wpforms-submit,
body.postid-10665 .wpforms-submit-container .wpforms-submit {
  display: inline-block;
  padding: 18px 38px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--dd-radius);
  background: #c8362e !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
body.page-id-9121 .wpforms-submit-container .wpforms-submit:hover,
body.postid-10665 .wpforms-submit-container .wpforms-submit:hover {
  background: #a8281f !important;
  transform: translateY(-2px);
}
body.page-id-9121 .wpforms-recaptcha-container,
body.postid-10665 .wpforms-recaptcha-container { background: transparent !important; margin-top: 8px; }
body.page-id-9121 .wpforms-error-noscript,
body.postid-10665 .wpforms-error-noscript { background: rgba(200,54,46,0.12) !important; border: 1px solid rgba(200,54,46,0.4) !important; color: #f4f0e7 !important; }

/* WPForms success confirmation — dark-mode override.
   Default pale-green bg + light text is unreadable on the dark contact page. */
body.page-id-9121 .wpforms-confirmation-container,
body.page-id-9121 .wpforms-confirmation-container-full,
body.postid-10665 .wpforms-confirmation-container,
body.postid-10665 .wpforms-confirmation-container-full {
  background: rgba(74, 222, 128, 0.10) !important;
  border: 1px solid rgba(74, 222, 128, 0.45) !important;
  border-radius: var(--dd-radius);
  padding: 20px 24px !important;
  color: #f4f0e7 !important;
  font-size: 1.05rem;
  line-height: 1.55;
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.06);
}
body.page-id-9121 .wpforms-confirmation-container *,
body.page-id-9121 .wpforms-confirmation-container-full *,
body.postid-10665 .wpforms-confirmation-container *,
body.postid-10665 .wpforms-confirmation-container-full * {
  color: #f4f0e7 !important;
}

/* ===================================================================
   SPECIFICITY OVERRIDES — Bridge theme is winning fights on a, h2, p
   Need scoped !important rules to take back control on rebuilt pages.
   =================================================================== */

/* Disable Bridge's accent color on links inside our sections */
body.page-id-9476 .dd-section a,
body.page-id-13 .dd-section a,
body.page-id-9622 .dd-section a,
body.page-id-9476 .dd-section a:visited,
body.page-id-13 .dd-section a:visited,
body.page-id-9622 .dd-section a:visited {
  color: inherit;
}
body.page-id-9476 .dd-section .dd-link-cta,
body.page-id-13 .dd-section .dd-link-cta,
body.page-id-9622 .dd-section .dd-link-cta,
body.page-id-9476 .dd-section .dd-link-cta:visited {
  color: var(--dd-ink) !important;
}
body.page-id-9476 .dd-section .dd-link-cta:hover {
  color: var(--dd-warm-red) !important;
}

/* Disable Bridge's uppercase + accent on our headings */
body.page-id-9476 .dd-section h1,
body.page-id-9476 .dd-section h2,
body.page-id-9476 .dd-section h3,
body.page-id-9476 .dd-section h4,
body.page-id-13 .dd-section h1,
body.page-id-13 .dd-section h2,
body.page-id-13 .dd-section h3,
body.page-id-13 .dd-section h4,
body.page-id-9622 .dd-section h1,
body.page-id-9622 .dd-section h2,
body.page-id-9622 .dd-section h3,
body.page-id-9622 .dd-section h4,
body.page-id-9476 .dd-hero5 h1,
body.page-id-9476 .dd-hero5 h2 {
  text-transform: none !important;
  color: var(--dd-ink) !important;
  font-family: 'Raleway', sans-serif !important;
}

/* Hero text stays white (not ink) */
body.page-id-9476 .dd-hero5 h1,
body.page-id-9476 .dd-hero5 .dd-hero5__eyebrow {
  color: #fff !important;
}

/* Cover band heading — Bridge defaults H2 to uppercase; we want sentence case */
body.page-id-9476 .dd-cover-band h2,
body.page-id-9476 .dd-cover-band__title,
body.page-id-13   .dd-cover-band h2,
body.page-id-9622 .dd-cover-band h2 {
  text-transform: none !important;
  color: #fff !important;
  font-family: 'Raleway', sans-serif !important;
  letter-spacing: -0.015em !important;
}

/* Cover-block titles stay white */
body.page-id-13 .wp-block-cover h1,
body.page-id-13 .wp-block-cover h2,
body.page-id-13 .wp-block-cover p,
body.page-id-9622 .wp-block-cover h1,
body.page-id-9622 .wp-block-cover h2,
body.page-id-9622 .wp-block-cover p {
  color: #fff !important;
}

/* Lede paragraph + about pull stay dark */
body.page-id-9476 .dd-lede,
body.page-id-9476 .dd-about-pull,
body.page-id-13 .dd-about-pull {
  color: var(--dd-ink) !important;
}

/* Eyebrow stays muted */
body.page-id-9476 .dd-eyebrow,
body.page-id-13 .dd-eyebrow,
body.page-id-9622 .dd-eyebrow {
  color: var(--dd-muted) !important;
}

/* Practice + service body text stays muted */
body.page-id-9476 .dd-practice p,
body.page-id-9476 .dd-section__lede,
body.page-id-9476 .dd-feature__caption,
body.page-id-9476 .dd-work-tile__desc,
body.page-id-9476 .dd-work-tile__kicker {
  color: var(--dd-muted) !important;
}

/* CTA section text stays light on dark */
body.page-id-9476 .dd-section--cta h2,
body.page-id-9476 .dd-section--cta p,
body.page-id-13 .dd-section--cta h2,
body.page-id-13 .dd-section--cta p,
body.page-id-9622 .dd-section--cta h2,
body.page-id-9622 .dd-section--cta p {
  color: var(--dd-paper) !important;
}
body.page-id-9476 .dd-section--cta p,
body.page-id-13 .dd-section--cta p,
body.page-id-9622 .dd-section--cta p {
  color: rgba(255,255,255,0.78) !important;
}

/* Index list — text-link rows stay dark */
body.page-id-9476 .dd-index__list a,
body.page-id-9476 .dd-index__list a:visited {
  color: var(--dd-ink) !important;
}
body.page-id-9476 .dd-index__list a:hover {
  color: var(--dd-warm-red) !important;
}
body.page-id-9476 .dd-idx-yr {
  color: var(--dd-muted) !important;
}

/* ===================================================================
   v6 additions — Recent work 3-up + Offerings list
   =================================================================== */
.dd-section--feature { padding: 100px 24px 60px; }

/* Prototype 2026-05-23: Recent Work full-bleed treatment on homepage.
   Use position:relative + viewport-anchored left/right offsets so the
   section spans the full viewport regardless of Bridge wrapper offsets.
   Inner stays max-1680 and centered with auto margins. */
body.page-id-9476 .dd-section--feature {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 100px max(40px, 5vw) 60px;
  overflow-x: hidden;
  box-sizing: border-box;
}
body.page-id-9476 .dd-section--feature .dd-section__inner {
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
body.page-id-9476 .dd-feature3 {
  gap: 56px;
}

/* Portfolio (page-id-9622) — full-bleed every band + the wp:cover hero.
   Same breakout pattern as the homepage Recent Work, applied across all
   .dd-section blocks AND the WordPress cover hero at the top. */
body.page-id-9622 .dd-section,
body.page-id-9622 .wp-block-cover.alignfull {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: max(40px, 5vw);
  padding-right: max(40px, 5vw);
  overflow-x: hidden;
  box-sizing: border-box;
}
body.page-id-9622 .dd-section .dd-section__inner {
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
body.page-id-9622 .dd-portfolio-grid {
  gap: 56px;
}

.dd-feature3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 40px;
}
.dd-feature3__tile {
  display: block;
  text-decoration: none !important;
  color: inherit;
  transition: transform 350ms var(--dd-ease);
}
.dd-feature3__tile:hover { transform: translateY(-4px); }
.dd-feature3__media {
  overflow: hidden;
  border-radius: var(--dd-radius);
  margin-bottom: 24px;
  background: var(--dd-cream-deep);
}
.dd-feature3__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--dd-ease);
}
.dd-feature3__tile:hover .dd-feature3__media img { transform: scale(1.05); }
.dd-feature3__kicker {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dd-muted) !important;
  margin: 0 0 8px;
}
body.page-id-9476 .dd-feature3__title {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--dd-ink) !important;
}
.dd-feature3__desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--dd-muted) !important;
  margin: 0;
}

/* Index section — single column when no feature col */
.dd-index__col--list { width: 100%; max-width: 740px; }

/* Offerings section */
.dd-section--offerings {
  background: var(--dd-cream);
  padding: 120px 24px;
}
.dd-offerings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 80px;
  margin-top: 56px;
}
.dd-offering {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.dd-offering__num {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dd-warm-red);
  letter-spacing: 0.15em;
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
  flex: 0 0 auto;
}
.dd-offering__body { flex: 1 1 auto; }
body.page-id-9476 .dd-offering__body h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 14px;
  color: var(--dd-ink) !important;
  letter-spacing: -0.005em;
}
.dd-offering__body p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--dd-muted) !important;
  margin: 0 0 14px;
}
.dd-offering__example {
  margin-top: 16px !important;
}
body.page-id-9476 .dd-offering__example a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dd-ink) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--dd-line);
  padding-bottom: 4px;
  transition: color 200ms ease, border-color 200ms ease;
}
body.page-id-9476 .dd-offering__example a:hover {
  color: var(--dd-warm-red) !important;
  border-color: var(--dd-warm-red);
}

@media (max-width: 1024px) {
  .dd-feature3 { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .dd-offerings { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .dd-feature3 { grid-template-columns: 1fr; gap: 32px; }
}

/* ===================================================================
   Lightbox (vanilla JS in scripts.js, markup injected at runtime)
   =================================================================== */
.dd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.dd-lightbox.is-open { display: flex; }
.dd-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
  animation: dd-lb-fade 250ms var(--dd-ease) both;
}
.dd-lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.dd-lightbox__close:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
  transform: scale(1.05);
}
.dd-lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: dd-lb-pop 350ms var(--dd-ease) both;
}
.dd-lightbox__img,
.dd-lightbox__video {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.dd-lightbox__video { background: #000; width: auto; }
.dd-lightbox__iframe {
  display: block;
  width: min(92vw, 1280px);
  aspect-ratio: 16/9;
  max-height: 78vh;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  background: #000;
  border: 0;
}
.dd-lightbox__thumb--video { position: relative; }
.dd-lightbox__playicon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  background: rgba(0,0,0,0.35);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  pointer-events: none;
}
.dd-lightbox__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-align: center;
  max-width: 600px;
  padding: 0 20px;
}
.dd-lightbox__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
}
.dd-lightbox__sub {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  line-height: 1.5;
}
.dd-lightbox__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding: 4px 0;
  transition: color 200ms ease, border-color 200ms ease, gap 200ms var(--dd-ease);
}
.dd-lightbox__link:hover {
  color: #fff !important;
  border-color: #fff;
  gap: 12px;
}

@keyframes dd-lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes dd-lb-pop {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

/* Tiles with data-lightbox get the cursor cue */
[data-lightbox] {
  cursor: zoom-in;
}
[data-lightbox] [data-no-lightbox] {
  cursor: pointer;
}

/* ===================================================================
   Lightbox gallery additions: prev/next arrows + thumbnail strip + counter
   =================================================================== */
.dd-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.dd-lightbox.has-gallery .dd-lightbox__nav { display: flex; }
.dd-lightbox__nav:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.05);
}
.dd-lightbox__nav--prev { left: 24px; }
.dd-lightbox__nav--next { right: 24px; }

/* Thumbnail strip — only when gallery */
.dd-lightbox__thumbs {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 8px;
  max-width: 92vw;
  overflow-x: auto;
  padding: 8px;
  z-index: 2;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.dd-lightbox.has-gallery .dd-lightbox__thumbs { display: flex; }
.dd-lightbox__thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.dd-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.dd-lightbox__thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.dd-lightbox__thumb.is-active {
  opacity: 1;
  border-color: rgba(255,255,255,0.85);
}

.dd-lightbox__counter {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.dd-lightbox__counter:empty { display: none; }

/* When gallery is open, lift figure to make room for the thumb strip */
.dd-lightbox.has-gallery .dd-lightbox__figure {
  margin-bottom: 56px;
}
.dd-lightbox.has-gallery .dd-lightbox__img {
  max-height: 70vh;
}

@media (max-width: 600px) {
  .dd-lightbox__nav { width: 44px; height: 44px; font-size: 1.5rem; }
  .dd-lightbox__nav--prev { left: 8px; }
  .dd-lightbox__nav--next { right: 8px; }
  .dd-lightbox__thumb { width: 48px; height: 36px; }
}

/* ===================================================================
   Portfolio page (9622) section scaffolding for v3
   =================================================================== */
body.page-id-9622 .dd-section--cat {
  padding: 80px 24px 60px;
  background: var(--dd-paper);
}
body.page-id-9622 .dd-section--cat-alt {
  background: var(--dd-cream);
}
body.page-id-9622 .dd-cat-lede {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dd-muted) !important;
  margin: 16px 0 40px;
  max-width: 720px;
}
body.page-id-9622 .dd-portfolio-grid {
  margin-top: 0;
}
body.page-id-9622 .dd-portfolio-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dd-ink) !important;
  margin: 14px 0 4px;
  text-transform: none !important;
}
body.page-id-9622 .dd-portfolio-card .kicker {
  color: var(--dd-muted) !important;
}
body.page-id-9622 .dd-section a:visited {
  color: inherit;
}

/* Image-count badge on portfolio cards */
.dd-card-meta {
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* Forthcoming Reveals section — discreet teasers, no client images */
body.page-id-9622 .dd-section--forthcoming .dd-portfolio-grid {
  grid-template-columns: repeat(4, 1fr);
}
.dd-forthcoming-card {
  display: flex;
  flex-direction: column;
}
.dd-forthcoming-card__placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #2a2a2a 0%, #444 50%, #2a2a2a 100%);
  background-size: 200% 200%;
  border-radius: var(--dd-radius);
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: dd-fc-shimmer 6s ease-in-out infinite;
}
@keyframes dd-fc-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.dd-forthcoming-card__placeholder::after {
  content: '';
  position: absolute;
  inset: 1px;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 3px;
  pointer-events: none;
}
.dd-forthcoming-card__tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
}
body.page-id-9622 .dd-forthcoming-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dd-ink) !important;
  margin: 14px 0 4px;
  text-transform: none !important;
}
body.page-id-9622 .dd-forthcoming-card .kicker {
  color: var(--dd-muted) !important;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}

@media (max-width: 1024px) {
  body.page-id-9622 .dd-section--forthcoming .dd-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  body.page-id-9622 .dd-section--forthcoming .dd-portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   Reusable design tokens
   =================================================================== */

/* Eyebrow label */
.dd-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dd-muted);
  margin: 0 0 16px;
  display: inline-block;
}
.dd-eyebrow--accent {
  position: relative;
  padding-left: 36px;
}
.dd-eyebrow--accent::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--dd-warm-red);
  transform: translateY(-50%);
}
.dd-hero-clean .dd-eyebrow {
  color: rgba(255,255,255,0.85);
}

/* Section scaffolding */
.dd-section {
  padding: 120px 24px;
  background: var(--dd-paper);
}
.dd-section--work { background: var(--dd-paper); }
.dd-section--services { background: var(--dd-cream); }
.dd-section--about { background: var(--dd-paper); }
.dd-section--cta {
  background: var(--dd-ink);
  color: var(--dd-paper);
  text-align: center;
  padding: 100px 24px;
}
.dd-section__inner {
  max-width: 1180px;
  margin: 0 auto;
}
.dd-section__inner--narrow {
  max-width: 740px;
}
.dd-section__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.dd-section__lede {
  font-size: 1.05rem;
  color: var(--dd-muted);
  max-width: 580px;
  margin: 0 0 64px;
  line-height: 1.65;
}
.dd-section__cta {
  margin-top: 48px;
}
.dd-section__cta--inline { margin-top: 28px; }

/* Link CTA — minimal text-arrow */
.dd-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dd-ink);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--dd-ink);
  transition: gap 250ms var(--dd-ease), color 200ms ease, border-color 200ms ease;
}
.dd-link-cta:hover {
  color: var(--dd-warm-red);
  border-bottom-color: var(--dd-warm-red);
  gap: 14px;
}
.dd-link-cta span { transition: transform 250ms var(--dd-ease); display: inline-block; }
.dd-link-cta:hover span { transform: translateX(3px); }

/* Solid button (used in CTA sections) */
.dd-button {
  display: inline-block;
  padding: 18px 38px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--dd-radius);
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.dd-button--primary {
  background: var(--dd-warm-red);
  color: var(--dd-paper) !important;
  box-shadow: var(--dd-shadow-sm);
}
.dd-button--primary:hover {
  background: var(--dd-warm-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--dd-shadow-md);
}

/* ===================================================================
   v5 Hero — contemplative video, quiet text bottom-left
   =================================================================== */
.dd-hero5 {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 100vh;
  height: 100svh; /* small viewport height — avoids mobile URL bar gap */
  min-height: 600px;
  overflow: hidden;
  background: var(--dd-ink);
  z-index: 0;
}
.dd-hero5__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dd-hero5__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
}
.dd-hero5__content {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0 6vw 8vh;
  max-width: 900px;
  color: #fff;
  animation: dd-hero-fade 1400ms var(--dd-ease) both;
}
.dd-hero5__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0 0 24px;
}
.dd-hero5__title {
  font-size: clamp(2.6rem, 6.5vw, 5.8rem);
  font-weight: 200;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #fff !important;
  margin: 0 0 28px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.dd-hero5__title--large {
  font-size: clamp(3.2rem, 8.5vw, 7.4rem);
  font-weight: 200;
  letter-spacing: -0.03em;
}
.dd-hero5__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 400;
  line-height: 1.55;
  color: #ffffff !important;
  max-width: 620px;
  margin: 0;
  /* Layered shadow for readability over varying hero video brightness */
  text-shadow:
    0 1px 2px rgba(0,0,0,0.85),
    0 2px 16px rgba(0,0,0,0.65),
    0 0 32px rgba(0,0,0,0.45);
}
/* Add a soft dark gradient strip behind the hero text content for legibility */
.dd-hero5__content::before {
  content: '';
  position: absolute;
  inset: -40px -8vw -8vh -8vw;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
  z-index: -1;
  pointer-events: none;
}
.dd-hero5__content { z-index: 1; }

/* ===================================================================
   Hero Deck — 8-slide capability story (replaces single-video hero)
   Restores the original site's storyline: Art → Environment Art →
   Reality Capture → Design → Fabrication → Technology → Ideas → Contact
   =================================================================== */
.dd-hero-deck {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
  z-index: 0;
}
.dd-hero-deck__stage {
  position: absolute;
  inset: 0;
}
.dd-hero-deck__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms var(--dd-ease);
  pointer-events: none;
}
.dd-hero-deck__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.dd-hero-deck__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Slow ken-burns zoom + drift while the slide is active. Different
     direction per slide for variety (assigned via :nth-child below). */
  transform-origin: center center;
}
/* Ken-burns only on the Design slide. Other slides are videos with
   their own motion (or the compare component which needs a stable
   frame), so the slow zoom would be redundant or undesirable there.
   Starts cropped (scale 1.08) with the image biased upward so the top
   ~3-5% is out of frame — hides any source-screencap UI chrome. */
.dd-hero-deck__slide[data-pillar="design"].is-active .dd-hero-deck__bg {
  animation: dd-kenburns-design 12s linear forwards;
}
@keyframes dd-kenburns-design {
  from { transform: scale(1.08) translate(0%, -3%); }
  to   { transform: scale(1.18) translate(-1%, -4%); }
}
/* Honor reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dd-hero-deck__slide .dd-hero-deck__bg {
    animation: none !important;
  }
}

/* === Image Compare slider (Reality Capture slide) === */
.dd-compare {
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
}
.dd-compare.is-deadzone {
  cursor: default;             /* outer 15% on each side: hand off to nav arrows */
}
.dd-compare__under,
.dd-compare__over {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.dd-compare__over-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  will-change: width;
}
/* Counter-stretch the over image so it doesn't compress as wrap shrinks */
.dd-compare__over-wrap .dd-compare__over {
  width: 100vw;
  max-width: none;
}
.dd-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.85);
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
  will-change: left;
}
.dd-compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  letter-spacing: -0.05em;
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  transition: transform 200ms var(--dd-ease), background 200ms var(--dd-ease);
}
.dd-compare.is-dragging .dd-compare__handle {
  transform: translate(-50%, -50%) scale(0.92);
  background: rgba(0,0,0,0.75);
}
.dd-compare__hint {
  font-style: italic;
  opacity: 0.8;
}

/* === Mesh trail canvas (Design slide) === */
.dd-mesh-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}
.dd-hero-deck__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;       /* let interactive bg components receive clicks */
  background:
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.65) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 55%);
}
.dd-hero-deck__copy {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0 6vw 12vh;
  max-width: 920px;
  color: #fff;
  z-index: 3;
}
.dd-hero-deck__slide.is-active .dd-hero-deck__copy {
  animation: dd-deck-rise 900ms var(--dd-ease) both;
}
@keyframes dd-deck-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dd-hero-deck__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin: 0 0 22px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}
body.page-id-9476 .dd-hero-deck__pillar {
  font-family: 'Raleway', sans-serif !important;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff !important;
  text-transform: none !important;
  margin: 0 0 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.dd-hero-deck__sub {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff !important;
  margin: 0;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.85),
    0 2px 16px rgba(0,0,0,0.6);
}
.dd-hero-deck__cta {
  display: inline-block;
  margin: 0 14px 10px 0;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.5);
  transition: background 220ms var(--dd-ease), border-color 220ms var(--dd-ease);
}
.dd-hero-deck__cta:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.dd-hero-deck__cta--primary {
  background: var(--dd-warm-red);
  border-color: var(--dd-warm-red);
}
.dd-hero-deck__cta--primary:hover {
  background: var(--dd-warm-red-hover);
  border-color: var(--dd-warm-red-hover);
}
.dd-hero-deck__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 220ms var(--dd-ease), background 220ms var(--dd-ease);
}
.dd-hero-deck:hover .dd-hero-deck__nav { opacity: 0.85; }
.dd-hero-deck__nav:hover { background: rgba(0,0,0,0.6); opacity: 1; }
.dd-hero-deck__nav--prev { left: 24px; }
.dd-hero-deck__nav--next { right: 24px; }
.dd-hero-deck__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}
.dd-hero-deck__dot {
  width: 36px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: background 220ms var(--dd-ease);
}
.dd-hero-deck__dot:hover { background: rgba(255,255,255,0.55); }
.dd-hero-deck__dot.is-active { background: rgba(255,255,255,0.95); }
@media (max-width: 768px) {
  .dd-hero-deck__copy { padding: 0 6vw 14vh; }
  .dd-hero-deck__nav { display: none; }
  .dd-hero-deck__dot { width: 24px; }
}

/* ===================================================================
   Cover band — full-bleed image with overlay text, used between sections
   to give a cinematic visual break
   =================================================================== */
.dd-cover-band {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  background: var(--dd-ink);
}
.dd-cover-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.dd-cover-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.0) 100%);
}
.dd-cover-band__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
  max-width: 760px;
  color: #fff;
}
.dd-cover-band__eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0 0 18px;
}
.dd-cover-band__title {
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff !important;
  margin: 0 0 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}
.dd-cover-band__sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.95) !important;
  margin: 0;
  max-width: 580px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.65);
}
@media (max-width: 768px) {
  .dd-cover-band { height: 60vh; min-height: 420px; }
  .dd-cover-band__overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
  }
}

/* Recent-work tile descriptions: bump readability */
.dd-feature3__desc {
  font-size: 1rem !important;
  color: var(--dd-text) !important;
}

/* Lede section — pull quote in confident type, narrow column */
.dd-section--lede {
  padding: 100px 24px 60px;
}
.dd-lede {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--dd-ink);
  margin: 0;
  letter-spacing: -0.005em;
}

/* ===================================================================
   Index section — BRAVE-style text-link list + single feature image
   =================================================================== */
.dd-section--index {
  padding: 80px 24px 100px;
}
.dd-index {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.dd-index__col h2,
.dd-index__col p { margin-top: 0; }

.dd-index__list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--dd-line);
}
.dd-index__list li { margin: 0; }
.dd-index__list a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  text-decoration: none;
  color: var(--dd-ink);
  border-bottom: 1px solid var(--dd-line);
  transition: padding-left 250ms var(--dd-ease), color 200ms ease;
}
.dd-index__list a:hover {
  padding-left: 14px;
  color: var(--dd-warm-red);
}
.dd-idx-name {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
}
.dd-idx-yr {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--dd-muted);
  font-variant-numeric: tabular-nums;
}

/* Feature column — one large image as anchor for the list */
.dd-feature {
  display: block;
  text-decoration: none !important;
  color: inherit;
}
.dd-feature__media {
  overflow: hidden;
  border-radius: var(--dd-radius);
  background: var(--dd-cream-deep);
}
.dd-feature__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 800ms var(--dd-ease);
}
.dd-feature:hover .dd-feature__media img { transform: scale(1.04); }
.dd-feature__caption {
  font-size: 0.92rem;
  color: var(--dd-muted);
  margin: 18px 0 0;
  line-height: 1.5;
}
.dd-feature__caption span {
  font-weight: 600;
  color: var(--dd-ink);
}

/* ===================================================================
   Practice (3 brief paragraphs, no cards/borders/numbers)
   =================================================================== */
.dd-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 48px;
}
.dd-practice h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--dd-ink);
  letter-spacing: 0;
}
.dd-practice p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--dd-muted);
  margin: 0;
}

/* ===================================================================
   Old hero (keep but unused now)
   =================================================================== */
.dd-hero-clean {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--dd-ink);
  z-index: 0;
}
.dd-hero-clean__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  animation: dd-hero-zoom 18s ease-out forwards;
}
@keyframes dd-hero-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}
.dd-hero-clean__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.20) 50%, rgba(0,0,0,0) 100%);
}
.dd-hero-clean__content {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0 6vw 12vh;
  max-width: 800px;
  color: #fff;
  animation: dd-hero-fade 1100ms var(--dd-ease) both;
}
@keyframes dd-hero-fade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dd-hero-clean__title {
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: #fff !important;
  margin: 0 0 28px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.dd-hero-clean__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  max-width: 620px;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
/* Scroll cue */
.dd-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.dd-scroll-cue span {
  width: 2px;
  height: 8px;
  background: rgba(255,255,255,0.85);
  border-radius: 1px;
  animation: dd-scroll-cue 1800ms ease-in-out infinite;
}
@keyframes dd-scroll-cue {
  0%   { transform: translateY(0);   opacity: 0; }
  20%  { opacity: 1; }
  80%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ===================================================================
   Recent work grid (3-up large tiles)
   =================================================================== */
.dd-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.dd-work-tile {
  display: block;
  text-decoration: none !important;
  color: inherit;
  transition: transform 350ms var(--dd-ease);
}
.dd-work-tile:hover { transform: translateY(-4px); }
.dd-work-tile__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--dd-radius);
  margin-bottom: 24px;
  background: var(--dd-cream-deep);
}
.dd-work-tile__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--dd-ease), filter 350ms ease;
}
.dd-work-tile:hover .dd-work-tile__media img {
  transform: scale(1.05);
}
.dd-work-tile__kicker {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dd-muted);
  margin: 0 0 8px;
}
.dd-work-tile__title {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--dd-ink);
}
.dd-work-tile__desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--dd-muted);
  margin: 0;
}

/* ===================================================================
   Services list — numbered, restrained
   =================================================================== */
.dd-services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 64px;
  margin-top: 48px;
}
.dd-service {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.dd-service__num {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dd-warm-red);
  letter-spacing: 0.15em;
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
  flex: 0 0 auto;
}
.dd-service__body h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--dd-ink);
}
.dd-service__body p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--dd-muted);
  margin: 0;
}

/* ===================================================================
   About snippet
   =================================================================== */
.dd-about-pull {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--dd-ink);
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}
.dd-about-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dd-muted);
  margin: 0;
}

/* ===================================================================
   Closing CTA section (dark)
   =================================================================== */
.dd-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--dd-paper);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.dd-cta-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0 0 36px;
}

/* ===================================================================
   Portfolio (page 9622) — keep clean, reuse work-grid pattern
   =================================================================== */
.dd-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 24px;
}
/* Featured middle-band tiles span 2 of the 4 columns -> produces a 4 / 2 / 4
   rhythm when applied to the 5th and 6th tiles in a 10-tile section. */
.dd-portfolio-card--feature {
  grid-column: span 2;
}
/* Three-up variant — used on sections with exactly 3 tiles (e.g. Ski Cinema). */
.dd-portfolio-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
/* Six-col variant — supports 3-2-3 layouts. Default cards span 2 of 6 (=3/row),
   featured cards span 3 of 6 (=2/row). Used on Festival & Burning Man section. */
.dd-portfolio-grid--6 {
  grid-template-columns: repeat(6, 1fr);
}
.dd-portfolio-grid--6 .dd-portfolio-card {
  grid-column: span 2;
}
.dd-portfolio-grid--6 .dd-portfolio-card--feature {
  grid-column: span 3;
}
.dd-portfolio-card {
  display: block;
  position: relative;
  text-decoration: none !important;
  color: inherit;
  transition: transform 300ms var(--dd-ease);
}
.dd-card-video-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  background: rgba(0,0,0,0.55);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.dd-portfolio-card:hover { transform: translateY(-3px); }
.dd-portfolio-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: var(--dd-radius);
  margin-bottom: 14px;
  transition: transform 600ms var(--dd-ease);
}
.dd-portfolio-card:hover img { transform: scale(1.03); }
.dd-portfolio-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--dd-ink);
}
.dd-portfolio-card .kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dd-muted);
  margin: 0;
}
.dd-portfolio-card .dd-card-note {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--dd-muted);
  opacity: 0.62;
  margin: 4px 0 0;
  line-height: 1.5;
}

/* Cover block headings (used in /about/, /portfolio/ heroes) */
.wp-block-cover h1, .wp-block-cover h2 {
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1024px) {
  .dd-work-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .dd-services-list { grid-template-columns: 1fr; gap: 40px; }
  .dd-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .dd-portfolio-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .dd-portfolio-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .dd-portfolio-grid--6 .dd-portfolio-card,
  .dd-portfolio-grid--6 .dd-portfolio-card--feature { grid-column: span 1; }
  .dd-portfolio-card--feature { grid-column: span 2; } /* span both = full width on 2-col */
  .dd-section { padding: 90px 24px; }
}
@media (max-width: 760px) {
  .dd-portfolio-grid,
  .dd-portfolio-grid--3,
  .dd-portfolio-grid--6 { grid-template-columns: 1fr !important; gap: 32px !important; }
  .dd-portfolio-card,
  .dd-portfolio-card--feature,
  .dd-portfolio-grid--6 .dd-portfolio-card,
  .dd-portfolio-grid--6 .dd-portfolio-card--feature { grid-column: span 1 !important; }
}
@media (max-width: 600px) {
  .dd-work-grid { grid-template-columns: 1fr; gap: 32px; }
  .dd-section { padding: 64px 20px; }
  .dd-hero-clean { height: 88vh; min-height: 520px; }
  .dd-hero-clean__content { padding: 0 6vw 14vh; }
  .dd-hero-clean__title { font-size: 2.4rem; }
  .dd-section__lede { margin-bottom: 40px; }
}

/* ===================================================================
   v0.6.3 — 2026-05-13 review-pass overrides
   ===================================================================
   Tightens nav, lightens hero overlay, hides redundant dot indicator,
   aligns hero slide images to top, applies dark cinematic mode to
   blog index + single posts + consult page.
   These are appended overrides — earlier rules above still apply except
   where these win on specificity. */

/* --- Nav: drop from 80px to 64px (Grant: "too tall, too much black space") --- */
header.page_header,
header.scroll_header_top_area,
header.page_header .header_inner,
header.page_header .header_top_bottom_holder,
header.page_header .header_bottom,
header.page_header .header_bottom .container,
header.page_header .header_bottom .container_inner {
  min-height: 64px !important;
  height: 64px !important;
}
body.dd-logo-test header.page_header .q_logo {
  height: 64px !important;
}
body.dd-logo-test header.page_header .q_logo a {
  transform: translateY(-9px);     /* re-center against shorter nav */
}

/* --- Hero deck: shade removed entirely (Grant 2026-05-22: confirmed it was
   adding a grey wash even after the prior lightening). Text legibility now
   carried by a per-element text-shadow halo instead — image stays untouched. */
.dd-hero-deck__shade {
  background: none !important;
}
.dd-hero-deck__eyebrow,
.dd-hero-deck__pillar,
.dd-hero-deck__sub,
body.page-id-9476 .dd-hero-deck__pillar {
  text-shadow:
    0 2px 12px rgba(0,0,0,0.65),
    0 0 24px rgba(0,0,0,0.45);
}

/* --- Hero slide images: align to top so taller images don't waste vertical space --- */
.dd-hero-deck__bg {
  object-position: center top !important;
}

/* --- Hide the bottom dot indicator (Grant: "excess given the side arrows") --- */
.dd-hero-deck__dots {
  display: none !important;
}

/* --- About-page hero cover: same overlay lightening pass --- */
body.page-id-13 .wp-block-cover .wp-block-cover__background.has-background-dim {
  background-color: rgba(0,0,0,0.10) !important;
  background: linear-gradient(180deg,rgba(0,0,0,0.0) 0%,rgba(0,0,0,0.0) 55%,rgba(0,0,0,0.40) 100%) !important;
}

/* --- Blog index + single post: dark cinematic mode --- */
body.blog,
body.archive,
body.single-post {
  --dd-ink: #f3efe8;
  --dd-text: #e8eaee;
  --dd-muted: #a8b0bd;
  --dd-cream: #060912;
  --dd-cream-deep: #0b1220;
  --dd-paper: #0b1220;
  --dd-line: rgba(255,255,255,0.08);
  background: #060912 !important;
  color: #e8eaee !important;
}
body.blog .content,
body.archive .content,
body.single-post .content,
body.blog .container,
body.archive .container,
body.single-post .container,
body.blog .container_inner,
body.archive .container_inner,
body.single-post .container_inner,
body.blog .full_width,
body.archive .full_width,
body.single-post .full_width {
  background: #060912 !important;
  color: #e8eaee !important;
}
body.blog h1, body.blog h2, body.blog h3, body.blog h4,
body.archive h1, body.archive h2, body.archive h3, body.archive h4,
body.single-post h1, body.single-post h2, body.single-post h3, body.single-post h4,
body.single-post .wp-block-heading {
  color: #ffffff !important;
}
body.blog p, body.archive p, body.single-post p,
body.blog li, body.archive li, body.single-post li,
body.blog a:not(.dd-button), body.archive a:not(.dd-button), body.single-post a:not(.dd-button) {
  color: #d4d8df;
}
body.blog a:hover, body.archive a:hover, body.single-post a:hover {
  color: #e07a5f;
}
body.blog .post_text,
body.archive .post_text,
body.single-post .post_text,
body.blog article,
body.archive article,
body.single-post article {
  background: transparent !important;
  color: #e8eaee !important;
}
/* Post-card container backgrounds on blog index — Bridge theme uses
   .post_text + .post_text_inner for the excerpt box, NOT .post. */
body.blog .post_text,
body.archive .post_text,
body.blog .post_text_inner,
body.archive .post_text_inner,
body.blog .post_content_holder,
body.archive .post_content_holder {
  background: transparent !important;
  color: #e8eaee !important;
}
body.blog .post_text,
body.archive .post_text {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none;     /* hero image sits flush above */
}
body.blog .post_text_inner,
body.archive .post_text_inner {
  padding: 28px 32px !important;
}
body.blog .entry_title,
body.archive .entry_title,
body.blog .entry_title a,
body.archive .entry_title a {
  color: #ffffff !important;
}
body.blog .entry_title a:hover,
body.archive .entry_title a:hover {
  color: #e07a5f !important;
}
body.blog .date.entry_date,
body.archive .date.entry_date,
body.blog .post_info,
body.archive .post_info,
body.blog .post_info a,
body.archive .post_info a,
body.blog .post_info .time,
body.archive .post_info .time {
  color: #a8b0bd !important;
}
body.blog .post_info a:hover,
body.archive .post_info a:hover {
  color: #e07a5f !important;
}
body.blog .post_excerpt,
body.archive .post_excerpt {
  color: #d4d8df !important;
}
/* "Read More" button — Bridge's qbutton defaults to light pill. Re-skin
   to match the warm-red accent so it reads on dark. */
body.blog .post_more .qbutton,
body.archive .post_more .qbutton,
body.blog .post_more a.qbutton,
body.archive .post_more a.qbutton {
  background: transparent !important;
  color: #e07a5f !important;
  border: 1px solid #e07a5f !important;
  padding: 8px 18px !important;
  border-radius: 0 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 0.78rem !important;
  transition: background 180ms var(--dd-ease), color 180ms var(--dd-ease);
}
body.blog .post_more .qbutton:hover,
body.archive .post_more .qbutton:hover,
body.blog .post_more a.qbutton:hover,
body.archive .post_more a.qbutton:hover {
  background: #e07a5f !important;
  color: #0b1220 !important;
  border-color: #e07a5f !important;
}
/* Pagination links + tag/category footers at the bottom of the blog index */
body.blog .pagination a,
body.archive .pagination a,
body.blog .pagination span,
body.archive .pagination span,
body.blog .page-nav a,
body.archive .page-nav a,
body.blog .navigation a,
body.archive .navigation a {
  color: #d4d8df !important;
  background: transparent !important;
}
body.blog .pagination a:hover,
body.archive .pagination a:hover {
  color: #e07a5f !important;
}

/* --- Consult page: dark cinematic mode (page slug = 'consult') --- */
body.page-id-9121,
  body.postid-10665,
body.page.page-id-9121 {
  background: #060912 !important;
  color: #e8eaee !important;
}
body.page-id-9121,
  body.postid-10665 .content,
body.page-id-9121,
  body.postid-10665 .container,
body.page-id-9121,
  body.postid-10665 .container_inner,
body.page-id-9121,
  body.postid-10665 .full_width,
body.page-id-9121,
  body.postid-10665 .vc_row,
body.page-id-9121,
  body.postid-10665 article {
  background: #060912 !important;
  color: #e8eaee !important;
}
body.page-id-9121,
  body.postid-10665 h1,
body.page-id-9121,
  body.postid-10665 h2,
body.page-id-9121,
  body.postid-10665 h3,
body.page-id-9121,
  body.postid-10665 h4,
body.page-id-9121,
  body.postid-10665 .wp-block-heading {
  color: #ffffff !important;
}
body.page-id-9121,
  body.postid-10665 p,
body.page-id-9121,
  body.postid-10665 li {
  color: #d4d8df !important;
}
body.page-id-9121,
  body.postid-10665 a:not(.dd-button) {
  color: #e07a5f;
}

/* ===================================================================
   BLOG POST PREVIEW DATES — chronology as evidence
   Story Bible §3 throughline depends on dates being visibly checkable.
   `.dd-post-date` lives in `.post_info` (under the H2 title) per the
   bridge-child/templates/blog_large_image-loop.php override.
   =================================================================== */
.post_info .dd-post-date {
  font-weight: 500;
  letter-spacing: 0.02em;
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: none;
}
.post_info .dd-post-sep {
  margin: 0 0.4em;
  opacity: 0.5;
}
.post_info .dd-post-date a {
  text-decoration: none;
  border-bottom: none;
  color: inherit;
}

/* Mesh-trail canvas (DESIGN hero slide) — purely decorative.
   No pointer/touch interaction; let touches pass through to the page
   so vertical scroll works on mobile. */
.dd-mesh-trail {
  pointer-events: none !important;
  touch-action: none !important;
}

/* Native smooth scroll — covers anchor jumps + accessibility prefs.
   Bridge's qode-smooth-scroll only smooths the legacy nice-scroll handler;
   this gives native scroll-behavior on browsers that support it. */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ===================================================================
   v0.7.1+ — 2026-05-26 mobile header fix
   Refactor mobile layout: dark BG, logo-left, hamburger-right, clean
   flex container that overrides both Bridge's absolute positioning and
   the desktop flex rules above.
   =================================================================== */
@media (max-width: 1000px) {
  header.page_header .header_bottom {
    background-color: #060912 !important;
  }
  header.page_header .header_inner,
  header.page_header .header_top_bottom_holder,
  header.page_header .header_bottom,
  header.page_header .header_bottom .container,
  header.page_header .header_bottom .container_inner {
    height: 64px !important;
    min-height: 64px !important;
  }
  header.page_header .header_bottom .container_inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  header.page_header .header_inner_left {
    position: static !important;
    left: auto !important;
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    gap: 14px !important;
  }
  header.page_header .header_inner_right {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    float: none !important;
  }
  header.page_header .logo_wrapper {
    position: static !important;
    height: 64px !important;
    left: auto !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    order: 2 !important;
  }
  header.page_header .q_logo {
    position: static !important;
    top: auto !important;
    display: flex !important;
    align-items: center !important;
  }
  body.dd-logo-test header.page_header .q_logo {
    height: 64px !important;
  }
  body.dd-logo-test header.page_header .q_logo a {
    transform: none !important;
    left: auto !important;
  }
  /* Hide desktop main nav on mobile — only hamburger + mobile menu */
  header.page_header nav.main_menu {
    display: none !important;
  }
  /* Show the mobile_menu_button (hamburger) — left side, logo to its right */
  header.page_header .mobile_menu_button {
    display: flex !important;
    align-items: center !important;
    height: 64px !important;
    margin: 0 !important;
    float: none !important;
    color: #f4f0e7 !important;
    position: static !important;
    order: 1 !important;
  }
  header.page_header .mobile_menu_button > span,
  header.page_header .mobile_menu_button:before,
  header.page_header .mobile_menu_button:after {
    color: #f4f0e7 !important;
  }
  /* Mobile menu panel (when open) — dock below the header, dark theme */
  header.page_header nav.mobile_menu {
    background-color: #060912 !important;
    position: absolute !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 200 !important;
    float: none !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
  }
  header.page_header nav.mobile_menu > ul {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  header.page_header nav.mobile_menu ul li {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  header.page_header nav.mobile_menu ul li a {
    color: #f4f0e7 !important;
    padding: 16px 24px !important;
    display: block !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }
  header.page_header nav.mobile_menu ul li a:hover,
  header.page_header nav.mobile_menu ul li a:focus,
  header.page_header nav.mobile_menu ul li.current-menu-item > a {
    color: #c8362e !important;
  }
}
