/* ==========================================================================
   JN PROCOAT — Design System
   Editorial / architectural. Warm off-white, ink, concrete, one clay accent.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  /* ---- Color tokens ---- */
  --ink:        #17140F;
  --ink-soft:   #37332A;
  --paper:      #F5F1E9;
  --paper-deep: #ECE5D6;
  --surface:    #FBF9F4;
  --stone:      #D8D0BE;
  --stone-deep: #8C8371;
  --clay:       #9C5A34;
  --clay-deep:  #7A4526;
  --clay-tint:  #EFDCC9;
  --white:      #FFFFFF;
  --overlay:    rgba(20,17,12,.46);
  --overlay-strong: rgba(15,13,9,.68);

  /* ---- Type ---- */
  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: clamp(2.5rem, 4.4vw, 3.5rem);
  --text-5xl: clamp(3.25rem, 6vw, 5.25rem);
  --text-hero: clamp(3.4rem, 8vw, 8rem);

  /* ---- Space (spacious rhythm) ---- */
  --sp-1: .5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 6.5rem;
  --sp-8: 9rem;

  --container: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4rem);

  --radius: 2px;
  --ease-out: cubic-bezier(.16,.8,.24,1);
  --dur-fast: 180ms;
  --dur-med: 320ms;
  --dur-slow: 620ms;
}

/* ---- Reset ---- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
h1,h2,h3,h4{ margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; color: var(--ink); }
p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select{ font: inherit; color: inherit; }
:focus-visible{ outline: 2px solid var(--clay); outline-offset: 3px; }

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- Labels / eyebrow ---- */
.label{
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
}
.label--muted{ color: var(--stone-deep); }
.label--light{ color: var(--paper); }

