/* ============================================================
   PRIZM — Wall, Ceiling & Façade Finishing
   Design language: plaster, concrete, timber, glass.
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/archivo-100-900.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/instrument-serif-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/instrument-serif-italic-400.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('assets/fonts/plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --plaster:    #F2EFE8;   /* warm plaster off-white */
  --plaster-2:  #E9E4D9;   /* shadowed plaster */
  --concrete:   #A9A59C;   /* raw concrete grey — hairlines/ornament only, not text */
  --stone:      #63605A;   /* secondary text (AA on both plaster tones) */
  --ink:        #1B1B18;   /* deep charcoal */
  --ink-green:  #232A20;   /* footer ground */
  --green:      #3E4837;   /* muted forest — from the mark */
  --green-deep: #2E3629;
  --green-soft: #A9B8A2;   /* sage, for dark grounds */
  --timber:     #9C6B3F;   /* oiled oak accent */

  --f-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --f-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;

  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --sp:  clamp(7rem, 16vh, 11.5rem);
  --measure: 34em;
  --hairline: 1px solid rgba(27, 27, 24, 0.14);
  --hairline-light: 1px solid rgba(242, 239, 232, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* CSS smooth scrolling only when JS is absent — it corrupts ScrollTrigger/Lenis measurements */
@media (prefers-reduced-motion: no-preference) {
  html:not(.js) { scroll-behavior: smooth; }
}
html.lenis, html.lenis body { height: auto; }
.nowrap { white-space: nowrap; }

body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--plaster);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.craft :focus-visible, .contact :focus-visible, .site-foot :focus-visible,
.mobile-nav :focus-visible, .site-head:not(.is-solid) :focus-visible {
  outline-color: var(--plaster);
}

.skip-link {
  position: fixed; top: -100%; left: var(--pad);
  z-index: 200; padding: 0.6rem 1rem;
  background: var(--ink); color: var(--plaster);
  font-family: var(--f-mono); font-size: 0.75rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Shared type roles ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow--light { color: var(--green-soft); }

.caption {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--stone);
  line-height: 1.6;
}
.caption--light { color: rgba(242, 239, 232, 0.55); }

.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.body-copy {
  max-width: var(--measure);
  color: var(--stone);
}

/* Split-text: never hide content by default (JS adds motion on top) */
[data-split] .w { display: inline-block; }
[data-split] { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 1.9rem;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease);
  will-change: transform;
}
.btn--solid { background: var(--green); color: var(--plaster); }
.btn--solid:hover { background: var(--green-deep); }
.btn--ghost { border-color: rgba(242, 239, 232, 0.5); color: var(--plaster); }
.btn--ghost:hover { border-color: var(--plaster); background: rgba(242, 239, 232, 0.1); }
.btn--light { background: var(--plaster); color: var(--green-deep); }
.btn--light:hover { background: #FBF9F4; }

/* ---------- Intro veil ---------- */
.intro {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--plaster);
  animation: introAway 0.9s var(--ease) 3.4s forwards; /* CSS safety net */
}
.intro__mark { display: flex; align-items: center; gap: 1.1rem; }
.intro__mark img { width: clamp(52px, 7vw, 88px); height: auto; }
.intro__word {
  font-family: var(--f-body);
  font-weight: 560;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  color: var(--ink);
}
@keyframes introAway { to { opacity: 0; visibility: hidden; } }
.intro.is-done { opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0s 0.7s; animation: none; }

