/* =========================================================
   PRABE Interiors & Spaces
   Light theme · Brand palette: deep emerald + champagne gold
   ========================================================= */

:root {
  /* Brand */
  --green: #0E3A2D;
  --green-deep: #0A2C22;
  --green-ink: #072219;
  --gold: #D8B572;          /* logo gold - decorative / on dark */
  --gold-bright: #E4BB4C;   /* monogram gold */
  --gold-deep: #9C7634;     /* gold for text on light (AA) */

  /* Light neutrals */
  --ivory: #F7F3EC;
  --paper: #FCFAF6;
  --stone: #EEE7DB;
  --sand: #E3D8C5;
  --ink: #17221E;
  --muted: #5C6762;
  --line: rgba(14, 58, 45, 0.14);
  --line-strong: rgba(14, 58, 45, 0.28);

  /* Type */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 11vw, 160px);
  --header-h: 92px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; }

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

:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

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

.section { padding: var(--section) 0; position: relative; }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--green);
}
.h2 em { color: var(--gold-deep); font-weight: 400; }
.h2--light { color: var(--paper); }
.h2--light em { color: var(--gold); }

.body-lg {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 26px;
}
.eyebrow__line { width: 42px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow__num {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0;
  color: var(--green);
  padding-right: 14px;
  border-right: 1px solid var(--gold);
  line-height: 1;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold); }
.eyebrow--light .eyebrow__num { color: var(--paper); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 17px 30px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: scaleY(1); }
.btn--green { background: var(--green); color: var(--paper); }
.btn--green:hover { color: var(--green-ink); }
.btn--block { width: 100%; }

.arrow {
  display: inline-block;
  flex-shrink: 0;
  width: 18px; height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.arrow::after {
  content: "";
  position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.arrow--left { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(5px); }

.link-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  position: relative;
  padding: 6px 0;
}
.link-line::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.link-line:hover::after { transform: scaleX(0); }
.link-line::before {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease) 0.15s;
}
.link-line:hover::before { transform: scaleX(1); }

/* Brand motif: the PRABE roofline (from the Λ in the wordmark) */
.gable { clip-path: polygon(50% 0, 100% 14%, 100% 100%, 0 100%, 0 14%); }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
  position: fixed; inset: 0;
  z-index: 1000;
  background: var(--ivory);
  display: grid; place-items: center;
  transition: transform 1.1s var(--ease-in-out), visibility 0s 1.1s;
}
.preloader.is-done { transform: translateY(-100%); visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; padding: 0 24px; }
.preloader__logo {
  width: clamp(150px, 14vw, 200px);
  height: auto;
  opacity: 0; transform: translateY(16px) scale(0.97);
  animation: plFade 1.1s var(--ease) 0.1s forwards;
}
.preloader__line {
  width: 120px; height: 1px; background: var(--gold);
  transform: scaleX(0);
  animation: plLine 1.2s var(--ease) 0.5s forwards;
}
@keyframes plFade { to { opacity: 1; transform: none; } }
@keyframes plLine { to { transform: scaleX(1); } }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.5s var(--ease), height 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.header.is-scrolled {
  height: 76px;
  background: rgba(247, 243, 236, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
/* backdrop-filter/transform would trap the fixed mobile menu inside the header */
.header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; background: transparent; box-shadow: none; }
.header__logo { position: relative; z-index: 120; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header__logo img { height: 38px; width: auto; transition: height 0.5s var(--ease); }
.header.is-scrolled .header__logo img { height: 32px; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; gap: 34px; }
.nav__link {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  position: relative;
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-deep);
  transition: width 0.45s var(--ease), left 0.45s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; left: 0; }
.nav__cta { padding: 14px 22px; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--green);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease), background 0.3s;
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 40px) 0 80px;
  display: flex; align-items: center;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(216, 181, 114, 0.12), transparent 60%),
    var(--ivory);
  overflow: hidden;
}
.hero::before {
  /* fine architectural grid */
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc((min(100vw, var(--container)) - 2 * var(--gutter)) / 6) 100%;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 70%, transparent);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.9rem, 6.2vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--green);
  margin-bottom: 30px;
}
.hero__title em { color: var(--gold-deep); font-weight: 400; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s var(--ease);
}
.is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: 0.1s; }
.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: 0.2s; }
.is-loaded .hero__title .line:nth-child(4) > span { transition-delay: 0.3s; }

