/* =====================================================
   Facilities Group Services — editorial refurbish
   Palette pulled from original WordPress build:
   green #57B268 · dark #0B1712 · cream #F8FBEC
   Display: Instrument Serif (high-contrast modern serif)
   Body: Bricolage Grotesque (variable geometric sans)
   Mono accents: JetBrains Mono
   ===================================================== */

/* ---- Locally bundled fonts (no third-party requests) ---- */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bigshouldersdisplay-normal-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/bigshouldersdisplay-normal-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/bigshouldersdisplay-normal-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/bigshouldersdisplay-normal-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/spacegrotesk-normal-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/spacegrotesk-normal-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/spacegrotesk-normal-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/spacegrotesk-normal-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/spacemono-normal-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/spacemono-normal-700.woff2') format('woff2');
}
/* Italic serif kept ONLY for em accent words inside display headings */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrumentserif-italic-400.woff2') format('woff2');
}

:root {
  --green: #57B268;
  --green-deep: #2F6B3A;
  --green-soft: #DCEFC4;
  --green-paper: #EEF6E4;
  --dark: #0B1712;
  --dark-2: #142420;
  --cream: #F8FBEC;
  --cream-2: #F1F3E2;
  --paper: #ECEAD8;
  --white: #FFFFFF;
  --ink: #161D18;
  --rule: rgba(11, 23, 18, 0.14);
  --rule-soft: rgba(11, 23, 18, 0.06);

  --font-serif: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-italic: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-sans:  "Space Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:  "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0.06, 0.68, 0.19);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtle paper grain over everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(11,23,18,0.03) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
  opacity: 0.5;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; cursor: pointer; background: none; color: inherit; }

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

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

/* ==========================================================
   Typography system
   ========================================================== */
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
}
.display em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
}

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink);
}

.rule {
  display: inline-block;
  width: 28px; height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
}

/* ==========================================================
   Custom cursor
   ========================================================== */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: difference;
}
.cursor-dot { width: 5px; height: 5px; background: var(--cream); }
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid var(--cream);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease);
}
.cursor-ring.is-hover {
  width: 72px; height: 72px;
  background: var(--cream);
  mix-blend-mode: difference;
}
@media (max-width: 1024px), (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ==========================================================
   Loader — folded paper opening
   ========================================================== */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--dark);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.loader__mark {
  font-family: var(--font-italic);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(60px, 12vw, 180px);
  line-height: 1;
  letter-spacing: -0.04em;
  overflow: hidden;
  display: flex;
}
.loader__mark span {
  display: inline-block;
  transform: translateY(110%);
}
.loader__meta {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .8s var(--ease) .6s, transform .8s var(--ease) .6s;
}
.loader.is-ready .loader__meta { opacity: 0.6; transform: translateY(0); }

/* ==========================================================
   Top-rail navigation
   ========================================================== */
.rail {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), padding .3s var(--ease);
}
.rail.is-scrolled {
  border-bottom-color: var(--ink);
  padding: 12px clamp(20px, 4vw, 48px);
}

.rail__logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.rail__logo img { height: 36px; width: auto; }
.rail__logo .wordmark {
  display: flex; flex-direction: column; line-height: 1;
}
.rail__logo .wordmark small {
  font-family: var(--font-mono); font-size: 9px; font-style: normal;
  letter-spacing: 0.3em; text-transform: uppercase;
  margin-top: 2px;
  opacity: 0.55;
}