/* ---------- Progress hairline ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 150; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 100%;
  background: var(--green);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- Header ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2.5rem;
  padding: 1.1rem var(--pad);
  color: var(--plaster);
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease),
              color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-head.is-hidden { transform: translateY(-100%); }
.site-head.is-solid {
  background: rgba(242, 239, 232, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(27, 27, 24, 0.08);
}
.site-head__brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand-mark {
  width: 30px; height: 26px; display: inline-block;
  background: currentColor;
  -webkit-mask: url('assets/img/logo-ink.png') center / contain no-repeat;
  mask: url('assets/img/logo-ink.png') center / contain no-repeat;
}
.site-head .brand-mark { color: var(--plaster); transition: color 0.4s var(--ease); }
.site-head.is-solid .brand-mark { color: var(--green); }
.brand-word {
  font-weight: 560; font-size: 1.05rem;
  letter-spacing: 0.3em; margin-right: -0.3em;
}
.site-head__nav { display: flex; gap: 1.9rem; }
.site-head__nav a, .site-head__tel {
  font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.85; transition: opacity 0.25s;
  padding: 0.3rem 0;
}
.site-head__nav a:hover, .site-head__tel:hover { opacity: 1; }
.site-head__tel { border-bottom: 1px solid currentColor; }
.site-head__burger { display: none; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center;
  gap: 0.4rem; padding: var(--pad);
  background: var(--green-deep); color: var(--plaster);
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0s 0.45s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease); }
.mobile-nav a {
  font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.4rem);
  line-height: 1.25; border-bottom: var(--hairline-light);
  padding: 0.35rem 0;
}
.mobile-nav a.mobile-nav__tel {
  font-family: var(--f-mono); font-size: 0.8rem;
  letter-spacing: 0.1em; margin-top: 2rem; border-bottom: none;
  color: var(--green-soft);
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__pin {
  position: relative; height: 100svh; min-height: 560px;
  overflow: clip;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--plaster);
}
.hero__media { position: absolute; inset: 0; }
.hero__frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  opacity: 0;
}
.hero__frame.is-active { opacity: 1; }
.hero__grade {
  position: absolute; inset: 0;
  background:
    radial-gradient(72% 62% at 18% 78%, rgba(20, 20, 18, 0.34) 0%, rgba(20, 20, 18, 0) 68%),
    linear-gradient(180deg, rgba(20, 20, 18, 0.5) 0%, rgba(20, 20, 18, 0.12) 30%,
                            rgba(20, 20, 18, 0.08) 55%, rgba(20, 20, 18, 0.62) 100%);
}
.hero__grade::after {
  /* fine grain */
  content: ''; position: absolute; inset: 0; opacity: 0.05;
  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'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__content {
  position: relative; z-index: 2;
  padding: 0 var(--pad) clamp(5.5rem, 11vh, 8rem);
  max-width: 60rem;
  text-shadow: 0 1px 30px rgba(20, 20, 18, 0.45);
}
.hero__eyebrow { color: rgba(242, 239, 232, 0.75); margin-bottom: 1.4rem; }
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.98; letter-spacing: -0.018em;
}
.hero__title .line { display: block; }
.hero__regions {
  margin-top: 1.6rem;
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(242, 239, 232, 0.8);
}
.hero__cta { display: flex; gap: 0.9rem; margin-top: 2.2rem; flex-wrap: wrap; }

.hero__stage {
  position: absolute; z-index: 2;
  right: var(--pad); bottom: clamp(5.5rem, 11vh, 8rem);
  text-align: right;
  font-family: var(--f-mono);
  display: flex; flex-direction: column; gap: 0.3rem;
}
.hero__stage-index { font-size: 0.7rem; letter-spacing: 0.18em; color: rgba(242, 239, 232, 0.6); }
.hero__stage-label {
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--plaster);
}
.hero__cue {
  position: absolute; z-index: 2; left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-family: var(--f-mono); font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(242, 239, 232, 0.65);
}
.hero__cue-line {
  width: 1px; height: 44px; overflow: hidden; position: relative;
  background: rgba(242, 239, 232, 0.25);
}
.hero__cue-line::after {
  content: ''; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%; background: var(--plaster);
  animation: cueDrop 2.2s var(--ease) infinite;
}
@keyframes cueDrop { 60%, 100% { top: 110%; } }

/* ---------- Statement ---------- */
.statement {
  padding: var(--sp) var(--pad);
  max-width: 74rem;
}
.statement .eyebrow { margin-bottom: 2.2rem; }
.statement__line {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.5rem, 5.6vw, 4.9rem);
  line-height: 1.06; letter-spacing: -0.015em;
  max-width: 18ch;
}
.statement__sub {
  margin-top: 2.4rem; max-width: var(--measure); color: var(--stone);
}

/* ---------- Stats ---------- */
.stats { padding: 0 var(--pad) var(--sp); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: var(--hairline);
}
.stat {
  padding: 2.4rem 1.6rem 2.6rem 0;
  border-right: var(--hairline);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.stat + .stat { padding-left: 1.6rem; }
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--f-display); font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  line-height: 1; color: var(--ink);
}
.stat__num--word { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.15; padding-top: 0.4rem; }
.stat__label {
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--stone);
}
.diptych {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(3rem, 7vh, 5rem);
}
.diptych__half { position: relative; overflow: clip; }
.diptych__half img { width: 100%; height: clamp(280px, 44vh, 460px); object-fit: cover; }
.diptych__half .caption { margin-top: 0.8rem; }

