/* =========================================================
   Northlink — premium architectural
   Palette: taupe #968779 · beige #D9C8B3 · cream #F8F5F0
            dark brown #39312C · bronze #A77D50
   ========================================================= */
:root {
  --taupe: #968779;
  --beige: #D9C8B3;
  --cream: #F8F5F0;
  --brown: #39312C;
  --bronze: #A77D50;

  --paper: #FCFAF7;
  --sand: #EDE5DA;
  --ink: #2B2521;
  --muted: #6E6359;          /* taupe darkened for AA text on cream */
  --line: rgba(57, 49, 44, .14);
  --line-light: rgba(248, 245, 240, .16);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65; letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.015em; color: var(--brown); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--bronze); }
h2 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brown); color: var(--cream); padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- "lights on" photos ---------- */
.lit { position: relative; overflow: hidden; isolation: isolate; }
.lit img { will-change: filter; }
.lit__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(40,44,60,.28), rgba(30,28,36,.38)); mix-blend-mode: multiply; }
.lit__glow {
  position: absolute; z-index: 2; pointer-events: none; opacity: 0;
  left: var(--gx); top: var(--gy); width: 75%; aspect-ratio: 1; transform-origin: center;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(255,214,160,.55) 0%, rgba(255,190,120,.22) 28%, rgba(255,170,90,0) 62%);
  mix-blend-mode: screen;
}
.sheen {
  background-image: linear-gradient(100deg, var(--bronze) 0%, var(--bronze) 40%, #E9C79A 50%, var(--bronze) 60%, var(--bronze) 100%);
  background-size: 250% 100%; background-position: 120% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
.why h2 em.sheen { background-image: linear-gradient(100deg, var(--beige) 0%, var(--beige) 40%, #FFF4E2 50%, var(--beige) 60%, var(--beige) 100%); }

/* warm grade for the client's own photos so they sit in the palette */
.warm { filter: sepia(.28) saturate(.78) contrast(.96) brightness(1.02); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow__line { width: 36px; height: 1px; background: var(--bronze); }
.eyebrow--light { color: rgba(248,245,240,.7); }
.head { margin-bottom: clamp(48px, 7vw, 96px); }
.head__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: end; }
.head__lead { color: var(--muted); font-size: 17px; max-width: 460px; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--dark { background: var(--brown); color: var(--cream); }
.btn--dark:hover { background: var(--bronze); }
.btn--line { border: 1px solid rgba(57,49,44,.28); color: var(--brown); background: rgba(252,250,247,.55); backdrop-filter: blur(6px); }
.btn--line:hover { border-color: var(--brown); }
.btn--sm { padding: 11px 20px; font-size: 13px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, box-shadow .4s; }
.nav.is-scrolled { background: rgba(248,245,240,.84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { max-width: 1440px; margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 60px; width: auto; margin: -6px 0 -6px -14px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--muted); position: relative; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover { color: var(--brown); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--brown); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); box-shadow: 0 0 0 4px rgba(167,125,80,.18); }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--brown); transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 45; background: var(--cream); display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 100px var(--gutter) 40px; }
.mmenu[hidden] { display: none; }
.mmenu nav { display: flex; flex-direction: column; gap: 4px; }
.mmenu nav a { font-family: var(--serif); font-size: 44px; line-height: 1.15; text-decoration: none; color: var(--brown); }
.mmenu__cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* =========================================================
   3D experience
   ========================================================= */
.xp { position: relative; background: radial-gradient(120% 90% at 70% 40%, #FCFAF6 0%, var(--cream) 55%, #F1EBE2 100%); }
.xp__pin { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: radial-gradient(120% 90% at 70% 40%, #FCFAF6 0%, var(--cream) 55%, #F1EBE2 100%); }
.xp__pin { --n: 0; }
.xp__night {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: var(--n);
  background: radial-gradient(110% 85% at 62% 45%, #3A312B 0%, #26201C 55%, #191512 100%);
}
.xp__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.xp__canvas.is-ready { opacity: 1; }
.xp__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.xp__lines path { fill: none; stroke: color-mix(in srgb, var(--brown), var(--beige) calc(var(--n) * 100%)); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0; }
.xp__lines circle { fill: var(--bronze); stroke: var(--cream); stroke-width: 2; opacity: 0; }
.xp__fallback { display: none; }
/* photoreal render of the complete house; the live 3D takes over while it breaks apart */
.xp__gl { position: absolute; inset: 0; opacity: 0; pointer-events: none; will-change: opacity; }
.xp__render {
  position: absolute; z-index: 1; pointer-events: none;
  left: 67.9%; top: 53%; width: max(100svh, 640px); translate: -50% -50%;
}
.xp__render { mix-blend-mode: multiply; }
.xp__render img { width: 100%; height: auto; }

.xp__intro {
  position: absolute; z-index: 4; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center;
  left: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter))); width: min(600px, 44vw); padding-top: 60px;
}
.xp__intro h1 { font-size: clamp(3.2rem, 5.6vw, 6.2rem); line-height: .98; margin-bottom: 26px; }
.xp__lead { color: var(--muted); font-size: 17.5px; max-width: 470px; margin-bottom: 34px; }
.xp__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.xp__trust { list-style: none; padding: 26px 0 0; margin: 38px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 30px; font-size: 13.5px; color: var(--muted); }
.xp__trust strong { color: var(--brown); font-family: var(--serif); font-size: 22px; font-weight: 600; margin-right: 4px; }

.xp__scroll {
  position: absolute; z-index: 4; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.xp__scroll-line { width: 1px; height: 42px; background: linear-gradient(var(--brown), transparent); transform-origin: top; animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.xcard {
  position: absolute; z-index: 5; left: 0; top: 0; width: 310px; padding: 24px 26px 22px;
  background: rgba(252,250,247,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(57,49,44,.1); border-radius: 18px;
  box-shadow: 0 30px 60px -36px rgba(57,49,44,.45);
  opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.xcard__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.xcard__meta span { color: var(--bronze); }
.xcard h3 { font-size: 30px; line-height: 1.04; margin-bottom: 10px; }
.xcard p:last-child { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.xp__final {
  position: absolute; z-index: 4; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center;
  left: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter))); width: min(580px, 42vw); padding-top: 60px;
  opacity: 0; visibility: hidden;
}
.xp__final h2 { font-size: clamp(2.8rem, 4.6vw, 4.8rem); line-height: .98; margin-bottom: 34px; }

.xp__steps {
  position: absolute; z-index: 4; right: var(--gutter); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; text-align: right;
  opacity: 0; visibility: hidden;
}
.xp__steps li { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, rgba(57,49,44,.35), rgba(248,245,240,.45) calc(var(--n) * 100%)); transition: color .4s; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.xp__steps li span { font-family: var(--serif); font-size: 15px; letter-spacing: 0; }
.xp__steps li::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.xp__steps li.is-on { color: color-mix(in srgb, var(--brown), var(--cream) calc(var(--n) * 100%)); }
.xp__steps li.is-on::after { width: 34px; background: var(--bronze); }
.xp__progress { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 2px; background: color-mix(in srgb, rgba(57,49,44,.06), rgba(248,245,240,.12) calc(var(--n) * 100%)); }
.xp__progress span { display: block; height: 100%; width: 100%; background: var(--bronze); transform: scaleX(0); transform-origin: left; }

/* no WebGL → a calm photographic hero instead */
.no-webgl .xp__canvas, .no-webgl .xp__lines, .no-webgl .xp__steps, .no-webgl .xp__scroll, .no-webgl .xcard, .no-webgl .xp__final, .no-webgl .xp__progress { display: none; }
.no-webgl .xp__gl { display: none; }

/* =========================================================
   Services
   ========================================================= */
.services { padding: clamp(110px, 14vw, 190px) 0 clamp(80px, 10vw, 140px); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 90px 1fr 380px; gap: clamp(20px, 4vw, 60px); align-items: center;
  padding: clamp(26px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line); position: relative;
}
.svc__num { font-family: var(--serif); font-size: 28px; color: var(--bronze); align-self: start; padding-top: 8px; }
.svc h3 { font-size: clamp(2rem, 3.4vw, 3.1rem); margin-bottom: 12px; transition: transform .5s var(--ease); }
.svc__body p { color: var(--muted); max-width: 520px; margin-bottom: 12px; }
.svc__tags { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe) !important; margin: 0 !important; }
.svc__img { aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: var(--sand); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__icon { width: 34px; height: 34px; fill: none; stroke: var(--bronze); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; display: block; }

/* service media effects */
.svc__media { position: relative; isolation: isolate; }
.svc__media .fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.svc__media .fx image { transform-box: fill-box; }
.fx-slats { position: absolute; inset: 0; display: flex; z-index: 2; pointer-events: none; }
.fx-slat {
  flex: 1; transform-origin: 50% 50%; backface-visibility: hidden;
  background:
    repeating-linear-gradient(92deg, rgba(57,40,25,.07) 0 2px, transparent 2px 9px),
    linear-gradient(90deg, #B48A5E, #A77D50 55%, #96704A);
  box-shadow: inset -1px 0 0 rgba(57,40,25,.35), inset 1px 0 0 rgba(255,240,220,.18);
}
.fx-dim { position: absolute; z-index: 3; left: 18px; right: 18px; top: 16px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.fx-dim__line { height: 9px; border-left: 1px solid var(--cream); border-right: 1px solid var(--cream); position: relative; transform-origin: left; }
.fx-dim__line::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--cream); }
.fx-dim__label { align-self: center; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); background: rgba(57,49,44,.55); padding: 4px 10px; border-radius: 99px; }
.fx-lockpanel { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #4A3F38, var(--brown) 70%); }
.fx-lockpanel__icon { width: 74px; height: 74px; fill: none; stroke: var(--beige); stroke-width: 1.2; stroke-linejoin: round; }
.fx-lockpanel ~ img { position: relative; z-index: 1; }
.svc:hover h3 { transform: translateX(6px); }

/* =========================================================
   About
   ========================================================= */
.about { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about__statement { font-size: clamp(2rem, 4.2vw, 3.9rem); line-height: 1.12; max-width: 1080px; margin-bottom: clamp(56px, 8vw, 110px); }
.about__grid { display: grid; grid-template-columns: 1.25fr 1fr .7fr; gap: clamp(20px, 3.5vw, 56px); align-items: end; }
.about__img { border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 4/3.2; }
.about__img--side { aspect-ratio: 3/4; align-self: start; }
.about__copy p { color: var(--muted); }
.facts { margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--brown); font-weight: 600; text-align: right; }

/* =========================================================
   Why choose us (dark)
   ========================================================= */
.why { background: var(--brown); color: rgba(248,245,240,.75); padding: clamp(90px, 11vw, 160px) 0 clamp(60px, 8vw, 100px); }
.why h2, .why h3 { color: var(--cream); }
.why h2 em { color: var(--beige); }
.why__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); }
.why__img { margin-top: 48px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/4.6; max-width: 440px; }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
.why__list { list-style: none; margin: 0; padding: 0; align-self: end; }
.why__list li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 34px 0; border-top: 1px solid var(--line-light); }
.why__list li:last-child { border-bottom: 1px solid var(--line-light); }
.why__list span { font-family: var(--serif); font-size: 26px; color: var(--bronze); }
.why__list h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 8px; }
.why__list p { margin: 0; max-width: 460px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line-light); }
.stat { padding: 34px 24px 0; border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--serif); font-size: clamp(3rem, 5.4vw, 5rem); line-height: 1; color: var(--cream); margin-bottom: 10px; }
.stat__label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(248,245,240,.55); }

