/* ═══════════════════════════════════════════════════
   TORONTO MASONRY COMPANY — Design System
   Premium B&W · Cormorant Garamond + Inter
   ═══════════════════════════════════════════════════ */

:root {
  --black:   #1C1C1C;
  --white:   #F9F9F6;
  --off:     #F3F1EE;
  --rule:    #D9D5CF;
  --text-2:  #706B63;
  --text-3:  #A8A39B;
  --serif:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:    'Inter', system-ui, -apple-system, sans-serif;
  --dur:     0.32s;
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --min:     1400px;
  --max:     1200px;
  --gutter:  clamp(20px, 4vw, 48px);
  /* ── Design-system aliases (resolve vars used by review section) */
  --brick:        var(--white);
  --brick-light:  rgba(255,255,255,0.55);
  --chimney:      var(--black);
  --chimney-card: rgba(255,255,255,0.05);
  --ash:          rgba(255,255,255,0.55);
  --mortar:       rgba(255,255,255,0.35);
  --radius-lg:    0px;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); font-weight: 300; color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--sans); border: none; background: none; }
::selection { background: var(--black); color: var(--white); }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--text-3); }

/* ── NAVIGATION ────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--dur), border-color var(--dur);
}
#nav.nav-light { background: var(--white); border-bottom-color: var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: var(--min); margin: 0 auto; padding: 0 var(--gutter); }
.nav-logo { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); transition: color var(--dur); flex-shrink: 0; }
#nav.nav-light .nav-logo { color: var(--black); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a, .nav-links button { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); transition: color var(--dur); background: none; border: none; cursor: pointer; font-family: var(--sans); padding: 0; }
.nav-links a:hover, .nav-links button:hover, .nav-links a.active { color: var(--white); }
#nav.nav-light .nav-links a, #nav.nav-light .nav-links button { color: var(--text-2); }
#nav.nav-light .nav-links a:hover, #nav.nav-light .nav-links button:hover, #nav.nav-light .nav-links a.active { color: var(--black); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px;}
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--black); border: 1px solid rgba(255,255,255,0.1); min-width: 280px; padding: 6px 0; z-index: 200; }
#nav.nav-light .nav-dropdown-menu { background: var(--white); border-color: var(--rule); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 12px 20px; font-size: 12px; font-weight: 400; letter-spacing: 0.05em; text-transform: none; color: rgba(255,255,255,0.6); transition: color var(--dur), background var(--dur); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { color: var(--white); }
#nav.nav-light .nav-dropdown-menu a { color: var(--text-2); border-bottom-color: var(--rule); }
#nav.nav-light .nav-dropdown-menu a:hover { color: var(--black); background: var(--off); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.45); transition: color var(--dur); }
.nav-phone:hover { color: var(--white); }
#nav.nav-light .nav-phone { color: var(--text-3); }
#nav.nav-light .nav-phone:hover { color: var(--black); }
.btn-assess-nav { display: inline-block; padding: 9px 18px; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); border: 1px solid rgba(255,255,255,0.3); transition: background var(--dur), border-color var(--dur), color var(--dur); }
.btn-assess-nav:hover { background: var(--white); border-color: var(--white); color: var(--black); }
#nav.nav-light .btn-assess-nav { color: var(--black); border-color: rgba(0,0,0,0.3); }
#nav.nav-light .btn-assess-nav:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: transform 0.25s, opacity 0.25s; }
#nav.nav-light .hamburger span { background: var(--black); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--black); z-index: 99; flex-direction: column; padding: 80px var(--gutter) 40px; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav > a { font-family: var(--serif); font-size: clamp(28px, 5vw, 40px); font-weight: 300; color: rgba(255,255,255,0.65); padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.07); transition: color var(--dur); }
.mobile-nav > a:first-of-type { border-top: 1px solid rgba(255,255,255,0.07); }
.mobile-nav > a:hover { color: var(--white); }
.mob-svc-label { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-top: 24px; padding-bottom: 8px; }
.mob-svc-links { display: flex; flex-direction: column; }
.mob-svc-links a { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.45); padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.05); transition: color var(--dur); }
.mob-svc-links a:hover { color: var(--white); }
.mob-cta { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.mob-cta a { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.25); padding: 15px; color: var(--white); text-align: center; transition: background var(--dur); }
.mob-cta a:hover { background: rgba(255,255,255,0.06); }
.mob-cta a.mob-primary { background: var(--white); color: var(--black); border-color: var(--white); }
.mob-cta a.mob-primary:hover { background: var(--off); }

/* ── LAYOUT ─────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.rule { border: none; border-top: 1px solid var(--rule); }

/* Two-column label / content layout (used on service pages) */
.two-col { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 4vw, 60px); align-items: start; }
.col-label { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); padding-top: 4px; position: sticky; top: 88px; }
.col-label.on-dark { color: rgba(255,255,255,0.3); }

/* ── BUTTONS ────────────────────────────────────────── */
.btn-assess { display: inline-block; padding: 15px 32px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid currentColor; transition: background var(--dur), color var(--dur); }
.btn-assess-dark { color: var(--white); }
.btn-assess-dark:hover { background: var(--white); color: var(--black); }
.btn-assess-light { color: var(--black); }
.btn-assess-light:hover { background: var(--black); color: var(--white); }