/* ---------- Services ---------- */
.services { padding: var(--sp) var(--pad); }
.services__head { margin-bottom: clamp(3rem, 7vh, 5rem); }
.services__head .eyebrow { margin-bottom: 1.6rem; }
.services__list { list-style: none; border-top: var(--hairline); }
.service {
  display: grid;
  grid-template-columns: 5rem 1fr 1.1fr;
  gap: 2rem; align-items: baseline;
  padding: 2rem 0;
  border-bottom: var(--hairline);
  transition: background-color 0.4s var(--ease);
}
.service__idx {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em;
  color: var(--stone);
  transition: color 0.35s var(--ease);
}
.service__name {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  line-height: 1.12; letter-spacing: -0.01em;
  transition: transform 0.45s var(--ease);
}
.service__desc { color: var(--stone); font-size: 0.98rem; max-width: 34em; }
.service:hover { background: rgba(233, 228, 217, 0.5); }
.service:hover .service__idx { color: var(--green); }
.service:hover .service__name { transform: translateX(0.5rem); }

/* ---------- Windows wipe ---------- */
.wipe { position: relative; background: var(--plaster-2); }
.wipe__pin {
  height: 100svh; min-height: 620px;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 0 var(--pad);
  overflow: clip;
}
.wipe__stage {
  position: relative; height: min(78vh, 46rem);
  overflow: clip; border-radius: 2px;
  --wipe: 0%;
}
.wipe__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
}
.wipe__img--after { clip-path: inset(0 calc(100% - var(--wipe)) 0 0); }
.wipe__edge {
  position: absolute; top: 0; bottom: 0; left: var(--wipe);
  width: 1px; background: rgba(242, 239, 232, 0.9);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}
.wipe__tag {
  position: absolute; left: 1.1rem; bottom: 1rem;
  padding: 0.45rem 0.8rem;
  background: rgba(27, 27, 24, 0.55); color: var(--plaster);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 2px;
}
.wipe__copy .eyebrow { margin-bottom: 1.6rem; }
.wipe__copy .body-copy { margin-top: 1.8rem; }
.wipe__hint { margin-top: 2.6rem; }

/* ---------- Cladding compare ---------- */
.clad {
  padding: var(--sp) var(--pad);
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.clad__copy .eyebrow { margin-bottom: 1.6rem; }
.clad__copy .body-copy { margin-top: 1.8rem; }
.clad__hint { margin-top: 2.6rem; }

.cmp {
  position: relative; height: min(78vh, 46rem);
  overflow: clip; border-radius: 2px;
  --cmp: 50%;
  touch-action: pan-y;
}
.cmp__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
}
.cmp__after {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 var(--cmp));
}
.cmp__handle {
  position: absolute; top: 0; bottom: 0; left: var(--cmp);
  z-index: 3; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.cmp__line {
  position: absolute; top: 0; bottom: 0; left: 0; width: 1px;
  background: rgba(242, 239, 232, 0.9);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.3);
}
.cmp__grip {
  position: relative; transform: translateX(-50%);
  display: grid; place-items: center;
  min-width: 44px; height: 44px; padding: 0 0.5rem;
  border-radius: 999px;
  background: var(--plaster); color: var(--ink);
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.05em;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}
.cmp__range {
  position: absolute; inset: 0; z-index: 4;
  width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.cmp:has(.cmp__range:focus-visible) .cmp__grip {
  outline: 2px solid var(--green); outline-offset: 3px;
}
.cmp__tag {
  position: absolute; bottom: 1rem; z-index: 2;
  padding: 0.45rem 0.8rem; border-radius: 2px;
  background: rgba(27, 27, 24, 0.55); color: var(--plaster);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cmp__tag--l { left: 1.1rem; }
.cmp__tag--r { right: 1.1rem; }

/* ---------- Craft (dark) ---------- */
.craft {
  background: var(--ink); color: var(--plaster);
  position: relative;
}
.craft::after {
  content: ''; position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  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'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.craft__inner { padding: var(--sp) var(--pad); position: relative; z-index: 1; }
.craft__inner .eyebrow--light { margin-bottom: 1.6rem; }
.craft__title { max-width: 14ch; }
.craft__cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2.5rem, 5vh, 4rem);
  max-width: 62rem;
}
.craft .body-copy { color: rgba(242, 239, 232, 0.72); }
.craft__figures {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(4rem, 9vh, 6.5rem);
  align-items: start;
}
.craft__fig { overflow: clip; }
.craft__fig img { width: 100%; height: clamp(360px, 62vh, 560px); object-fit: cover; }
.craft__fig .caption { margin-top: 0.9rem; }
.craft__fig--push { margin-top: clamp(2.5rem, 8vh, 5.5rem); }

/* ---------- Coverage ---------- */
.coverage { padding: var(--sp) var(--pad); }
.coverage .eyebrow { margin-bottom: 2.5rem; }
.coverage__list { list-style: none; border-top: var(--hairline); max-width: 62rem; }
.coverage__row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 2rem; padding: 1.6rem 0;
  border-bottom: var(--hairline);
}
.coverage__name {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1; letter-spacing: -0.015em;
  transition: color 0.35s var(--ease), transform 0.45s var(--ease);
}
.coverage__row:hover .coverage__name { color: var(--green); transform: translateX(0.5rem); }
.coverage__note { margin-top: 2.4rem; }