/* ---- Buttons ---- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn svg{ width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-out); flex-shrink: 0; }
.btn:hover svg{ transform: translateX(3px); }
.btn-primary{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover{ background: var(--clay); border-color: var(--clay); color: var(--white); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--paper); }
.btn-on-dark{ color: var(--paper); border-color: rgba(245,241,233,.6); }
.btn-on-dark:hover{ background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-clay{ background: var(--clay); color: var(--white); border-color: var(--clay); }
.btn-clay:hover{ background: var(--clay-deep); border-color: var(--clay-deep); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: var(--sp-2) 0;
  transition: background var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid{
  background: var(--paper);
  border-color: var(--stone);
  padding: var(--sp-1) 0;
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.brand{
  display: flex;
  align-items: center;
}
.brand-logo{
  height: 32px;
  width: auto;
  display: block;
}
.brand-logo-dark{ display: none; }
.is-solid .brand-logo-light, .header-dark .brand-logo-light{ display: none; }
.is-solid .brand-logo-dark, .header-dark .brand-logo-dark{ display: block; }
.footer-brand .brand-logo{ height: 30px; }

.nav-links{
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.nav-links a{
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--dur-med) var(--ease-out);
}
.is-solid .nav-links a, .header-dark .nav-links a{ color: var(--ink-soft); }
.nav-links a::after{
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor;
  transition: right var(--dur-med) var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after{ right: 0; }
.nav-links a.is-active{ color: var(--clay); }

.nav-right{ display: flex; align-items: center; gap: var(--sp-3); }
.nav-cta{ display: inline-flex; }
.nav-cta .btn{ padding: .7rem 1.3rem; }
.is-solid .nav-cta .btn-on-dark, .header-dark .nav-cta .btn-on-dark{ color: var(--ink); border-color: var(--ink); }
.is-solid .nav-cta .btn-on-dark:hover, .header-dark .nav-cta .btn-on-dark:hover{ background: var(--ink); color: var(--paper); }

.menu-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  z-index: 210;
  position: relative;
}
.menu-toggle span{
  width: 22px; height: 1.5px; background: var(--white);
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out), background var(--dur-med) var(--ease-out);
}
.is-solid .menu-toggle span, .header-dark .menu-toggle span{ background: var(--ink); }
.menu-open .menu-toggle span{ background: var(--paper); }
.menu-open .menu-toggle span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2){ opacity: 0; }
.menu-open .menu-toggle span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu{
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 190;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-4) var(--gutter);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility 0s var(--dur-med);
}
.menu-open .mobile-menu{ opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.mobile-menu ul{ display: flex; flex-direction: column; gap: var(--sp-2); }
.mobile-menu a{
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 10vw, 3.2rem);
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -.02em;
}
.mobile-menu .label{ margin-bottom: var(--sp-3); }
.mobile-menu-foot{
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(245,241,233,.2);
  display: flex; flex-direction: column; gap: .5rem;
}
.mobile-menu-foot a{ color: var(--stone); font-family: var(--font-mono); font-size: var(--text-sm); }

body.menu-open, body.lightbox-open{ overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-media{
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-media img{
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 12s var(--ease-out) forwards;
}
@keyframes heroZoom{ to{ transform: scale(1); } }
.hero-media::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,13,9,.25) 0%, rgba(15,13,9,.12) 38%, rgba(15,13,9,.72) 100%);
}
.hero-content{
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) var(--sp-6);
  color: var(--paper);
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
}
.hero-eyebrow{
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: var(--sp-3);
  opacity: 0; transform: translateY(14px);
  animation: heroUp .8s var(--ease-out) .5s forwards;
}
.hero-eyebrow .rule{ width: 40px; height: 1px; background: var(--clay); }
.hero-title{
  font-size: var(--text-hero);
  color: var(--paper);
  margin: 0 0 var(--sp-3);
  overflow: hidden;
}
.hero-title span{
  display: block;
  opacity: 0; transform: translateY(100%);
  animation: heroUp .9s var(--ease-out) forwards;
}
.hero-title span:nth-child(1){ animation-delay: .15s; }
.hero-title span:nth-child(2){ animation-delay: .3s; color: var(--clay); }
@keyframes heroUp{ to{ opacity: 1; transform: translateY(0); } }
.hero-sub{
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-4);
  flex-wrap: wrap;
  border-top: 1px solid rgba(245,241,233,.25);
  padding-top: var(--sp-3);
  opacity: 0; transform: translateY(14px);
  animation: heroUp .8s var(--ease-out) .75s forwards;
}
.hero-sub p{ max-width: 34ch; font-size: var(--text-lg); color: var(--stone); }
.hero-actions{ display: flex; gap: var(--sp-2); flex-wrap: wrap; }

.scroll-cue{
  position: absolute; left: 50%; bottom: var(--sp-3); transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--paper);
  opacity: 0;
  animation: heroUp .8s var(--ease-out) 1.1s forwards;
}
.scroll-cue .line{ width: 1px; height: 34px; background: linear-gradient(var(--paper), transparent); animation: scrollLine 2s ease-in-out 4; }
@keyframes scrollLine{ 0%,100%{ transform: scaleY(1); transform-origin: top;} 50%{ transform: scaleY(.4); transform-origin: top;} }

/* ==========================================================================
   Sections / general
   ========================================================================== */
section{ position: relative; }
.section{ padding: var(--sp-8) 0; }
.section-tight{ padding: var(--sp-6) 0; }
.section-dark{ background: var(--ink); color: var(--paper); }
.section-deep{ background: var(--paper-deep); }

.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}
.section-head h2{ font-size: var(--text-4xl); max-width: 16ch; }
.section-head .desc{ max-width: 34ch; color: var(--stone-deep); font-size: var(--text-lg); }
.section-dark .section-head .desc{ color: var(--stone); }

.eyebrow-row{ display: flex; align-items: center; gap: .8rem; margin-bottom: var(--sp-2); }
.eyebrow-row .rule{ width: 40px; height: 1px; background: var(--clay); }