/* =========================================================
   Work gallery
   ========================================================= */
.work { padding: clamp(90px, 11vw, 150px) 0 0; }
.work__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 40px 0; }
.work__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 52px; }
.work__hint { color: var(--muted); max-width: 300px; margin: 0; font-size: 15px; }
.work__track { display: flex; gap: 20px; padding: 0 var(--gutter); width: max-content; }
.work__item { margin: 0; flex: none; width: clamp(240px, 23vw, 340px); aspect-ratio: 3/4; border-radius: 18px; overflow: hidden; background: var(--sand); }
.work__item:nth-child(3n+2) { margin-top: 56px; }
.work__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); filter: sepia(.28) saturate(.78) contrast(.96) brightness(1.02); }

/* =========================================================
   Reviews
   ========================================================= */
.reviews { padding: clamp(90px, 11vw, 150px) 0; }
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 60px; }
.rating { display: flex; align-items: center; gap: 18px; padding: 18px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.rating__num { font-family: var(--serif); font-size: 52px; line-height: 1; margin: 0; color: var(--brown); }
.rating__src { margin: 0; font-size: 12.5px; color: var(--muted); }
.stars { color: var(--bronze); letter-spacing: 3px; margin: 0; font-size: 14px; }
.reviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review { padding: clamp(30px, 4vw, 52px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.2; color: var(--brown); }
.review__more { color: var(--muted); font-size: 15px; flex: 1; margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.review figcaption strong { color: var(--brown); font-size: 15px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--beige); color: var(--brown); font-family: var(--serif); font-size: 22px; flex: none; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 0 0 clamp(90px, 11vw, 150px); }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(60px, 8vw, 100px); border-top: 1px solid var(--line); }
.faq h2 { margin-bottom: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 500; color: var(--brown); }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .3s, border-color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: var(--brown); transform: translate(-50%, -50%); transition: transform .35s var(--ease), background .3s; }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--brown); border-color: var(--brown); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--cream); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { color: var(--muted); padding-bottom: 26px; margin: 0; max-width: 620px; }

