:root {
  --ac: #7CA23C;
  --bg: #12110E;
  --bg-2: #1B1915;
  --bg-3: #2A2721;
  --bg-3-hover: #332F27;
  --cream: #EFEAE1;
  --cream-hi: #F4F0E7;
  --ink: #161410;
  --ink-2: #1B1915;
  --muted: #B6AEA1;
  --muted-2: #8B8478;
  --muted-3: #6F695E;
  --muted-light: #77706A;
  --muted-light-2: #4E4941;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Chivo', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --line: rgba(232, 226, 214, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--cream); text-decoration: none; }
a:hover { color: var(--ac); }
figure { margin: 0; }
::selection { background: var(--ac); color: var(--bg); }

.site { position: relative; background: var(--bg); color: var(--cream); font-family: var(--sans); line-height: 1.5; }

.wrap { max-width: 1460px; margin: 0 auto; }

/* ---------- background contours ---------- */

.contours {
  position: fixed;
  inset: -10% -5%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}
.contours svg { width: 100%; height: 100%; display: block; }
.contours g { will-change: transform; }

/* ---------- fixed 3D stage ---------- */

.stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  will-change: opacity;
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.fallback {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-38deg);
  width: min(52vw, 620px);
  pointer-events: none;
}

.notes { position: absolute; inset: 0; display: block; }

.note {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translate(-100%, -50%);
}
.note-right { transform: translate(0, -50%); }

.note-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #CFC7B7;
  font-variant-numeric: tabular-nums;
}
.note-lead {
  display: block;
  height: 1px;
  width: 40px;
  background: linear-gradient(90deg, rgba(207,199,183,.15), rgba(207,199,183,.7));
}
.note-right .note-lead {
  background: linear-gradient(270deg, rgba(207,199,183,.15), rgba(207,199,183,.7));
}
.note-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ac);
  margin-left: -8px;
}
.note-right .note-dot { margin-right: -8px; margin-left: 0; }

/* ---------- header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(18, 17, 14, 0);
  border-bottom: 1px solid rgba(232, 226, 214, 0);
  transition: background 0.4s ease, border-color 0.4s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-name { font-family: var(--serif); font-size: 27px; line-height: 1; letter-spacing: 0.01em; color: var(--cream); }
.brand-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ac);
}

.header-location {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #A79F90;
}

.header-phone {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(232, 226, 214, 0.22);
  padding: 9px 14px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.header-phone:hover { border-color: var(--ac); color: var(--ac); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(18px, 4vw, 44px) 88px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(13, 12, 10, 0.78) 0%, rgba(13, 12, 10, 0.5) 38%, rgba(13, 12, 10, 0) 62%);
  pointer-events: none;
}
.hero-inner { width: 100%; max-width: 1460px; margin: 0 auto; position: relative; z-index: 1; }
.hero-copy { max-width: min(640px, 100%); }

.eyebrow { display: flex; align-items: center; gap: 14px; }
.eyebrow span:last-child {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.eyebrow-line { display: block; width: 34px; height: 1px; background: var(--ac); flex: none; }
.eyebrow-dark span:last-child { color: #A79F90; }
.eyebrow-light span:last-child { color: var(--muted-light); }
.hero .eyebrow { margin-bottom: clamp(22px, 3vw, 38px); }

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(58px, 10.5vw, 148px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--cream-hi);
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--ac); }

.hero-sub {
  margin: clamp(26px, 3vw, 38px) 0 0;
  max-width: 44ch;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
  color: #C9C1B4;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: clamp(30px, 3.4vw, 44px);
}

.cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 22px;
  background: var(--bg-3);
  border: 1px solid rgba(232, 226, 214, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  transition: background 0.3s ease, transform 0.3s ease;
}
.cta:hover { background: var(--bg-3-hover); transform: translateY(-2px); }
.cta-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cta-number {
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--cream-hi);
  font-variant-numeric: tabular-nums;
}

.link-arrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(182, 174, 161, 0.3);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.link-arrow:hover { color: var(--ac); border-color: var(--ac); }

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(48px, 7vw, 96px);
}
.scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(232,226,214,.5), rgba(232,226,214,0));
  transform-origin: top;
}
.scroll-cue-text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8B8478;
}

/* ---------- process ---------- */