/* ── HERO ───────────────────────────────────────────── */
.hero { min-height: 50svh; background: var(--black); display: flex; flex-direction: column; justify-content: flex-start; padding: 150px var(--gutter); position: relative; overflow: hidden;}
.hero .container { position: relative; z-index: 2; margin:0; }
.hero-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 40px; }
.hero-headline { font-family: var(--serif); font-size: clamp(52px, 8.5vw, 114px); font-weight: 300; line-height: 1.0; color: var(--white); letter-spacing: -0.025em; max-width: 920px; }
.hero-headline em { font-style: italic; color: rgba(255,255,255,0.6); }
.hero-sub { font-size: clamp(14px, 1.4vw, 17px); font-weight: 300; color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 500px; margin-top: 36px; margin-bottom: 48px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-phone { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.35); transition: color var(--dur); }
.hero-phone:hover { color: var(--white); }
.hero-scroll { position: absolute; bottom: 40px; right: var(--gutter); writing-mode: vertical-rl; font-size: 10px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.18); display: flex; align-items: center; gap: 14px; }
.hero-scroll::before { content: ''; width: 1px; height: 52px; background: rgba(255,255,255,0.12); }

/* ── PAGE HEADER (service pages) ───────────────────── */
.pg-header { background: var(--black); padding: 116px var(--gutter) 72px; position: relative; overflow: hidden; }
.pg-header-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 2; }
.pg-bg-num { position: absolute; right: clamp(16px, 4vw, 48px); bottom: -20px; font-family: var(--serif); font-size: clamp(120px, 22vw, 260px); font-weight: 300; color: rgba(255,255,255,0.025); line-height: 1; user-select: none; pointer-events: none; }
.pg-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 20px; }
.pg-h1 { font-family: var(--serif); font-size: clamp(42px, 7vw, 88px); font-weight: 300; color: var(--white); line-height: 1.0; letter-spacing: -0.02em; max-width: 820px; margin-bottom: 22px; }
.pg-sub { font-size: clamp(15px, 1.4vw, 18px); font-weight: 300; color: rgba(255,255,255,0.4); max-width: 560px; line-height: 1.65; margin-bottom: 36px; }
.pg-header-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pg-phone { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.3); }
.pg-phone a { color: inherit; transition: color var(--dur); }
.pg-phone a:hover { color: var(--white); }


/* ── SERVICE SECTIONS ───────────────────────────────── */
.svc-sec { padding: clamp(60px, 8vw, 96px) 0; }
.svc-sec + .svc-sec { border-top: 1px solid var(--rule); }
.svc-sec--off { background: var(--off); }
.svc-sec--dark { background: var(--black); }
.svc-sec--dark .col-label { color: rgba(255,255,255,0.28); }
.svc-sec--dark p, .svc-sec--dark li { color: rgba(255,255,255,0.45); }

/* Sign list */
.sign-list { display: flex; flex-direction: column; }
.sign-list li { padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: clamp(14px, 1.2vw, 16px); font-weight: 300; color: var(--text-2); display: flex; gap: 16px; align-items: flex-start; line-height: 1.6; }
.svc-sec--off .sign-list li { border-bottom-color: var(--rule); }
.svc-sec--dark .sign-list li { border-bottom-color: rgba(255,255,255,0.07); color: rgba(255,255,255,0.45); }
.sign-list li::before { content: '—'; color: var(--text-3); flex-shrink: 0; font-size: 13px; margin-top: 2px; }
.svc-sec--dark .sign-list li::before { color: rgba(255,255,255,0.2); }

/* Process grid */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--rule); margin-top: 8px; }
.svc-sec--off .process-grid { background: #C8C4BC; }
.svc-sec--dark .process-grid { background: rgba(255,255,255,0.08); }
.process-step { padding: clamp(24px, 3vw, 40px); background: var(--white); }
.svc-sec--off .process-step { background: var(--off); }
.svc-sec--dark .process-step { background: var(--black); }
.step-n { font-family: var(--serif); font-size: 52px; font-weight: 300; color: var(--rule); line-height: 1; margin-bottom: 18px; display: block; }
.svc-sec--dark .step-n { color: rgba(255,255,255,0.1); }
.process-step h3 { font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 10px; }
.svc-sec--dark .process-step h3 { color: var(--white); }
.process-step p { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.65; }
.svc-sec--dark .process-step p { color: rgba(255,255,255,0.4); }

/* Section intro text */
.svc-intro { font-size: clamp(16px, 1.8vw, 21px); font-weight: 300; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }
.svc-sec--dark .svc-intro { color: rgba(255,255,255,0.45); }
.svc-body { font-size: clamp(14px, 1.2vw, 16px); font-weight: 300; color: var(--text-2); line-height: 1.8; margin-bottom: 14px; }
.svc-sec--dark .svc-body { color: rgba(255,255,255,0.4); }

/* ── BEFORE / AFTER SLIDER ──────────────────────────── */
.ba-outer { background: var(--black); }
.ba-wrapper { position: relative; width: 100%; overflow: hidden; cursor: ew-resize; user-select: none; touch-action: pan-y; background: #111; }
.ba-wrapper::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.ba-after-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-before-wrap { position: absolute; top: 0; left: 0; bottom: 0; width: 100%; overflow: hidden; pointer-events: none; }
.ba-before-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; clip-path: inset(0 50% 0 0); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 1px; background: rgba(255,255,255,0.7); z-index: 10; pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; gap: 1px; box-shadow: 0 2px 16px rgba(0,0,0,0.35); pointer-events: none; }
.ba-lbl { position: absolute; bottom: 20px; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(10,10,10,0.55); color: var(--white); padding: 4px 10px; pointer-events: none; }
.ba-lbl-b { left: 16px; }
.ba-lbl-a { right: 16px; }
.ba-hint { text-align: center; padding: 12px; font-size: 11px; letter-spacing: 0.06em; color: var(--text-3); border-top: 1px solid var(--rule); background: var(--off); }

/* ── PROJECT PHOTOS ─────────────────────────────────── */
.photo-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--rule); }
.photo-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px; background: var(--rule); }
.photo-item { position: relative; overflow: hidden; background: var(--black); }
.photo-item img { width: 100%; height: clamp(220px, 28vw, 380px); object-fit: cover; display: block; filter: grayscale(100%); transition: filter 0.55s var(--ease), transform 0.55s var(--ease); }
.photo-item:hover img { filter: grayscale(0%); transform: scale(1.03); }
.photo-cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 14px 14px; background: linear-gradient(transparent, rgba(10,10,10,0.65)); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); pointer-events: none; }