/* ---- Reveal on scroll ---- */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-stagger > *{ opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal-stagger.is-visible > *{ opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: .03s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: .1s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: .17s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: .31s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: .38s; }

/* ==========================================================================
   Intro (Good painting is in the details)
   ========================================================================== */
.intro{
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--sp-6);
  align-items: start;
}
.intro h2{ font-size: var(--text-4xl); }
.intro-body p{ font-size: var(--text-xl); line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }
.intro-body p + p{ margin-top: var(--sp-3); }
.intro-stats{ display: flex; gap: var(--sp-5); margin-top: var(--sp-4); flex-wrap: wrap; }
.intro-stats .stat-label{ display:block; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--stone-deep); margin-top: .35rem; }
.intro-stats .stat-value{ font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; }

/* ==========================================================================
   Featured Work — editorial asymmetric grid
   ========================================================================== */
.work-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
}
.work-card{
  position: relative;
  overflow: hidden;
  background: var(--stone);
  display: block;
}
.work-card .frame{ position: relative; overflow: hidden; width: 100%; height: 100%; }
.work-card img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.work-card:hover img{ transform: scale(1.06); }
.work-card .tag{
  position: absolute; top: var(--sp-2); left: var(--sp-2);
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase;
  color: var(--paper);
  z-index: 2;
}
.work-card .grad{
  position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(180deg, transparent, rgba(15,13,9,.82));
  z-index: 1;
  opacity: .85;
  transition: opacity var(--dur-med) var(--ease-out);
}
.work-card .info{
  position: absolute; left: var(--sp-2); right: var(--sp-2); bottom: var(--sp-2);
  z-index: 2; color: var(--paper);
}
.work-card .info h3{ font-size: var(--text-xl); font-weight: 600; }
.work-card .info .meta{ font-family: var(--font-mono); font-size: var(--text-xs); color: var(--stone); text-transform: uppercase; letter-spacing: .06em; margin-top: .3rem; display:flex; gap:.6rem; align-items:center; }
.work-card .view{
  position: absolute; right: var(--sp-2); bottom: var(--sp-2); z-index: 2;
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase;
  color: var(--paper);
  display: flex; align-items: center; gap: .4rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.work-card:hover .view{ opacity: 1; transform: translateY(0); }

.wc-1{ grid-column: span 4; aspect-ratio: 4/5; }
.wc-2{ grid-column: span 2; aspect-ratio: 3/5; }
.wc-3{ grid-column: span 2; aspect-ratio: 3/4; }
.wc-4{ grid-column: span 2; aspect-ratio: 3/4; }
.wc-5{ grid-column: span 2; aspect-ratio: 3/4; }

/* ==========================================================================
   Before / After slider
   ========================================================================== */
.ba-wrap{ max-width: 920px; margin-inline: auto; }
.ba-slider{
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  background: var(--ink);
  touch-action: pan-y;
}
.ba-slider img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider .ba-after{ clip-path: inset(0 0 0 50%); }
.ba-handle{
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--paper);
  transform: translateX(-1px);
  pointer-events: none;
}
.ba-handle .grip{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.ba-handle .grip svg{ width: 14px; height: 14px; color: var(--ink); }
.ba-label{
  position: absolute; top: var(--sp-2); z-index: 3;
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper);
  background: rgba(15,13,9,.55);
  padding: .4rem .8rem;
  pointer-events: none;
}
.ba-label.before{ left: var(--sp-2); }
.ba-label.after{ right: var(--sp-2); }
.ba-caption{ text-align: center; margin-top: var(--sp-3); color: var(--stone-deep); font-size: var(--text-sm); }

/* ==========================================================================
   Services — editorial list
   ========================================================================== */