.rail__nav {
  display: flex; justify-content: center;
  gap: 28px;
}
.rail__nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 4px;
  position: relative;
  display: inline-block;
}
.rail__nav a::before {
  content: "·";
  position: absolute;
  left: -16px; top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 18px;
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.rail__nav a:hover::before,
.rail__nav a.is-active::before {
  opacity: 1;
  transform: translateY(-50%) translateX(6px);
}
.rail__nav .has-sub { position: relative; }
.rail__nav .sub {
  position: absolute;
  top: calc(100% + 14px);
  left: -10px;
  background: var(--dark);
  color: var(--cream);
  padding: 14px 0;
  border-radius: 2px;
  min-width: 240px;
  list-style: none;
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.rail__nav .has-sub:hover .sub,
.rail__nav .has-sub:focus-within .sub {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.rail__nav .sub li a {
  display: block; padding: 8px 22px;
  font-size: 10px;
}
.rail__nav .sub li a::before { display: none; }
.rail__nav .sub li a:hover { background: var(--green-deep); color: var(--cream); }

.rail__phone {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.rail__phone strong {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--green-deep);
}

.rail__toggle { display: none; }

@media (max-width: 960px) {
  .rail__nav, .rail__phone { display: none; }
  .rail__toggle {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  }
  .rail__toggle .bars { display: inline-flex; flex-direction: column; gap: 4px; }
  .rail__toggle .bars span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .rail.is-open .rail__toggle .bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .rail.is-open .rail__toggle .bars span:nth-child(2) { opacity: 0; }
  .rail.is-open .rail__toggle .bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
}

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--dark);
  color: var(--cream);
  z-index: 95;
  padding: 100px 28px 40px;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(34px, 8vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  padding: 10px 0;
  border-bottom: 1px solid rgba(248,251,236,0.08);
}
.mobile-menu .sub-link {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 0 8px 20px;
  border: none;
  color: rgba(248,251,236,0.6);
}
.mobile-menu .contact-block {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248,251,236,0.6);
}
.mobile-menu .contact-block strong {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  display: block;
  color: var(--green);
  margin-bottom: 6px;
}

/* ==========================================================
   Buttons / links
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }

.btn--green {
  background: var(--green);
  color: var(--dark);
  box-shadow: 4px 4px 0 var(--dark);
}
.btn--green:hover {
  background: var(--dark);
  color: var(--green);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--green);
}

.btn--dark {
  background: var(--dark);
  color: var(--cream);
  box-shadow: 4px 4px 0 var(--green);
}
.btn--dark:hover {
  background: var(--green);
  color: var(--dark);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--dark);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 6px 0;
  border-radius: 0;
  box-shadow: none;
}
.btn--ghost:hover {
  color: var(--green-deep);
  border-bottom-color: var(--green-deep);
  transform: translateX(2px);
}

/* ==========================================================
   Reveal helpers
   ========================================================== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

.split-line { display: block; overflow: hidden; }
.split-line span { display: block; transform: translateY(110%); }

/* ==========================================================
   STICKERS / CHIPS
   ========================================================== */
.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: var(--green);
  color: var(--dark);
  border: 1.5px solid var(--dark);
  border-radius: 999px;
  transform: rotate(-3deg);
}
.sticker--ghost { background: transparent; border-color: var(--ink); }
.sticker--cream { background: var(--cream); color: var(--dark); border-color: var(--dark); }
.sticker--dark  { background: var(--dark); color: var(--cream); border-color: var(--cream); }

.stamp {
  display: inline-flex; align-items: center; justify-content: center;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  border: 1.5px solid var(--dark);
  transform: rotate(-8deg);
  flex-shrink: 0;
  line-height: 1.2;
}

/* Hand-drawn underline */
.scribble {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.scribble::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: -10%;
  height: 18%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 32' preserveAspectRatio='none'><path d='M2 26 C 60 4, 120 28, 200 14 S 360 4, 398 22' stroke='%2357B268' stroke-width='6' fill='none' stroke-linecap='round' /></svg>") no-repeat center / 100% 100%;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  animation: drawScribble 1.4s var(--ease) 1.4s forwards;
}
@keyframes drawScribble { to { transform: scaleX(1); } }

/* ==========================================================
   SECTION SCAFFOLD
   ========================================================== */
.section { padding: clamp(80px, 11vw, 160px) clamp(20px, 4vw, 48px); position: relative; }
.section--dark { background: var(--dark); color: var(--cream); }
.section--paper { background: var(--paper); }
.section--green { background: var(--green); color: var(--dark); }
.section__inner { max-width: var(--max); margin: 0 auto; position: relative; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  align-items: end;
}
.section-head__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 8px;
  border-top: 1px solid var(--ink);
}
.section--dark .section-head__label { color: var(--green); border-top-color: var(--green); }
.section-head__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6.6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.section-head__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--green-deep);
}
.section--dark .section-head__title em { color: var(--green); }