/* ── TRUST STRIP ────────────────────────────────────── */
.trust-strip { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: clamp(36px, 5vw, 56px) clamp(20px, 3vw, 40px); border-right: 1px solid var(--rule); text-align: center; }
.trust-item:last-child { border-right: none; }
.trust-num { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 56px); font-weight: 300; color: var(--black); line-height: 1; margin-bottom: 8px; }
.trust-lbl { font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.trust-sub { font-size: 13px; font-weight: 300; color: var(--text-2); margin-top: 6px; line-height: 1.5; }

/* ── FAQ ────────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--rule); }
.svc-sec--dark .faq-list { border-top-color: rgba(255,255,255,0.08); }
.faq-item { border-bottom: 1px solid var(--rule); }
.svc-sec--dark .faq-item { border-bottom-color: rgba(255,255,255,0.08); }
.faq-q { width: 100%; text-align: left; padding: 20px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font-size: clamp(14px, 1.2vw, 16px); font-weight: 400; color: var(--black); cursor: pointer; background: none; border: none; font-family: var(--sans); line-height: 1.45; transition: color var(--dur); }
.faq-q:hover { color: var(--text-2); }
.svc-sec--dark .faq-q { color: rgba(255,255,255,0.7); }
.svc-sec--dark .faq-q:hover { color: var(--white); }
.faq-icon { font-size: 22px; font-weight: 200; color: var(--text-3); transition: transform 0.3s; flex-shrink: 0; line-height: 1; margin-top: -1px; }
.svc-sec--dark .faq-icon { color: rgba(255,255,255,0.25); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--black); }
.svc-sec--dark .faq-item.open .faq-icon { color: var(--white); }
.faq-a { font-size: clamp(13px, 1.1vw, 15px); font-weight: 300; color: var(--text-2); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.svc-sec--dark .faq-a { color: rgba(255,255,255,0.4); }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 20px; }

/* ── PAGE CTA ───────────────────────────────────────── */
.pg-cta { background: var(--black); padding: clamp(72px, 10vw, 116px) var(--gutter); text-align: center; }
.pg-cta h2 { font-family: var(--serif); font-size: clamp(32px, 5vw, 64px); font-weight: 300; color: var(--white); margin-bottom: 32px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.15; }
.pg-cta-phone { display: block; font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.3); margin-top: 18px; }
.pg-cta-phone a { color: inherit; transition: color var(--dur); }
.pg-cta-phone a:hover { color: var(--white); }

/* ── LIGHT VARIANT (Add this right underneath) ─────── */
.pg-cta.pg-cta-light { background: var(--white); }
.pg-cta.pg-cta-light h2 { color: var(--black); /* Flips the heading to black */}
.pg-cta.pg-cta-light .pg-cta-phone { color: rgba(0, 0, 0, 0.5); /* darkens the footer text */}
.pg-cta.pg-cta-light .pg-cta-phone a:hover { color: var(--black); /* Flips the phone hover link to black */}

/* ── RELATED SERVICES ───────────────────────────────── */
.related { background: var(--off); padding: clamp(60px, 7vw, 88px) 0; }
.related-lbl { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); }
.related-card { background: var(--off); padding: clamp(24px, 3vw, 36px); display: block; text-decoration: none; transition: background var(--dur); }
.related-card:hover { background: var(--white); }
.related-card h3 { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); font-weight: 400; color: var(--black); margin-bottom: 8px; }
.related-card p { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.55; margin-bottom: 14px; }
.related-card-link { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); transition: color var(--dur); display: inline-flex; align-items: center; gap: 6px; }
.related-card:hover .related-card-link { color: var(--black); }
.related-card-link::after { content: '→'; transition: transform var(--dur); }
.related-card:hover .related-card-link::after { transform: translateX(4px); }

/* ── HOMEPAGE — SERVICES LIST ───────────────────────── */
.svc-list-header { padding: clamp(64px, 8vw, 100px) 0 28px; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.svc-list-heading { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 42px); font-weight: 300; color: var(--black); }
.svc-list-sub { font-size: 12px; font-weight: 400; color: var(--text-3); max-width: 280px; text-align: right; line-height: 1.5; }
.svc-list-item { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--rule); text-decoration: none; cursor: pointer; display: grid; }
.svc-list-item:first-of-type { border-top: 1px solid var(--rule); }
.svc-list-item:hover .svc-item-name { letter-spacing: -0.005em; }
.svc-item-num { font-size: 11px; font-weight: 400; color: var(--text-3); }
.svc-item-wrap { display: flex; flex-direction: column; gap: 4px; }
.svc-item-name { font-family: var(--serif); font-size: clamp(22px, 3vw, 36px); font-weight: 400; color: var(--black); letter-spacing: -0.01em; transition: letter-spacing var(--dur); line-height: 1.1; }
.svc-item-desc { font-size: 13px; font-weight: 300; color: var(--text-3); line-height: 1.45; }
.svc-item-arrow { font-size: 20px; color: var(--text-3); transition: transform var(--dur), color var(--dur); }
.svc-list-item:hover .svc-item-arrow { transform: translateX(4px); color: var(--black); }

