/* =====================================================================
   IRON PEAK LANDSCAPING — core stylesheet
   Theme: near-black ground, metallic steel, forest-olive accent.
   Signature motif: topographic contour lines (survey / elevation map).
   ===================================================================== */

/* ----------  TOKENS  ---------- */
:root {
  /* ground + panels */
  --ink:        #0b0e0c;
  --ink-2:      #0f1310;
  --panel:      #131814;
  --panel-2:    #171d18;
  --hairline:   rgba(194, 200, 195, 0.12);
  --hairline-2: rgba(194, 200, 195, 0.06);

  /* metallic steel (used as a gradient for headings + the mark) */
  --steel-hi:   #eef1ee;
  --steel:      #c2c8c3;
  --steel-lo:   #828b84;

  /* forest-olive accent — sampled from the logo's trees + "LANDSCAPING" (#516837 avg) */
  --olive:        #516837;
  --olive-bright: #87a05a; /* lightened for small text; keeps WCAG AA on dark panels */
  --olive-deep:   #3a4d27;
  --olive-light:  #5a7042; /* logo's lightest green — button hover */
  --olive-glow:   rgba(135, 160, 90, 0.14);

  /* text */
  --bone:  #e7eae5;
  --ash:   #9aa39c;
  --ash-2: #7f8880; /* lightest grey that still passes WCAG AA on --panel */

  /* topographic contour texture (static so it paints without JS) */
  --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cpath d='M-20 30 C 80 -4, 150 60, 240 24 S 380 58, 460 12' fill='none' stroke='%237d9150' stroke-width='1.1' opacity='0.5'/%3E%3Cpath d='M-20 74 C 80 40, 150 104, 240 68 S 380 102, 460 56' fill='none' stroke='%237d9150' stroke-width='1.1' opacity='0.32'/%3E%3Cpath d='M-20 118 C 80 84, 150 148, 240 112 S 380 146, 460 100' fill='none' stroke='%237d9150' stroke-width='1.1' opacity='0.5'/%3E%3Cpath d='M-20 162 C 80 128, 150 192, 240 156 S 380 190, 460 144' fill='none' stroke='%237d9150' stroke-width='1.1' opacity='0.32'/%3E%3Cpath d='M-20 206 C 80 172, 150 236, 240 200 S 380 234, 460 188' fill='none' stroke='%237d9150' stroke-width='1.1' opacity='0.5'/%3E%3Cpath d='M-20 250 C 80 216, 150 280, 240 244 S 380 278, 460 232' fill='none' stroke='%237d9150' stroke-width='1.1' opacity='0.32'/%3E%3Cpath d='M-20 294 C 80 260, 150 324, 240 288 S 380 322, 460 276' fill='none' stroke='%237d9150' stroke-width='1.1' opacity='0.5'/%3E%3Cpath d='M-20 338 C 80 304, 150 368, 240 332 S 380 366, 460 320' fill='none' stroke='%237d9150' stroke-width='1.1' opacity='0.32'/%3E%3Cpath d='M-20 382 C 80 348, 150 412, 240 376 S 380 410, 460 364' fill='none' stroke='%237d9150' stroke-width='1.1' opacity='0.5'/%3E%3C/svg%3E");

  /* type — slab headings echo the logo's steel lettering; paragraphs use a
     warm humanist sans (the free twin of ArDan's Freight Sans Pro) */
  --display:      "Oswald", "Arial Narrow", sans-serif;
  --display-slab: "Roboto Slab", "Rockwell", Georgia, serif;
  --body:         "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --ui:           "Nunito Sans", system-ui, "Segoe UI", sans-serif;
  --mono:         "Space Mono", ui-monospace, "Courier New", monospace;

  /* scale + motion */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

/* ----------  RESET  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.65;
  font-size: 17.5px;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--olive-bright); outline-offset: 3px; border-radius: 2px; }

/* skip link — visible only when focused */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  background: var(--olive); color: #f2f4ef;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.7em 1.2em; border-radius: var(--radius);
  transform: translateY(-200%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

/* ----------  TYPE  ---------- */
.display, h1, h2, h3 {
  font-family: var(--display-slab);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.4rem, 6.4vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

.steel-text {
  background: linear-gradient(176deg, var(--steel-hi) 0%, var(--steel) 38%, var(--steel-lo) 78%, var(--steel-hi) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--olive-bright);
  display: inline-flex; align-items: center; gap: 0.7em;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--olive), transparent);
}
.eyebrow.center::after {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(270deg, var(--olive), transparent);
}

.lead { font-size: clamp(1.1rem, 1.7vw, 1.42rem); line-height: 1.6; color: var(--ash); max-width: 58ch; }
.muted { color: var(--ash); }

/* ----------  LAYOUT  ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section { padding-block: clamp(56px, 8.5vw, 108px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section-head { max-width: 64ch; margin-bottom: clamp(24px, 3.5vw, 42px); }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 18px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .section-head { margin-inline: auto; }

/* topographic contour divider (the signature motif) */
.contour-rule {
  height: 1px; border: 0; width: 100%;
  background: var(--hairline);
  position: relative;
}
.topo-band {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image: var(--topo);
  background-size: 760px auto;
  opacity: 0.5; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 75%);
}