@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
}

/* ==========================================================
   HERO — editorial broadsheet
   ========================================================== */
.hero {
  position: relative;
  padding: 140px clamp(20px, 4vw, 48px) 70px;
  background: var(--cream);
  overflow: hidden;
  z-index: 2;
}

/* big watermark "FGS" behind */
.hero__bg-mark {
  position: absolute;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(280px, 50vw, 720px);
  color: var(--green-paper);
  line-height: 0.78;
  letter-spacing: -0.06em;
  top: 25%;
  left: -4%;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.hero__top {
  max-width: var(--max);
  margin: 0 auto 40px;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero__top .col {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.6;
  max-width: 280px;
}
.hero__top .col strong { display: block; font-weight: 600; margin-bottom: 4px; color: var(--green-deep); }

.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(60px, 11vw, 200px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.hero__headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--green-deep);
}
.hero__headline .small {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.32em;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
  padding-left: 4px;
}

.hero__sub {
  margin-top: 38px;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.hero__sub strong { font-weight: 500; color: var(--green-deep); }

.hero__cta {
  margin-top: 36px;
  display: flex; gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.hero__photo {
  position: relative;
  align-self: stretch;
  display: flex; flex-direction: column;
}
.hero__photo .frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(1.5deg);
  background: var(--dark);
}
.hero__photo .frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  filter: contrast(1.04) saturate(1.02);
}
.hero__photo .stamp {
  position: absolute;
  top: -28px; left: -28px;
  z-index: 3;
}
.hero__photo .photo-caption {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--ink);
  padding-top: 10px;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__bg-mark { font-size: clamp(220px, 70vw, 480px); top: 35%; }
}

/* ==========================================================
   TICKER — running specialties
   ========================================================== */
.ticker {
  background: var(--ink);
  color: var(--cream);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
  z-index: 3;
}
.ticker__track {
  display: flex;
  gap: 70px;
  white-space: nowrap;
  width: max-content;
  animation: tickerScroll 38s linear infinite;
}
.ticker__item {
  display: inline-flex; align-items: center; gap: 70px;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 54px);
  letter-spacing: -0.02em;
}
.ticker__item::after {
  content: "✱";
  font-style: normal;
  font-size: 0.45em;
  color: var(--green);
  display: inline-block;
  transform: translateY(-6px);
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================
   ABOUT — editorial pull quote
   ========================================================== */
.about { background: var(--cream); padding-top: clamp(80px, 11vw, 140px); }
.about__lede {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.about__lede .label { padding-top: 10px; border-top: 1px solid var(--ink); }
.about__quote {
  font-family: var(--font-italic);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about__quote em { font-style: normal; font-weight: 400; color: var(--green-deep); }

.about__body {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.about__copy { padding-top: 20px; }
.about__copy .col-rule {
  display: flex; gap: 16px; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 26px;
}
.about__copy .col-rule::before {
  content: ""; width: 36px; height: 1px; background: var(--green-deep);
}
.about__copy p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 22px;
  max-width: 480px;
}
.about__copy p:first-of-type::first-letter {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 4em;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--green-deep);
}

.about__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about__visual .v1, .about__visual .v2 {
  position: relative; overflow: hidden;
  border-radius: 2px;
  box-shadow: 8px 8px 0 var(--ink);
}
.about__visual .v1 { aspect-ratio: 3/4; transform: translateY(0); }
.about__visual .v2 { aspect-ratio: 3/4; transform: translateY(60px); }
.about__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__visual .v1:hover img, .about__visual .v2:hover img { transform: scale(1.05); }

.about__stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--ink);
  padding-top: 30px;
}
.about__stats .stat__n {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  color: var(--green-deep);
  letter-spacing: -0.02em;
}
.about__stats .stat__l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 8px;
  display: block;
  max-width: 180px;
}