/* ── HOMEPAGE — CASE PREVIEWS ───────────────────────── */
.case-preview-header { padding: clamp(64px, 8vw, 100px) 0 28px; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.case-preview-heading { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 42px); font-weight: 300; color: var(--black); }
.case-preview-more { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); transition: color var(--dur); display: inline-flex; align-items: center; gap: 6px; }
.case-preview-more:hover { color: var(--black); }
.case-preview-more::after { content: '→'; }
.case-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; background: rgba(255,255,255,0.08); }
.case-card { background: var(--off); display: block; text-decoration: none; overflow: hidden; cursor: pointer; }
.case-img-wrap { overflow: hidden; }
.case-img { width: 100%; height: 240px; object-fit: cover; display: block; filter: grayscale(100%); transition: filter 0.6s var(--ease), transform 0.6s var(--ease); }
.case-card:hover .case-img { filter: grayscale(0%); transform: scale(1.04); }
.case-body { padding: 22px; }
.case-loc { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(0,0,0,1); margin-bottom: 8px; }
.case-title { font-family: var(--serif); font-size: clamp(17px, 1.8vw, 22px); font-weight: 300; color: var(--black); line-height: 1.25; margin-bottom: 8px; }
.case-prob { font-size: 12px; font-weight: 300; color: var(--text-2);; line-height: 1.5; margin-bottom: 14px; }
.case-more { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); transition: color var(--dur); }
.case-card:hover .case-more { color: rgba(0,0,0,1); }

/* ── HOMEPAGE — STATS ───────────────────────────────── */
.stats-strip { background: var(--off); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(40px, 5vw, 60px) clamp(16px, 2vw, 28px); border-right: 1px solid var(--rule); text-align: center; }
.stat:last-child { border-right: none; }
.stat-n { font-family: var(--serif); font-size: clamp(44px, 5.5vw, 64px); font-weight: 300; color: var(--black); line-height: 1; }
.stat-l { font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-top: 8px; }