.hero__lead { max-width: 470px; color: var(--muted); font-size: 1.05rem; margin-bottom: 40px; }
.hero__actions { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; margin-bottom: 64px; }

.hero__meta {
  display: flex; gap: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.hero__meta div { display: grid; gap: 2px; }
.hero__meta-k { font-family: var(--serif); font-size: 1.35rem; color: var(--green); font-style: italic; }
.hero__meta-v { font-size: 0.78rem; letter-spacing: 0.08em; color: var(--muted); }

.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--stone);
  clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%);
  transition: clip-path 1.6s var(--ease-in-out) 0.2s;
}
.is-loaded .hero__frame { clip-path: polygon(50% 0, 100% 14%, 100% 100%, 0 100%, 0 14%); }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 40% center;
  transform: scale(1.25);
  transition: transform 2.4s var(--ease) 0.2s;
}
.is-loaded .hero__img { transform: scale(1.06); animation: kenburns 22s ease-in-out 2.6s infinite alternate; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.14) translate(-1.5%, -1%); } }

.hero__inset {
  position: absolute;
  left: -12%; bottom: -6%;
  width: 42%;
  aspect-ratio: 1;
  padding: 10px;
  background: var(--paper);
  box-shadow: 0 30px 60px -20px rgba(7, 34, 25, 0.35);
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__inset { outline: 1px solid var(--gold); outline-offset: 10px; }

.hero__badge {
  position: absolute;
  right: -28px; top: 18%;
  width: 124px; height: 124px;
  border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
  box-shadow: 0 20px 40px -14px rgba(7, 34, 25, 0.5);
}
.hero__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.hero__badge-ring text { font-family: var(--sans); font-size: 9.4px; letter-spacing: 3.2px; fill: var(--gold); font-weight: 500; }
.hero__badge-mark { width: 40px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 32px;
  display: flex; align-items: center; gap: 14px;
  font-size: 0.66rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll i { width: 60px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-deep);
  animation: scrollLine 2.4s var(--ease-in-out) infinite;
}
@keyframes scrollLine { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--green);
  color: var(--gold);
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid rgba(216, 181, 114, 0.25);
  border-bottom: 1px solid rgba(216, 181, 114, 0.25);
}
.marquee__track {
  display: flex; align-items: center; gap: 44px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-style: italic;
  white-space: nowrap;
  color: var(--paper);
}
.marquee__track b { font-size: 0.8rem; color: var(--gold); font-weight: 400; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   STUDIO
   ========================================================= */
.studio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 128px);
  align-items: center;
}
.studio__media { position: relative; padding-bottom: 18%; padding-right: 14%; }
.studio__img { overflow: hidden; background: var(--stone); }
.studio__img img { width: 100%; height: 100%; object-fit: cover; }
.studio__img--a { aspect-ratio: 4 / 5; }
.studio__img--a img { height: 115%; margin-top: -7.5%; }
.studio__img--b {
  position: absolute; right: 0; bottom: 0;
  width: 54%;
  aspect-ratio: 4 / 5;
  border: 10px solid var(--ivory);
}
.studio__stamp {
  position: absolute; left: -24px; bottom: 8%;
  background: var(--green);
  color: var(--paper);
  padding: 22px 26px;
  display: grid; justify-items: start; gap: 2px;
}
.studio__stamp-k { font-size: 0.64rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.studio__stamp-v { font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-weight: 300; }

.studio__content .h2 { margin-bottom: 30px; }
.studio__content .body-lg { margin-bottom: 20px; }
.studio__content > p:not(.eyebrow):not(.body-lg) { color: var(--muted); margin-bottom: 40px; max-width: 540px; }

.pillars { display: grid; gap: 0; margin-bottom: 40px; border-top: 1px solid var(--line); }
.pillar {
  display: flex; align-items: center; gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.pillar__icon {
  width: 52px; height: 52px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  transition: background 0.5s var(--ease);
}
.pillar__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.4; transition: stroke 0.5s; }
.pillar:hover .pillar__icon { background: var(--green); }
.pillar:hover .pillar__icon svg { stroke: var(--gold); }
.pillar h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--green); line-height: 1.2; }
.pillar p { font-size: 0.92rem; color: var(--muted); }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .h2 { max-width: 720px; }
.section-head__aside { max-width: 380px; color: var(--muted); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .h2 { margin: 0 auto; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--stone); }
.services { overflow-x: hidden; overflow-x: clip; } /* clip keeps the sticky image working */
.services::before {
  content: "PRABE";
  position: absolute; right: 0; top: 40px;
  font-family: var(--serif); font-size: 22vw; line-height: 0.8; font-weight: 300;
  color: rgba(14, 58, 45, 0.035);
  pointer-events: none; letter-spacing: 0.05em;
}
.services__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.services__list { border-top: 1px solid var(--line-strong); }
.service {
  display: grid;
  grid-template-columns: 64px 1fr 40px;
  align-items: start;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-strong);
  cursor: pointer;
  position: relative;
}
.service::before {
  content: ""; position: absolute; left: 0; bottom: -1px;
  height: 1px; width: 100%; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.service.is-active::before { transform: scaleX(1); }
.service__num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold-deep); padding-top: 10px; }
.service__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 400;
  color: rgba(14, 58, 45, 0.55);
  line-height: 1.2;
  transition: color 0.5s var(--ease), transform 0.6s var(--ease);
}
.service.is-active .service__title, .service:hover .service__title { color: var(--green); }
.service.is-active .service__title { transform: translateX(10px); }
.service__desc {
  max-height: 0; overflow: hidden; opacity: 0;
  color: var(--muted); font-size: 0.95rem;
  transition: max-height 0.7s var(--ease), opacity 0.5s, margin 0.5s;
  max-width: 460px;
  padding-left: 10px;
}
.service.is-active .service__desc { max-height: 120px; opacity: 1; margin-top: 10px; }
.service__arrow {
  width: 40px; height: 40px; margin-top: 6px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  position: relative;
  transition: background 0.5s var(--ease), border-color 0.5s;
}
.service__arrow::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 8px; height: 8px;
  border-top: 1px solid var(--green); border-right: 1px solid var(--green);
  transform: translate(-65%, -50%) rotate(45deg);
  transition: border-color 0.5s;
}
.service.is-active .service__arrow { background: var(--green); border-color: var(--green); }
.service.is-active .service__arrow::after { border-color: var(--gold); }
.service__mobile-img { display: none; }