@media (max-width: 900px) {
  .about__lede, .about__body { grid-template-columns: 1fr; }
  .about__visual .v2 { transform: translateY(20px); }
  .about__stats { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================
   SERVICES — index card list
   ========================================================== */
.services { background: var(--dark); color: var(--cream); position: relative; }
.services .section-head__label { color: var(--green); border-top-color: var(--green); }
.services .section-head__title { color: var(--cream); }

.services__list { list-style: none; border-top: 1px solid rgba(248,251,236,0.16); }
.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 30px;
  padding: 36px 12px;
  border-bottom: 1px solid rgba(248,251,236,0.16);
  align-items: center;
  transition: padding .4s var(--ease), background .4s var(--ease);
  cursor: pointer;
}
.service-item:hover {
  padding-left: 28px;
  background: rgba(87,178,104,0.05);
}
.service-item__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--green);
}
.service-item__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.025em;
  transition: color .4s var(--ease);
}
.service-item__title em { font-style: italic; font-weight: 400; color: var(--green); }
.service-item:hover .service-item__title { color: var(--green); }
.service-item__desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(248,251,236,0.65);
  max-width: 360px;
}
.service-item__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  display: inline-flex; align-items: center; gap: 10px;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.service-item:hover .service-item__cta { color: var(--green); gap: 18px; }

/* hover preview image */
.service-item__preview {
  position: absolute;
  width: 280px; height: 360px;
  object-fit: cover;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85) rotate(-3deg);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 5;
  box-shadow: 12px 12px 0 var(--green);
}
.service-item.is-hover .service-item__preview {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(-3deg);
}

@media (max-width: 900px) {
  .service-item { grid-template-columns: 60px 1fr; row-gap: 14px; }
  .service-item__desc { grid-column: 1 / -1; padding-left: 90px; }
  .service-item__cta  { grid-column: 1 / -1; padding-left: 90px; }
  .service-item__preview { display: none; }
}

/* ==========================================================
   WHY US — numbered editorial three-col
   ========================================================== */
.why { background: var(--green-paper); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
  counter-reset: why;
}
.why__card {
  position: relative;
  background: var(--cream);
  padding: 38px 32px 32px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.why__card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--green); }

.why__num {
  position: absolute;
  top: -32px; left: 24px;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 80px;
  line-height: 1;
  color: var(--green-deep);
  background: var(--green-paper);
  padding: 0 12px;
  letter-spacing: -0.04em;
}
.why__card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 22px 0 16px;
  color: var(--ink);
}
.why__card p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.65;
  opacity: 0.78;
}
.why__card .why__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--green);
  color: var(--dark);
  border-radius: 999px;
  margin-bottom: 6px;
}

@media (max-width: 820px) { .why__grid { grid-template-columns: 1fr; gap: 56px; } }

/* ==========================================================
   STATS — inline editorial
   ========================================================== */
.stats {
  background: var(--ink);
  color: var(--cream);
  padding: 80px clamp(20px, 4vw, 48px);
  border-top: 1px solid rgba(248,251,236,0.1);
  border-bottom: 1px solid rgba(248,251,236,0.1);
}
.stats__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 60px;
  justify-content: space-between;
}
.stat-fact {
  display: flex; flex-direction: column;
  gap: 8px;
}
.stat-fact__num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(64px, 8.5vw, 130px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--cream);
}
.stat-fact__num em { font-style: italic; color: var(--green); }
.stat-fact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248,251,236,0.55);
  max-width: 220px;
}
.stat-fact__divider {
  width: 1px;
  align-self: stretch;
  background: rgba(248,251,236,0.15);
  min-height: 100px;
}

@media (max-width: 720px) { .stats__inner { gap: 36px; } .stat-fact__divider { display: none; } }

/* ==========================================================
   PAGE HERO (subpages)
   ========================================================== */
