/* =========================================================
   Camward Timber Construction — redesign-v2
   Serious infrastructure / construction aesthetic
   Inspired by weitz.com palette + scroll architecture
   ========================================================= */

:root {
  /* Colour */
  --ink:       #231F20;          /* warm near-black, dominant bg on dark sections */
  --ink-deep:  #1A1718;          /* deeper black for layering */
  --bone:      #FFFFFF;          /* white on dark */
  --bone-dim:  #DBDEE0;          /* soft grey */
  --bone-mid:  #A3A9AD;          /* mid grey */
  --bone-low:  #6E7376;          /* muted grey */
  --gold:      #FFC843;          /* signature accent */
  --gold-deep: #E0A82F;          /* hover */
  --gold-soft: rgba(255,200,67,.18);
  --line:      rgba(255,255,255,.12);
  --line-dark: rgba(35,31,32,.12);

  /* Light section */
  --paper:     #FFFFFF;
  --paper-2:   #F4F4F4;
  --paper-3:   #ECEDEE;

  /* Type */
  --display: "Geist", "Helvetica Neue", "Inter", system-ui, sans-serif;
  --sans:    "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Rhythm */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad: clamp(96px, 12vw, 180px);
  --radius: 0;

  /* Easing */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: clamp(15px, .8vw + .4rem, 17px);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html { scroll-behavior: auto; }      /* Lenis manages this */
body { overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* =========================================================
   SHARED BUILDING BLOCKS
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-dark { background: var(--ink); color: var(--bone); }
.section-light { background: var(--paper); color: var(--ink); }

/* Eyebrow with double-slash */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: currentColor;
  margin: 0 0 28px;
}
.section-light .eyebrow { color: var(--ink); }
.section-dark  .eyebrow { color: var(--bone); }
.slash {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0;
}

.text-gold { color: var(--gold); }

/* Section heading */
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: .98;
  letter-spacing: -.035em;
  margin: 0 0 32px;
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  font-weight: 700;
}

.section-lede {
  font-size: clamp(1.05rem, .8vw + .8rem, 1.25rem);
  color: var(--bone-mid);
  max-width: 64ch;
  margin: 0;
  line-height: 1.5;
}
.section-light .section-lede { color: #555; }

.section-head {
  margin-bottom: clamp(48px, 6vw, 88px);
  max-width: 980px;
}

/* Pill button (outlined gold) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), padding-right .3s var(--ease);
  white-space: nowrap;
}
.pill:hover { background: var(--gold); color: var(--ink); padding-right: 36px; }
.pill-arrow { transition: transform .3s var(--ease); }
.pill:hover .pill-arrow { transform: translateX(4px); }
.pill-solid { background: var(--gold); color: var(--ink); }
.pill-solid:hover { background: var(--gold-deep); color: var(--ink); }

/* Content fade base — driven by ScrollTrigger */
.content-fade {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.content-fade.is-in {
  opacity: 1;
  transform: none;
}

/* Section scale-in — driven by ScrollTrigger */
.section-scale {
  --scale: .97;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 40px);
  color: var(--bone);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(35,31,32,.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
}
.brand-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav ul { display: flex; gap: 32px; justify-content: flex-end; }
.nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  color: var(--bone);
}
.nav a::after {
  content: ""; position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }

.header-cta {
  display: inline-flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.1;
  padding: 6px 0 6px 16px;
  border-left: 1px solid var(--line);
}
.header-cta-label {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.header-cta-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
  margin-top: 3px;
}

.nav-toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero-bg, .hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-bg img { object-fit: cover; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 100% at 0% 100%, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(35,31,32,.5) 0%, rgba(35,31,32,.55) 50%, rgba(35,31,32,.85) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px var(--gutter) clamp(60px, 7vw, 100px);
  color: var(--bone);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: clamp(173px, 20.4vw, 259px);
  height: auto;
  margin-bottom: clamp(32px, 4vw, 56px);
  filter: brightness(2);
  opacity: 1;
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 4.85rem);
  line-height: .92;
  letter-spacing: -.045em;
  margin: 0 0 28px;
  text-transform: uppercase;
  display: block;
  text-wrap: balance;
}
.hero-line {
  display: block;
}
.hero-line--accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  text-stroke: 1.5px var(--gold);
  transition: color 1s var(--ease), -webkit-text-stroke-width 1s var(--ease);
  font-style: italic;
}
.hero.is-filled .hero-line--accent {
  color: var(--gold);
  -webkit-text-stroke-width: 0;
}