/* ---------- About ---------- */
.about {
  padding: 0 var(--pad) var(--sp);
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__media { overflow: clip; border-radius: 2px; }
.about__media img { width: 100%; height: min(72vh, 42rem); object-fit: cover; }
.about__copy .eyebrow { margin-bottom: 1.6rem; }
.about__copy .body-copy { margin-top: 1.8rem; }
.about__refs {
  margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: var(--hairline);
  max-width: var(--measure);
}

/* ---------- Work ---------- */
.work { padding: var(--sp) var(--pad); background: var(--plaster-2); }
.work__head { margin-bottom: clamp(3rem, 7vh, 5rem); }
.work__head .eyebrow { margin-bottom: 1.6rem; }
.work__grid {
  columns: 3; column-gap: clamp(1.2rem, 2.5vw, 2rem);
}
.work__item {
  break-inside: avoid;
  margin-bottom: clamp(2rem, 4vh, 3rem);
  overflow: clip;
}
.work__item img {
  width: 100%; border-radius: 2px;
  transition: transform 1.1s var(--ease);
}
.work__item:hover img { transform: scale(1.025); }
.work__item .caption { margin-top: 0.8rem; }
.work__note { margin-top: 1.5rem; }
.work__item:hover .caption { color: var(--timber); }
.work__item .caption { transition: color 0.4s var(--ease); }

/* ---------- Contact ---------- */
.contact {
  background: var(--green-deep); color: var(--plaster);
  padding: var(--sp) var(--pad);
  position: relative;
}
.contact::after {
  content: ''; position: absolute; inset: 0; opacity: 0.045; pointer-events: none;
  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'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.contact > * { position: relative; z-index: 1; }
.contact .eyebrow--light { margin-bottom: 1.8rem; }
.contact__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: 0.98; letter-spacing: -0.02em;
}
.contact__title em { color: var(--green-soft); }
.contact__tel {
  display: inline-block;
  margin-top: 2.6rem;
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.1; letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(242, 239, 232, 0.35);
  padding-bottom: 0.3rem;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
}
.contact__tel:hover { border-color: var(--plaster); }
.contact__sub { margin-top: 2rem; color: rgba(242, 239, 232, 0.65); }

.contact__grid {
  display: grid; grid-template-columns: minmax(0, 46rem) 1fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.contact__aside {
  margin-top: clamp(3rem, 6vh, 4.5rem);
  padding-top: 0.4rem;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.contact__aside .caption--light { margin-bottom: 0.7rem; }
.contact__aside-line {
  font-family: var(--f-display); font-size: 1.45rem; line-height: 1.25;
  color: rgba(242, 239, 232, 0.85);
}
.contact__aside-note { margin-top: 1.6rem; max-width: 22em; }
.quote { margin-top: clamp(3rem, 6vh, 4.5rem); max-width: 46rem; }
.quote__row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.quote__field { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.9rem; }
.quote__label { color: rgba(242, 239, 232, 0.62); }
.quote input, .quote select, .quote textarea {
  font-family: var(--f-body); font-size: 1rem;
  color: var(--plaster);
  background: transparent;
  border: none; border-bottom: 1px solid rgba(242, 239, 232, 0.3);
  padding: 0.55rem 0;
  border-radius: 0;
  transition: border-color 0.3s;
}
.quote select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F2EFE8' stroke-opacity='0.55' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  padding-right: 1.6rem;
}
.quote select option { color: var(--ink); }
.quote textarea { resize: vertical; }
.quote input::placeholder, .quote textarea::placeholder { color: rgba(242, 239, 232, 0.55); }
.quote input:focus, .quote select:focus, .quote textarea:focus {
  outline: none; border-bottom-color: var(--plaster);
}
.quote__actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 0.6rem; }
.quote__status { color: var(--green-soft); max-width: 26em; }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--ink-green); color: var(--plaster);
  padding: clamp(3.5rem, 8vh, 5.5rem) var(--pad) 2.5rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem;
}
.site-foot__brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.brand-mark--plaster { color: var(--plaster); }
.site-foot .caption { color: rgba(242, 239, 232, 0.6); }
.site-foot__tel {
  font-family: var(--f-mono); font-size: 0.85rem; letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(242, 239, 232, 0.3);
  padding-bottom: 0.15rem; margin-top: 0.5rem;
}
.site-foot__fine { margin-top: 2.2rem; }