.process {
  position: relative;
  z-index: 2;
  height: 440vh;
}
.process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 96px clamp(18px, 4vw, 44px) 64px;
  pointer-events: none;
}
.process-sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(13, 12, 10, 0.78) 0%, rgba(13, 12, 10, 0.5) 38%, rgba(13, 12, 10, 0) 62%);
  pointer-events: none;
}
.process-inner {
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.process-rail {
  width: 2px;
  background: rgba(232, 226, 214, 0.10);
  position: relative;
  flex: none;
}
.process-rail-fill {
  position: absolute;
  inset: 0;
  background: var(--ac);
  transform: scaleY(0);
  transform-origin: top;
  display: block;
}

.process-stage {
  position: relative;
  flex: 1;
  max-width: min(560px, 100%);
  min-height: 340px;
}

.stage-text {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease, transform 0.55s ease;
  transform: translateY(14px);
}
.stage-text[data-stage="0"] { opacity: 1; transform: translateY(0); }

.stage-number {
  font-family: var(--serif);
  font-size: clamp(74px, 9vw, 124px);
  line-height: 0.8;
  color: rgba(232, 226, 214, 0.13);
}
.stage-title {
  margin: 18px 0 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.01em;
  color: var(--cream-hi);
}
.stage-body {
  margin: 16px 0 0;
  max-width: 40ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.62;
  color: #C9C1B4;
  text-wrap: pretty;
}
.stage-meta {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8B8478;
  font-variant-numeric: tabular-nums;
}

/* ---------- sections ---------- */

.services {
  position: relative;
  z-index: 3;
  background: var(--cream);
  color: var(--ink-2);
  padding: clamp(76px, 9vw, 150px) clamp(18px, 4vw, 44px);
}
.work {
  position: relative;
  z-index: 3;
  background: var(--bg);
  color: var(--cream);
  padding: clamp(76px, 9vw, 150px) clamp(18px, 4vw, 44px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 4.6vw, 72px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.services .section-head[data-reveal] { margin-bottom: 0; }

.eyebrow { margin-bottom: 20px; }

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream-hi);
}
.section-title-dark { color: var(--ink); }

.section-note {
  margin: 0;
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.62;
  color: var(--muted-light-2);
  text-wrap: pretty;
}

.plates-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-3);
  font-variant-numeric: tabular-nums;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.services .grid { margin-top: clamp(44px, 5vw, 80px); }
.grid-work { align-items: start; }

/* ---------- service cards ---------- */

.card {
  position: relative;
  transition: opacity 0.8s ease, transform 0.55s cubic-bezier(0.22, 0.8, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform;
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.card[data-col="4"] .card-media { aspect-ratio: 4 / 5; }
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-swap {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.card:hover .card-swap { opacity: 1; }
.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,17,14,0) 42%, rgba(18,17,14,.82) 100%);
}
.card[data-col="4"] .card-shade {
  background: linear-gradient(180deg, rgba(18,17,14,0) 42%, rgba(18,17,14,.85) 100%);
}
.card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(18px, 2vw, 30px);
}
.card-heading { display: flex; align-items: baseline; gap: 14px; }
.card-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--ac);
}
.card-title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(21px, 2.1vw, 30px);
  letter-spacing: -0.01em;
  color: var(--cream-hi);
}
.card[data-col="4"] .card-title { font-size: clamp(19px, 1.7vw, 25px); }
.card-text {
  margin: 10px 0 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.55;
  color: #C6BEB1;
}
.card[data-col="4"] .card-text { max-width: none; }

/* ---------- work plates ---------- */

.plate {
  margin: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.plate-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--bg-2);
}
.plate-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.plate[data-col="5"] .plate-media { aspect-ratio: 3 / 4; }
.plate[data-col="7"] .plate-media { aspect-ratio: 4 / 3; }
.plate[data-col="7"][data-col-md="12"] .plate-media { aspect-ratio: 16 / 9; }
.plate[data-col="4"] .plate-media { aspect-ratio: 3 / 4; }
.plate[data-col="4"][data-off="150"] .plate-media,
.plate[data-col="4"][data-col-md="12"] .plate-media { aspect-ratio: 4 / 3; }
.plate[data-col="5"][data-off="86"] .plate-media,
.plate[data-col="5"][data-col-md="6"] .plate-media { aspect-ratio: 4 / 3; }