/* ── HOMEPAGE — REVIEWS ─────────────────────────────── */
/*.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--rule); margin-top: 48px; }
.review-blk { background: var(--white); padding: clamp(32px, 4vw, 52px); }
.review-stars { font-size: 13px; color: var(--black); letter-spacing: 4px; margin-bottom: 20px; }
.review-quote { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); font-weight: 300; font-style: italic; color: var(--black); line-height: 1.5; margin-bottom: 22px; }
.review-attr { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }*/


 #reviews { background: var(--black); padding: 100px 0; }
    .reviews-header { margin-bottom: 48px; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
    .reviews-score { display: flex; align-items: center; gap: 16px; }
    .reviews-score .big-num { font-size: 56px; font-weight: 700; color: var(--white); line-height: 1; }
    .reviews-score-meta .stars { color: var(--white); font-size: 20px; }
    .reviews-score-meta p { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 2px; }
    .reviews-link { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.55); display: inline-flex; align-items: center; gap: 5px; }
    .reviews-link:hover { color: var(--white); }
    .reviews-carousel { position: relative; }
    .reviews-track-wrap { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
    .reviews-track-wrap::-webkit-scrollbar { display: none; }
    .reviews-track { display: flex; gap: 16px; }
    .review-card { flex: 0 0 340px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); border-radius: 0; padding: 28px; }
    .reviews-nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--white);
      color: var(--black);
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 20px rgba(0,0,0,0.35);
      transition: background var(--dur), color var(--dur), opacity var(--dur);
    }
    .reviews-nav-btn:hover { background: var(--black); color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
    .reviews-nav-btn:disabled { opacity: 0.2; cursor: default; }
    .reviews-nav-btn:disabled:hover { background: var(--white); color: var(--black); border: none; }
    .reviews-nav-prev { left: -56px; }
    .reviews-nav-next { right: -56px; }
    @media (max-width: 1340px) {
      .reviews-nav-prev { left: 8px; }
      .reviews-nav-next { right: 8px; }
    }
    @media (max-width: 900px) {
      .reviews-nav-btn { display: none; }
    }
    .review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
    .review-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
    .review-avatar-fallback { width: 42px; height: 42px; border-radius: 50%; background: var(--brick); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; color: var(--white); flex-shrink: 0; }
    .review-meta { flex: 1; }
    .review-meta strong { font-size: 15px; font-weight: 600; color: var(--white); display: block; }
    .review-meta span { font-size: 12px; color: rgba(255,255,255,0.35); }
    .review-stars { color: var(--white); font-size: 14px; }
    .review-text { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.7; }


/* ── CASE STUDIES PAGE ──────────────────────────────── */
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--rule); margin-top: 56px; }
.cs-card { background: var(--white); text-decoration: none; overflow: hidden; display: block; }
.cs-img { width: 100%; height: clamp(220px, 24vw, 320px); object-fit: cover; display: block; filter: grayscale(100%); transition: filter 0.6s var(--ease), transform 0.6s var(--ease); }
.cs-card:hover .cs-img { filter: grayscale(0%); transform: scale(1.03); }
.cs-body { padding: clamp(24px, 3vw, 40px); border-top: 1px solid var(--rule); }
.cs-loc { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.cs-title { font-family: var(--serif); font-size: clamp(20px, 2.5vw, 30px); font-weight: 400; color: var(--black); line-height: 1.2; margin-bottom: 12px; }
.cs-problem { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; }
.cs-meta { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--rule); }
.cs-meta-i { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.cs-meta-i strong { display: block; color: var(--black); font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; margin-bottom: 2px; }
.cs-detail { padding: clamp(60px, 8vw, 96px) 0; border-bottom: 1px solid var(--rule); }
.cs-detail:last-of-type { border-bottom: none; }
.cs-detail-header { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.cs-dl { display: flex; flex-direction: column; gap: 18px; }
.cs-dl-item { display: flex; flex-direction: column; gap: 4px; }
.cs-dl-label { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.cs-dl-val { font-size: 15px; font-weight: 300; color: var(--black); line-height: 1.5; }
.cs-quote { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 26px); font-weight: 300; font-style: italic; color: var(--black); line-height: 1.5; border-left: 2px solid var(--rule); padding-left: 24px; margin: 32px 0; }
.cs-quote-attr { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-top: 12px; }

/* ── CONTACT PAGE ───────────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: 1fr 600px; min-height: calc(100svh - 64px); margin-top: 64px; }
.contact-left { background: var(--black); padding: clamp(60px, 8vw, 100px) clamp(32px, 5vw, 80px); display: flex; flex-direction: column; justify-content: space-between; }
.contact-h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 78px); font-weight: 300; color: var(--white); line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 28px; }
.contact-sub { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 440px; margin-bottom: 56px; }
.contact-details { display: flex; flex-direction: column; gap: 22px; }
.cd { display: flex; flex-direction: column; gap: 5px; }
.cd-lbl { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.22); }
.cd-val { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.65); }
.cd-val a { color: inherit; transition: color var(--dur); }
.cd-val a:hover { color: var(--white); }
.contact-right { background: var(--white); padding: clamp(60px, 5vw, 80px) clamp(32px, 4vw, 15px); border-left: 1px solid var(--rule); overflow-y: auto; }
.form-h { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--black); margin-bottom: 36px; }
.form-grp { margin-bottom: 22px; }
.form-grp label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.form-grp input, .form-grp select, .form-grp textarea { width: 100%; padding: 12px 0; border: none; border-bottom: 1px solid var(--rule); background: transparent; font-family: var(--sans); font-size: 16px; font-weight: 300; color: var(--black); transition: border-color var(--dur); border-radius: 0; -webkit-appearance: none; }
.form-grp input:focus, .form-grp select:focus, .form-grp textarea:focus { outline: none; border-bottom-color: var(--black); }
.form-grp textarea { resize: vertical; min-height: 90px; }

/* File upload fields — restyle the native button to match the site */
.form-grp input[type="file"] {
  padding: 10px 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-2);
  cursor: pointer;
}
.form-grp input[type="file"]::file-selector-button {
  padding: 9px 18px;
  margin-right: 16px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);
  border-radius: 0;
  cursor: pointer;
  transition: background var(--dur), color var(--dur);
}
.form-grp input[type="file"]::file-selector-button:hover {
  background: transparent;
  color: var(--black);
}
.form-file-note {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-3);
  margin-top: 8px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-sub { width: 100%; padding: 15px; background: var(--black); color: var(--white); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid var(--black); cursor: pointer; transition: background var(--dur), color var(--dur); margin-top: 8px; }
.form-sub:hover { background: transparent; color: var(--black); }
.form-note { font-size: 12px; font-weight: 300; color: var(--text-3); margin-top: 12px; text-align: center; line-height: 1.55; }
.form-success { display: none; text-align: center; padding: 48px 0; }
.form-success-title { font-family: var(--serif); font-size: 28px; font-weight: 300; color: var(--black); margin-bottom: 12px; }
.form-success p { font-size: 14px; font-weight: 300; color: var(--text-2); }

/* ── FOOTER ─────────────────────────────────────────── */
footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-name { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.32); line-height: 1.65; max-width: 240px; }
.footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.42); transition: color var(--dur); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col address { font-style: normal; }
.footer-col address p { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.38); margin-bottom: 7px; line-height: 1.55; }
.footer-col address a { color: inherit; transition: color var(--dur); }
.footer-col address a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.18); }
.footer-bottom a { font-size: 12px; color: rgba(255,255,255,0.18); transition: color var(--dur); }
.footer-bottom a:hover { color: rgba(255,255,255,0.45); }
.footer-container { max-width: var(--min); margin: 0 auto; padding: 0 var(--gutter); }

/* ── SCROLL REVEAL ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.r1 { transition-delay: 0.08s; }
.r2 { transition-delay: 0.16s; }
.r3 { transition-delay: 0.24s; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-left { min-height: auto; }
  .contact-right { border-left: none; border-top: 1px solid var(--rule); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right .btn-assess-nav, .nav-right .nav-phone { display: none; }
  .hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 20px; }
  .col-label { position: static; margin-bottom: 12px; }
  .case-preview-grid, .cs-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-right: 1px solid var(--rule); }
  .photo-grid-3 { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .trust-item:last-child { border-bottom: none; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-scroll { display: none; }
  .photo-item img { height: 220px; }
}
@media (max-width: 480px) {
  .photo-grid-2, .photo-grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .hero-headline { font-size: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   NEW COMPONENT STYLES — v2
   ═══════════════════════════════════════════════════════════ */