.services-list{ border-top: 1px solid var(--stone); }
.service-row{
  display: grid;
  grid-template-columns: 90px 1.1fr 1.3fr 240px;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--stone);
  transition: background var(--dur-med) var(--ease-out);
}
.service-row:hover{ background: rgba(156,90,52,.05); }
.service-num{ font-family: var(--font-mono); color: var(--stone-deep); font-size: var(--text-sm); }
.service-row h3{ font-size: var(--text-2xl); }
.service-row p{ color: var(--stone-deep); font-size: var(--text-base); max-width: 46ch; }
.service-thumb{ aspect-ratio: 4/3; overflow: hidden; }
.service-thumb img{ width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.service-row:hover .service-thumb img{ transform: scale(1.08); }

/* ==========================================================================
   Why JN ProCoat — principles
   ========================================================================== */
.principles{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,241,233,.18);
  border-left: 1px solid rgba(245,241,233,.18);
}
.principle{ padding: var(--sp-4) var(--sp-3); border-right: 1px solid rgba(245,241,233,.18); border-bottom: 1px solid rgba(245,241,233,.18); }
.principle .pnum{ font-family: var(--font-mono); color: var(--clay); font-size: var(--text-sm); }
.principle h3{ color: var(--paper); font-size: var(--text-xl); margin-top: var(--sp-2); }
.principle p{ color: var(--stone); margin-top: .6rem; font-size: var(--text-sm); line-height: 1.6; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-list{ display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.process-step{ position: relative; padding-top: var(--sp-3); border-top: 1px solid var(--stone); }
.process-step .pnum{ font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 600; color: var(--stone); }
.process-step h3{ font-size: var(--text-lg); margin-top: var(--sp-2); letter-spacing: .04em; text-transform: uppercase; }
.process-step p{ margin-top: .6rem; color: var(--stone-deep); font-size: var(--text-sm); line-height: 1.6; max-width: 30ch; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band{
  background: var(--ink);
  color: var(--paper);
  padding: var(--sp-8) 0;
  text-align: center;
}
.cta-band h2{ color: var(--paper); font-size: var(--text-5xl); max-width: 18ch; margin-inline: auto; }
.cta-band .desc{ max-width: 44ch; margin: var(--sp-3) auto var(--sp-5); color: var(--stone); font-size: var(--text-lg); }
.cta-actions{ display: flex; justify-content: center; gap: var(--sp-2); flex-wrap: wrap; }
.cta-contacts{ margin-top: var(--sp-5); display: flex; justify-content: center; gap: var(--sp-5); flex-wrap: wrap; }
.cta-contacts a{ font-family: var(--font-mono); font-size: var(--text-sm); letter-spacing: .04em; color: var(--stone); border-bottom: 1px solid rgba(245,241,233,.3); padding-bottom: 2px; transition: color var(--dur-fast), border-color var(--dur-fast); }
.cta-contacts a:hover{ color: var(--paper); border-color: var(--paper); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--paper-deep); border-top: 1px solid var(--stone); padding: var(--sp-6) 0 var(--sp-3); }
.footer-top{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-4); padding-bottom: var(--sp-5); }
.footer-brand .brand{ color: var(--ink); margin-bottom: var(--sp-2); }
.footer-brand p{ color: var(--stone-deep); max-width: 32ch; font-size: var(--text-sm); }
.footer-col h4{ font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--stone-deep); margin-bottom: var(--sp-2); }
.footer-col ul{ display: flex; flex-direction: column; gap: .6rem; }
.footer-col a{ font-size: var(--text-sm); color: var(--ink-soft); transition: color var(--dur-fast); }
.footer-col a:hover{ color: var(--clay); }
.footer-bottom{ border-top: 1px solid var(--stone); padding-top: var(--sp-3); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-2); }
.footer-bottom p{ font-family: var(--font-mono); font-size: var(--text-xs); color: var(--stone-deep); letter-spacing: .02em; }
.footer-social{ display: flex; gap: var(--sp-2); }
.footer-social a{ color: var(--ink-soft); transition: color var(--dur-fast); }
.footer-social a:hover{ color: var(--clay); }
.footer-social svg{ width: 18px; height: 18px; }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero{
  padding: calc(var(--sp-8) + 3rem) 0 var(--sp-6);
  background: var(--paper-deep);
  border-bottom: 1px solid var(--stone);
}
.page-hero .label{ margin-bottom: var(--sp-2); }
.page-hero h1{ font-size: var(--text-5xl); max-width: 20ch; }
.page-hero .desc{ margin-top: var(--sp-3); max-width: 50ch; font-size: var(--text-lg); color: var(--stone-deep); }