.plate:hover img { transform: scale(1.045); }

.plate-caption {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.plate-num { color: var(--ac); }

/* ---------- testimonial ---------- */

.testimonial {
  position: relative;
  z-index: 3;
  background: var(--cream);
  color: var(--ink-2);
  padding: clamp(76px, 9vw, 140px) clamp(18px, 4vw, 44px);
}
.quote {
  max-width: 1080px;
  margin: 0 auto;
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.quote .eyebrow { margin-bottom: clamp(26px, 3vw, 44px); }

.quote-text {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}

.quote-attribution {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 38px);
}
.quote-line { display: block; width: 34px; height: 1px; background: var(--ink); }
.quote-attribution span:last-child {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light-2);
}

/* ---------- why us ---------- */

.why-us {
  position: relative;
  z-index: 3;
  background: var(--bg);
  color: var(--cream);
  padding: clamp(76px, 9vw, 150px) clamp(18px, 4vw, 44px);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
}

.why-intro,
.why-item {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream-hi);
}

.why-list { display: flex; flex-direction: column; }

.why-item {
  display: flex;
  gap: clamp(18px, 3vw, 48px);
  padding: clamp(22px, 2.4vw, 32px) 0;
  border-top: 1px solid var(--line);
}
.why-item-last { border-bottom: 1px solid var(--line); }

.why-num {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ac);
  padding-top: 6px;
}

.why-item-title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 24px);
  letter-spacing: -0.01em;
  color: var(--cream-hi);
}

.why-item-text {
  margin: 10px 0 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.62;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- contact ---------- */

.contact {
  position: relative;
  z-index: 3;
  background: var(--cream);
  color: var(--ink-2);
  padding: clamp(76px, 9vw, 150px) clamp(18px, 4vw, 44px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 56px);
  align-items: center;
}

.contact-intro {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.contact-sub {
  margin: 24px 0 0;
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.62;
  color: var(--muted-light-2);
  text-wrap: pretty;
}

.contact-card-wrap {
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.contact-card {
  position: relative;
  background: var(--bg-3);
  padding: clamp(26px, 3.4vw, 54px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -2px 0 rgba(0, 0, 0, 0.5), 0 24px 60px -30px rgba(0, 0, 0, 0.6);
}

.corner-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #191712;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}
.corner-tl { top: 12px; left: 12px; }
.corner-tr { top: 12px; right: 12px; }
.corner-bl { bottom: 12px; left: 12px; }
.corner-br { bottom: 12px; right: 12px; }

.contact-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.contact-phone {
  display: block;
  margin-top: clamp(22px, 2.6vw, 36px);
  font-family: var(--mono);
  font-size: clamp(24px, 3.6vw, 50px);
  line-height: 1.1;
  color: #E4DCCE;
  letter-spacing: 0.34em;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.65), 0 1px 0 rgba(255, 255, 255, 0.12);
  font-variant-numeric: tabular-nums;
  transition: letter-spacing 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease, color 0.3s ease;
}
.contact-phone:hover { color: #FFFCF5; }

.contact-email {
  display: block;
  margin-top: clamp(14px, 1.6vw, 22px);
  font-family: var(--mono);
  font-size: clamp(13px, 1.5vw, 20px);
  line-height: 1.3;
  color: #C9C0B0;
  letter-spacing: 0.28em;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.65), 0 1px 0 rgba(255, 255, 255, 0.12);
  word-break: break-all;
  transition: letter-spacing 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease, color 0.3s ease;
}
.contact-email:hover { color: #FFFCF5; }

.contact-card-foot {
  margin-top: clamp(24px, 2.8vw, 40px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- footer ---------- */

.footer {
  position: relative;
  z-index: 3;
  background: var(--bg);
  color: var(--muted-2);
  padding: clamp(40px, 5vw, 72px) clamp(18px, 4vw, 44px);
}
.footer-inner {
  max-width: 1460px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 3vw, 44px);
}
.footer-logo { width: 112px; height: auto; filter: saturate(0.85); }
.footer-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  gap: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.footer-links a { color: var(--muted-2); }

/* ---------- reveal fallback (no JS) ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(20px); }
.js .plate[data-reveal] { transform: translateY(24px); }
.js [data-engrave] { opacity: 0; }