/* =========================================================
   Contact
   ========================================================= */
.contact { padding: 0 0 clamp(90px, 11vw, 150px); background: var(--sand); }
.contact__band { height: clamp(240px, 42vw, 520px); overflow: hidden; margin-bottom: clamp(60px, 8vw, 110px); }
.contact__band img { width: 100%; height: 120%; object-fit: cover; object-position: center 70%; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.contact h2 { font-size: clamp(3rem, 7vw, 6rem); margin-bottom: 24px; }
.quote-steps { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.quote-steps li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--brown); font-weight: 500; }
.quote-steps span { font-family: var(--serif); color: var(--bronze); font-size: 18px; width: 30px; }
.contact__cards { display: grid; gap: 14px; align-content: start; }
.ccard {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 26px 28px; border-radius: 18px;
  background: var(--paper); border: 1px solid var(--line); text-decoration: none;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.ccard--dark { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.ccard__label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ccard--dark .ccard__label { color: rgba(248,245,240,.6); }
.ccard__value { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; overflow-wrap: anywhere; }
.ccard__value--sm { font-family: var(--sans); font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 600; }
.ccard__go { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 20px; transition: transform .4s var(--ease); }
.ccard:hover { transform: translateY(-3px); }
.ccard:hover .ccard__go { transform: translate(6px, -50%); }
.ccard:not(.ccard--dark):hover { background: var(--beige); }
.visit { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 4px 0; }
.visit p { margin: 0; color: var(--brown); font-weight: 500; }
.visit .ccard__label { margin-bottom: 4px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--brown); color: rgba(248,245,240,.65); padding: 0 0 30px; font-size: 14.5px; overflow: hidden; }
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { color: var(--beige); }
.marquee { border-bottom: 1px solid var(--line-light); padding: 30px 0; overflow: hidden; }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.4rem); color: var(--beige); white-space: nowrap; }
.marquee__track i { color: var(--bronze); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr .8fr; gap: 40px; padding: 64px 0 40px; }
.footer__brand img { width: 230px; height: auto; margin: -18px 0 10px -18px; }
.footer__brand p { max-width: 340px; }
.footer__h { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; }
.footer nav { display: flex; flex-direction: column; gap: 6px; }
.footer__word { margin: 0; font-family: var(--serif); font-size: clamp(5rem, 19vw, 18rem); line-height: .85; letter-spacing: -.03em; color: rgba(217,200,179,.1); text-align: center; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 12.5px; }
.footer__bottom p { margin: 0; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brown); color: var(--cream);
  box-shadow: 0 14px 30px -10px rgba(57,49,44,.6), 0 0 0 1px rgba(248,245,240,.2); transition: transform .3s var(--ease), background .3s;
}
.wa-float:hover { transform: scale(1.08); background: var(--bronze); }
.wa-float svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-block; }
  .xp__steps { display: none; }
}
@media (max-width: 900px) {
  .head__row, .why__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 50px 1fr; }
  .svc__img { grid-column: 2; max-width: 420px; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__img--main { grid-column: 1 / -1; }
  .reviews__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 799px) {
  /* mobile 3D: copy on top, house below, cards as a bottom sheet */
  .xp__pin { min-height: 600px; }
  .xp__intro, .xp__final { left: var(--gutter); right: var(--gutter); width: auto; top: 86px; bottom: auto; padding-top: 0; justify-content: flex-start; }
  .xp__intro h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); margin-bottom: 14px; }
  .xp__lead { font-size: 15px; margin-bottom: 20px; }
  .xp__trust { display: none; }
  .xp__final h2 { font-size: clamp(2.6rem, 11vw, 3.4rem); margin-bottom: 22px; }
  .xp__scroll { bottom: 18px; }
  .xcard { left: var(--gutter) !important; right: var(--gutter); top: auto !important; bottom: 92px; width: auto; padding: 18px 20px; }
  .xcard h3 { font-size: 24px; }
  .xp__render { left: 50%; top: auto; bottom: 2%; translate: -50% 0; width: 118vw; }
  .work__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .work__item { width: 72vw; scroll-snap-align: center; }
  .work__item:nth-child(3n+2) { margin-top: 0; }
  .work__pin { min-height: 0; }
  .work__head { flex-direction: column; align-items: start; }
}
@media (max-width: 560px) {
  .nav__phone { display: none; }
  .nav__logo img { height: 50px; }
  .nav .btn--sm { display: none; }
  .svc { grid-template-columns: 1fr; }
  .svc__img { grid-column: 1; }
  .about__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .why__list li { grid-template-columns: 44px 1fr; }
}