.services__visual { position: sticky; top: 120px; }
.services__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.services__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 0.9s var(--ease), transform 1.6s var(--ease);
}
.services__img.is-current { opacity: 1; transform: scale(1); }
.services__caption {
  display: flex; gap: 16px; align-items: baseline;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green);
}
.services__caption span:first-child { font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: 0; color: var(--gold-deep); }

/* =========================================================
   PROJECTS
   ========================================================= */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  padding: 10px 20px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s;
}
.filter:hover { border-color: var(--green); }
.filter.is-active { background: var(--green); color: var(--paper); border-color: var(--green); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(220px, 22vw, 320px);
  grid-auto-flow: dense;
  gap: clamp(12px, 1.4vw, 20px);
}
.tile {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--stone);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease), filter 0.8s;
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 34, 25, 0.82) 0%, rgba(7, 34, 25, 0.15) 45%, transparent 70%);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.tile figcaption {
  position: absolute; left: 24px; right: 24px; bottom: 22px;
  z-index: 2; color: var(--paper);
  transform: translateY(16px); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.6s;
}
.tile figcaption span { font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.tile figcaption h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.15; }
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { opacity: 1; }
.tile:hover figcaption { transform: none; opacity: 1; }
.tile.is-hidden { display: none; }
.tile.is-entering { animation: tileIn 0.7s var(--ease) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }

/* =========================================================
   QUOTE BAND
   ========================================================= */
.quote-band {
  position: relative;
  padding: clamp(120px, 16vw, 220px) 0;
  overflow: hidden;
  color: var(--paper);
  text-align: center;
}
.quote-band__bg { position: absolute; inset: 0; }
.quote-band__bg img { width: 100%; height: 130%; object-fit: cover; margin-top: -15%; }
.quote-band__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 44, 34, 0.86), rgba(10, 44, 34, 0.78));
}
.quote-band__inner { position: relative; max-width: 1040px; }
.quote-band__mark { width: 64px; margin: 0 auto 40px; }
.quote-band__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  line-height: 1.22;
}
.quote-band__quote em { color: var(--gold); }
.quote-band__sig {
  margin-top: 40px;
  font-size: 0.72rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 18px;
}
.quote-band__sig::before, .quote-band__sig::after { content: ""; width: 48px; height: 1px; background: var(--gold); }

/* =========================================================
   COLLECTION
   ========================================================= */
.collection { background: var(--paper); overflow: hidden; }
.slider-nav { display: flex; gap: 12px; }
.slider-btn {
  width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--green);
  display: grid; place-items: center;
  transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s;
}
.slider-btn:hover { background: var(--green); color: var(--gold); border-color: var(--green); }
.slider-btn:disabled { opacity: 0.35; pointer-events: none; }

.products {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 26vw, 360px);
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scrollbar-width: none;
  cursor: grab;
}
.products::-webkit-scrollbar { display: none; }
.products.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.products.is-dragging * { pointer-events: none; }
.product { scroll-snap-align: start; user-select: none; }
.product__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--stone);
}
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); -webkit-user-drag: none; }
.product:hover .product__img img { transform: scale(1.06); }
.product__tag {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px;
  background: var(--green); color: var(--gold);
  font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500;
}
.product__info {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 20px 2px 0;
}
.product__info h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--green); line-height: 1.2; }
.product__info p { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; }
.product__enquire {
  flex-shrink: 0;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  color: var(--gold-deep);
  padding: 4px 0;
  border-bottom: 1px solid var(--gold);
  transition: color 0.3s, border-color 0.3s;
}
.product__enquire:hover { color: var(--green); border-color: var(--green); }
.products__progress { margin-top: 48px; height: 1px; background: var(--line); position: relative; }
.products__progress span {
  position: absolute; left: 0; top: -1px; height: 3px;
  background: var(--green); width: 20%;
  transition: width 0.3s var(--ease), transform 0.3s var(--ease);
}

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: var(--ivory); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  border-top: 1px solid var(--line-strong);
}
.step {
  padding: 48px clamp(16px, 2.4vw, 36px) 20px 0;
  position: relative;
}
.step::before {
  content: "";
  position: absolute; top: -6px; left: 0;
  width: 11px; height: 11px;
  background: var(--ivory);
  border: 1px solid var(--gold-deep);
  transform: rotate(45deg);
  transition: background 0.4s;
}
.step:hover::before { background: var(--gold); }
.step__num {
  display: block;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.6rem, 6vw, 5.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-deep);
  margin-bottom: 18px;
  transition: color 0.5s var(--ease);
}
.step:hover .step__num { color: var(--green); -webkit-text-stroke-color: var(--green); }
.step h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--green); margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; max-width: 280px; }

/* =========================================================
   SPACES WE SHAPE
   ========================================================= */