/* ----------  BUTTONS  ---------- */
.btn {
  --bg: var(--olive);
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--display); text-transform: uppercase;
  font-weight: 600; letter-spacing: 0.05em; font-size: 0.98rem;
  padding: 0.92em 1.6em; border-radius: var(--radius);
  background: var(--bg); color: #f2f4ef;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 10px 30px -12px rgba(81,104,55,0.6);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); background: var(--olive-light); box-shadow: 0 1px 0 rgba(255,255,255,0.16) inset, 0 18px 38px -14px rgba(90,112,66,0.8); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  background: transparent; color: var(--bone);
  border: 1px solid var(--hairline);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(194,200,195,0.05); border-color: var(--olive); color: var(--bone); }

.textlink {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.06em;
  color: var(--olive-bright); border-bottom: 1px solid transparent;
  padding-bottom: 2px; transition: border-color 0.2s, gap 0.2s;
}
.textlink:hover { border-color: var(--olive); gap: 0.8em; }

/* ----------  HEADER / NAV  ---------- */
.site-header {
  position: fixed; top: 0; right: 0; bottom: auto; left: 0; z-index: 100;
  padding-block: 14px;
  transition: border-color 0.3s;
  border-bottom: 1px solid transparent;
}
/* The frosted-glass backdrop lives on a child layer with no descendants:
   a backdrop-filter directly on the header would become the containing
   block for the fixed-position mobile drawer and trap it inside the bar. */
.site-header::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1;
  background: rgba(8, 11, 9, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--hairline); }
.site-header.scrolled::before { opacity: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 42px; height: 42px; flex: none; }
.brand img.mark { object-fit: contain; border-radius: 3px; }
.brand .wordmark { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 0.92; }
.brand .wordmark b { display: block; font-size: 1.12rem; letter-spacing: 0.02em; }
.brand .wordmark span { display: block; font-size: 0.58rem; letter-spacing: 0.42em; color: var(--olive-bright); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--display); text-transform: uppercase; font-weight: 500;
  letter-spacing: 0.06em; font-size: 0.92rem; color: var(--ash);
  padding: 8px 14px; border-radius: var(--radius); position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--bone); }