/* =========================================================
   Reduced motion: static house, no pin, everything visible
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .xp__scroll, .xp__steps, .xp__progress, .xp__lines, .xp__gl { display: none; }
  .xcard { visibility: hidden; }
}

/* =========================================================
   Services dropdown + mobile menu services
   ========================================================= */
.nav__drop { position: relative; }
.nav__droptoggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .25s;
}
.nav__droptoggle svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease); }
.nav__drop:hover .nav__droptoggle, .nav__drop.is-open .nav__droptoggle { color: var(--brown); }
.nav__drop.is-open .nav__droptoggle svg, .nav__drop:hover .nav__droptoggle svg { transform: rotate(180deg); }
.nav__panel {
  position: absolute; left: -22px; top: calc(100% + 18px); width: 300px; padding: 10px;
  background: rgba(252,250,247,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(57,49,44,.4);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__drop.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .nav__drop:hover .nav__panel { opacity: 1; visibility: visible; transform: none; } }
.nav__panel a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--brown); }
.nav__panel a::after { display: none; }
.nav__panel a span { font-family: var(--serif); font-size: 15px; color: var(--bronze); width: 20px; }
.nav__panel a:hover, .nav__panel a[aria-current="page"] { background: var(--sand); }
.nav__panel .nav__all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; color: var(--muted); font-size: 13px; }
.mmenu { overflow-y: auto; justify-content: flex-start; }
.mmenu__label { margin: 14px 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mmenu__services { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; padding-left: 4px; border-left: 1px solid var(--line); }
.mmenu .mmenu__services a { font-family: var(--sans); font-size: 17px; padding: 6px 12px; display: flex; gap: 10px; }
.mmenu__services a span { color: var(--bronze); font-family: var(--serif); }

/* service links on the home page */
.svc__link { display: inline-flex; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--brown); text-decoration: none; border-bottom: 1px solid var(--bronze); padding-bottom: 2px; }
.svc__link span { transition: transform .35s var(--ease); }
.svc__link:hover span { transform: translateX(4px); }
.svc h3 a { text-decoration: none; }
.xcard__link { display: inline-flex; gap: 6px; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--brown); text-decoration: none; border-bottom: 1px solid var(--bronze); }
.xcard { pointer-events: auto; }