.page-hero {
  padding: 160px clamp(20px, 4vw, 48px) 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 18%; right: -8%;
  width: 60vw; height: 60vw;
  background:
    radial-gradient(ellipse at center, var(--green-paper), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.page-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero__crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: inline-flex; gap: 14px; align-items: center;
  margin-bottom: 40px;
}
.page-hero__crumb::before { content: ""; width: 32px; height: 1px; background: var(--green-deep); }
.page-hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  max-width: 1100px;
}
.page-hero__title em { font-style: italic; font-weight: 400; color: var(--green-deep); }
.page-hero__lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink);
  max-width: 640px;
  line-height: 1.7;
}

/* ==========================================================
   SERVICE LIST (commercial/domestic detail)
   ========================================================== */
.service-list { background: var(--paper); }
.service-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px dashed var(--ink);
  align-items: center;
}
.service-row:last-child { border-bottom: none; }
.service-row__num {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(50px, 8vw, 100px);
  line-height: 0.9;
  color: var(--green-deep);
  letter-spacing: -0.03em;
  align-self: start;
}
.service-row__media {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 10px 10px 0 var(--ink);
  position: relative;
  order: 3;
}
.service-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-row:hover .service-row__media img { transform: scale(1.05); }

.service-row__copy { order: 2; }
.service-row__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  color: var(--ink);
}
.service-row__title em { font-style: italic; color: var(--green-deep); }
.service-row__desc {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 480px;
}
.service-row__bullets {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
}
.service-row__bullets li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex; align-items: center; gap: 14px;
}
.service-row__bullets li::before {
  content: "→";
  color: var(--green-deep);
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 18px;
}

@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 24px; }
  .service-row__num { font-size: 80px; }
  .service-row__media { order: 1; }
  .service-row__copy { order: 2; }
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact { background: var(--cream); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact__info { padding-top: 8px; }
.contact__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(38px, 5.5vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 20px 0 24px;
  color: var(--ink);
}
.contact__title em { font-style: italic; color: var(--green-deep); }
.contact__lead {
  color: var(--ink);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.7;
  font-size: 16px;
}
.contact__list { list-style: none; display: grid; gap: 14px; }
.contact__list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--ink);
  align-items: start;
}
.contact__list .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-deep);
  padding-top: 4px;
}
.contact__list .v {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.contact__list a.v:hover { color: var(--green-deep); }

.form-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: 2px;
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  box-shadow: 14px 14px 0 var(--green);
  border: 1.5px solid var(--ink);
}
.form-card__top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(248,251,236,0.16);
  padding-bottom: 16px;
}
.form-card__top h3 {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
}
.form-card__top .ref {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248,251,236,0.55);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(248,251,236,0.55);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(248,251,236,0.24);
  padding: 10px 0;
  color: var(--cream);
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.01em;
  border-radius: 0;
  transition: border-color .3s var(--ease);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(248,251,236,0.32); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--green);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F8FBEC' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 18px;
  padding-right: 30px;
}
.field select option { background: var(--dark); color: var(--cream); font-style: normal; font-family: var(--font-sans); }
.field textarea { resize: vertical; min-height: 110px; font-family: var(--font-serif); }