.nav-links a.active { color: var(--bone); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--olive); border-radius: 2px;
}
.nav-cta { margin-left: 8px; padding: 0.6em 1.1em; font-size: 0.86rem; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--bone); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----------  HERO  ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 80px;
  overflow: hidden;
}
.hero__sky {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0;
  background: linear-gradient(180deg, #0d110e 0%, var(--ink) 55%, #080a08 100%);
}
/* the owner's logo as a large watermark; screen-blend melts its black
   background into the dark hero so only the artwork ghosts through */
.hero__mark { position: absolute; top: 50%; right: -2%; transform: translateY(-50%); z-index: 2; width: min(58vw, 820px); pointer-events: none; }
.hero__mark img {
  width: 100%; height: auto;
  mix-blend-mode: screen; opacity: 0.24;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(80% 80% at 50% 50%, #000 55%, transparent 100%);
}
@media (max-width: 900px) {
  .hero__mark { top: 44%; right: 50%; transform: translate(50%, -50%); width: min(125vw, 580px); }
  .hero__mark img { opacity: 0.15; }
}
.hero .wrap { position: relative; z-index: 5; }
.hero__inner { max-width: 880px; }
.hero h1 { margin: 18px 0 0; }
.hero h1 .l2 { display: block; }
.hero__sub { margin-top: 26px; max-width: 54ch; font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: var(--ash); }
.hero__towns { margin-top: 16px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive-bright); line-height: 2; }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { margin-top: 64px; display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px); border-top: 1px solid var(--hairline); padding-top: 28px; }
.stat .n { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.stat .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash-2); margin-top: 8px; }

/* scroll cue (hidden on phones — it crowds the hero stats there) */
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 6; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.3em; color: var(--ash-2); text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
@media (max-width: 700px) { .scroll-cue { display: none; } }
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(var(--olive), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ----------  STAT / TRUST STRIP  ---------- */
.strip { border-block: 1px solid var(--hairline); background: var(--ink-2); }
.strip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-block: 22px; }
@media (max-width: 700px) {
  .strip__row { flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 20px; }
}
.strip__row .item { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ash); font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.strip__row .item svg { color: var(--olive-bright); flex: none; }

/* ----------  SERVICE CARDS  ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 22px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--panel);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 34px);
  overflow: hidden; transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.card::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none;
  background-image: var(--topo); background-size: 520px auto;
  opacity: 0; transition: opacity 0.4s;
  -webkit-mask-image: radial-gradient(80% 80% at 100% 0%, #000, transparent 70%);
          mask-image: radial-gradient(80% 80% at 100% 0%, #000, transparent 70%);
}
.card:hover { border-color: rgba(155,177,78,0.4); transform: translateY(-4px); background: var(--panel-2); }
.card:hover::before { opacity: 0.5; }
.card .idx { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; color: var(--ash-2); }
.card .ico { width: 46px; height: 46px; margin: 18px 0 16px; color: var(--olive-bright); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ash); font-size: 0.98rem; }
.card .card-link { margin-top: 18px; }
.card--feature { display: flex; flex-direction: column; }

/* service detail (services page) */
.svc {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  padding: clamp(26px, 3vw, 40px);
  background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s;
}
.svc:hover { border-color: rgba(155,177,78,0.35); background: var(--panel-2); }
.svc .ico { width: 52px; height: 52px; color: var(--olive-bright); }
.svc h3 { margin-bottom: 12px; }
.svc ul.ticks { margin-top: 16px; display: grid; gap: 8px; }
.svc ul.ticks li { position: relative; padding-left: 24px; color: var(--ash); font-size: 0.95rem; }
.svc ul.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: rotate(-45deg); }