.shape { background: var(--green); color: var(--paper); padding: var(--section) 0; overflow: hidden; }
.shape__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 8vw, 128px);
  align-items: center;
}
.shape__img { aspect-ratio: 3 / 4; overflow: hidden; }
.shape__img img { width: 100%; height: 115%; object-fit: cover; margin-top: -7.5%; }
.shape .eyebrow { color: var(--gold); }
.shape .eyebrow__num { color: var(--paper); }
.shape .h2 { color: var(--paper); margin-bottom: 48px; }
.shape .h2 em { color: var(--gold); }
.shape__list { border-top: 1px solid rgba(216, 181, 114, 0.3); }
.shape__list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(216, 181, 114, 0.3);
  font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 300;
  transition: padding 0.5s var(--ease), color 0.4s;
}
.shape__list li i {
  width: 34px; height: 1px; background: var(--gold); position: relative;
  transform: scaleX(0.5); transform-origin: right; transition: transform 0.5s var(--ease);
}
.shape__list li i::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px;
  border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg);
}
.shape__list li:hover { padding-left: 14px; color: var(--gold); }
.shape__list li:hover i { transform: scaleX(1); }

/* =========================================================
   SOCIAL
   ========================================================= */
.social { padding-bottom: 0; }
.social__handle { color: var(--green); transition: color 0.3s; }
.social__handle:hover { color: var(--gold-deep); }
.social__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.social__item { position: relative; aspect-ratio: 1; overflow: hidden; display: block; }
.social__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.social__item::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: rgba(14, 58, 45, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8B572' stroke-width='1.3'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") center / 34px no-repeat;
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.social__item:hover img { transform: scale(1.08); }
.social__item:hover::before { opacity: 1; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--stone); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--paper);
  box-shadow: 0 40px 80px -40px rgba(7, 34, 25, 0.25);
}
.contact__panel {
  position: relative;
  background: var(--green);
  color: var(--paper);
  padding: clamp(40px, 5vw, 72px);
  overflow: hidden;
}
.contact__panel::before {
  content: ""; position: absolute; inset: 16px;
  border: 1px solid rgba(216, 181, 114, 0.25);
  pointer-events: none;
}
.contact__mark { position: absolute; right: -40px; bottom: -30px; width: 260px; opacity: 0.08; }
.contact__panel .h2 { margin-bottom: 24px; }
.contact__lead { color: rgba(252, 250, 246, 0.75); margin-bottom: 44px; max-width: 420px; }
.contact__details { display: grid; gap: 22px; position: relative; }
.contact__details li { display: grid; gap: 2px; }
.contact__k { font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.contact__v { font-family: var(--serif); font-size: 1.35rem; color: var(--paper); }
a.contact__v:hover { color: var(--gold); }

.form { position: relative; padding: clamp(32px, 5vw, 72px); display: grid; gap: 26px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 22px 0 10px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
  transition: border-color 0.4s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230E3A2D'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field label {
  position: absolute; left: 0; top: 22px;
  font-size: 0.95rem; color: var(--muted);
  pointer-events: none;
  transform-origin: left;
  transition: transform 0.4s var(--ease), color 0.3s, top 0.4s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label {
  top: 0; transform: scale(0.78); color: var(--gold-deep); letter-spacing: 0.06em;
}
.field.is-invalid input, .field.is-invalid select { border-color: #A6432F; }
.field.is-invalid label { color: #A6432F; }

.chips { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font-size: 0.78rem; color: var(--muted); margin-bottom: 12px; letter-spacing: 0.04em; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  font-size: 0.85rem; color: var(--green);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.chips label:hover span { border-color: var(--green); }
.chips input:checked + span { background: var(--green); color: var(--paper); border-color: var(--green); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

.form__note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: -8px; }

.form__success {
  position: absolute; inset: 0;
  background: var(--paper);
  display: grid; place-content: center; justify-items: center; text-align: center;
  gap: 12px; padding: 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s 0.6s;
}
.form__success img { width: 64px; margin-bottom: 8px; }
.form__success h3 { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; color: var(--green); }
.form__success p { color: var(--muted); max-width: 360px; }
.form.is-sent .form__success { opacity: 1; visibility: visible; transition-delay: 0s; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--green-deep); color: rgba(252, 250, 246, 0.7); padding: 96px 0 36px; }
.footer__top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  padding-bottom: 56px; border-bottom: 1px solid rgba(216, 181, 114, 0.2);
}
.footer__logo { height: 64px; width: auto; }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--gold); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 56px 0; }
.footer h4 {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer ul { display: grid; gap: 10px; font-size: 0.95rem; }
.footer a { transition: color 0.3s; }
.footer a:hover { color: var(--gold); }
.footer__small { font-size: 0.9rem; margin-bottom: 18px; }
.newsletter { display: flex; border-bottom: 1px solid rgba(216, 181, 114, 0.45); }
.newsletter input {
  flex: 1; min-width: 0; background: none; border: 0; outline: none;
  padding: 12px 0; font: inherit; color: var(--paper);
}
.newsletter input::placeholder { color: rgba(252, 250, 246, 0.45); }
.newsletter button { color: var(--gold); padding: 0 6px; }
.newsletter.is-done input::placeholder { color: var(--gold); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid rgba(216, 181, 114, 0.2);
  font-size: 0.82rem;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(216, 181, 114, 0.35);
  display: grid; place-items: center;
  transition: background 0.3s, border-color 0.3s;
}
.footer__social svg { width: 17px; height: 17px; fill: none; stroke: var(--gold); stroke-width: 1.4; }
.footer__social svg .fill { fill: var(--gold); stroke: none; }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); }
.footer__social a:hover svg { stroke: var(--green-deep); }
.footer__social a:hover svg .fill { fill: var(--green-deep); }
.footer__top-link { letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.7rem; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(7, 34, 25, 0.96);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s 0.5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox__figure { max-width: min(1200px, 86vw); text-align: center; }
.lightbox__figure img {
  max-height: 80vh; width: auto; margin: 0 auto;
  transform: scale(0.96); transition: transform 0.6s var(--ease), opacity 0.3s;
}
.lightbox.is-open .lightbox__figure img { transform: none; }
.lightbox__figure figcaption { margin-top: 18px; color: var(--paper); font-family: var(--serif); font-size: 1.5rem; }
.lightbox__figure figcaption small { display: block; font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 52px; height: 52px; font-size: 2rem; font-weight: 200; color: var(--gold);
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(216, 181, 114, 0.4); color: var(--gold);
  display: grid; place-items: center;
  transition: background 0.3s, color 0.3s;
}
.lightbox__nav:hover { background: var(--gold); color: var(--green-deep); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Curtain reveal: a cover panel lifts away (the element itself stays observable) */
.reveal-img { overflow: hidden; }
.reveal-img:not(.studio__img--b) { position: relative; }
.reveal-img::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--cover, var(--ivory));
  transform-origin: top;
  transition: transform 1.4s var(--ease-in-out);
  transition-delay: inherit;
  z-index: 3;
  pointer-events: none;
}
.reveal-img.is-visible::after { transform: scaleY(0); }
.reveal-img img { transform: scale(1.2); transition: transform 1.8s var(--ease); transition-delay: inherit; }
.reveal-img.is-visible img { transform: scale(1); }
.shape__img { --cover: var(--green); }
/* keep hover zoom working after reveal */
.social__item.reveal-img.is-visible:hover img { transform: scale(1.08); transition-delay: 0s; }

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav__list { gap: 24px; }
  .nav { gap: 28px; }
}