/* ---------- Reveal primitives (JS decorates, CSS never hides) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
/* safety: anything still hidden after 6s is force-shown by JS adding .is-in to all */

/* ---------- Reduced motion / no-animation fallbacks ---------- */
.rm .hero__cue, .rm .wipe__hint,
.no-anim .hero__cue, .no-anim .wipe__hint { display: none; }
.js .rm [data-reveal], .rm [data-reveal] {
  opacity: 1; transform: none; transition: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__cue-line::after { animation: none; }
  .intro { animation-duration: 0.01s; animation-delay: 0.5s; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Breakpoints ---------- */
@media (max-width: 1080px) {
  .service { grid-template-columns: 3.4rem 1fr; }
  .service__desc { grid-column: 2; }
  .work__grid { columns: 2; }
}

@media (max-width: 860px) {
  .site-head { gap: 1.2rem; }
  .site-head__nav, .site-head__tel { display: none; }
  .site-head__burger {
    display: flex; flex-direction: column; gap: 7px;
    background: none; border: none; padding: 10px; cursor: pointer;
    z-index: 95;
  }
  .site-head__burger span {
    display: block; width: 26px; height: 1.5px;
    background: currentColor;
    transition: transform 0.4s var(--ease), opacity 0.3s;
  }
  .site-head__burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .site-head__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .site-head__burger[aria-expanded="true"] { color: var(--plaster); }

  .hero__stage { right: auto; left: var(--pad); bottom: 1.6rem; flex-direction: row; gap: 0.8rem; align-items: baseline; }
  .hero__cue { left: auto; right: var(--pad); transform: none; align-items: flex-end; }
  .hero__cue span { display: none; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: var(--hairline); padding: 1.8rem 0; }
  .stat + .stat { padding-left: 0; }
  .stat:nth-child(odd) { border-right: var(--hairline); padding-right: 1.4rem; }
  .stat:nth-child(even) { padding-left: 1.4rem; }
  .diptych { grid-template-columns: 1fr; }
  .diptych__half img { height: clamp(240px, 36vh, 340px); }

  .wipe__pin {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-items: stretch;
    padding-top: 4.5rem; padding-bottom: 1.5rem;
    gap: 1.4rem;
  }
  .wipe__copy { order: -1; align-self: start; }
  .wipe__copy .body-copy { margin-top: 1.1rem; font-size: 0.95rem; }
  .wipe__hint { display: none; }
  .wipe__stage { height: 100%; min-height: 300px; }

  .clad { grid-template-columns: 1fr; }
  .cmp { height: min(64vh, 34rem); }

  .craft__cols, .craft__figures { grid-template-columns: 1fr; }
  .craft__fig--push { margin-top: 0; }
  .craft__fig img { height: clamp(300px, 44vh, 420px); }

  .about { grid-template-columns: 1fr; }
  .about__media img { height: min(48vh, 26rem); }

  .work__grid { columns: 2; }
  .quote__row { grid-template-columns: 1fr; gap: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__aside { display: none; }
}

@media (max-width: 480px) {
  :root { --sp: clamp(5rem, 12vh, 7rem); }
  .hero__cta .btn { padding: 0.85rem 1.4rem; font-size: 0.7rem; }
  .contact__tel { font-size: clamp(1.6rem, 8.4vw, 2.4rem); }
  .work__grid { columns: 1; }
}