/* ----------  SPLIT / STORY  ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__body h2 { margin: 14px 0 20px; }
.split__body p + p { margin-top: 16px; }
.split__media { position: relative; }

.media-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--hairline); background: var(--panel);
  aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .coord { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.15em; color: var(--steel-hi); background: rgba(8,11,9,0.6); padding: 5px 9px; border-radius: 3px; backdrop-filter: blur(4px); }

/* placeholder image (auto-replaced when a real photo is dropped in) */
.ph {
  width: 100%; height: 100%; min-height: 220px;
  display: grid; place-content: center; gap: 8px; text-align: center;
  background:
    linear-gradient(135deg, rgba(20,25,21,0) 0%, rgba(126,145,66,0.08) 100%),
    var(--topo) center / 420px auto,
    linear-gradient(160deg, #161c17, #0e120f);
  color: var(--ash-2);
}
.ph svg { width: 40px; height: 40px; margin: 0 auto; color: var(--olive); opacity: 0.7; }
.ph .ph-t { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ph .ph-s { font-size: 0.74rem; color: var(--ash-2); max-width: 26ch; margin-inline: auto; }

/* values list */
.values { display: grid; gap: 2px; border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.values li { padding: clamp(20px, 2.4vw, 30px); background: var(--panel); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; transition: background 0.3s; }
.values li:hover { background: var(--panel-2); }
.values .v-n { font-family: var(--mono); font-size: 0.8rem; color: var(--olive-bright); letter-spacing: 0.1em; padding-top: 4px; }
.values h3 { margin-bottom: 8px; }
.values p { color: var(--ash); font-size: 0.96rem; }

/* ----------  PORTFOLIO  ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filterbar button {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.86rem;
  padding: 0.55em 1.1em; border-radius: 999px; border: 1px solid var(--hairline); color: var(--ash);
  transition: all 0.2s;
}
.filterbar button:hover { color: var(--bone); border-color: var(--olive); }
.filterbar button.active { background: var(--olive); color: #f2f4ef; border-color: var(--olive); }

.gallery { columns: 3; column-gap: clamp(14px, 1.6vw, 20px); }
.gallery .tile { break-inside: avoid; margin-bottom: clamp(14px, 1.6vw, 20px); position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hairline); cursor: pointer; background: var(--panel); }
.gallery .tile img { width: 100%; height: auto; display: block; transition: transform 0.6s var(--ease); }
.gallery .tile:hover img { transform: scale(1.05); }
.gallery .tile .meta { position: absolute; top: auto; right: 0; bottom: 0; left: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(8,11,9,0.92)); transform: translateY(8px); opacity: 0; transition: opacity 0.3s, transform 0.3s; }
.gallery .tile:hover .meta { opacity: 1; transform: translateY(0); }
.gallery .tile .meta .t { font-family: var(--display); text-transform: uppercase; font-size: 1.02rem; }
.gallery .tile .meta .c { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--olive-bright); margin-top: 3px; }
.gallery .tile .tag { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-hi); background: rgba(8,11,9,0.55); border: 1px solid var(--hairline); padding: 4px 8px; border-radius: 3px; backdrop-filter: blur(4px); }
.gallery .tile .ph { min-height: 240px; }
.gallery .tile.h-tall .ph { min-height: 340px; }
.gallery .tile.h-short .ph { min-height: 180px; }

/* lightbox */
.lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 200; background: rgba(6,8,6,0.94); display: none; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(6px); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: var(--radius); border: 1px solid var(--hairline); }
.lightbox .lb-close { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border: 1px solid var(--hairline); border-radius: 50%; color: var(--bone); font-size: 1.4rem; display: grid; place-content: center; }
.lightbox .lb-close:hover { border-color: var(--olive); }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 1px solid var(--hairline); border-radius: 50%; display: grid; place-content: center; color: var(--bone); }
.lightbox .lb-prev { left: 24px; } .lightbox .lb-next { right: 24px; }
.lightbox .lb-nav:hover { border-color: var(--olive); }
.lightbox .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--ash); }

