/* ===== Voltage Bespoke — Luxury Electrical Installation ===== */

:root{
  --black: #0b0c0e;
  --charcoal: #15171a;
  --charcoal-2: #1c1f23;
  --cream: #f6f2ea;
  --cream-2: #efe9dd;
  --ink: #111315;
  --muted: #6b6f76;
  --muted-light: #a9a39230;
  --gold: #c9a35a;
  --gold-light: #e3c98a;
  --gold-dim: #8a7242;
  --line: rgba(255,255,255,0.09);
  --line-dark: rgba(11,12,14,0.1);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(.16,1,.3,1);
  --dur: 700ms;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

body{
  margin:0;
  font-family:var(--sans);
  background:var(--cream);
  color:var(--ink);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:var(--serif);
  font-weight:500;
  line-height:1.15;
  margin:0;
  color:var(--ink);
  letter-spacing:-0.01em;
}
em{font-style:italic; color:var(--gold-dim);}
p{margin:0;}
a{color:inherit; text-decoration:none;}
button{font-family:var(--sans); border:none; background:none; cursor:pointer;}
svg{display:block;}

img,.placeholder-img{ -webkit-user-drag:none; }

::selection{ background:var(--gold); color:var(--black); }

/* film grain overlay for texture */
.grain{
  position:fixed; inset:0; pointer-events:none; z-index:9999;
  opacity:0.035; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress-bar{
  position:fixed; top:0; left:0; height:2px; width:0%;
  background:linear-gradient(90deg,var(--gold-dim),var(--gold-light));
  z-index:1001; transition:width 80ms linear;
}

/* ===== Section labels & headings ===== */
.section-label{
  font-size:.72rem; letter-spacing:.22em; text-transform:uppercase;
  color:var(--gold-dim); font-weight:600; margin-bottom:14px; display:block;
}
.section-head{
  max-width:1180px; margin:0 auto; padding:0 32px 56px;
}
.section-head--light .section-label{ color:var(--gold-light); }
.section-head--light .section-title{ color:var(--cream); }
.section-title{ font-size:clamp(1.9rem,3.4vw,2.8rem); max-width:680px; }

/* ===== Reveal-on-scroll ===== */
.reveal{
  opacity:0; transform:translateY(28px);
  transition:opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change:opacity, transform;
}
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:16px 34px; font-size:.85rem; letter-spacing:.08em; text-transform:uppercase;
  font-weight:600; border-radius:2px; cursor:pointer;
  transition:transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn--gold{
  background:linear-gradient(135deg,var(--gold-light),var(--gold-dim));
  color:#1a1305;
  box-shadow:0 8px 30px -8px rgba(201,163,90,.55);
}
.btn--gold:hover{ transform:translateY(-2px); box-shadow:0 14px 36px -8px rgba(201,163,90,.65); }
.btn--ghost{
  background:transparent; color:inherit;
  border:1px solid currentColor; opacity:.85;
}
.btn--ghost:hover{ opacity:1; background:rgba(255,255,255,.06); transform:translateY(-2px); }

/* ===== NAV ===== */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:22px 0; transition:padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled{
  padding:12px 0; background:rgba(11,12,14,0.82); backdrop-filter:blur(14px) saturate(140%);
  box-shadow:0 1px 0 var(--line);
}
/* Pages with no dark hero behind the nav need it solid from the start */
.page-legal .nav{
  padding:12px 0; background:rgba(11,12,14,0.92); backdrop-filter:blur(14px) saturate(140%);
  box-shadow:0 1px 0 var(--line);
}
.nav__inner{
  max-width:1320px; margin:0 auto; padding:0 32px;
  display:flex; align-items:center; justify-content:space-between;
}
/* ===== Brand lockup (C-bulb-S / Electrical) ===== */
.brand{
  display:flex; flex-direction:column; align-items:flex-start; gap:3px; color:var(--cream); cursor:pointer;
}
.brand__mark{ display:flex; align-items:center; gap:2px; line-height:1; }
.brand__letter{
  font-family:var(--serif); font-size:1.6rem; font-weight:500; letter-spacing:.01em; color:var(--cream);
}
.brand__bulb{
  width:21px; height:29px; color:var(--gold-light); margin:0 1px; transform:translateY(1px);
}
.brand__tagline{
  font-family:var(--sans); font-size:.62rem; font-weight:500; letter-spacing:.32em; text-transform:uppercase;
  color:var(--gold-dim); padding-left:2px;
}
.brand--footer .brand__letter{ font-size:1.9rem; }
.brand--footer .brand__bulb{ width:25px; height:35px; }
.brand--footer .brand__tagline{ font-size:.68rem; color:var(--gold-light); }
.nav__links{ display:flex; align-items:center; gap:36px; }
.nav__links a{
  font-size:.82rem; letter-spacing:.04em; color:var(--cream); opacity:.8;
  position:relative; padding-bottom:4px; transition:opacity .3s;
}
.nav__links a:not(.nav__cta)::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--gold-light);
  transition:width .35s var(--ease);
}
.nav__links a:not(.nav__cta):hover{ opacity:1; }
.nav__links a:not(.nav__cta):hover::after{ width:100%; }
.nav__cta{
  border:1px solid var(--gold-light); padding:9px 20px; border-radius:2px; opacity:1 !important;
  transition:background .3s, color .3s;
}
.nav__cta:hover{ background:var(--gold-light); color:var(--black); }

