/*
Theme Name: Cutting Edge Kitchen & Bath
Theme URI: https://www.cuttingedgerooms.com
Author: Cutting Edge Kitchen & Bath
Description: Custom one-page theme for Cutting Edge Kitchen & Bath (Naperville, IL). Converted from a static HTML design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cutting-edge
*/

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

  :root {
    --cream: #F9F5EF;
    --warm-white: #FEFCF8;
    --slate: #1C2630;
    --slate-mid: #2E3E4E;
    --gold: #B8843A;
    --gold-light: #D4A45A;
    --gold-pale: #F5EAD8;
    --stone: #8A8070;
    --stone-light: #C5BDB0;
    --border: rgba(184, 132, 58, 0.2);
    --nav-h: 68px;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--slate);
    line-height: 1.7;
    font-size: 16px;
  }

  /* ─── NAV ─────────────────────────────────────── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(28, 38, 48, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    height: var(--nav-h);
    border-bottom: 1px solid rgba(184,132,58,0.3);
    transition: height 0.3s;
  }

  .nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    text-decoration: none;
    z-index: 1001;
  }
  .nav-logo span { color: var(--gold-light); }

  .nav-logo-img {
    height: 48px;
    width: auto;
    display: block;
    background: #fff;
    border-radius: 3px;
    padding: 3px 8px;
    transition: opacity 0.2s;
  }
  .nav-logo-img:hover { opacity: 0.9; }

  @media (max-width: 480px) {
    .nav-logo-img { height: 38px; padding: 2px 6px; }
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold-light); }

  .nav-cta {
    background: var(--gold) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 2px;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    transition: background 0.2s !important;
    white-space: nowrap;
  }
  .nav-cta:hover { background: var(--gold-light) !important; color: var(--slate) !important; }

  /* ─── DROPDOWN ──────────────────────────────────── */
  .nav-dropdown {
    position: relative;
  }
  .nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .nav-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid rgba(255,255,255,0.6);
    border-bottom: 1.5px solid rgba(255,255,255,0.6);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s, border-color 0.2s;
  }
  .nav-dropdown:hover > a::after,
  .nav-dropdown > a:hover::after {
    border-color: var(--gold-light);
    transform: rotate(-135deg) translateY(-2px);
  }
  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 30, 40, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(184,132,58,0.25);
    border-radius: 3px;
    min-width: 180px;
    padding: 0.5rem 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.2s, transform 0.2s;
    z-index: 1002;
  }
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown-menu a {
    display: block;
    padding: 0.65rem 1.25rem;
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase;
    font-weight: 500 !important;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s !important;
  }
  .nav-dropdown-menu a:hover {
    color: var(--gold-light) !important;
    background: rgba(184,132,58,0.08);
  }

  /* ─── MEET THE TEAM ────────────────────────────── */
  .team-section {
    background: var(--warm-white);
  }
  .team-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 900px;
  }
  .team-avatar {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--slate);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .team-avatar-initials {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--gold-light);
    opacity: 0.6;
    user-select: none;
  }
  .team-avatar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(184,132,58,0.15), transparent);
  }
  .team-info { padding-top: 0.5rem; }
  .team-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 0.3rem;
    line-height: 1.2;
  }
  .team-role {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1.5rem;
  }
  .team-divider {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 1.5rem;
  }
  .team-bio {
    color: var(--stone);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.85;
  }

  @media (max-width: 720px) {
    .team-card {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    .team-avatar {
      max-width: 220px;
      aspect-ratio: 1/1;
    }
  }

  /* Hamburger */
  /* ─── HAMBURGER BUTTON ──────────────────────────────── */
  .nav-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    z-index: 1002;
    padding: 0;
    border-radius: 6px;
    transition: background 0.2s, border-color 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .nav-hamburger:hover,
  .nav-hamburger:focus-visible {
    background: rgba(184,132,58,0.18);
    border-color: rgba(184,132,58,0.5);
    outline: none;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1),
                opacity 0.25s ease,
                width 0.25s ease;
    transform-origin: center;
    pointer-events: none;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* ─── MOBILE DRAWER ─────────────────────────────────── */
  .nav-drawer {
    display: block;
    position: fixed;
    top: var(--nav-h);
    right: 1rem;
    left: auto;
    width: 260px;
    background: rgba(14, 23, 32, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(184,132,58,0.25);
    border-radius: 10px;
    padding: 0.85rem;
    max-height: calc(100dvh - var(--nav-h) - 16px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Hidden state */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    z-index: 1001;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  }
  .nav-drawer.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0s;
  }
  .nav-drawer ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0; padding: 0;
  }
  .nav-drawer ul li a {
    display: flex;
    align-items: center;
    padding: 0.9rem 1.1rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-drawer ul li a:hover,
  .nav-drawer ul li a:focus-visible {
    color: var(--gold-light);
    background: rgba(184,132,58,0.15);
    border-color: rgba(184,132,58,0.5);
    transform: translateX(2px);
    outline: none;
  }
  .nav-drawer ul li a.active { color: var(--gold-light); border-color: rgba(184,132,58,0.5); }

  /* ─── DRAWER ACCORDION ──────────────────────────────── */
  .drawer-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .drawer-accordion-toggle:hover,
  .drawer-accordion-toggle:focus-visible {
    color: var(--gold-light);
    background: rgba(184,132,58,0.15);
    border-color: rgba(184,132,58,0.5);
    outline: none;
  }
  .drawer-accordion-toggle::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 1.5px solid rgba(255,255,255,0.6);
    border-bottom: 1.5px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.2s;
    flex-shrink: 0;
  }
  .drawer-accordion-toggle:hover::after,
  .drawer-accordion-toggle:focus-visible::after { border-color: var(--gold-light); }
  .drawer-accordion.open .drawer-accordion-toggle::after { transform: rotate(225deg); }
  .drawer-accordion-panel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease;
    margin-top: 0;
  }
  .drawer-accordion.open .drawer-accordion-panel {
    max-height: 200px;
    opacity: 1;
    margin-top: 8px;
  }
  .drawer-accordion-panel a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.1rem 0.75rem 1.6rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .drawer-accordion-panel a:hover,
  .drawer-accordion-panel a:focus-visible {
    color: var(--gold-light);
    background: rgba(184,132,58,0.15);
    border-color: rgba(184,132,58,0.5);
    outline: none;
  }
  .nav-drawer .drawer-cta {
    display: block;
    margin: 0.5rem 0 0;
    background: var(--gold);
    color: #fff;
    text-align: center;
    padding: 11px 16px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-drawer .drawer-cta:hover,
  .nav-drawer .drawer-cta:focus-visible { background: var(--gold-light); transform: translateY(-1px); outline: none; }

  /* ─── HERO ─────────────────────────────────────── */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--slate);
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 60px) 5vw 80px;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(184,132,58,0.12) 0%, transparent 50%),
      repeating-linear-gradient(
        45deg,
        transparent,
        transparent 60px,
        rgba(184,132,58,0.03) 60px,
        rgba(184,132,58,0.03) 61px
      );
  }

  .hero-accent {
    position: absolute;
    top: 0; right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(160deg, rgba(184,132,58,0.08) 0%, transparent 60%);
    border-left: 1px solid rgba(184,132,58,0.15);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
  }

  .hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
    padding: 6px 14px;
    border: 1px solid rgba(184,132,58,0.4);
    border-radius: 2px;
  }

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1.5rem;
  }
  .hero h1 em { color: var(--gold-light); font-style: normal; }

  .hero-sub {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.6);
    max-width: 520px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.8;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
  }

  .btn-primary {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    padding: 15px 36px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    font-weight: 300;
    white-space: nowrap;
  }
  .btn-ghost:hover { color: var(--gold-light); }
  .btn-ghost svg { width: 18px; height: 18px; flex-shrink: 0; }

  /* ─── HERO CAROUSEL ────────────────────────────── */
  .hero-carousel {
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
  }

  .hero-carousel::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(to right, var(--slate), transparent);
    z-index: 3;
    pointer-events: none;
  }

  .hero-carousel::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to left, var(--slate), transparent);
    z-index: 3;
    pointer-events: none;
  }

  .carousel-track {
    display: flex;
    gap: 12px;
    animation: scrollCarousel 28s linear infinite;
    width: max-content;
    height: 100%;
    align-items: stretch;
    padding: 0 12px;
  }

  .carousel-track:hover { animation-play-state: paused; }

  @keyframes scrollCarousel {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .carousel-slide {
    flex-shrink: 0;
    width: 280px;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
  }

  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }

  .carousel-slide:hover img { transform: scale(1.04); }

  .carousel-slide-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(28,38,48,0.9), transparent);
    color: rgba(255,255,255,0.85);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1.5rem 1rem 0.75rem;
    font-weight: 500;
  }

  @media (max-width: 900px) {
    .hero-carousel { display: none; }
  }

  /* ─── GOLD BAR ──────────────────────────────────── */
  .gold-bar {
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  }

  /* ─── SECTIONS ──────────────────────────────────── */
  section { padding: clamp(60px, 10vw, 100px) 5vw; }

  .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 0.75rem;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--slate);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .section-body {
    color: var(--stone);
    max-width: 560px;
    font-weight: 300;
    font-size: 1.05rem;
  }

  /* ─── SERVICES ──────────────────────────────────── */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5px;
    margin-top: 3rem;
    background: var(--border);
    border: 1.5px solid var(--border);
  }

  .service-card {
    background: var(--slate);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    cursor: pointer;
  }
  /* Always-visible background image */
  .service-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.5s ease;
  }
  .service-card:hover .service-card-img { transform: scale(1.05); }
  /* Permanent dark gradient so text is always readable */
  .service-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(18,28,38,0.72) 0%,
      rgba(18,28,38,0.45) 50%,
      rgba(18,28,38,0.72) 100%
    );
  }
  /* Gold left bar on hover */
  .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--gold);
    transition: height 0.35s;
    z-index: 3;
  }
  .service-card:hover::before { height: 100%; }

  /* All card content sits above the image */
  .service-num,
  .service-icon,
  .service-card h3 {
    position: relative;
    z-index: 2;
  }

  .service-icon {
    width: 52px; height: 52px;
    margin-bottom: 1.25rem;
    display: flex; align-items: center; justify-content: center;
  }
  .service-icon svg { width: 40px; height: 40px; stroke: var(--gold-light); fill: none; stroke-width: 1.5; }

  .service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
  }
  .service-card h3 a { color: #fff; text-decoration: none; }
  .service-card h3 a:hover { color: var(--gold-light); }

  .service-num {
    position: absolute;
    top: 2rem; right: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,0.12);
    line-height: 1;
    user-select: none;
    z-index: 2;
  }

  /* ─── GALLERY ───────────────────────────────────── */
  .gallery-section { background: var(--warm-white); }

  .gallery-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 2.5rem 0 2rem;
    flex-wrap: wrap;
  }
  .gallery-tab {
    padding: 8px 20px;
    border: 1px solid var(--border);
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone);
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s;
    font-weight: 500;
  }
  .gallery-tab:hover { border-color: var(--gold); color: var(--gold); }
  .gallery-tab.active { background: var(--gold); border-color: var(--gold); color: #fff; }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 12px;
  }

  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
    background: var(--stone-light);
  }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 2; }

  .gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
  }
  .gallery-item:hover img { transform: scale(1.06); }

  .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,38,48,0.85) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
  }
  .gallery-item:hover .gallery-overlay { opacity: 1; }

  .gallery-caption { color: #fff; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; }
  .gallery-caption small {
    display: block;
    font-size: 0.75rem;
    color: var(--gold-light);
    font-weight: 300;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  /* ─── LIGHTBOX ──────────────────────────────────── */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10,15,20,0.95);
    align-items: center;
    justify-content: center;
  }
  .lightbox.open { display: flex; }
  .lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 2px;
  }
  .lightbox-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .lightbox-close:hover { background: rgba(255,255,255,0.1); }
  .lightbox-caption {
    position: absolute;
    bottom: 2rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    text-align: center;
    letter-spacing: 0.04em;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  /* ─── POLICY MODAL ──────────────────────────────── */
  .policy-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(10,15,20,0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 5vh 5vw;
    align-items: center;
    justify-content: center;
  }
  .policy-modal.open { display: flex; }
  .policy-panel {
    background: var(--warm-white);
    color: var(--slate);
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    border-radius: 4px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .policy-panel-head {
    position: relative;
    padding: 2rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--cream);
    flex-shrink: 0;
  }
  .policy-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 0.5rem;
  }
  .policy-panel-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--slate);
  }
  .policy-updated {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--stone);
    font-weight: 300;
  }
  .policy-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: none;
    border: 1px solid var(--border);
    color: var(--slate);
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, border-color 0.2s;
  }
  .policy-close:hover { background: var(--gold-pale); border-color: var(--gold); }
  .policy-body {
    padding: 2rem 2.5rem 2.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .policy-body p {
    color: var(--slate-mid);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 1.1rem;
  }
  .policy-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate);
    margin: 2rem 0 0.4rem;
  }
  .policy-body h3:first-child { margin-top: 0; }
  .policy-body h4 {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin: 1.4rem 0 0.6rem;
  }
  .policy-body ul {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 0;
  }
  .policy-body ul li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--slate-mid);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.55rem;
  }
  .policy-body ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.72em;
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
  }
  .policy-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
  .policy-body a:hover { color: var(--gold-light); }
  .policy-body strong { color: var(--slate); font-weight: 500; }
  .policy-divider {
    width: 44px; height: 2px;
    background: var(--gold);
    margin: 0.25rem 0 1.5rem;
  }
  .policy-body .policy-contact {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 3px;
  }
  .policy-body .policy-contact p { margin-bottom: 0.3rem; }

  @media (max-width: 560px) {
    .policy-modal { padding: 0; }
    .policy-panel { max-height: 100vh; height: 100%; border-radius: 0; border: none; }
    .policy-panel-head { padding: 1.75rem 1.5rem 1.25rem; }
    .policy-body { padding: 1.5rem 1.5rem 2rem; }
    .policy-close { top: 1.25rem; right: 1.25rem; }
  }

  /* ─── PROCESS ───────────────────────────────────── */
  .process-section { background: var(--slate); color: #fff; }
  .process-section .section-title { color: #fff; }
  .process-section .section-body { color: rgba(255,255,255,0.55); }

  .process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 3.5rem;
    position: relative;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
    z-index: 0;
  }

  .process-step {
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
  }
  .step-num {
    width: 56px; height: 56px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-light);
    background: var(--slate);
  }
  .process-step h4 { font-weight: 500; color: #fff; margin-bottom: 0.5rem; font-size: 0.95rem; }
  .process-step p { font-size: 0.82rem; color: rgba(255,255,255,0.45); font-weight: 300; line-height: 1.7; }

  /* ─── WHY US ─────────────────────────────────────── */
  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
    align-items: center;
  }
  .why-features { display: flex; flex-direction: column; gap: 1.5rem; }
  .why-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-left: 2px solid transparent;
    transition: border-color 0.2s, background 0.2s;
    border-radius: 0 4px 4px 0;
  }
  .why-feature:hover { border-left-color: var(--gold); background: var(--gold-pale); }
  .why-feature-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background: var(--gold-pale);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }
  .why-feature-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; }
  .why-feature h4 { font-weight: 500; color: var(--slate); margin-bottom: 0.3rem; font-size: 1rem; }
  .why-feature p { font-size: 0.88rem; color: var(--stone); font-weight: 300; line-height: 1.7; }

  .why-visual {
    background: var(--slate);
    border-radius: 4px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
  }
  .why-visual::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    border: 1px solid rgba(184,132,58,0.2);
    border-radius: 50%;
  }
  .why-visual::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 250px; height: 250px;
    border: 1px solid rgba(184,132,58,0.12);
    border-radius: 50%;
  }
  .why-badge {
    background: rgba(184,132,58,0.12);
    border: 1px solid rgba(184,132,58,0.3);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
  }
  .why-badge:last-child { margin-bottom: 0; }
  .why-badge strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold-light);
    font-weight: 700;
  }
  .why-badge span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  /* ─── CONTACT ───────────────────────────────────── */
  .contact-section { background: linear-gradient(135deg, var(--slate) 60%, #253040); }
  .contact-section .section-title { color: #fff; }
  .contact-section .section-label { color: var(--gold-light); }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
    margin-top: 3rem;
  }
  .contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
  .contact-item { display: flex; gap: 1rem; align-items: flex-start; }
  .contact-item svg {
    width: 20px; height: 20px;
    stroke: var(--gold); fill: none; stroke-width: 2;
    flex-shrink: 0; margin-top: 3px;
  }
  .contact-item a, .contact-item span {
    color: rgba(255,255,255,0.75);
    font-weight: 300;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.2s;
  }
  .contact-item a:hover { color: var(--gold-light); }

  .contact-form { display: flex; flex-direction: column; gap: 1rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 2px;
    padding: 13px 16px;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
  }
  .contact-form input::placeholder,
  .contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }
  .contact-form input:focus,
  .contact-form textarea:focus,
  .contact-form select:focus { border-color: var(--gold); background: rgba(255,255,255,0.09); }
  .contact-form textarea { resize: vertical; min-height: 110px; }
  .contact-form select option { background: var(--slate); color: #fff; }
  .contact-form button {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 15px 36px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
    align-self: flex-start;
    width: 100%;
  }
  .contact-form button:hover { background: var(--gold-light); transform: translateY(-1px); }
  .contact-form button.sent { background: #4a7c4e !important; cursor: default; transform: none !important; }

  /* ─── CONTACT ACTIONS (Send Message / Add Another Project) ── */
  .contact-summary-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    padding: 1rem 1.25rem;
  }
  .contact-summary-count { color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 300; }
  .contact-summary-count strong { color: var(--gold-light); }
  .contact-status { width: 100%; font-size: 0.82rem; font-weight: 400; min-height: 1.2em; }

  .auto-reply {
    margin-top: 1.25rem;
    background: rgba(184, 132, 58, 0.08);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: 3px;
    padding: 1.25rem 1.4rem;
    animation: autoReplyIn 0.4s ease;
  }
  @keyframes autoReplyIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .auto-reply-subject {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gold-light);
    margin-bottom: 0.6rem;
  }
  .auto-reply-message {
    color: rgba(255,255,255,0.75);
    font-weight: 300;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    white-space: pre-line;
  }
  .auto-reply-signature {
    color: rgba(255,255,255,0.6);
    font-weight: 300;
    font-size: 0.88rem;
    font-style: italic;
  }
  .dc-action-group { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
  .dc-radio-option {
    display: flex; align-items: center; gap: 0.55rem;
    color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 500;
    letter-spacing: 0.03em; cursor: pointer; white-space: nowrap;
  }
  .dc-radio-option input[type="radio"] { width: 16px; height: 16px; accent-color: var(--gold-light); cursor: pointer; flex-shrink: 0; }
  .dc-radio-option input[type="radio"]:disabled { cursor: default; }
  .dc-radio-option.disabled { color: rgba(255,255,255,0.35); cursor: default; }
  @media (max-width: 600px) {
    .contact-summary-bar { flex-direction: column; align-items: flex-start; }
    .dc-action-group { width: 100%; }
  }

  /* ─── FOOTER ─────────────────────────────────────── */
  footer {
    background: #0E1720;
    color: rgba(255,255,255,0.4);
    text-align: center;
    padding: 2rem 5vw;
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 1.8;
  }
  footer a { color: var(--gold); text-decoration: none; }

  /* ─── SCROLL REVEAL ─────────────────────────────── */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }

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

  /* Tablet: ≤ 960px */
  @media (max-width: 960px) {
    .process-steps {
      grid-template-columns: repeat(3, 1fr);
      row-gap: 2.5rem;
    }
    .process-steps::before { display: none; }
    .why-grid { gap: 3rem; }
  }

  /* Tablet portrait / large mobile: ≤ 768px */
  @media (max-width: 768px) {
    .nav-links { display: none; }

    .hero-stats {
      position: static;
      display: flex;
      gap: 2rem;
      margin-top: 3rem;
      flex-wrap: wrap;
    }
    .hero-stat strong { font-size: 1.8rem; }

    .why-grid,
    .contact-grid { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .gallery-grid {
      grid-template-columns: 1fr 1fr;
      grid-auto-rows: 200px;
    }
    .gallery-item.wide { grid-column: span 2; }
    .gallery-item.tall { grid-row: span 1; }

    .process-steps {
      grid-template-columns: 1fr 1fr;
      row-gap: 2.5rem;
    }

    .why-visual { padding: 2rem; }
  }

  /* Mobile: ≤ 480px */
  @media (max-width: 480px) {
    .hero { padding: calc(var(--nav-h) + 40px) 5vw 60px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .btn-primary { width: 100%; text-align: center; }
    .btn-ghost { font-size: 1rem; }

    .gallery-grid {
      grid-template-columns: 1fr;
      grid-auto-rows: 240px;
    }
    .gallery-item.wide { grid-column: span 1; }

    .process-steps { grid-template-columns: 1fr; }

    .contact-form button { width: 100%; }

    .hero-stats {
      gap: 1.5rem;
      justify-content: flex-start;
    }

    .services-grid { grid-template-columns: 1fr; }
  }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  }