/* ----------  TESTIMONIALS  ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px); position: relative; }
.quote .mark { font-family: var(--display); font-size: 3.4rem; line-height: 0.6; color: var(--olive); opacity: 0.5; }
.quote p { margin-top: 10px; color: var(--bone); font-size: 1.02rem; }
.quote .by { margin-top: 20px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--hairline); padding-top: 16px; }
.quote .by .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--olive), var(--olive-deep)); display: grid; place-content: center; font-family: var(--display); color: #f2f4ef; font-size: 1rem; flex: none; }
.quote .by .who { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.96rem; }
.quote .by .loc { display: block; margin-top: 3px; font-family: var(--mono); font-size: 0.66rem; color: var(--ash-2); letter-spacing: 0.08em; }
.stars { color: var(--olive-bright); letter-spacing: 2px; font-size: 0.9rem; margin-top: 4px; }

/* ----------  PROCESS  ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.step { padding: clamp(24px, 2.6vw, 36px); border-right: 1px solid var(--hairline); position: relative; background: var(--panel); transition: background 0.3s; }
.step:last-child { border-right: 0; }
.step:hover { background: var(--panel-2); }
.step .s-n { font-family: var(--display); font-weight: 700; font-size: 2.4rem; color: transparent; -webkit-text-stroke: 1px var(--olive); }
.step h3 { margin: 14px 0 8px; font-size: 1.2rem; }
.step p { color: var(--ash); font-size: 0.92rem; }

/* ----------  CTA BANNER  ---------- */
.cta-banner { position: relative; overflow: hidden; background: linear-gradient(180deg, #10150f, #0a0d0a); border-block: 1px solid var(--hairline); }
.cta-banner__topo { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-image: var(--topo); background-size: 760px auto; opacity: 0.3; -webkit-mask-image: radial-gradient(100% 120% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(100% 120% at 50% 50%, #000, transparent 75%); }
.cta-banner .inner { position: relative; z-index: 2; text-align: center; }
.cta-banner h2 { margin: 16px auto 0; max-width: 18ch; }
.cta-banner p { margin: 18px auto 0; }
.cta-banner .btns { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ----------  CONTACT / FORM  ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--ui); font-size: 1rem; color: var(--bone);
  background: var(--ink-2); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 0.85em 1em; transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--olive); background: #0d110e; }
.field input:focus:not(:focus-visible), .field select:focus:not(:focus-visible), .field textarea:focus:not(:focus-visible) { outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.8rem; color: var(--ash-2); margin-top: 4px; }
.form-msg { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); font-size: 0.92rem; display: none; }
.form-msg.ok { display: block; background: var(--olive-glow); border: 1px solid var(--olive); color: var(--bone); }
.form-msg.err { display: block; background: rgba(196, 92, 74, 0.14); border: 1px solid #c05c4a; color: var(--bone); }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.info-card { background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--hairline-2); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico { width: 38px; height: 38px; flex: none; color: var(--olive-bright); border: 1px solid var(--hairline); border-radius: var(--radius); display: grid; place-content: center; }
.info-row .k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash-2); }
.info-row .val { font-size: 1.02rem; color: var(--bone); margin-top: 2px; }
.info-row a.val:hover { color: var(--olive-bright); }

/* page hero (interior pages) */
.page-hero { position: relative; padding-top: 160px; padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; background: radial-gradient(110% 90% at 50% -20%, #161d16 0%, transparent 55%), var(--ink); }
.page-hero__topo { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; background-image: var(--topo); background-size: 820px auto; opacity: 0.22; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.page-hero .wrap { position: relative; z-index: 3; }
.page-hero h1 { margin-top: 16px; font-size: clamp(2.4rem, 6vw, 4.6rem); }
.page-hero .lead { margin-top: 18px; }
.crumbs { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash-2); }
.crumbs a:hover { color: var(--olive-bright); }
.crumbs span { color: var(--olive-bright); }

/* areas list */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas .pill { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9rem; color: var(--ash); border: 1px solid var(--hairline); border-radius: 999px; padding: 0.5em 1.05em; transition: all 0.2s; }
.areas .pill:hover { color: var(--bone); border-color: var(--olive); }

/* faq */
.faq { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--hairline); background: var(--panel); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: clamp(18px, 2.2vw, 26px); font-family: var(--display); text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--panel-2); }
.faq summary .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--olive-bright); transition: transform 0.25s; }
.faq summary .plus::before { left: 0; right: 0; top: 10px; height: 2px; }
.faq summary .plus::after { top: 0; bottom: 0; left: 10px; width: 2px; }
.faq details[open] summary .plus::after { transform: scaleY(0); }
.faq .ans { padding: 0 clamp(18px, 2.2vw, 26px) clamp(22px, 2.4vw, 28px); color: var(--ash); }