/* =========================================================
   Service pages
   ========================================================= */
.sp-hero { padding: clamp(120px, 14vw, 170px) 0 clamp(70px, 9vw, 120px); background: radial-gradient(110% 80% at 80% 30%, #FCFAF6 0%, var(--cream) 60%, #F1EBE2 100%); }
.sp-hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 30px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--brown); }
.crumbs [aria-current] { color: var(--brown); font-weight: 600; }
.sp-hero__icon { width: 40px; height: 40px; margin-bottom: 20px; }
.sp-hero h1 { font-size: clamp(3.2rem, 6.4vw, 6.4rem); line-height: .96; margin-bottom: 26px; }
.sp-hero h1 em { display: block; }
.sp-hero__lead { color: var(--muted); font-size: 18px; max-width: 500px; margin-bottom: 32px; }
.sp-hero__media { aspect-ratio: 4/4.4; border-radius: 26px; overflow: hidden; background: var(--sand); box-shadow: 0 40px 80px -50px rgba(57,49,44,.55); }
.sp-hero__media > img { width: 100%; height: 100%; object-fit: cover; }

.sp-covers { padding: clamp(80px, 10vw, 140px) 0; }
.sp-covers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.sp-covers h2 { margin-bottom: 24px; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; color: var(--brown); }
.tick { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; border: 1px solid var(--bronze); position: relative; }
.tick::after { content: ""; position: absolute; left: 7px; top: 5px; width: 8px; height: 5px; border-left: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: rotate(-45deg); }