/* ── Missing utility classes ───────────────────────── */
.section-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-family: var(--serif); font-size: clamp(32px,4.5vw,52px); font-weight: 300; color: var(--black); line-height: 1.1; }
.section-title.on-dark { color: var(--white); }

/* ── NAV LOGO (image) ─────────────────────────────── */
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-logo { position: relative; }
.nav-logo .logo-light { display: block; }
.nav-logo .logo-dark { display: none; }
#nav.nav-light .nav-logo .logo-light { display: none; }
#nav.nav-light .nav-logo .logo-dark { display: block; }

/* ── HERO VIDEO ─────────────────────────────────────── */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10,10,10,0.30) 0%, rgba(10,10,10,0.70) 100%); z-index: 1; }
.hero .container { position: relative; z-index: 2; }

/* ── ABOUT NIKO ─────────────────────────────────────── */
.niko-sec { background: var(--white); padding: clamp(80px,10vw,130px) 0; }
.niko-layout { display: grid; grid-template-columns: 420px 1fr; gap: clamp(52px,7vw,96px); align-items: center; }
.niko-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; filter: grayscale(15%); }
.niko-photo-placeholder { width: 100%; aspect-ratio: 3/4; background: var(--rule); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.niko-photo-placeholder span:first-child { font-family: var(--serif); font-size: 88px; font-weight: 300; color: var(--text-3); line-height: 1; }
.niko-photo-placeholder span:last-child { font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.niko-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.niko-name { font-family: var(--serif); font-size: clamp(52px,6.5vw,84px); font-weight: 300; color: var(--black); line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 6px; }
.niko-title { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 36px; }
.niko-bio { font-size: clamp(15px,1.5vw,18px); font-weight: 300; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; max-width: 520px; }

/* ── WHERE WE WORK ──────────────────────────────────── */
/*.where-sec { background: var(--white); padding: clamp(80px,10vw,130px) 0; }
.where-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }
.where-heading { font-family: var(--serif); font-size: clamp(32px,4.5vw,56px); font-weight: 300; color: var(--black); }
.where-sub { font-size: 12px; font-weight: 400; color: var(--text-2); letter-spacing: 0.06em; }
.where-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--black); }
.where-col { padding: clamp(28px,3vw,44px); border-right: 1px solid rgba(0,0,0,1); }
.where-col:last-child { border-right: none; }
.where-area { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0,0,0,1); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.where-col ul li { font-size: 14px; font-weight: 300; color: rgba(0,0,0,1); padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.5); line-height: 1.4; }
.where-col ul li:last-child { border-bottom: none; }
.where-note { text-align: center; margin-top: 36px; font-size: 13px; font-weight: 300; color: rgba(0,0,0,1); }
.where-note a { color: var(--text-2); text-decoration: underline; transition: color var(--dur); }
.where-note a:hover { color: var(--black); }*/

/* ── SERVICE AREAS ──────────────────────────────────── */
    #areas { background: var(--white); padding: 100px 0; }
    .areas-header { margin-bottom: 48px; }
    .areas-intro { font-size: 16px; font-weight: 300; color: var(--text-2); line-height: 1.7; max-width: 600px; margin-top: 14px; }
    .areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
    .area-tag { background: var(--off); border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; padding: 10px 18px; font-size: 13px; font-weight: 400; color: var(--text-2); text-align: center; transition: border-color .2s, color .2s; }
    /*.area-tag:hover { border-color: var(--text-2); color: var(--black); }
    .area-tag.featured { border-color: rgba(200,72,32,0.4); color: var(--text-2); }*/
    .areas-note { margin-top: 28px; font-size: 14px; font-weight: 300; color: var(--black); }



/* ── REVIEW UPDATES (project tags + Google link) ──── */
.review-project-tag { display: inline-block; margin-top: 14px; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); border: 1px solid rgba(255,255,255,0.1); padding: 3px 8px; text-decoration: none; transition: color var(--dur), border-color var(--dur); }
.review-project-tag:hover { color: var(--white); border-color: rgba(255,255,255,0.35); }
.reviews-footer { max-width: var(--max); margin: 36px auto 0; padding: 28px var(--gutter) 0; border-top: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; gap: 12px; }
.reviews-google-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.45); transition: color var(--dur); text-decoration: none; }
.reviews-google-link:hover { color: var(--white); }
.reviews-google-link .g-stars { font-size: 14px; color: var(--white); letter-spacing: 2px; }

/* Scroll hint for review carousel */
.reviews-scroll-hint { text-align: center; margin-top: 12px; font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.2); letter-spacing: 0.06em; }