.nav__burger{ display:none; flex-direction:column; gap:5px; width:26px; cursor:pointer; }
.nav__burger span{ height:1px; width:100%; background:var(--cream); transition:transform .3s, opacity .3s; }
.nav__mobile{
  display:none; flex-direction:column; gap:0; background:rgba(11,12,14,.97); backdrop-filter:blur(14px);
  max-height:0; overflow:hidden; transition:max-height .4s var(--ease);
}
.nav__mobile a{
  color:var(--cream); padding:18px 32px; border-top:1px solid var(--line); font-size:.95rem;
}
.nav__mobile.open{ max-height:420px; }

@media (max-width:880px){
  .nav__links{ display:none; }
  .nav__burger{ display:flex; }
  .nav__mobile{ display:flex; }
}

/* ===== HERO ===== */
.hero{
  position:relative; min-height:100vh; display:flex; align-items:center;
  background:radial-gradient(120% 100% at 50% 0%, #1a1d21 0%, var(--black) 60%);
  overflow:hidden; color:var(--cream); padding:140px 32px 80px;
}
.hero__bg{ position:absolute; inset:0; z-index:0; }
.hero__photo{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(11,12,14,.78) 0%, rgba(11,12,14,.6) 45%, rgba(11,12,14,.9) 100%),
    url('../images/hero-living-room.jpg') center 35% / cover no-repeat;
}
.hero__bg-glow{
  position:absolute; top:-10%; right:-10%; width:60%; height:70%;
  background:radial-gradient(circle, rgba(201,163,90,.16), transparent 70%);
  filter:blur(10px);
}
.hero__circuit{
  position:absolute; inset:0; width:100%; height:100%; color:var(--gold-dim); opacity:.22;
}
.hero__content{ position:relative; z-index:1; max-width:880px; margin:0 auto; text-align:center; }
.eyebrow{
  font-size:.78rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-light);
  margin-bottom:26px; font-weight:600;
}
.hero__title{
  font-size:clamp(2.4rem,6vw,4.6rem); font-weight:400; color:var(--cream);
}
.hero__title span{ display:block; }
.hero__title em{ color:var(--gold-light); font-style:italic; }
.hero__sub{
  margin:30px auto 0; max-width:560px; font-size:1.05rem; color:#cfc9bd; font-weight:300;
}
.hero__actions{ margin-top:42px; display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }

.hero__scroll{
  position:absolute; bottom:34px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:10px; z-index:1;
  color:#a39d8d; font-size:.68rem; letter-spacing:.18em; text-transform:uppercase;
}
@media (max-width:680px){
  .hero__scroll{ display:none; }
  .hero{ padding-bottom:60px; }
}
.hero__scroll-line{
  width:1px; height:44px; background:linear-gradient(to bottom, var(--gold-light), transparent);
  position:relative; overflow:hidden;
}
.hero__scroll-line::after{
  content:""; position:absolute; top:0; left:0; width:100%; height:14px; background:var(--cream);
  animation:scrollDrip 2.4s ease-in-out infinite;
}
@keyframes scrollDrip{
  0%{ transform:translateY(-20px); opacity:0; }
  30%{ opacity:1; }
  100%{ transform:translateY(50px); opacity:0; }
}