.sp-steps { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sp-steps h2 { margin-bottom: clamp(48px, 6vw, 80px); max-width: 720px; }
.steps__rail { height: 1px; background: var(--line); position: relative; margin-bottom: 36px; }
.steps__line { position: absolute; inset: 0; background: var(--bronze); transform-origin: left; transform: scaleX(0); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 32px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.step__num { display: block; font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--bronze); margin-bottom: 30px; }
.step h3 { font-size: 28px; margin-bottom: 12px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.sp-detail { padding: clamp(80px, 10vw, 140px) 0; }
.sp-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.sp-detail__img { aspect-ratio: 4/4.6; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.sp-detail__img img { width: 100%; height: 112%; object-fit: cover; }
.detail + .detail { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.detail h3 { font-size: clamp(2rem, 3vw, 2.7rem); margin-bottom: 18px; }
.detail p { color: var(--muted); }

.sp-when { background: var(--brown); color: rgba(248,245,240,.75); padding: clamp(80px, 10vw, 130px) 0; }
.sp-when h2 { color: var(--cream); margin-bottom: 22px; }
.sp-when h2 em, .sp-when h2 em.sheen { color: var(--beige); }
.sp-when__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: end; }
.when { list-style: none; margin: 0; padding: 0; counter-reset: w; }
.when li { counter-increment: w; display: flex; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line-light); font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); color: var(--cream); line-height: 1.25; }
.when li:last-child { border-bottom: 1px solid var(--line-light); }
.when li::before { content: "0" counter(w); font-size: 16px; color: var(--bronze); padding-top: 6px; }
.sp-when h2 em.sheen, .sp-quote h2 em.sheen { background-image: linear-gradient(100deg, var(--beige) 0%, var(--beige) 40%, #FFF4E2 50%, var(--beige) 60%, var(--beige) 100%); }

.sp-faq { padding-top: clamp(80px, 10vw, 130px); }
.sp-faq .faq__grid { border-top: 0; padding-top: 0; }

.sp-quote { background: linear-gradient(160deg, #4A3F38, var(--brown)); color: rgba(248,245,240,.75); padding: clamp(80px, 10vw, 130px) 0; }
.sp-quote__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.sp-quote h2 { color: var(--cream); font-size: clamp(2.3rem, 4.4vw, 4rem); margin-bottom: 22px; }
.sp-quote h2 em { color: var(--beige); }
.sp-quote__cards { display: grid; gap: 12px; }
.ccard--light { background: var(--cream); color: var(--brown); border-color: var(--cream); }
.ccard--ghost { background: rgba(248,245,240,.06); color: var(--cream); border-color: var(--line-light); }
.ccard--ghost .ccard__label { color: rgba(248,245,240,.6); }
.ccard--ghost:hover { background: rgba(248,245,240,.12) !important; }

.sp-others { padding: clamp(80px, 10vw, 130px) 0; }
.sp-others__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 48px; }
.pager { display: flex; gap: 12px; }
.pager__link { display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-family: var(--serif); font-size: 20px; color: var(--brown); transition: background .3s, border-color .3s; }
.pager__link span { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pager__link--next { text-align: right; }
.pager__link:hover { background: var(--paper); border-color: var(--bronze); }
.others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.other { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--brown); }
.other figure { aspect-ratio: 3/3.6; border-radius: 18px; overflow: hidden; background: var(--sand); margin-bottom: 14px; }
.other img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: brightness(.9) saturate(.85); }
.other:hover img { transform: scale(1.06); filter: brightness(1) saturate(1); }
.other__num { font-family: var(--serif); color: var(--bronze); font-size: 15px; }
.other__name { font-family: var(--serif); font-size: 22px; line-height: 1.15; padding-right: 26px; }
.other__go { position: absolute; right: 2px; bottom: 4px; transition: transform .35s var(--ease); }
.other:hover .other__go { transform: translateX(4px); }

@media (max-width: 1000px) {
  .others { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .sp-hero__grid, .sp-covers__grid, .sp-detail__grid, .sp-when__grid, .sp-quote__inner { grid-template-columns: 1fr; }
  .sp-hero__media { aspect-ratio: 4/3.4; }
  .steps { grid-template-columns: 1fr; }
  .sp-detail__img { aspect-ratio: 4/3.4; }
}
@media (max-width: 560px) {
  .others { grid-template-columns: 1fr 1fr; }
  .pager { width: 100%; }
  .pager__link { flex: 1; font-size: 17px; }
}

.nav__links { align-items: center; }
.nav__links > a, .nav__droptoggle { line-height: 1.4; display: inline-flex; align-items: center; }