/* ── CASE STUDY MODAL ───────────────────────────────── */
.cs-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.cs-modal.open { opacity: 1; pointer-events: all; }
.cs-modal-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.88); cursor: pointer; }
.cs-modal-box { position: relative; background: var(--white); width: min(92vw, 960px); max-height: 90svh; overflow-y: auto; z-index: 1; transform: translateY(28px); transition: transform 0.38s var(--ease); scrollbar-width: thin; }
.cs-modal.open .cs-modal-box { transform: none; }
.cs-modal-close { position: sticky; top: 0; float: right; z-index: 10; margin: 16px; width: 40px; height: 40px; background: var(--black); color: var(--white); font-size: 18px; font-weight: 300; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; transition: background var(--dur); }
.cs-modal-close:hover { background: var(--text-2); }
.cs-modal-inner { padding: clamp(28px,4vw,52px); padding-top: 8px; clear: both; }
.cs-modal-loc { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.cs-modal-h { font-family: var(--serif); font-size: clamp(26px,3.5vw,44px); font-weight: 300; color: var(--black); line-height: 1.1; margin-bottom: 28px; }
.cs-modal-meta { display: flex; gap: 32px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 30px; }
.cs-modal-mi .mi-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.cs-modal-mi .mi-val { font-size: 14px; font-weight: 300; color: var(--black); }
.cs-modal-body p { font-size: clamp(14px,1.2vw,16px); font-weight: 300; color: var(--text-2); line-height: 1.82; margin-bottom: 16px; }
.cs-modal-slbl { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin: 28px 0 10px; }
.cs-modal-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--rule); margin: 20px 0 28px; }
.cs-modal-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; filter: grayscale(20%); transition: filter 0.4s; }
.cs-modal-photos img:hover { filter: none; }
.cs-modal-quote { font-family: var(--serif); font-size: clamp(18px,2vw,24px); font-weight: 300; font-style: italic; color: var(--black); line-height: 1.5; border-left: 2px solid var(--rule); padding-left: 20px; margin: 28px 0 8px; }
.cs-modal-qattr { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); padding-left: 22px; margin-bottom: 20px; }
.cs-modal-ba { margin: 20px 0; }

/* ── FOOTER — SOCIAL ────────────────────────────────── */
.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-social a { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.38); transition: color var(--dur); }
.footer-social a:hover { color: var(--white); }

/* ── INSTAGRAM LINK ─────────────────────────────────── */
.insta-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.45); transition: color var(--dur); text-decoration: none; }
.insta-link:hover { color: var(--white); }
.insta-link svg { width: 15px; height: 15px; fill: currentColor; }

/* ── RESPONSIVE ADDITIONS ───────────────────────────── */
@media (max-width: 1024px) {
  .niko-layout { grid-template-columns: 1fr 1fr; }
  .where-grid { grid-template-columns: 1fr 1fr; }
  .where-col:nth-child(2) { border-right: none; }
  .where-col:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.07); }
  .where-col:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.07); }
}
@media (max-width: 768px) {
  .niko-layout { grid-template-columns: 1fr; }
  .niko-photo-wrap { max-width: 300px; }
  .where-grid { grid-template-columns: 1fr 1fr; }
  .where-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .where-col:nth-child(2n) { border-left: 1px solid rgba(255,255,255,0.06); }
  .where-col:last-child { border-bottom: none; }
  .cs-modal-box { width: 100vw; max-height: 100svh; }
  .cs-modal-photos { grid-template-columns: 1fr; }
  .cs-modal-meta { gap: 16px; }
}
@media (max-width: 480px) {
  .where-grid { grid-template-columns: 1fr; }
  .where-col { border-left: none !important; border-right: none; }
  .reviews-track { padding-bottom: 4px; }
}

/* ═══════════════════════════════════════════════════
   v3 ADDITIONS — Projects Gallery + BA Section
   ═══════════════════════════════════════════════════ */

/* pg-cta-light variant (white background) */
.pg-cta-light { background: var(--off); }
.pg-cta-light h2 { color: var(--black); }
.pg-cta-light .pg-cta-phone { color: var(--text-2); }
.pg-cta-light .pg-cta-phone a { color: var(--text-2); }
.pg-cta-light .pg-cta-phone a:hover { color: var(--black); }

/* ── BEFORE/AFTER GALLERY SECTION (on service pages) */
.ba-gallery-sec { background: var(--black); padding: clamp(60px,8vw,96px) 0; }
.ba-gallery-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.ba-gallery-sub { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.35); }
.ba-gallery-stacked { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; align-items: start; }
/* Each wrapper: fixed portrait height; !important beats inline style */
.ba-gallery-stacked .ba-wrapper { height: 520px !important;}
/* The label sits above the slider; don't let it affect row height */
.ba-gallery-item { display: flex; flex-direction: column; margin-bottom: 35px; }
.ba-gallery-label { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 10px; }
.ba-gallery-cta { margin-top: 44px; text-align: center; }
.btn-view-projects { display: inline-block; padding: 14px 36px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); border: 1px solid rgba(255,255,255,0.3); transition: background var(--dur), border-color var(--dur), color var(--dur); text-decoration: none; }
.btn-view-projects:hover { background: var(--white); border-color: var(--white); color: var(--black); }

/* ── PROJECTS GALLERY PAGE */
.gallery-page-header { background: var(--black); padding: 116px var(--gutter) 64px; position: relative; overflow: hidden; }
.gallery-page-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 2; }
.gallery-page-title { font-family: var(--serif); font-size: clamp(44px,7vw,88px); font-weight: 300; color: var(--white); line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 18px; }
.gallery-page-sub { font-size: clamp(14px,1.3vw,16px); font-weight: 300; color: rgba(255,255,255,0.4); max-width: 480px; line-height: 1.65; }
.gallery-page-bg-txt { position: absolute; right: clamp(16px,4vw,48px); bottom: -20px; font-family: var(--serif); font-size: clamp(120px,20vw,240px); font-weight: 300; color: rgba(255,255,255,0.025); line-height: 1; user-select: none; pointer-events: none; }

.gallery-toc { background: var(--off); border-bottom: 1px solid var(--rule); }
.gallery-toc-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.gallery-toc-inner::-webkit-scrollbar { display: none; }
.gallery-toc-link { display: block; padding: 16px 20px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; border-bottom: 2px solid transparent; transition: color var(--dur), border-color var(--dur); text-decoration: none; }
.gallery-toc-link:hover, .gallery-toc-link.active { color: var(--black); border-bottom-color: var(--black); }