.hero-tag {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(.9rem, .6vw + .4rem, 1.05rem);
  letter-spacing: .04em;
  color: var(--bone-dim);
  margin: 0 0 44px;
  max-width: 60ch;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-scroll {
  font-family: var(--display);
  font-weight: 500;
  font-size: .76rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--bone-mid);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-scroll-line {
  width: 36px; height: 1px;
  background: var(--gold);
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute; left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--ink);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(200%); }
  100% { transform: translateX(200%); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
.about-copy p {
  font-size: 1.04rem;
  color: #555;
  margin: 0 0 1.4em;
}
.about-copy .lede {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.5vw + .6rem, 2rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: 1em;
  text-wrap: balance;
}

.about-photo {
  margin: 0;
  position: relative;
}
.about-photo-meta {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-photo-meta .slash {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0;
}
.about-photo-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease), filter .6s var(--ease);
  filter: contrast(1.02);
}
/* fine inset hairline border */
.about-photo-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 200, 67, .55);
  pointer-events: none;
  z-index: 2;
  transition: inset .55s var(--ease), border-color .35s var(--ease);
}
/* corner brackets — permanent gold ticks at each corner of the inset border */
.about-photo-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  z-index: 3;
  background:
    /* top-left */
    linear-gradient(var(--gold), var(--gold)) left  top    / 22px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left  top    / 1.5px 22px no-repeat,
    /* top-right */
    linear-gradient(var(--gold), var(--gold)) right top    / 22px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top    / 1.5px 22px no-repeat,
    /* bottom-left */
    linear-gradient(var(--gold), var(--gold)) left  bottom / 22px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left  bottom / 1.5px 22px no-repeat,
    /* bottom-right */
    linear-gradient(var(--gold), var(--gold)) right bottom / 22px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 1.5px 22px no-repeat;
  transition: inset .55s var(--ease);
}
.about-photo-frame:hover img {
  transform: scale(1.04);
  filter: contrast(1.08);
}
.about-photo-frame:hover::after {
  inset: 22px;
  border-color: rgba(255, 200, 67, .9);
}
.about-photo-frame:hover::before {
  inset: 22px;
}

/* =========================================================
   SERVICES (grid)
   ========================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.section-light .grid { border-color: var(--line-dark); }

.grid-item {
  position: relative;
  padding: clamp(32px, 3.4vw, 56px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), background .35s var(--ease);
  will-change: opacity, transform;
  isolation: isolate;
  overflow: hidden;
}
.section-light .grid-item { border-color: var(--line-dark); }
.grid-item.active {
  opacity: 1;
  transform: none;
}
.grid-item:hover { background: rgba(255,200,67,.04); }
.section-light .grid-item:hover { background: rgba(255,200,67,.08); }

/* Hover image background layer — fades in behind the text on hover/focus.
   Image dimensions are arbitrary; object-fit: cover handles cropping. */
.grid-item-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity .55s var(--ease);
  pointer-events: none;
}
.grid-item-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform 1.6s var(--ease);
  filter: brightness(.9);
}
/* Dark veil over the image so the white/grey card text stays legible */
.grid-item-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35,31,32,.55) 0%, rgba(35,31,32,.85) 100%);
  pointer-events: none;
}
.section-light .grid-item-bg::after {
  background: linear-gradient(180deg, rgba(35,31,32,.5) 0%, rgba(35,31,32,.78) 100%);
}
.grid-item:hover .grid-item-bg,
.grid-item:focus-within .grid-item-bg { opacity: 1; }
.grid-item:hover .grid-item-bg img,
.grid-item:focus-within .grid-item-bg img { transform: scale(1); }

/* Inner content wrapper — sits above the bg, takes the remaining flex space
   so .grid-item's existing min-height + padding still drive layout. */