/* ===== TRUST STRIP ===== */
.trust{ background:var(--charcoal); padding:26px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust__inner{
  max-width:1200px; margin:0 auto; padding:0 32px; display:flex; align-items:center; justify-content:center;
  flex-wrap:wrap; gap:18px; color:#cfc9bd;
}
.trust__item{ font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; white-space:nowrap; }
.trust__divider{ width:1px; height:14px; background:var(--line); }
@media (max-width:700px){ .trust__divider{ display:none; } }

/* ===== INTRO ===== */
.intro{ padding:140px 32px; background:var(--cream); }
.intro__inner{ max-width:880px; margin:0 auto; text-align:center; }
.intro__heading{
  font-size:clamp(1.7rem,3.2vw,2.5rem); font-weight:400; margin-bottom:30px;
}
.intro__text{ font-size:1.05rem; color:var(--muted); max-width:680px; margin:0 auto; }

/* ===== SERVICES ===== */
.services{ background:var(--cream); padding:0 0 140px; }
.services__grid{
  max-width:1320px; margin:0 auto; padding:0 32px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:2px;
  background:var(--line-dark);
}
.service-card{
  background:var(--cream); padding:48px 38px; transition:background .4s var(--ease);
}
.service-card:hover{ background:#fffdf8; }
.service-card__icon{
  width:46px; height:46px; display:flex; align-items:center; justify-content:center;
  color:var(--gold-dim); margin-bottom:26px; border:1px solid var(--gold-dim); border-radius:50%;
  transition:transform .4s var(--ease), background .4s, color .4s;
}
.service-card:hover .service-card__icon{ background:var(--gold-dim); color:var(--cream); transform:rotate(8deg) scale(1.06); }
.service-card__icon svg{ width:22px; height:22px; }
.service-card h3{ font-size:1.2rem; margin-bottom:12px; }
.service-card p{ color:var(--muted); font-size:.93rem; }
@media (max-width:980px){ .services__grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .services__grid{ grid-template-columns:1fr; } }

/* ===== PROCESS ===== */
.process{ background:var(--black); color:var(--cream); padding:140px 32px; }
.process__list{ max-width:880px; margin:0 auto; display:flex; flex-direction:column; }
.process__item{
  display:flex; gap:36px; padding:34px 0; border-top:1px solid var(--line);
  align-items:flex-start;
}
.process__item:last-child{ border-bottom:1px solid var(--line); }
.process__num{
  font-family:var(--serif); font-size:1.6rem; color:var(--gold-dim); min-width:54px; font-weight:400;
}
.process__item h3{ color:var(--cream); font-size:1.25rem; margin-bottom:10px; font-weight:500; }
.process__item p{ color:#a9a392; font-size:.94rem; max-width:560px; }

/* ===== STATS ===== */
.stats{ background:var(--charcoal-2); padding:90px 32px; }
.stats__grid{
  max-width:880px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:40px; text-align:center;
}
.stat{ color:var(--cream); }
.stat__num, .stat__suffix{
  font-family:var(--serif); font-size:clamp(2.2rem,4vw,3.2rem); color:var(--gold-light); font-weight:500;
}
.stat p{ margin-top:10px; font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; color:#a9a392; }
@media (max-width:620px){ .stats__grid{ grid-template-columns:1fr; gap:36px; } }

/* ===== PROJECTS ===== */
.projects{ background:var(--cream); padding:140px 0; }
.projects__carousel{ max-width:1320px; margin:0 auto; }

.projects__viewport{
  overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:32px;
  scrollbar-width:none; -ms-overflow-style:none;
}
.projects__viewport::-webkit-scrollbar{ display:none; }
.projects__track{ display:flex; gap:24px; padding:0 32px; }

.project-card{
  position:relative; overflow:hidden; border-radius:2px; cursor:pointer;
  flex:0 0 380px; height:300px; scroll-snap-align:start;
}
.project-card__img{
  position:absolute; inset:0; transition:transform 1.1s var(--ease);
}
.project-card:hover .project-card__img{ transform:scale(1.07); }
.project-card__img--1{ background:url('../images/project-bedroom.jpg') center/cover no-repeat; }
.project-card__img--2{ background:url('../images/bedroom-crystal-chandelier.jpg') center/cover no-repeat; }
.project-card__img--3{ background:url('../images/garden-patio.jpg') center/cover no-repeat; }
.project-card__img--4{ background:url('../images/project-kitchen.jpg') center/cover no-repeat; }
.project-card__img--5{ background:url('../images/shower-niche.jpg') center/cover no-repeat; }
.project-card__img--6{ background:url('../images/freestanding-bath.jpg') center/cover no-repeat; }
.project-card__img--7{ background:url('../images/powder-room.jpg') center/cover no-repeat; }
.project-card__img--8{ background:url('../images/white-kitchen.jpg') center/cover no-repeat; }
.project-card__img--9{ background:url('../images/hallway-staircase.jpg') center/cover no-repeat; }
.project-card__img--10{ background:url('../images/kitchen-dining-chandelier.jpg') center/cover no-repeat; }
.project-card__img--11{ background:url('../images/dressing-room-fireplace.jpg') center/cover no-repeat; }
.project-card__img--12{ background:url('../images/bathroom-vanity-shower.jpg') center/cover no-repeat; }
.project-card__img--13{ background:url('../images/wardrobe-led-shelving.jpg') center/cover no-repeat; }
.project-card__img--14{ background:url('../images/hallway-console-mirror.jpg') center/cover no-repeat; }
.project-card::after{
  content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.75), transparent 55%);
}
.project-card__info{
  position:absolute; left:0; bottom:0; padding:26px 30px; z-index:1; color:var(--cream);
  transform:translateY(8px); transition:transform .4s var(--ease);
}
.project-card:hover .project-card__info{ transform:translateY(0); }
.project-card__info span{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-light); }
.project-card__info h3{ color:var(--cream); font-size:1.25rem; margin-top:6px; font-weight:500; }

@media (max-width:620px){
  .project-card{ flex:0 0 85vw; height:260px; }
}

/* ===== Switch-style carousel nav ===== */
.switch-nav{ display:flex; justify-content:center; margin-top:44px; }
.switch-nav__plate{
  position:relative; display:flex; align-items:center;
  background:linear-gradient(165deg,var(--charcoal),var(--black));
  border:1px solid var(--line); border-radius:8px; padding:9px;
  box-shadow:0 12px 30px -12px rgba(11,12,14,.4);
}
.switch-nav__divider{ width:1px; height:28px; background:var(--line); margin:0 2px; }
.switch-nav__rocker{
  position:relative; width:56px; height:40px; border-radius:4px;
  background:var(--charcoal-2); color:var(--gold-light);
  display:flex; align-items:center; justify-content:center;
  transition:transform .15s ease, background .2s ease, box-shadow .2s ease;
  box-shadow:0 2px 0 rgba(0,0,0,.35) inset, 0 1px 0 rgba(255,255,255,.04);
}
.switch-nav__rocker svg{ width:18px; height:18px; }
.switch-nav__rocker:hover{ background:#23262b; }
.switch-nav__rocker:active{ transform:scale(.94) translateY(1px); }
.switch-nav__rocker.is-flipped{ box-shadow:0 0 0 1px var(--gold-dim), 0 2px 0 rgba(0,0,0,.35) inset; }
.switch-nav__rocker:disabled{ opacity:.3; cursor:default; }
.switch-nav__rocker:disabled:hover{ background:var(--charcoal-2); }
.switch-nav__led{
  position:absolute; top:6px; right:6px; width:4px; height:4px; border-radius:50%;
  background:var(--gold-dim); opacity:.4; transition:background .2s, opacity .2s, box-shadow .2s;
}
.switch-nav__rocker.is-flipped .switch-nav__led{
  background:var(--gold-light); opacity:1; box-shadow:0 0 6px var(--gold-light);
}
.switch-nav__screw{
  position:absolute; width:5px; height:5px; border-radius:50%;
  background:radial-gradient(circle at 35% 35%, #6b6f76, #1a1a1a 70%);
}
.switch-nav__screw--tl{ top:5px; left:5px; }
.switch-nav__screw--tr{ top:5px; right:5px; }
.switch-nav__screw--bl{ bottom:5px; left:5px; }
.switch-nav__screw--br{ bottom:5px; right:5px; }

/* ===== Switch nav — round brass knob variant (comparison) ===== */
.switch-nav--knob .switch-nav__plate{
  background:none; border:none; box-shadow:none; padding:0; gap:20px; align-items:center;
}
.switch-nav--knob .switch-nav__screw{ display:none; }
.switch-nav--knob .switch-nav__divider{ width:20px; height:1px; background:var(--line-dark); }
.switch-nav--knob .switch-nav__rocker{
  width:54px; height:54px; border-radius:50%;
  background:radial-gradient(circle at 35% 28%, #c9a35a, #8a7242 55%, #5c4726 100%);
  color:#2a2008;
  box-shadow:0 4px 10px rgba(11,12,14,.35), inset 0 1px 1px rgba(255,255,255,.35), inset 0 -2px 4px rgba(0,0,0,.4);
}
.switch-nav--knob .switch-nav__rocker svg{ width:19px; height:19px; }
.switch-nav--knob .switch-nav__rocker:hover{ filter:brightness(1.06); }
.switch-nav--knob .switch-nav__rocker:active{ transform:scale(.93); }
.switch-nav--knob .switch-nav__rocker.is-flipped{
  box-shadow:0 0 0 2px var(--gold-light), 0 4px 10px rgba(11,12,14,.3), inset 0 1px 1px rgba(255,255,255,.55);
}
.switch-nav--knob .switch-nav__rocker:disabled{ opacity:.35; }
.switch-nav--knob .switch-nav__led{ display:none; }

/* ===== CREDENTIALS ===== */
.credentials{ background:var(--cream); padding:0 0 140px; }
.credentials__grid{
  max-width:1320px; margin:0 auto; padding:0 32px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:40px;
}
.credential svg{ width:34px; height:34px; color:var(--gold-dim); margin-bottom:22px; }
.credential h3{ font-size:1.1rem; margin-bottom:10px; }
.credential p{ color:var(--muted); font-size:.9rem; }
@media (max-width:980px){ .credentials__grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .credentials__grid{ grid-template-columns:1fr; } }

/* ===== EUROPE ===== */
.europe{ background:var(--charcoal); padding:140px 0; }
.europe__inner{ max-width:1320px; margin:0 auto; padding:0 32px; }
.europe__text{
  max-width:760px; color:#cfc9bd; font-size:1.02rem; margin:-20px 0 60px;
}
.europe__grid .credential h3{ color:var(--cream); }
.europe__grid .credential p{ color:#a9a392; }
.europe__grid .credential svg{ color:var(--gold-light); }

/* ===== TESTIMONIALS ===== */
.testimonials{ background:var(--black); padding:140px 32px 110px; color:var(--cream); }
.testimonial-carousel{ max-width:760px; margin:0 auto; position:relative; }
.testimonial-track{ position:relative; min-height:200px; }
.testimonial{
  position:absolute; inset:0; text-align:center; opacity:0; transform:translateY(14px);
  transition:opacity .6s var(--ease), transform .6s var(--ease); pointer-events:none;
}
.testimonial.active{ opacity:1; transform:translateY(0); pointer-events:auto; }
.testimonial p{
  font-family:var(--serif); font-size:clamp(1.2rem,2.4vw,1.6rem); font-weight:400; font-style:italic;
  color:var(--cream); line-height:1.5;
}
.testimonial cite{
  display:block; margin-top:24px; font-style:normal; font-size:.78rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--gold-light);
}
.testimonial-dots{ display:flex; justify-content:center; gap:10px; margin-top:50px; }
.testimonial-dots button{
  width:8px; height:8px; border-radius:50%; background:var(--line); transition:background .3s, transform .3s;
}
.testimonial-dots button.active{ background:var(--gold-light); transform:scale(1.3); }

/* ===== CONTACT ===== */
.contact{ background:var(--cream-2); padding:140px 32px; }
.contact__inner{
  max-width:1180px; margin:0 auto; display:grid; grid-template-columns:1fr 1.2fr; gap:80px;
}
.contact__intro h2{ font-size:clamp(1.8rem,3vw,2.4rem); margin-top:10px; font-weight:400; }
.contact__text{ color:var(--muted); margin-top:22px; max-width:380px; }
.contact__details{ margin-top:36px; display:flex; flex-direction:column; gap:12px; }
.contact__details a{
  font-size:1rem; color:var(--ink); position:relative; width:fit-content;
}
.contact__details a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:100%; height:1px; background:var(--gold-dim);
  transform:scaleX(0); transform-origin:left; transition:transform .4s var(--ease);
}
.contact__details a:hover::after{ transform:scaleX(1); }
.contact__details span{ color:var(--muted); font-size:.9rem; margin-top:6px; }

.contact__form{ display:grid; grid-template-columns:1fr 1fr; gap:22px; position:relative; }
.field{ position:relative; }
.field--full{ grid-column:1 / -1; }
.field input, .field select, .field textarea{
  width:100%; background:transparent; border:none; border-bottom:1px solid #c9c2b2;
  padding:14px 2px 10px; font-family:var(--sans); font-size:.97rem; color:var(--ink);
  transition:border-color .3s; outline:none; appearance:none; border-radius:0;
}
.field textarea{ resize:vertical; min-height:90px; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--gold-dim); }
.field label{
  position:absolute; left:2px; top:14px; font-size:.95rem; color:var(--muted);
  pointer-events:none; transition:top .25s var(--ease), font-size .25s var(--ease), color .25s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label{
  top:-6px; font-size:.7rem; letter-spacing:.06em; text-transform:uppercase; color:var(--gold-dim);
}
.field__label-select{ top:-6px !important; font-size:.7rem !important; letter-spacing:.06em; text-transform:uppercase; color:var(--gold-dim) !important; }
.field select{ cursor:pointer; }
.contact__form .btn{ margin-top:10px; }
.contact__success{
  grid-column:1/-1; color:var(--gold-dim); font-size:.9rem; opacity:0; height:0; overflow:hidden;
  transition:opacity .4s, height .4s;
}
.contact__success.show{ opacity:1; height:auto; }
.contact__success.is-error{ color:#b5453a; }

@media (max-width:880px){
  .contact__inner{ grid-template-columns:1fr; gap:50px; }
  .contact__form{ grid-template-columns:1fr; }
}

/* ===== FOOTER ===== */
.footer{ background:var(--black); color:#a9a392; padding:80px 32px 30px; }
.footer__inner{
  max-width:1320px; margin:0 auto; display:flex; justify-content:space-between; gap:60px;
  flex-wrap:wrap; padding-bottom:50px; border-bottom:1px solid var(--line);
}
.footer__brand{ max-width:320px; }
.footer__brand .nav__logo-text{ color:var(--cream); }
.footer__brand p{ margin-top:18px; font-size:.88rem; line-height:1.7; }
.footer__cols{ display:flex; gap:60px; flex-wrap:wrap; }
.footer__cols h4{ color:var(--cream); font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:18px; font-weight:600; }
.footer__cols a, .footer__cols span{ display:block; margin-bottom:10px; font-size:.88rem; }
.footer__cols a:hover{ color:var(--gold-light); }
.footer__bottom{
  max-width:1320px; margin:0 auto; padding-top:24px; font-size:.78rem; opacity:.6;
}

/* ===== BACK TO TOP ===== */
.back-to-top{
  position:fixed; bottom:28px; right:28px; width:46px; height:46px; border-radius:50%;
  background:var(--black); color:var(--gold-light); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; z-index:900;
  opacity:0; transform:translateY(12px); pointer-events:none;
  transition:opacity .35s var(--ease), transform .35s var(--ease), background .3s;
}
.back-to-top.show{ opacity:1; transform:translateY(0); pointer-events:auto; }
.back-to-top:hover{ background:var(--gold-light); color:var(--black); }
.back-to-top svg{ width:18px; height:18px; }
@media (max-width:480px){
  .back-to-top{ width:40px; height:40px; bottom:18px; right:18px; }
  .back-to-top svg{ width:16px; height:16px; }
}

/* ===== Light-on intro ===== */
.light-intro{
  position:fixed; inset:0; z-index:99999; background:#000;
}
.light-intro__bulb{
  position:fixed; top:0; left:0; width:56px; height:78px;
  transform:translate(-50%,-50%); color:var(--gold-dim); opacity:0.25;
  pointer-events:none;
}
.light-intro__bulb.flicker{ animation:bulbFlicker .5s steps(1,end) forwards; }
.light-intro__bulb.lit{
  opacity:1; color:var(--gold-light);
  filter:drop-shadow(0 0 18px var(--gold-light)) drop-shadow(0 0 44px rgba(227,201,138,.65));
  transition:filter .3s ease;
}
@keyframes bulbFlicker{
  0%{ opacity:.22; }
  12%{ opacity:.75; }
  24%{ opacity:.18; }
  38%{ opacity:.85; }
  52%{ opacity:.3; }
  68%{ opacity:.95; }
  82%{ opacity:.35; }
  100%{ opacity:.9; }
}
html.no-intro .light-intro{ display:none !important; }

/* ===== Hero text rise-in, cued by the light intro ===== */
.hero-reveal{
  opacity:0; transform:translateY(40px);
  transition:opacity 1.1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1);
  will-change:opacity, transform;
}
.hero-reveal.is-visible{ opacity:1; transform:translateY(0); }
html.no-intro .hero-reveal{ opacity:1 !important; transform:none !important; transition:none !important; }

/* ===== Project lightbox ===== */
.lightbox{
  position:fixed; inset:0; z-index:9000; background:var(--black);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:32px;
  padding:32px; opacity:0; transition:opacity .3s ease; overflow-y:auto;
}
.lightbox[hidden]{ display:none; }
.lightbox.is-open{ opacity:1; }
.lightbox__close{
  position:absolute; top:24px; right:28px; width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.06); color:var(--cream);
  display:flex; align-items:center; justify-content:center; transition:background .2s;
}
.lightbox__close:hover{ background:rgba(255,255,255,.14); }
.lightbox__close svg{ width:18px; height:18px; }
.lightbox__figure{
  margin:0; max-width:min(1100px, 90vw); max-height:72vh; display:flex; flex-direction:column;
  align-items:center; gap:22px;
}
.lightbox__img{
  max-width:100%; max-height:62vh; width:auto; height:auto; object-fit:contain;
  border-radius:2px; box-shadow:0 30px 80px -20px rgba(0,0,0,.6);
  opacity:0; transform:scale(.97);
  transition:opacity .45s var(--ease), transform .45s var(--ease);
}
.lightbox__img.is-loaded{ opacity:1; transform:scale(1); }
.lightbox__caption{ text-align:center; color:var(--cream); }
.lightbox__caption span{
  font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-light); display:block; margin-bottom:6px;
}
.lightbox__caption h3{ font-size:1.3rem; font-weight:500; color:var(--cream); }
.lightbox__nav{ margin-top:0; }

@media (max-width:620px){
  .lightbox{ gap:20px; padding:20px; }
  .lightbox__figure{ max-height:60vh; }
  .lightbox__img{ max-height:50vh; }
  .lightbox__close{ top:16px; right:16px; width:40px; height:40px; }
}

.project-card{ cursor:zoom-in; }
.project-card:focus-visible{ outline:2px solid var(--gold-light); outline-offset:3px; }

/* ===== Legal page ===== */
.legal{ background:var(--cream); padding:160px 32px 140px; }
.legal__head{ max-width:1320px; margin:0 auto 64px; padding-bottom:36px; border-bottom:1px solid var(--line-dark); }
.legal__title{ font-size:clamp(2rem,3.6vw,3rem); font-weight:400; margin-top:10px; }
.legal__updated{ margin-top:16px; font-size:.85rem; color:var(--muted); }

.legal__body{
  max-width:1320px; margin:0 auto; display:grid; grid-template-columns:220px 1fr; gap:80px;
}
.legal__toc{
  display:flex; flex-direction:column; gap:14px; align-self:start; position:sticky; top:120px;
}
.legal__toc span{
  font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-dim); font-weight:600; margin-bottom:4px;
}
.legal__toc a{
  font-size:.92rem; color:var(--muted); width:fit-content; position:relative; padding-bottom:2px;
}
.legal__toc a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--gold-dim);
  transition:width .3s var(--ease);
}
.legal__toc a:hover{ color:var(--ink); }
.legal__toc a:hover::after{ width:100%; }

.legal__content{ max-width:680px; }
.legal__content article{ padding-bottom:64px; margin-bottom:64px; border-bottom:1px solid var(--line-dark); }
.legal__content article:last-child{ border-bottom:none; margin-bottom:0; padding-bottom:0; }
.legal__content h2{
  font-size:1.7rem; font-weight:500; margin-bottom:22px; scroll-margin-top:120px;
}
.legal__content h3{
  font-size:1.05rem; font-weight:600; font-family:var(--sans); margin:34px 0 12px;
  color:var(--gold-dim); letter-spacing:.02em;
}
.legal__content p{ color:var(--muted); font-size:.98rem; line-height:1.75; margin-bottom:4px; }
.legal__content a{ color:var(--gold-dim); text-decoration:underline; text-underline-offset:2px; }

@media (max-width:900px){
  .legal{ padding:140px 24px 100px; }
  .legal__body{ grid-template-columns:1fr; gap:40px; }
  .legal__toc{
    position:static; flex-direction:row; flex-wrap:wrap; gap:18px 24px;
    padding-bottom:28px; border-bottom:1px solid var(--line-dark);
  }
  .legal__toc span{ width:100%; margin-bottom:0; }
}