.gallery-section { padding: clamp(50px,5vw,50px) 0; scroll-margin-top: 120px; }
.gallery-section:last-child { border-bottom: none; }
.gallery-sec-hd { margin-bottom: 32px; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.gallery-sec-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.gallery-sec-title { font-family: var(--serif); font-size: clamp(28px,3.5vw,44px); font-weight: 300; color: var(--black); line-height: 1.1; }
.gallery-sec-svc-link { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); transition: color var(--dur); display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.gallery-sec-svc-link:hover { color: var(--black); }
.gallery-sec-svc-link::after { content: "→"; }

/* THE GRID — all images same size, clean proportions */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item { aspect-ratio: 4/5; overflow: hidden; position: relative; background: var(--black); display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; filter: grayscale(20%); transition: filter 0.55s var(--ease), transform 0.55s var(--ease); }
.gallery-item:hover img { filter: grayscale(0%); transform: scale(1.04); }
.gallery-empty { padding: 48px 32px; text-align: center; border: 1px dashed var(--rule); }
.gallery-empty p { font-size: 13px; font-weight: 300; color: var(--text-3); letter-spacing: 0.05em; }

/* ── CONTACT PAGE — SOCIAL ICONS */
.contact-social-icons { display: flex; gap: 20px; margin-top: 4px; }
.contact-social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.12); transition: color var(--dur), border-color var(--dur); }
.contact-social-icons a:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }
.contact-social-icons svg { width: 18px; height: 18px; }

/* ── RESPONSIVE */
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; } }

/* ── BA GALLERY SLIDER — portrait, equal height, 3-up ── */
.ba-after-img,
.ba-before-wrap img {
  object-position: center 22%;
}

/* Mobile: single column, real portrait height (not auto — the images
   inside are absolutely positioned, so auto can't measure them and the
   box was collapsing onto a stray aspect-ratio rule instead) */
@media (max-width: 900px) {
  .ba-gallery-stacked {
    grid-template-columns: 1fr !important;
    row-gap: 40px;
  }
  .ba-gallery-item {
    margin-bottom: 40px;
  }
  .ba-gallery-stacked .ba-wrapper {
    aspect-ratio: auto !important;
    height: clamp(420px, 110vw, 600px) !important;
  }
}

/* ── NAV LAYOUT v2 — true 3-zone: logo | centered links | right ── */
.nav-inner {
  position: relative;    /* needed for absolute centering trick */
}
/* Links float in the exact center of the bar */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
/* Logo stays left — add a touch of extra space from edge */
.nav-logo {
  margin-right: auto;
  padding-left: 0;
}
/* Hide absolute links on mobile (hamburger takes over) */
@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ── HERO IMAGE BACKGROUND (temporary, replaces video) ── */
.hero-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

/* ── FOOTER CERTIFICATION ITEMS ── */
.footer-cert-item {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.42);
  padding: 6px 0;
  /*border-bottom: 1px solid rgba(255,255,255,0.05);*/
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  /*line-height: 1.45;*/
}
.footer-cert-item:last-child { border-bottom: none; }
.cert-mark {
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CONTACT PAGE — dark brick background ──────────── */

/* Page-level: no white ever shows through on this page */
body.page-contact-dark {
  background: var(--black);
}

/* Left panel: brick photo + heavy black overlay = dark brick look.
   .contact-left's existing padding/flex/text rules are untouched. */
/* Brick + overlay now spans the FULL page width — one continuous
   dark backdrop, not two separate panels */
.page-contact-dark .contact-wrap {
  background-image:
    linear-gradient(rgba(10,10,10,0.90), rgba(10,10,10,0.90)),
    url('../assets/brick-pattern.jpg');
  background-size: cover;
  /*background-position: center;*/
  background-repeat: no-repeat;
}

/* contact-left no longer has its own background — the wrap's
   brick backdrop shows through it */
.page-contact-dark .contact-left {
  background: transparent;
}

/* contact-right becomes a transparent zone — black shows around the card */
.page-contact-dark .contact-right {
  background: transparent;
  border-left: none;
  /*display: flex;*/
  align-items: center;
  justify-content: center;
  /*padding: clamp(32px, 5vw, 64px);*/
}

/* The actual floating white card — this is what "sits on top of black" */
.page-contact-dark #assess-form,
.page-contact-dark #form-success {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  padding: clamp(36px, 4vw, 52px);
  width: 100%;
  max-width: 460px;
}

/* ── PAGE HEADER — background photo, diagonal soft-blend edge ─── */
.pg-header-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  -webkit-mask-image: linear-gradient(112deg, transparent 0%, transparent 16%, black 52%);
  mask-image: linear-gradient(112deg, transparent 0%, transparent 16%, black 52%);
}
.pg-header-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.55) 52%, rgba(10,10,10,0.32) 100%);
}
.pg-bg-num { z-index: 1; }

@media (max-width: 768px) {
  .pg-header-photo {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .pg-header-photo::after { background: rgba(10,10,10,0.82); }
}
/* ── BACK TO TOP (projects page) ────────────────────── */
.back-to-top {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background var(--dur);
}
.back-to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-to-top:hover { background: var(--text-2); }

/* Slightly larger tap target on touch devices, clear of thumb-reach edge */
@media (max-width: 640px) {
  .back-to-top {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 20px;
  }
}