.grid-item-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* On hover (light section variant), force text to stay light over the photo */
.section-light .grid-item:hover h3,
.section-light .grid-item:focus-within h3 { color: var(--bone); }
.section-light .grid-item:hover p,
.section-light .grid-item:focus-within p { color: var(--bone-dim); }
.section-light .grid-item:hover .grid-no,
.section-light .grid-item:focus-within .grid-no { color: var(--gold); }

.grid-no {
  font-family: var(--display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: 36px;
}
.grid-item h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.4vw + .4rem, 1.85rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.grid-item p {
  margin: 0;
  font-size: .98rem;
  color: var(--bone-mid);
  line-height: 1.55;
  margin-top: auto;
  padding-top: 16px;
}
.section-light .grid-item p { color: #555; }

/* =========================================================
   STATS — pinned section that scrubs through 4 stats
   ========================================================= */
.section-stats {
  position: relative;
  padding: 0;
  background: var(--ink-deep);
  color: var(--bone);
  overflow: hidden;
}
.stats-bg-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.stat-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s var(--ease);
  will-change: opacity;
}
.stat-bg.is-active { opacity: 1; }
.stat-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.95) brightness(.78);
}
.stats-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(26,23,24,.7) 0%, rgba(26,23,24,.35) 55%, rgba(26,23,24,.15) 100%),
    linear-gradient(180deg, rgba(26,23,24,.1) 0%, rgba(26,23,24,.55) 100%);
  z-index: 2;
}
.stats-pin {
  position: relative;
  height: 100vh;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
}
.stats-track {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}
.stat-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 48px;
  transition: opacity .55s var(--ease), transform .8s var(--ease);
}
.stat-slide:not(.is-active) {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.stat-slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.stat-rule {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--gold);
}
.stat-big {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(7rem, 18vw, 18rem);
  line-height: .85;
  letter-spacing: -.06em;
  color: var(--gold);
  margin: 18px 0 28px;
}
.stat-unit {
  font-family: var(--display);
  font-weight: 500;
  font-size: .22em;
  letter-spacing: .04em;
  margin-left: .12em;
  color: var(--gold);
  vertical-align: 1em;
  text-transform: lowercase;
}
.stat-desc {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.05rem, .9vw + .5rem, 1.4rem);
  line-height: 1.4;
  color: var(--bone);
  max-width: 50ch;
  margin: 0;
}

.stats-rail {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 3;
}
.stats-rail-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  transition: background .3s var(--ease);
}
.stats-rail-dot.is-active { background: var(--gold); }

/* =========================================================
   GALLERY — minimal 3 × 3 grid, gold inset hairline + corner brackets
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.4vw, 22px);
}
.g {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 3;
  isolation: isolate;
}
.g-btn {
  display: block; width: 100%; height: 100%;
  position: relative; padding: 0;
  cursor: pointer;
}
.g img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease), filter .5s var(--ease);
  filter: contrast(1.02);
}
/* Fine inset hairline border — same language as .about-photo-frame */
.g::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 200, 67, .55);
  pointer-events: none;
  z-index: 2;
  transition: inset .55s var(--ease), border-color .35s var(--ease);
}
/* Permanent gold corner brackets at the inset border corners */
.g::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(var(--gold), var(--gold)) left  top    / 18px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left  top    / 1.5px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top    / 18px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top    / 1.5px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left  bottom / 18px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left  bottom / 1.5px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 18px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 1.5px 18px no-repeat;
  transition: inset .55s var(--ease);
}
/* Caption — hidden by default for the minimal look, revealed on hover/focus */
.g figcaption {
  position: absolute;
  inset: 0;
  padding: clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  color: var(--bone);
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78) 100%);
  z-index: 4;
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.g-meta {
  font-family: var(--display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.g-meta .slash { color: var(--gold); margin-right: 4px; }
.g-cap {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -.005em;
}
.g:hover img,
.g:focus-within img { transform: scale(1.05); filter: contrast(1.06); }
.g:hover figcaption,
.g:focus-within figcaption { opacity: 1; }
.g:hover::after,
.g:focus-within::after { inset: 20px; border-color: rgba(255, 200, 67, .9); }
.g:hover::before,
.g:focus-within::before { inset: 20px; }
.g:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 36px);
  margin-top: 24px;
}
.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(32px, 4vw, 56px) clamp(28px, 3.5vw, 48px);
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--line);
  color: var(--bone);
  text-decoration: none;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease);
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .55s var(--ease);
}
.contact-card:hover,
.contact-card:focus-visible {
  background: rgba(255, 200, 67, .04);
  border-color: rgba(255, 200, 67, .35);
  transform: translateY(-2px);
}
.contact-card:hover::before,
.contact-card:focus-visible::before { width: 100%; }
.contact-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.contact-card-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bone-mid);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-card-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw + .3rem, 2.4rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--bone);
  word-break: break-word;
}
.contact-card-cta {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap .35s var(--ease);
}
.contact-card:hover .contact-card-cta,
.contact-card:focus-visible .contact-card-cta { gap: 16px; }