.form-card .btn {
  margin-top: 16px;
  background: var(--green);
  color: var(--dark);
  box-shadow: 4px 4px 0 var(--cream);
}
.form-card .btn:hover {
  background: var(--cream); color: var(--dark);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--green);
}
.form-message {
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(87,178,104,0.16);
  color: var(--green);
  font-size: 14px;
  border-left: 2px solid var(--green);
  display: none;
}
.form-message.is-shown { display: block; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   CTA strip (between sections)
   ========================================================== */
.cta-strip { background: var(--green); color: var(--dark); padding: 80px clamp(20px, 4vw, 48px); }
.cta-strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-strip h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cta-strip h2 em { font-style: italic; }
.cta-strip p {
  margin-top: 20px;
  color: var(--ink);
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
}
.cta-strip .end { text-align: right; }
@media (max-width: 820px) {
  .cta-strip__inner { grid-template-columns: 1fr; }
  .cta-strip .end { text-align: left; }
}

/* ==========================================================
   CERT
   ========================================================== */
.cert {
  background: var(--cream);
  padding: 70px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.cert__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cert__label { display: block; margin-bottom: 12px; }
.cert__copy h3 {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.cert__copy p {
  color: var(--ink); font-size: 15px; max-width: 540px; line-height: 1.6;
}
.cert__badge img { max-width: 240px; }
@media (max-width: 720px) {
  .cert__inner { grid-template-columns: 1fr; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--dark);
  color: var(--cream);
  padding: 90px clamp(20px, 4vw, 48px) 36px;
  position: relative;
  overflow: hidden;
}
.footer__inner { max-width: var(--max); margin: 0 auto; }
.footer__bigmark {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(70px, 14vw, 240px);
  line-height: 0.84;
  letter-spacing: -0.05em;
  margin-bottom: 56px;
}
.footer__bigmark em { font-style: italic; color: var(--green); font-weight: 400; }
.footer__bigmark .line2 { display: block; padding-left: 8vw; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(248,251,236,0.12);
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
  font-weight: 500;
}
.footer__col p, .footer__col li {
  color: rgba(248,251,236,0.68);
  font-size: 14px;
  line-height: 1.75;
  list-style: none;
}
.footer__col ul { display: grid; gap: 6px; }
.footer__col a { transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--green); }
.footer__brand img { height: 44px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer__brand .qt {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: var(--cream);
  max-width: 320px;
}

.footer__bottom {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(248,251,236,0.08);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248,251,236,0.5);
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================
   Reduce motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .split-line span { transform: none !important; }
  .scribble::after { transform: scaleX(1) !important; }
}

/* ==========================================================
   BIG SHOULDERS WEIGHT/SIZE OVERRIDES
   Big Shoulders is a heavy condensed display face — it needs
   weight 800–900 to feel right, and slightly larger sizes
   since condensed faces fit more horizontally.
   ========================================================== */
.hero__headline,
.page-hero__title,
.footer__bigmark,
.section-head__title,
.contact__title,
.service-row__title,
.service-item__title,
.cta-strip h2,
.why__card h3,
.stat-fact__num,
.about__stats .stat__n,
.loader__mark {
  font-family: var(--font-serif);
  font-weight: 900;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.section-head__title,
.contact__title,
.service-row__title,
.service-item__title,
.cta-strip h2,
.why__card h3 {
  font-weight: 800;
}

/* Non-display headings: clean Space Grotesk, no italic */
.about__quote,
.form-card__top h3,
.cert__copy h3,
.form-card h3 {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
}

/* About pull-quote: bigger, italic NOT used — just bold sans */
.about__quote { font-weight: 500; }
.about__quote em {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  text-transform: none;
  color: var(--green-deep);
}

/* Em accent words inside DISPLAY headings:
   same font (Big Shoulders), lighter weight (400 vs 900), green color.
   No italic, no font switch, no running script. */
.hero__headline em,
.page-hero__title em,
.section-head__title em,
.footer__bigmark em,
.service-row__title em,
.service-item__title em,
.contact__title em,
.cta-strip h2 em,
.stat-fact__num em,
.about__stats .stat__n em {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--green);
}

/* Section-head em on dark bg uses brighter green */
.services .section-head__title em { color: var(--green); }

/* Loader, rail logo, hero small — clean sans, no italic */
.loader__mark {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 900;
  text-transform: lowercase;
}
.rail__logo .wordmark > span:first-child {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.005em;
  font-size: 18px;
}
.hero__headline .small {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* Footer mark uses same em treatment */
.footer__bigmark { letter-spacing: -0.01em; }

/* Body remains Space Grotesk */
body, p { font-family: var(--font-sans); }

/* ==========================================================
   Service item cursor-follow preview — clamp position so
   the image never overflows the list container.
   The preview is positioned absolutely relative to the LIST
   (not the row), so it can travel anywhere in the list and
   stay clipped to its bounds.
   ========================================================== */
.services__list {
  position: relative;
  overflow: hidden;
}
/* Force the row to be a non-positioned context so the
   preview anchors to .services__list instead of the row */
.services .service-item { position: static; }

.service-item__preview {
  width: 320px;
  height: 400px;
  z-index: 5;
}