@media (max-width: 1024px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0;
    background: var(--ivory);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 48px;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.9s var(--ease-in-out);
    z-index: 110;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav__list { flex-direction: column; align-items: center; gap: 18px; }
  .nav__link { font-family: var(--serif); font-size: 2.3rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
  .nav__list li { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(1) { transition-delay: 0.25s; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: 0.3s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: 0.35s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: 0.4s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: 0.45s; }
  .nav.is-open .nav__list li:nth-child(6) { transition-delay: 0.5s; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; width: 88%; margin: 0 0 40px auto; }
  .hero__inset { left: -14%; }
  .hero__scroll { display: none; }

  .studio__grid, .services__grid, .shape__inner { grid-template-columns: 1fr; }
  .studio__media { max-width: 640px; }

  .services__visual { display: none; }
  .service__mobile-img {
    display: block; grid-column: 1 / -1;
    width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
    max-height: 0; opacity: 0;
    transition: max-height 0.8s var(--ease), opacity 0.6s, margin 0.6s;
  }
  .service.is-active .service__mobile-img { max-height: 420px; opacity: 1; margin-top: 12px; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .step:nth-child(3), .step:nth-child(4) { border-top: 1px solid var(--line-strong); }
  .step:nth-child(3)::before, .step:nth-child(4)::before { display: block; }

  .shape__img { max-height: 520px; aspect-ratio: 16 / 11; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .social__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 76px; }

  /* readable small labels */
  .eyebrow { letter-spacing: 0.22em; gap: 10px; font-size: 0.72rem; }
  .eyebrow__line { width: 22px; }
  .eyebrow__num { padding-right: 10px; }
  .tile figcaption span, .contact__k, .studio__stamp-k { font-size: 0.72rem; letter-spacing: 0.18em; }
  .quote-band__sig { letter-spacing: 0.24em; gap: 12px; font-size: 0.68rem; }
  .quote-band__sig::before, .quote-band__sig::after { width: 24px; }

  /* project captions always legible */
  .tile::after { opacity: 1; background: linear-gradient(to top, rgba(7, 34, 25, 0.88) 0%, rgba(7, 34, 25, 0.35) 38%, transparent 62%); }
  .tile figcaption { left: 18px; right: 18px; bottom: 16px; }
  .tile figcaption h3 { font-size: 1.5rem; }

  /* comfortable tap targets */
  .product__enquire { padding: 12px 0 6px; }
  .footer ul { gap: 2px; }
  .footer ul a { display: inline-block; padding: 9px 0; }
  .footer__top-link { padding: 10px 0; }

  /* contact */
  .contact__panel { padding: 40px 28px; }
  .contact__panel::before { inset: 10px; }
  .form { padding: 32px 22px 36px; }
  .contact__v { font-size: 1.25rem; word-break: break-word; }

  /* compact footer: two short columns side by side */
  .footer { padding-top: 72px; }
  .footer__top { padding-bottom: 40px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 40px 0; }
  .footer__cols > div:nth-child(n+3) { grid-column: 1 / -1; }
  .footer__bottom { justify-content: center; text-align: center; }
  .header__logo img { height: 30px; }
  .preloader__logo { width: 150px; }
  .header.is-scrolled .header__logo img { height: 28px; }
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero__visual { width: 92%; }
  .hero__badge { width: 96px; height: 96px; right: -10px; top: 8%; }
  .hero__badge-ring text { font-size: 9px; }
  .hero__badge-mark { width: 30px; }
  .hero__meta { gap: 28px; }
  .hero__actions { gap: 24px; margin-bottom: 44px; }

  .studio__stamp { left: 0; padding: 16px 18px; }
  .studio__stamp-v { font-size: 2rem; }

  .service { grid-template-columns: 40px 1fr 36px; padding: 22px 0; }
  .service__arrow { width: 36px; height: 36px; }

  .gallery { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .tile--wide { grid-column: span 1; }
  .tile--tall { grid-row: span 1; }
  .tile figcaption { opacity: 1; transform: none; }

  .steps { grid-template-columns: 1fr; }
  .step:nth-child(n+2) { border-top: 1px solid var(--line-strong); }
  .step { padding-top: 40px; }

  .form__row { grid-template-columns: 1fr; }
  .footer__logo { height: 48px; }
  .social__grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox__nav { top: auto; bottom: 24px; transform: none; }
  .lightbox__prev { left: calc(50% - 68px); }
  .lightbox__next { right: calc(50% - 68px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