/* ==========================================================================
   Work / gallery page
   ========================================================================== */
.filter-row{ display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-5); }
.filter-btn{
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase;
  padding: .55rem 1.1rem; border: 1px solid var(--stone); color: var(--ink-soft);
  transition: all var(--dur-fast) var(--ease-out);
}
.filter-btn:hover, .filter-btn.is-active{ background: var(--ink); color: var(--paper); border-color: var(--ink); }

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
}
.gallery-card{ overflow: hidden; position: relative; }
.gallery-card .frame{ position: relative; overflow: hidden; aspect-ratio: 4/5; }
.gallery-card img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery-card:hover img{ transform: scale(1.07); }
.gallery-card figcaption{ padding-top: .8rem; }
.gallery-card h2{ font-size: var(--text-lg); font-weight: 600; }
.gallery-card .meta{ font-family: var(--font-mono); font-size: var(--text-xs); color: var(--stone-deep); text-transform: uppercase; letter-spacing: .05em; margin-top: .3rem; }
.gc-wide{ grid-column: span 4; }
.gc-narrow{ grid-column: span 2; }

/* Lightbox */
.lightbox{
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15,13,9,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-med) var(--ease-out), visibility 0s var(--dur-med);
  padding: var(--sp-4);
}
.lightbox.is-open{ opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img{ max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox-close{ position: absolute; top: var(--sp-3); right: var(--sp-3); color: var(--paper); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.lightbox-close svg{ width: 22px; height: 22px; }
.lightbox-cap{ position: absolute; left: 0; right: 0; bottom: var(--sp-3); text-align: center; color: var(--stone); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .06em; text-transform: uppercase; }
.lightbox-nav{ position: absolute; top: 50%; transform: translateY(-50%); color: var(--paper); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.lightbox-nav svg{ width: 22px; height: 22px; }
.lightbox-prev{ left: var(--sp-2); }
.lightbox-next{ right: var(--sp-2); }

/* ==========================================================================
   About page
   ========================================================================== */
.about-lead{ max-width: 62ch; }
.about-lead p{ font-size: var(--text-xl); color: var(--ink-soft); line-height: 1.6; }
.about-lead p + p{ margin-top: var(--sp-3); }
.about-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.about-grid img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-grid .tall{ aspect-ratio: 4/5.6; }

.credentials{ display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); border-top: 1px solid var(--stone); padding-top: var(--sp-4); margin-top: var(--sp-6); }
.credential h3{ font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--stone-deep); }
.credential p{ margin-top: .5rem; font-size: var(--text-lg); font-family: var(--font-display); font-weight: 600; }

/* ==========================================================================
   Contact / quote form
   ========================================================================== */
.contact-layout{ display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--sp-7); }
.contact-info h2{ font-size: var(--text-3xl); }
.contact-block{ margin-top: var(--sp-4); }
.contact-block h3{ font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--stone-deep); margin-bottom: .5rem; }
.contact-block a, .contact-block p{ font-size: var(--text-xl); font-family: var(--font-display); font-weight: 500; }
.contact-block a{ transition: color var(--dur-fast); }
.contact-block a:hover{ color: var(--clay); }
.contact-block + .contact-block{ margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--stone); }

.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.field{ display: flex; flex-direction: column; gap: .5rem; margin-bottom: var(--sp-3); }
.field.full{ grid-column: 1 / -1; }
.field label{ font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--stone-deep); }
.field label .req{ color: var(--clay); }
.field input, .field select, .field textarea{
  border: 1px solid var(--stone);
  background: var(--surface);
  padding: .85rem 1rem;
  font-size: var(--text-base);
  border-radius: var(--radius);
  transition: border-color var(--dur-fast);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--clay); outline: none; }
