/* Baldwin Pergolas  page-home.css
   Homepage styles (extracted from prototype index.html).
   Loaded after global.css via head.php ( = 'page-home'). */

  :root {
    --stone:    #2a2420;
    --warm:     #1c1714;
    --gold:     #b8966e;
    --gold-lt:  #d4b896;
    --cream:    #f5f0e8;
    --cream-dk: #e8e0d0;
    --muted:    #8a7f72;
    --white:    #ffffff;
    --nav-h:    72px;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    background: var(--cream);
    color: var(--stone);
    overflow-x: hidden;
  }

  /* ?? NAV ?? */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: background 0.4s, box-shadow 0.4s;
  }
  nav.scrolled {
    background: rgba(26,20,16,0.97);
    box-shadow: 0 1px 0 rgba(184,150,110,0.2);
  }
  .nav-logo {
    display: flex; align-items: center; gap: 14px; text-decoration: none;
  }
  .nav-logo img { height: 40px; filter: brightness(0) invert(1); }
  .nav-wordmark {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--white);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.1;
  }
  .nav-wordmark span { display: block; font-size: 10px; letter-spacing: 0.25em; color: var(--gold); font-family: 'Jost', sans-serif; font-weight: 300; margin-top: 2px; }
  .nav-links {
    display: flex; align-items: center; gap: 32px; list-style: none;
  }
  .nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-cta {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    padding: 8px 20px !important;
    letter-spacing: 0.15em !important;
  }
  .nav-cta:hover { background: var(--gold) !important; color: var(--warm) !important; }
  .nav-phone {
    color: var(--gold) !important;
    font-size: 13px !important;
    letter-spacing: 0.1em !important;
  }

  /* Legacy Bluehost header: keep the old navbar from inheriting the prototype nav styles. */
  body.page-home-legacy nav.navbar.navbar-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    min-height: 0;
    display: block;
    align-items: initial;
    justify-content: initial;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
  }
  body.page-home-legacy nav.navbar.navbar-fixed-top.scrolled {
    background: transparent;
    box-shadow: none;
  }
  body.page-home-legacy .header-navigation > ul > li > a:hover,
  body.page-home-legacy .header-navigation > ul > li > a:focus,
  body.page-home-legacy .header-navigation ul > li.open > a,
  body.page-home-legacy .header-navigation ul > li.open > a:hover,
  body.page-home-legacy .header-navigation ul > li.open > a:focus {
    color: var(--gold);
    background: #fcfcfc;
  }
  body.page-home-legacy .header-navigation ul > li.active > a {
    color: var(--gold);
    border-bottom-color: var(--gold);
  }
  body.page-home-legacy .header-navigation .dropdown-menu > li:first-child {
    border-top-color: var(--gold);
  }
  body.page-home-legacy .header-navigation .dropdown-menu li > a:hover,
  body.page-home-legacy .header-navigation .dropdown-menu li > a:focus,
  body.page-home-legacy .header-navigation .dropdown-menu li.active > a {
    background: var(--stone);
    color: var(--cream);
  }

  /* ?? HERO SLIDER ?? */
  .hero {
    position: relative;
    height: calc(100vh - 20px);
    min-height: 820px;
    overflow: hidden;
    background: var(--warm);
  }
  .slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
  }
  .slide.active { opacity: 1; }
  .slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 8s ease;
  }
  .slide.active img { transform: scale(1); }
  .slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
      to right,
      rgba(26,20,14,0.72) 0%,
      rgba(26,20,14,0.3) 60%,
      rgba(26,20,14,0.1) 100%
    );
  }
  .slide-copy {
    position: absolute;
    bottom: 14vh; left: 8vw;
    max-width: 680px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s 0.6s, transform 0.8s 0.6s;
  }
  .slide.active .slide-copy {
    opacity: 1; transform: translateY(0);
  }
  .slide-eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
  }
  .slide-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(46px, 6vw, 82px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .slide-heading em { font-style: italic; color: var(--gold-lt); }
  .slide-sub {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.05em;
    line-height: 1.6;
  }
  .slide-btn {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 32px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 400;
    transition: background 0.25s, color 0.25s;
  }
  .slide-btn:hover { background: var(--gold); color: var(--warm); }

  /* Slider controls */
  .slider-dots {
    position: absolute;
    bottom: 36px; left: 8vw;
    display: flex; gap: 10px;
    z-index: 10;
  }
  .dot {
    width: 28px; height: 2px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
  }
  .dot.active { background: var(--gold); width: 48px; }
  .slider-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 10;
    background: none; border: none;
    cursor: pointer;
    padding: 12px;
    opacity: 0.6;
    transition: opacity 0.2s;
  }
  .slider-arrow:hover { opacity: 1; }
  .slider-arrow svg { width: 32px; height: 32px; stroke: white; fill: none; }
  .slider-prev { left: 24px; }
  .slider-next { right: 24px; }
  .hero-scroll-hint {
    position: absolute;
    bottom: 36px; right: 8vw;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    opacity: 0.5;
  }
  .hero-scroll-hint span {
    font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
    color: white; writing-mode: vertical-rl;
  }
  .scroll-line {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, white, transparent);
    animation: scrollpulse 2s ease-in-out infinite;
  }
  @keyframes scrollpulse {
    0%,100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.15); }
  }

  /* ?? SECTION GLOBALS ?? */
  section { padding: 100px 0; }
  .container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
  .section-label {
    font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 12px; display: block;
  }
  .section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--stone);
  }
  .section-heading em { font-style: italic; color: var(--gold); }

  /* ?? ABOUT ?? */
  .about { background: var(--warm); }
  .about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .about-left .section-heading,
  .about-left .section-label { color: var(--cream); }
  .about-left .section-heading em { color: var(--gold); }
  .about-text {
    color: rgba(245,240,232,0.65);
    font-size: 15px;
    line-height: 1.85;
    margin-top: 28px;
  }
  .about-text strong { color: var(--gold-lt); font-weight: 400; }
  .about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(184,150,110,0.15);
    margin-top: 48px;
  }
  .stat {
    background: var(--warm);
    padding: 28px;
    text-align: center;
  }
  .stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
  }
  .stat-label {
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(245,240,232,0.5); margin-top: 6px;
  }
  .about-right {
    position: relative;
  }
  .about-img-frame {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
  }
  .about-img-frame img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.88) contrast(1.05);
  }
  .about-img-accent {
    position: absolute;
    bottom: -20px; left: -20px;
    width: 60%;
    aspect-ratio: 4/3;
    border: 1px solid var(--gold);
    pointer-events: none;
  }
  .about-quote {
    position: absolute;
    bottom: 32px; right: -20px;
    max-width: 240px;
    background: var(--stone);
    padding: 24px;
    border-left: 2px solid var(--gold);
  }
  .about-quote p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--cream);
    line-height: 1.6;
  }

  /* ?? PRODUCTS ?? */
  .products { background: var(--cream); }
  .products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
  }
  .products-header--stacked {
    align-items: flex-start;
    gap: 32px;
  }
  .products-copy { max-width: 760px; }
  .products-intro {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
  }
  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .product-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    text-decoration: none;
    display: block;
    border: 1px solid rgba(42,36,32,0.08);
    box-shadow: 0 14px 34px rgba(28,23,20,0.09);
  }
  .product-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.5s;
    filter: brightness(0.92);
  }
  .product-card:hover img { transform: scale(1.03); filter: brightness(0.86); }
  .product-info {
    padding: 28px 30px 32px;
    background: var(--white);
  }
  .product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--stone);
    line-height: 1.15;
  }
  .product-desc {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--muted);
  }
  .product-link {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 18px;
    display: block;
    opacity: 1;
  }
  .view-all-btn {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid var(--stone);
    color: var(--stone);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 400;
    transition: background 0.25s, color 0.25s;
    white-space: nowrap;
    align-self: flex-end;
  }
  .view-all-btn:hover { background: var(--stone); color: var(--cream); }

  /* ?? AUDIENCE CALLOUTS ?? */
  .audience { background: #1e1a16; padding: 80px 0; }
  .audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(184,150,110,0.12);
  }
  .audience-card {
    background: #1e1a16;
    padding: 44px 32px;
    text-decoration: none;
    transition: background 0.3s;
    display: block;
  }
  .audience-card:hover { background: #2a241e; }
  .audience-icon {
    width: 32px; height: 32px;
    margin-bottom: 20px;
    opacity: 0.6;
  }
  .audience-card:hover .audience-icon { opacity: 1; }
  .audience-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 12px;
    line-height: 1.2;
  }
  .audience-desc {
    font-size: 13px;
    color: rgba(245,240,232,0.45);
    line-height: 1.7;
  }
  .audience-more {
    display: inline-block;
    margin-top: 20px;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .audience-card:hover .audience-more { opacity: 1; }

  /* ?? CONFIGURATOR STRIP ?? */
  .configurator-strip {
    background: var(--gold);
    padding: 0;
  }
  .config-inner {
    display: flex;
    align-items: stretch;
  }
  .config-text {
    flex: 1;
    padding: 64px 56px;
  }
  .config-text .section-label { color: rgba(26,20,14,0.6); }
  .config-text .section-heading { color: var(--warm); font-size: 36px; }
  .config-text p {
    color: rgba(26,20,14,0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 420px;
  }
  .config-btn {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 32px;
    border: 1px solid var(--warm);
    color: var(--warm);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.25s, color 0.25s;
  }
  .config-btn:hover { background: var(--warm); color: var(--gold); }
  .config-features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    background: rgba(26,20,14,0.12);
    padding: 48px 48px;
    min-width: 300px;
  }
  .config-feat {
    padding: 16px 0;
    border-bottom: 1px solid rgba(26,20,14,0.15);
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .config-feat:first-child { border-top: 1px solid rgba(26,20,14,0.15); }
  .config-feat-dot { width: 6px; height: 6px; background: var(--warm); border-radius: 50%; flex-shrink: 0; opacity: 0.5; }
  .config-feat span { font-size: 13px; color: rgba(26,20,14,0.7); letter-spacing: 0.04em; }

  /* ?? PORTFOLIO WINDOW ?? */
  .portfolio-showcase {
    background: linear-gradient(180deg, var(--cream) 0%, #efe7db 100%);
  }
  .portfolio-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }
  .portfolio-copy { max-width: 980px; }
  .portfolio-text {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--muted);
  }
  .portfolio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    margin-top: 32px;
    align-items: center;
  }
  .portfolio-link {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(42,36,32,0.3);
    transition: color 0.2s, border-color 0.2s;
  }
  .portfolio-link:hover {
    color: var(--gold);
    border-color: var(--gold);
  }
  .portfolio-showcase .container {
    max-width: 1500px;
  }
  .portfolio-window {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }
  .portfolio-frame {
    height: calc(100vh - 150px);
    min-height: 760px;
    max-height: 1040px;
    background: #ddd7ce;
    border: 1px solid rgba(184,150,110,0.22);
    box-shadow: 0 28px 70px rgba(28,23,20,0.12);
    overflow: hidden;
  }
  .portfolio-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #ddd7ce;
  }

  /* CONFIGURATOR + PAVILION SLIDERS */
  .configurator-showcase { background: #efe7db; }
  .configurator-slider,
  .product-slider-block { position: relative; }
  .product-slider-block { margin-top: 64px; }
  .products-subheader { max-width: 820px; margin-bottom: 28px; }
  .products-subheading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--stone);
    margin-top: 10px;
  }
  .configurator-swiper,
  .pavilion-swiper {
    overflow: hidden;
    padding: 4px 0 54px;
  }
  .configurator-swiper .swiper-slide,
  .pavilion-swiper .swiper-slide { height: auto; }
  .configurator-card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    min-height: 380px;
    background: var(--white);
    text-decoration: none;
    border: 1px solid rgba(42,36,32,0.08);
    box-shadow: 0 14px 34px rgba(28,23,20,0.09);
    overflow: hidden;
  }
  .configurator-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #d8d0c3;
    min-height: 380px;
  }
  .configurator-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
  .configurator-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    color: var(--stone);
    line-height: 1.1;
  }
  .configurator-info p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted);
  }
  .configurator-link {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
  }
  .configurator-swiper .swiper-button-prev,
  .configurator-swiper .swiper-button-next,
  .pavilion-swiper .swiper-button-prev,
  .pavilion-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    color: var(--stone);
    opacity: 0.55;
    transition: opacity 0.2s, color 0.2s;
  }
  .configurator-swiper .swiper-button-prev:hover,
  .configurator-swiper .swiper-button-next:hover,
  .pavilion-swiper .swiper-button-prev:hover,
  .pavilion-swiper .swiper-button-next:hover {
    color: var(--gold);
    opacity: 1;
  }
  .configurator-swiper .swiper-button-prev,
  .pavilion-swiper .swiper-button-prev { left: 18px; }
  .configurator-swiper .swiper-button-next,
  .pavilion-swiper .swiper-button-next { right: 18px; }
  .configurator-swiper .swiper-button-prev::after,
  .configurator-swiper .swiper-button-next::after,
  .pavilion-swiper .swiper-button-prev::after,
  .pavilion-swiper .swiper-button-next::after {
    font-size: 24px;
    font-weight: 300;
  }
  .configurator-swiper .swiper-pagination,
  .pavilion-swiper .swiper-pagination {
    bottom: 18px;
  }
  .configurator-swiper .swiper-pagination-bullet,
  .pavilion-swiper .swiper-pagination-bullet {
    width: 24px;
    height: 2px;
    border-radius: 0;
    background: rgba(42,36,32,0.22);
    opacity: 1;
    transition: background 0.3s, width 0.3s;
  }
  .configurator-swiper .swiper-pagination-bullet-active,
  .pavilion-swiper .swiper-pagination-bullet-active {
    width: 42px;
    background: var(--gold);
  }

  /* ?? FACILITY TOUR ?? */
  .tour { background: var(--cream-dk); }
  .tour-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .tour-media {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--stone);
    overflow: hidden;
  }
  .tour-media img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.7;
  }
  .tour-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .play-btn {
    width: 72px; height: 72px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
    background: rgba(26,20,14,0.4);
  }
  .tour-media:hover .play-btn {
    background: var(--gold);
    border-color: var(--gold);
  }
  .play-btn svg { width: 24px; height: 24px; fill: white; margin-left: 4px; }
  .tour-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--gold);
    color: var(--warm);
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 6px 14px;
    font-weight: 500;
  }
  .tour-text .section-heading { margin-top: 12px; }
  .tour-text p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--muted);
    margin-top: 20px;
  }
  .tour-links {
    display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap;
  }
  .tour-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--stone);
    transition: color 0.2s, border-color 0.2s;
  }
  .tour-link:hover { color: var(--gold); border-color: var(--gold); }

  /* ?? CLIENTS ?? */
  .clients { background: var(--warm); padding: 72px 0; }
  .clients-label {
    font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase;
    color: rgba(184,150,110,0.6); text-align: center; margin-bottom: 40px;
  }
  .clients-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
  }
  .client-logo {
    height: 28px;
    filter: brightness(0) invert(1);
    opacity: 0.25;
    transition: opacity 0.3s;
  }
  .client-logo:hover { opacity: 0.7; }

  /* ?? TESTIMONIALS ?? */
  .testimonials { background: var(--cream); overflow: hidden; }
  .testimonials-header { text-align: center; margin-bottom: 48px; }
  .testimonials-header .section-label:empty { display: none; }
  .testi-ticker { overflow: hidden; }
  .testi-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 6px 0 12px;
    animation: bp-ticker 48s linear infinite;
  }
  .testi-ticker:hover .testi-track { animation-play-state: paused; }
  @keyframes bp-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .testi-card {
    width: 460px;
    flex-shrink: 0;
    margin: 0;
    background: rgba(255,255,255,0.88);
    padding: 38px 42px;
    position: relative;
    border: 1px solid rgba(184,150,110,0.18);
    box-shadow: 0 14px 34px rgba(28,23,20,0.08);
  }
  .testi-quote-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    line-height: 0.6;
    color: var(--gold);
    opacity: 0.28;
    position: absolute;
    top: 24px; left: 32px;
    font-weight: 300;
  }
  .testi-text {
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
    padding-top: 42px;
    font-style: italic;
    margin: 0;
  }
  .testi-author {
    margin-top: 22px;
    padding: 18px 0 0;
    border-top: 1px solid var(--cream-dk);
    background: transparent;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone);
  }

  /* ?? RESOURCES (For Professionals) ?? */
  .resources { background: var(--stone); }
  .resources-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
  }
  .resources-left .section-label { color: var(--gold); }
  .resources-left .section-heading { color: var(--cream); }
  .resources-left p {
    color: rgba(245,240,232,0.5);
    font-size: 14px;
    line-height: 1.75;
    margin-top: 20px;
  }
  .resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(184,150,110,0.1);
  }
  .resource-card {
    background: var(--stone);
    padding: 36px;
    text-decoration: none;
    display: block;
    transition: background 0.3s;
    border: 1px solid transparent;
  }
  .resource-card:hover { background: #332c27; border-color: rgba(184,150,110,0.2); }
  .resource-tag {
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    display: block;
  }
  .resource-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--cream);
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .resource-desc {
    font-size: 12px;
    color: rgba(245,240,232,0.4);
    line-height: 1.6;
  }
  .resource-arrow {
    display: inline-block;
    margin-top: 16px;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.5;
    transition: opacity 0.2s;
  }
  .resource-card:hover .resource-arrow { opacity: 1; }

  /* ?? FOOTER ?? */
  footer:not(.testi-author) {
    background: var(--warm);
    border-top: 1px solid rgba(184,150,110,0.15);
    padding: 64px 0 32px;
  }
  .footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
  }
  .footer-brand img { height: 32px; filter: brightness(0) invert(1); opacity: 0.6; }
  .footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 15px;
    color: rgba(245,240,232,0.4);
    margin-top: 16px;
    line-height: 1.6;
    max-width: 280px;
  }
  .footer-contact {
    margin-top: 24px;
    font-size: 13px;
    color: rgba(245,240,232,0.5);
    line-height: 2;
  }
  .footer-contact a { color: var(--gold); text-decoration: none; }
  .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
  }
  .footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(184,150,110,0.35);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }
  .footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--warm);
  }
  .footer-col-title {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
  }
  .footer-links { list-style: none; }
  .footer-links li { margin-bottom: 10px; }
  .footer-links a {
    font-size: 13px;
    color: rgba(245,240,232,0.45);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--cream); }
  .footer-bottom {
    border-top: 1px solid rgba(184,150,110,0.1);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-copy {
    font-size: 11px;
    color: rgba(245,240,232,0.25);
    letter-spacing: 0.05em;
  }
  .footer-made {
    font-size: 11px;
    color: rgba(245,240,232,0.25);
    display: flex; align-items: center; gap: 6px;
  }
  .flag { font-size: 14px; }

  /* ?? SCROLL REVEAL ?? */
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.visible { opacity: 1; transform: none; }

  @media (max-width: 900px) {
    .about-inner, .tour-inner, .resources-inner { grid-template-columns: 1fr; gap: 40px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .product-card:nth-child(1) { grid-column: span 1; grid-row: span 1; }
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-card { width: 320px; padding: 30px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .resources-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .config-inner { flex-direction: column; }
    .clients-row { gap: 28px; }
    .products-header--stacked { flex-direction: column; }
    .portfolio-layout { grid-template-columns: 1fr; }
  }

  /* ???????????????????????????????????????????????
     HOMEPAGE OVERRIDES  Swiper hero + new sections
     (appended after prototype extraction)
     ??????????????????????????????????????????????? */

  /* Fixed transparent nav overlaps the hero  no body offset on home */
  body.page-home { padding-top: 0; }

  /* ?? HERO: Swiper replaces .slide stack ?? */
  .hero-swiper { position: absolute; inset: 0; }
  .hero-swiper .swiper-wrapper { height: 100%; }
  .hero-swiper .swiper-slide { position: relative; overflow: hidden; }
  .hero-swiper .swiper-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 8s ease; /* Ken Burns  style guide motion spec */
  }
  .hero-swiper .swiper-slide-active img { transform: scale(1); }

  /* Copy reveal follows Swiper's active class */
  .hero-swiper .slide-copy {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.8s 0.6s, transform 0.8s 0.6s;
  }
  .hero-swiper .swiper-slide-active .slide-copy {
    opacity: 1; transform: translateY(0);
  }

  /* Pagination  match old .dot language (28?48px gold bar) */
  .hero-swiper .swiper-pagination {
    position: absolute; bottom: 36px; left: 8vw; right: auto;
    width: auto; display: flex; gap: 10px; z-index: 10;
  }
  .hero-swiper .swiper-pagination-bullet {
    width: 28px; height: 2px; border-radius: 0;
    background: rgba(255,255,255,0.3); opacity: 1;
    transition: background 0.3s, width 0.3s; margin: 0;
  }
  .hero-swiper .swiper-pagination-bullet-active {
    background: var(--gold); width: 48px;
  }

  /* Arrows  thin gold chevrons, no Swiper default chrome */
  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    width: 32px; height: 32px; color: var(--white);
    opacity: 0.6; transition: opacity 0.2s;
  }
  .hero-swiper .swiper-button-prev:hover,
  .hero-swiper .swiper-button-next:hover { opacity: 1; }
  .hero-swiper .swiper-button-prev { left: 24px; }
  .hero-swiper .swiper-button-next { right: 24px; }
  .hero-swiper .swiper-button-prev::after,
  .hero-swiper .swiper-button-next::after { font-size: 28px; font-weight: 300; }

  /* ?? THREE FUNNELS ?? */
  .funnels { background: var(--cream); }
  .funnels-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 18px; margin-top: 48px;
  }
  .funnel-card {
    background: var(--white); text-decoration: none;
    display: flex; flex-direction: column;
    transition: transform 0.3s ease;
    border: 1px solid rgba(42,36,32,0.08);
    box-shadow: 0 12px 30px rgba(28,23,20,0.08);
    overflow: hidden;
  }
  .funnel-card:hover { transform: translateY(-4px); }
  .funnel-img { aspect-ratio: 4/3; overflow: hidden; }
  .funnel-img img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.85);
    transition: filter 0.5s, transform 0.7s ease;
  }
  .funnel-card:hover .funnel-img img { filter: brightness(0.65); transform: scale(1.04); }
  .funnel-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
  .funnel-tag {
    font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  }
  .funnel-name {
    font-family: var(--font-display); font-size: 28px; font-weight: 400; color: var(--stone);
  }
  .funnel-body p { font-size: 14px; color: var(--muted); line-height: 1.8; flex: 1; }
  .funnel-more {
    font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); border-bottom: 1px solid rgba(184,150,110,0.35);
    padding-bottom: 2px; align-self: flex-start;
  }

  /* ?? VIDEO PLACEHOLDERS ?? */
  .videos { background: var(--cream-dk); }
  .video-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 48px;
  }
  .video-cell {
    position: relative; margin: 0; aspect-ratio: 16/9; overflow: hidden;
    background: var(--warm);
  }
  .video-cell img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.7); transition: filter 0.5s;
  }
  .video-cell:hover img { filter: brightness(0.55); }
  .video-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 64px; height: 64px; border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(26,20,14,0.4);
  }
  .video-play svg { width: 22px; height: 22px; fill: var(--white); margin-left: 3px; }
  .video-cell figcaption {
    position: absolute; left: 20px; bottom: 16px;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(255,255,255,0.85);
  }

  /* ?? FEATURED PROJECTS ?? */
  .featured { background: var(--cream); }
  .featured-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 48px;
  }
  .featured-card {
    position: relative; aspect-ratio: 3/4; overflow: hidden;
    text-decoration: none; display: block;
  }
  .featured-card img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.8); transition: filter 0.5s, transform 0.7s ease;
  }
  .featured-card:hover img { filter: brightness(0.6); transform: scale(1.05); }
  .featured-info {
    position: absolute; left: 24px; bottom: 24px; right: 24px;
  }
  .featured-tag {
    font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-lt);
    display: block; margin-bottom: 8px;
  }
  .featured-name {
    font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--white);
  }

  @media (max-width: 900px) {
    .funnels-grid, .featured-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .featured-card { aspect-ratio: 4/3; }
    .portfolio-actions { flex-direction: column; align-items: flex-start; }
    .portfolio-frame { height: 78vh; min-height: 620px; max-height: none; }
    .configurator-card { grid-template-columns: 1fr; min-height: 0; }
    .configurator-card img { min-height: 260px; }
    .products-grid { grid-template-columns: 1fr; }
    .hero { min-height: 680px; }
    .slide-copy { left: 24px; right: 24px; bottom: 12vh; max-width: none; }
    .slide-heading { font-size: clamp(38px, 12vw, 54px); }
    .slide-sub { font-size: 15px; }
    .slide-sub br { display: none; }
    .hero-scroll-hint { display: none; }
    .hero-swiper .swiper-button-prev,
    .hero-swiper .swiper-button-next { display: none; }
  }

  /* Legacy mobile nav: force the old header into its collapsed mobile behavior. */
  @media (max-width: 1024px) {
    body.page-home-legacy .header .mobi-toggler { display: block; }
    body.page-home-legacy .header .header-navigation {
      float: none !important;
      display: none !important;
      clear: both;
      margin: 0 -20px 25px;
      font-size: 16px;
    }
    body.page-home-legacy .header.menuOpened .header-navigation,
    body.page-home-legacy .header.bp-mobile-open .header-navigation { display: block !important; }
    body.page-home-legacy .header .header-navigation li > a:hover,
    body.page-home-legacy .header .header-navigation li.active > a,
    body.page-home-legacy .header .header-navigation li.open > a:hover {
      color: var(--gold) !important;
      background: none !important;
    }
  }