/* ----------  FOOTER  ---------- */
.site-footer { border-top: 1px solid var(--hairline); background: #080b08; position: relative; overflow: hidden; }
.site-footer__topo { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-image: var(--topo); background-size: 900px auto; opacity: 0.16; -webkit-mask-image: radial-gradient(120% 130% at 50% 120%, #000, transparent 70%); mask-image: radial-gradient(120% 130% at 50% 120%, #000, transparent 70%); }
.footer-top { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--ash); font-size: 0.94rem; max-width: 34ch; }
.footer-col .footer-h { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; line-height: 1.6; color: var(--ash-2); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: var(--ash); font-size: 0.95rem; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--olive-bright); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border: 1px solid var(--hairline); border-radius: var(--radius); display: grid; place-content: center; color: var(--ash); transition: all 0.25s; }
.socials a:hover { color: #f2f4ef; background: var(--olive); border-color: var(--olive); transform: translateY(-2px); }
.footer-bottom { position: relative; z-index: 2; border-top: 1px solid var(--hairline); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.footer-bottom p, .footer-bottom a { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ash-2); }
.footer-bottom a:hover { color: var(--olive-bright); }

/* ----------  PROSE (owner-created pages)  ---------- */
.prose { max-width: 76ch; }
.prose h2, .prose h3 { margin: 1.6em 0 0.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.prose p { color: var(--ash); margin: 0 0 1.1em; }
.prose strong { color: var(--bone); }
.prose a { color: var(--olive-bright); border-bottom: 1px solid var(--olive-deep); transition: border-color 0.2s; }
.prose a:hover { border-color: var(--olive-bright); }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.4em; color: var(--ash); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4em; }
.prose img { border-radius: var(--radius); border: 1px solid var(--hairline); margin: 1.4em 0; }
.prose blockquote { border-left: 3px solid var(--olive); padding-left: 1.2em; margin: 1.4em 0; color: var(--bone); font-size: 1.08rem; }
.prose hr { border: 0; height: 1px; background: var(--hairline); margin: 2em 0; }

/* ----------  REVEAL ANIMATION  ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
@media (max-width: 700px) {
  /* phones: shorter travel + quicker fade so sections don't "jump into being" */
  .reveal { transform: translateY(10px); transition-duration: 0.45s; }
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ----------  RESPONSIVE  ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 900px) {
  /* closed: hidden AND untouchable; visibility flips instantly on open, and only
     after the slide-out finishes on close (0s delay trick — reliable everywhere) */
  .nav-links { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(82vw, 340px); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; background: #0c100d; border-left: 1px solid var(--hairline); padding: 96px 22px 40px; transform: translateX(100%); visibility: hidden; pointer-events: none; transition: transform 0.4s var(--ease), visibility 0s 0.4s; z-index: 90; overflow-y: auto; }
  body.nav-open .nav-links { transform: none; visibility: visible; pointer-events: auto; transition: transform 0.4s var(--ease), visibility 0s; }
  .nav-links a { padding: 14px 12px; font-size: 1.1rem; border-bottom: 1px solid var(--hairline-2); }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 16px 0 0; justify-content: center; }
  .nav-toggle { display: block; z-index: 95; }
  body.nav-open::after { content: ""; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(6,8,6,0.6); z-index: 80; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .hero { min-height: auto; padding-top: 130px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .step:last-child { border-bottom: 0; }
  .svc { grid-template-columns: 1fr; gap: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