.contact-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
  margin: clamp(48px, 6vw, 80px) 0 0;
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.contact-meta > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-meta dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bone-mid);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-meta dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -.005em;
  color: var(--bone);
}
.contact-meta dd a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.contact-meta dd a:hover { color: var(--gold); border-color: var(--gold); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink-deep);
  color: var(--bone-mid);
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 20px; }
.foot-logo {
  width: 72px;
  height: 72px;
  display: block;
  flex-shrink: 0;
}
.foot-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--bone);
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.foot-tag { margin: 6px 0 0; font-size: .82rem; letter-spacing: .08em; color: var(--bone-mid); }
.foot-meta { text-align: right; font-size: .9rem; }
.foot-meta p { margin: 0; }
.foot-meta a { color: var(--bone); }
.foot-meta a:hover { color: var(--gold); }
.foot-meta .muted { color: var(--bone-low); margin-top: 8px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15,12,10,.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox.open { animation: lbFade .25s var(--ease); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lb-figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lb-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
}
#lb-cap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
#lb-title {
  color: var(--bone);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1vw + .7rem, 1.35rem);
  letter-spacing: -.01em;
}
#lb-desc {
  color: var(--bone-mid);
  font-family: var(--display);
  font-weight: 400;
  font-size: .98rem;
  line-height: 1.55;
  letter-spacing: .005em;
}
#lb-desc:empty { display: none; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  color: var(--bone);
  font-size: 32px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--gold);
  transition: background .25s var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold-soft); }
.lb-close { top: 24px; right: 24px; font-size: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .content-fade, .grid-item { opacity: 1; transform: none; }
  .hero-line--accent { color: var(--gold); -webkit-text-stroke-width: 0; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 480px; }
  .contact-primary { grid-template-columns: 1fr; }
  .contact-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stat-big { font-size: clamp(6rem, 16vw, 14rem); }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav.open {
    display: block;
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--ink);
    z-index: 90;
    padding: 32px var(--gutter);
  }
  .nav.open ul { flex-direction: column; gap: 0; }
  .nav.open li { border-bottom: 1px solid var(--line); }
  .nav.open a {
    display: block;
    font-size: 1.4rem;
    letter-spacing: .04em;
    padding: 18px 0;
    text-transform: none;
  }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border: 1px solid var(--bone);
  }
  .nav-toggle span {
    width: 18px; height: 1.5px;
    background: var(--bone);
    transition: transform .3s var(--ease), opacity .25s var(--ease);
  }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

  .header-cta-num { display: none; }
  .header-cta { padding-left: 12px; }
  .brand-text { font-size: .68rem; letter-spacing: .1em; }

  .grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 14px; }
  .g { aspect-ratio: 4 / 3; }
  .g::after, .g::before { inset: 10px; }

  .hero-logo { width: clamp(108px, 26.4vw, 156px); margin-bottom: 24px; }
  .hero-inner { padding-top: 120px; }
  .hero-foot { gap: 20px; }
  .stats-rail { display: none; }
  .stat-slide { padding-left: 28px; }
  .contact-card-value { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .foot-meta { text-align: left; }
}

@supports not (backdrop-filter: blur(10px)) {
  .site-header.scrolled { background: var(--ink); }
}