.field textarea{ resize: vertical; min-height: 110px; }
.field-help{ font-size: var(--text-xs); color: var(--stone-deep); }
.form-note{ font-size: var(--text-xs); color: var(--stone-deep); margin-top: var(--sp-2); }
.form-status{ margin-top: var(--sp-2); font-family: var(--font-mono); font-size: var(--text-sm); display: none; }
.form-status.is-visible{ display: block; }

.map-wrap{ aspect-ratio: 16/7; overflow: hidden; margin-top: var(--sp-6); border: 1px solid var(--stone); position: relative; }
.map-wrap iframe{ width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ==========================================================================
   Services page detail
   ========================================================================== */
.service-detail{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: center; padding: var(--sp-6) 0; border-bottom: 1px solid var(--stone); }
.service-detail:nth-child(even) .service-detail-media{ order: 2; }
.service-detail-media{ aspect-ratio: 5/4; overflow: hidden; }
.service-detail-media img{ width: 100%; height: 100%; object-fit: cover; }
.service-detail h3{ font-size: var(--text-3xl); }
.service-detail p{ color: var(--stone-deep); margin-top: var(--sp-2); font-size: var(--text-lg); max-width: 46ch; }
.service-detail ul{ margin-top: var(--sp-3); display: flex; flex-direction: column; gap: .6rem; }
.service-detail li{ font-size: var(--text-sm); color: var(--ink-soft); padding-left: 1.2rem; position: relative; }
.service-detail li::before{ content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 1px; background: var(--clay); }

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center{ text-align: center; }
.mono{ font-family: var(--font-mono); }
.sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link{
  position: absolute; left: 0; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--paper); padding: .8rem 1.2rem;
  transition: top var(--dur-fast);
}
.skip-link:focus{ top: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px){
  .intro{ grid-template-columns: 1fr; gap: var(--sp-4); }
  .work-grid{ grid-template-columns: repeat(4, 1fr); }
  .wc-1{ grid-column: span 4; }
  .wc-2, .wc-3, .wc-4, .wc-5{ grid-column: span 2; }
  .principles{ grid-template-columns: repeat(2, 1fr); }
  .process-list{ grid-template-columns: repeat(2, 1fr); }
  .service-row{ grid-template-columns: 60px 1fr 200px; }
  .service-row p{ grid-column: 2 / -1; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .about-grid{ grid-template-columns: 1fr 1fr; }
  .contact-layout{ grid-template-columns: 1fr; gap: var(--sp-5); }
  .gallery-grid{ grid-template-columns: repeat(4, 1fr); }
  .gc-wide{ grid-column: span 4; }
  .gc-narrow{ grid-column: span 2; }
}

@media (max-width: 860px){
  .nav-links{ display: none; }
  .menu-toggle{ display: flex; }
  .nav-cta{ display: none; }
  .service-detail{ grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-media{ order: 0; }
  .credentials{ grid-template-columns: 1fr; gap: var(--sp-3); }
}

@media (max-width: 700px){
  .section{ padding: var(--sp-6) 0; }
  .section-head{ flex-direction: column; align-items: flex-start; }
  .work-grid{ grid-template-columns: repeat(2, 1fr); }
  .wc-1, .wc-2, .wc-3, .wc-4, .wc-5{ grid-column: span 2; aspect-ratio: 4/5; }
  .principles{ grid-template-columns: 1fr; }
  .process-list{ grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
  .service-row{ grid-template-columns: 1fr; gap: var(--sp-2); }
  .service-num{ display: none; }
  .service-thumb{ order: -1; }
  .footer-top{ grid-template-columns: 1fr; gap: var(--sp-4); }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
  .about-grid{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .gc-wide, .gc-narrow{ grid-column: span 2; }
  .hero-sub{ flex-direction: column; align-items: flex-start; }
  .cta-contacts{ flex-direction: column; gap: var(--sp-2); }
  .scroll-cue{ display: none; }
  .hero-content{ padding-bottom: var(--sp-5); }
}
