/* ==========================================================================
   construction - theme-forge "Blueprint & Beam" theme (Vanmark Construction)
   CREATIVE-FREEDOM taste build. Keeps the Vanmark brand, the white / graphite /
   ochre palette family and the Jost + Albert Sans pairing, but replaces the
   center-symmetric Avada-likeness language with an ENGINEERED-EDITORIAL system:
   an asymmetric grid spine, oversized left-aligned Jost display, and a recurring
   dimension-line + survey-tick + blueprint-grid motif drawn from architectural
   drafting. ONE disciplined ochre accent (fill for CTAs + numerals + survey
   ticks; hairline for dimension lines and the grid). T2 motion: a signature
   dimension-draw hero reveal over calm staggered rises. Zero external requests.
   Fonts: Jost (display) + Albert Sans (body). All color = :root role tokens.
   ========================================================================== */

/* ---- self-hosted fonts (variable axis) ---- */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost.woff2") format("woff2");
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/albert-sans.woff2") format("woff2");
}

/* ---- tokens ---- */
:root {
  /* role palette (named hex) */
  --paper:  #ffffff;   /* white canvas */
  --off:    #f4f2ec;   /* warm light-gray band (Bone) */
  --off-2:  #ece9e0;   /* one step deeper for insets */
  --ink:    #23242a;   /* Graphite headings */
  --ink-2:  #33353d;   /* softer graphite */
  --muted:  #6a6c73;   /* Slate body */
  --dark:   #1c1d22;   /* Structural graphite band + footer */
  --dark-2: #26272e;   /* panel one step up on dark */
  --accent: #dda425;   /* Ochre - the single accent */
  --accent-deep: #c48f1c;
  --accent-soft: rgba(221,164,37,.12);
  --on-accent: #23242a; /* graphite text on ochre */

  /* supports */
  --line:      #e2ddd2;   /* hairline on light */
  --line-2:    #d6cfc0;   /* stronger hairline */
  --line-dark: #35373f;   /* hairline on dark */
  --on-dark:   #f3efe6;   /* bone text on dark */
  --on-dark-muted: #a2a5ad;
  --card:      #ffffff;

  /* fonts */
  --font-display: "Jost", system-ui, -apple-system, sans-serif;
  --font-body: "Albert Sans", system-ui, -apple-system, sans-serif;

  /* type scale - hero goes genuinely large + asymmetric */
  --fs-hero: clamp(2.9rem, 1.2rem + 6.0vw, 5.4rem);   /* ~46 to 86 */
  --fs-h1:   clamp(2.4rem, 1.3rem + 3.6vw, 4rem);     /* inner page titles */
  --fs-h2:   clamp(1.9rem, 1.3rem + 2.1vw, 2.9rem);   /* section heads */
  --fs-h3:   clamp(1.2rem, 1.03rem + 0.7vw, 1.5rem);  /* card titles */
  --fs-body: 1rem;                                    /* 16px */
  --fs-lead: clamp(1.02rem, 0.97rem + 0.3vw, 1.18rem);
  --fs-small: 0.8125rem;                              /* 13px */
  --fs-index: 0.75rem;                                /* mono index label */
  --fs-stat: clamp(3rem, 1.8rem + 4.4vw, 5.6rem);     /* mega numerals */

  /* spacing (4/8 scale) */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --s7:48px; --s8:64px; --s9:96px; --s10:128px; --s11:160px;

  /* geometry - sharp, engineered (2 radii only) */
  --r-btn: 2px;
  --r-card: 3px;
  --r-img: 3px;

  /* shadows - restrained, layered */
  --sh-card: 0 1px 2px rgba(28,29,34,.05), 0 10px 30px rgba(28,29,34,.07);
  --sh-lift: 0 2px 4px rgba(28,29,34,.08), 0 20px 44px rgba(28,29,34,.12);

  /* motion */
  --t: 240ms;
  --t-slow: 560ms;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --wrap: 1240px;
  --header-h: 84px;
}

/* ---- reset ---- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ==========================================================================
   SIGNATURE MOTIF: index labels, dimension lines, survey ticks, blueprint grid
   ========================================================================== */

/* mono-style section index label: 01 / What we build */
.index {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
  font-size: var(--fs-index); color: var(--ink);
}
.index i { font-style: normal; color: var(--accent-deep); font-weight: 700; letter-spacing: 0; }
.index--onDark { color: var(--on-dark); }
.index--onDark i { color: var(--accent); }
.index--light { color: rgba(255,255,255,.85); }

/* dimension line: a measured drafting rule that replaces the centered underline.
   short ochre end-tick + ink hairline + short ochre end-tick */
.measure {
  display: flex; align-items: center; margin-top: 20px; height: 12px;
}
.measure::before { content: ""; width: 2px; height: 12px; background: var(--accent); flex: none; }
.measure::after {
  content: ""; height: 1px; width: var(--measure-w, 72px); background: var(--ink);
  transform-origin: left center; transform: scaleX(1);
}
.measure--onDark::after { background: var(--on-dark-muted); }
.measure--wide { --measure-w: 120px; }

/* survey / registration corner ticks (ochre L-brackets) framing an image */
.frame { position: relative; }
.frame > img { position: relative; z-index: 1; border-radius: var(--r-img); }
.frame .tick { position: absolute; width: 22px; height: 22px; z-index: 3; pointer-events: none; }
.frame .tick::before, .frame .tick::after { content: ""; position: absolute; background: var(--accent); }
.frame .tick::before { width: 22px; height: 2px; }
.frame .tick::after  { width: 2px; height: 22px; }
.tick--tl { top: -9px; left: -9px; }
.tick--tr { top: -9px; right: -9px; }
.tick--tr::before { right: 0; } .tick--tr::after { right: 0; }
.tick--bl { bottom: -9px; left: -9px; }
.tick--bl::before { bottom: 0; } .tick--bl::after { bottom: 0; }
.tick--br { bottom: -9px; right: -9px; }
.tick--br::before { bottom: 0; right: 0; } .tick--br::after { bottom: 0; right: 0; }

/* blueprint grid backdrop (used on dark structural bands) */
.blueprint {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(120% 120% at 50% 0%, #000 55%, transparent 100%);
}

/* ==========================================================================
   SECTION HEADER (asymmetric: index + heading left, lead right)
   ========================================================================== */
.section { padding: var(--s9) 0; position: relative; }
.section--off { background: var(--off); }
.section--tight { padding: var(--s8) 0; }

.head {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px 56px;
  align-items: end; margin-bottom: var(--s8);
}
.head__l h2 { font-size: var(--fs-h2); letter-spacing: -0.5px; margin-top: 14px; }
.head__l .index { margin-bottom: 2px; }
.head__r { padding-bottom: 6px; }
.head__r p { font-size: var(--fs-lead); color: var(--muted); max-width: 46ch; }
.head--center { text-align: center; }

/* ==========================================================================
   BUTTONS + LINKS (crafted micro-interactions)
   ========================================================================== */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .12em; font-weight: 600; font-size: .8rem;
  padding: 16px 30px; border-radius: var(--r-btn); border: 1.5px solid transparent;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease),
              background var(--t) var(--ease), transform var(--t) var(--ease);
  white-space: nowrap; isolation: isolate;
}
.btn svg { width: 17px; height: 17px; transition: transform var(--t) var(--ease); position: relative; z-index: 2; }
.btn span { position: relative; z-index: 2; }
/* sliding-fill: ochre panel wipes in from the left */
.btn--fill { background: var(--accent); color: var(--on-accent); }
.btn--fill::before {
  content: ""; position: absolute; inset: 0; background: var(--accent-deep);
  transform: translateX(-101%); transition: transform var(--t-slow) var(--ease-out); z-index: 1;
}
.btn--fill:hover::before { transform: translateX(0); }
.btn--fill:hover svg { transform: translateX(4px); }
.btn--fill:active { transform: translateY(1px); }
/* outline that fills ochre on hover */
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline::before {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: translateX(-101%); transition: transform var(--t-slow) var(--ease-out); z-index: 1;
}
.btn--outline:hover { border-color: var(--accent); color: var(--on-accent); }
.btn--outline:hover::before { transform: translateX(0); }
.btn--outline:hover svg { transform: translateX(4px); }
/* light outline for use on dark/photo */
.btn--ghost { background: rgba(243,239,230,.06); color: #fff; border-color: rgba(243,239,230,.35); backdrop-filter: blur(2px); }
.btn--ghost:hover { background: rgba(243,239,230,.14); border-color: #fff; transform: translateY(-1px); }

/* underline-out text link */
.ulink {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .1em; font-weight: 600; font-size: .8rem; color: var(--ink);
  padding-bottom: 4px;
}
.ulink svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.ulink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left center;
  transition: transform var(--t-slow) var(--ease-out);
}
.ulink:hover::after { transform: scaleX(1); }
.ulink:hover svg { transform: translateX(4px); }
.ulink--onDark { color: var(--on-dark); }

/* ==========================================================================
   UTILITY BAR + HEADER
   ========================================================================== */
.ubar { background: var(--ink); color: var(--on-dark-muted); font-size: var(--fs-small); }
.ubar .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 20px; }
.ubar__l { display: flex; gap: 26px; align-items: center; }
.ubar__item { display: inline-flex; align-items: center; gap: 8px; }
.ubar__item svg { width: 15px; height: 15px; stroke: var(--accent); }
.ubar__item a:hover { color: #fff; }
.ubar__r { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-family: var(--font-display); font-weight: 600; }
.ubar__r i { font-style: normal; color: var(--accent); }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__word {
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  text-transform: uppercase; color: var(--ink);
}
.brand__word b { display: block; font-weight: 800; font-size: 1.12rem; letter-spacing: .14em; }
.brand__word span { display: block; font-weight: 600; color: var(--muted); font-size: .62rem; letter-spacing: .3em; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; margin-right: 8px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .1em; font-weight: 600; font-size: .8rem; color: var(--ink-2);
  padding: 8px 0; transition: color var(--t) var(--ease);
}
.nav__link svg { width: 12px; height: 12px; stroke: currentColor; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left center;
  transition: transform var(--t) var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--ink); }

/* mobile off-canvas panel */
.mpanel {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
  background: var(--paper); z-index: 130; padding: 26px;
  transform: translateX(100%); visibility: hidden;
  transition: transform var(--t) var(--ease), visibility var(--t) var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,.2); overflow-y: auto;
}
.mpanel.open { transform: translateX(0); visibility: visible; }
.mpanel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mpanel__close { width: 42px; height: 42px; display: grid; place-items: center; }
.mpanel__close svg { width: 24px; height: 24px; stroke: var(--ink); }
.mpanel nav { display: flex; flex-direction: column; }
.mpanel nav a {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em;
  font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.mpanel .btn { margin-top: 26px; width: 100%; }
.mpanel__contact { margin-top: 22px; font-size: var(--fs-small); color: var(--muted); }
.mpanel__contact a { color: var(--ink); font-weight: 600; }
.scrim {
  position: fixed; inset: 0; background: rgba(20,20,22,.55); z-index: 120;
  opacity: 0; visibility: hidden; transition: opacity var(--t) var(--ease), visibility var(--t) var(--ease);
}
.scrim.open { opacity: 1; visibility: visible; }

/* ==========================================================================
   HOME HERO (asymmetric split, oversized display, dimension-draw signature)
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero__wrap {
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 76px);
  align-items: center; padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 40px);
}
.hero__copy { position: relative; z-index: 2; max-width: 620px; }
.hero__title {
  font-size: var(--fs-hero); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 0.98; color: var(--ink); margin: 22px 0 0;
}
.hero__title .ac { color: var(--accent-deep); }
/* the ochre dimension line that draws on beneath the headline */
.hero__draw { display: block; height: 3px; width: min(340px, 80%); background: var(--accent); margin: 26px 0 0; transform-origin: left center; }
.hero__lead { font-size: var(--fs-lead); color: var(--muted); margin-top: 26px; max-width: 48ch; }
.hero__cta { display: flex; gap: 22px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.hero__spec { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(20px, 4vw, 46px); margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.spec b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.spec span { display: block; margin-top: 8px; font-size: var(--fs-small); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.spec b i { font-style: normal; color: var(--accent-deep); }

.hero__media { position: relative; z-index: 1; }
.hero__media .frame img { width: 100%; aspect-ratio: 5/6; object-fit: cover; }
.hero__badge {
  position: absolute; left: -28px; bottom: 40px; z-index: 4;
  background: var(--ink); color: var(--on-dark); padding: 22px 26px; max-width: 264px;
  box-shadow: var(--sh-lift); border-radius: var(--r-card);
}
.hero__badge .index { color: var(--on-dark); margin-bottom: 10px; }
.hero__badge b { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; display: block; }
.hero__badge p { font-size: var(--fs-small); color: var(--on-dark-muted); margin-top: 8px; line-height: 1.55; }
.hero__badge::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--accent); }

/* ==========================================================================
   INNER HERO (compact dark structural band + framed photo)
   ========================================================================== */
.ihero { position: relative; background: var(--dark); color: var(--on-dark); overflow: hidden; }
.ihero__wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(52px, 7vw, 90px) clamp(20px, 4vw, 40px); }
.ihero h1 { color: #fff; font-size: var(--fs-h1); text-transform: uppercase; letter-spacing: -0.01em; font-weight: 800; margin-top: 20px; }
.ihero__lead { color: var(--on-dark-muted); font-size: var(--fs-lead); margin-top: 22px; max-width: 46ch; }
.ihero__media .frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.crumb { display: flex; gap: 10px; align-items: center; color: var(--on-dark-muted); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .1em; margin-top: 26px; font-family: var(--font-display); font-weight: 600; }
.crumb svg { width: 14px; height: 14px; stroke: var(--accent); }
.crumb a:hover { color: #fff; }

/* ==========================================================================
   CAPABILITY LEDGER (services as an editorial hairline list)
   ========================================================================== */
.ledger { border-top: 1px solid var(--line); }
.lrow {
  display: grid; grid-template-columns: 84px 1fr 1.4fr auto; gap: 28px; align-items: center;
  padding: 30px 8px; border-bottom: 1px solid var(--line);
  transition: background var(--t) var(--ease), padding var(--t) var(--ease);
}
.lrow:hover { background: var(--off); padding-left: 20px; padding-right: 20px; }
.lrow__n { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--accent-deep); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.lrow__ico { display: flex; align-items: center; gap: 16px; }
.lrow__ico svg { width: 30px; height: 30px; stroke: var(--ink); flex: none; }
.lrow__ico h3 { font-size: var(--fs-h3); }
.lrow__desc { font-size: .95rem; color: var(--muted); }
.lrow__go { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); transition: all var(--t) var(--ease); flex: none; }
.lrow__go svg { width: 18px; height: 18px; stroke: currentColor; transition: transform var(--t) var(--ease); }
.lrow:hover .lrow__go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.lrow:hover .lrow__go svg { transform: translateX(3px); }

/* ==========================================================================
   STAT BAND (dark, blueprint grid, mega ochre tabular numerals)
   ========================================================================== */
.statband { position: relative; background: var(--dark); color: var(--on-dark); padding: var(--s10) 0; overflow: hidden; }
.statband .wrap { position: relative; z-index: 2; }
.statband__head { max-width: 620px; margin-bottom: var(--s8); }
.statband__head h2 { color: #fff; font-size: var(--fs-h2); letter-spacing: -0.5px; margin-top: 14px; }
.statband__head p { color: var(--on-dark-muted); margin-top: 16px; font-size: var(--fs-lead); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.stat { padding: 38px 26px 0 0; border-right: 1px solid var(--line-dark); position: relative; }
.stat:last-child { border-right: 0; }
.stat__ico { color: var(--accent); margin-bottom: 20px; }
.stat__ico svg { width: 30px; height: 30px; stroke: var(--accent); }
.stat__num { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: var(--fs-stat); line-height: 0.95; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat__lbl { color: var(--on-dark); text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-small); font-weight: 600; font-family: var(--font-display); margin-top: 14px; }
.stat__cap { color: var(--on-dark-muted); font-size: var(--fs-small); margin-top: 8px; }

/* ==========================================================================
   WORK GALLERY (asymmetric: one feature + stacked pair)
   ========================================================================== */
.gallery { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.gitem { position: relative; overflow: hidden; display: block; border-radius: var(--r-img); }
.gitem--feature { grid-row: 1 / span 2; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.gitem--feature img { aspect-ratio: 4/5; }
.gitem--small img { aspect-ratio: 16/10; }
.gitem:hover img { transform: scale(1.05); }
.gitem__cap { position: absolute; inset: auto 0 0 0; padding: 26px 26px 24px; background: linear-gradient(180deg, transparent, rgba(20,21,26,.86)); color: #fff; }
.gitem__cap .index { color: var(--accent); margin-bottom: 8px; }
.gitem__cap h3 { color: #fff; font-size: 1.3rem; }
.gitem--small .gitem__cap h3 { font-size: 1.12rem; }
.gitem__go { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(4px); border-radius: 50%; opacity: 0; transform: translateY(-6px); transition: all var(--t) var(--ease); }
.gitem__go svg { width: 18px; height: 18px; stroke: #fff; }
.gitem:hover .gitem__go { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   PROCESS / STANDARDS (numbered, one accent, dimension lines)
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pstep { padding: 40px 26px 36px 0; border-right: 1px solid var(--line); position: relative; }
.pstep:last-child { border-right: 0; padding-right: 0; }
.pstep__n { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: #bcb5a4; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pstep__n b { color: var(--accent); font-weight: 800; }
.pstep__ico { margin: 22px 0 18px; }
.pstep__ico svg { width: 32px; height: 32px; stroke: var(--ink); }
.pstep h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.pstep p { font-size: .93rem; color: var(--muted); }
.pstep::after { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 3px; background: var(--accent); }

/* ==========================================================================
   TESTIMONIAL (editorial pull-quote, asymmetric, off-white)
   ========================================================================== */
.testi { background: var(--off); position: relative; }
.testi__wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.testi__aside .index { margin-bottom: 16px; }
.testi__aside h2 { font-size: var(--fs-h2); letter-spacing: -0.5px; margin-bottom: 22px; }
.testi__aside p { font-size: .95rem; color: var(--muted); }
.testi__mark { color: var(--accent); margin-bottom: 6px; }
.testi__mark svg { width: 52px; height: 52px; }
.testi__slide { display: none; }
.testi__slide.active { display: block; animation: fade .5s var(--ease); }
.testi__quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 1rem + 1.5vw, 2.1rem); line-height: 1.34; color: var(--ink); letter-spacing: -0.01em; }
.testi__by { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.testi__av { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; border: 2px solid var(--accent); }
.testi__av img { width: 100%; height: 100%; object-fit: cover; }
.testi__meta b { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1rem; }
.testi__meta span { font-size: var(--fs-small); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.testi__nav { display: flex; gap: 10px; margin-top: 34px; }
.testi__nav button { width: 42px; height: 8px; border-radius: 0; background: var(--line-2); transition: background var(--t) var(--ease); }
.testi__nav button[aria-selected="true"] { background: var(--accent); }

/* ==========================================================================
   NEWS CARDS (editorial, hairline)
   ========================================================================== */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--sh-card); border-color: var(--line-2); }
.bcard__img { overflow: hidden; }
.bcard__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 700ms var(--ease); }
.bcard:hover .bcard__img img { transform: scale(1.05); }
.bcard__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.bcard__date { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .1em; color: var(--accent-deep); font-weight: 600; font-family: var(--font-display); }
.bcard__body h3 { font-size: 1.2rem; margin: 14px 0 12px; color: var(--ink); }
.bcard__excerpt { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.bcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; font-size: .74rem; color: var(--ink); }
.bcard__more svg { width: 15px; height: 15px; stroke: var(--accent); transition: transform var(--t) var(--ease); }
.bcard:hover .bcard__more svg { transform: translateX(4px); }

/* ==========================================================================
   PARTNERS (mono marquee, hairline)
   ========================================================================== */
.partners { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; overflow: hidden; }
.partners__lead { display: flex; align-items: center; gap: 16px; justify-content: center; margin-bottom: 30px; }
.partners__lead .index { color: var(--muted); }
.partners__lead::before, .partners__lead::after { content: ""; height: 1px; width: 60px; background: var(--line); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: scroll-x 38s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.plogo { display: flex; align-items: center; gap: 11px; color: var(--muted); transition: color var(--t) var(--ease); }
.plogo:hover { color: var(--ink); }
.plogo svg { width: 26px; height: 26px; stroke: var(--accent-deep); }
.plogo b { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ==========================================================================
   CLOSING CTA (full-bleed dusk photo, asymmetric copy, blueprint ticks)
   ========================================================================== */
.closer { position: relative; overflow: hidden; background: var(--dark); }
.closer__bg { position: absolute; inset: 0; z-index: 0; }
.closer__bg img { width: 100%; height: 100%; object-fit: cover; }
.closer__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,21,26,.92) 0%, rgba(20,21,26,.7) 48%, rgba(20,21,26,.34) 100%); }
.closer__wrap { position: relative; z-index: 2; padding: clamp(72px, 10vw, 128px) clamp(20px, 4vw, 40px); }
.closer__copy { max-width: 620px; }
.closer h2 { color: #fff; font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: -0.01em; font-weight: 800; margin-top: 18px; }
.closer p { color: var(--on-dark-muted); font-size: var(--fs-lead); margin-top: 22px; max-width: 46ch; }
.closer__cta { display: flex; gap: 22px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.closer__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 600; }
.closer__phone svg { width: 20px; height: 20px; stroke: var(--accent); }
.closer__phone b { font-size: 1.15rem; letter-spacing: .02em; }

/* ==========================================================================
   FOOTER (graphite, dimension-line divider, mega brand word)
   ========================================================================== */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: var(--s9) 0 0; position: relative; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.1fr; gap: 44px; }
.footer h4 { color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; margin-bottom: 24px; font-family: var(--font-display); }
.footer h4 i { font-style: normal; color: var(--accent); margin-right: 8px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.footer__brand .brand__word, .footer__brand .brand__word b { color: #fff; }
.footer__brand .brand__word span { color: var(--on-dark-muted); }
.footer p { font-size: .9rem; margin-bottom: 24px; line-height: 1.65; }
.footer__col ul { list-style: none; padding: 0; }
.footer__col li { margin-bottom: 13px; }
.footer__col li a { font-size: .9rem; position: relative; transition: color var(--t) var(--ease); }
.footer__col li a:hover, .footer a:hover { color: var(--accent); }
.crow { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.crow svg { width: 19px; height: 19px; stroke: var(--accent); flex: none; margin-top: 3px; }
.crow div { font-size: .88rem; line-height: 1.55; }
.crow strong { color: #fff; display: block; font-weight: 600; font-family: var(--font-display); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.crow a:hover { color: var(--accent); }
.footer__latest { display: flex; flex-direction: column; gap: 20px; }
.flp { display: flex; gap: 14px; align-items: flex-start; }
.flp img { width: 66px; height: 52px; object-fit: cover; flex: none; border-radius: 2px; }
.flp span { display: block; font-size: .7rem; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 4px; }
.flp a { color: #fff; font-size: .84rem; font-family: var(--font-display); font-weight: 500; line-height: 1.35; }
.flp a:hover { color: var(--accent); }
/* mega brand word - the footer's final beat */
.footer__mega { position: relative; z-index: 1; margin-top: 72px; line-height: 0.8; overflow: hidden; }
.footer__mega span { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: min(21vw, 300px); letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px var(--line-dark); user-select: none; white-space: nowrap; }
.footer__bottom { position: relative; z-index: 2; margin-top: 24px; border-top: 1px solid var(--line-dark); padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; font-size: var(--fs-small); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border: 1px solid var(--line-dark); display: grid; place-items: center; border-radius: 2px; transition: all var(--t) var(--ease); }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); }
.footer__social svg { width: 17px; height: 17px; stroke: currentColor; }
.footer__social a:hover svg { stroke: var(--on-accent); }
.footer__disc { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); padding: 22px 0 30px; }
.footer__disc p { font-size: .74rem; color: #7d8088; line-height: 1.7; margin: 0; max-width: 90ch; }

/* ==========================================================================
   SERVICES PAGE (sticky menu + long-form article)
   ========================================================================== */
.svc-layout { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.svc-menu { list-style: none; padding: 0; position: sticky; top: 108px; border-top: 1px solid var(--line); }
.svc-menu li { margin: 0; }
.svc-menu a {
  display: flex; align-items: center; gap: 14px; padding: 18px 4px; color: var(--muted);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 1px solid var(--line); transition: all var(--t) var(--ease);
}
.svc-menu a::before { content: ""; width: 0; height: 2px; background: var(--accent); transition: width var(--t) var(--ease); }
.svc-menu a:hover { color: var(--ink); }
.svc-menu a.active { color: var(--ink); }
.svc-menu a.active::before { width: 26px; }
.svc-article h2 { font-size: var(--fs-h2); letter-spacing: -0.5px; margin-bottom: 22px; }
.svc-article h3 { font-size: 1.4rem; margin: 38px 0 14px; }
.svc-article p { margin-bottom: 20px; font-size: 1.02rem; }
.svc-article figure { margin: 32px 0; }
.svc-article figure img { width: 100%; border-radius: var(--r-img); }
.svc-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; margin: 28px 0; }
.svc-checks div { display: flex; gap: 12px; align-items: center; font-size: .95rem; color: var(--ink); }
.svc-checks svg { width: 22px; height: 22px; stroke: var(--accent); flex: none; }

/* ==========================================================================
   TEAM (about)
   ========================================================================== */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.member { position: relative; overflow: hidden; border-radius: var(--r-img); }
.member__img img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; transition: transform 700ms var(--ease); }
.member:hover .member__img img { transform: scale(1.05); }
.member__body { position: absolute; inset: auto 0 0 0; padding: 26px 24px 22px; background: linear-gradient(180deg, transparent, rgba(20,21,26,.9)); color: #fff; }
.member__body h3 { font-size: 1.22rem; color: #fff; }
.member__role { color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-small); font-weight: 600; font-family: var(--font-display); margin-top: 4px; }
.member__soc { display: flex; gap: 9px; margin-top: 14px; }
.member__soc a { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255,255,255,.12); border-radius: 2px; transition: all var(--t) var(--ease); }
.member__soc a:hover { background: var(--accent); }
.member__soc svg { width: 15px; height: 15px; stroke: #fff; }
.member__soc a:hover svg { stroke: var(--on-accent); }

/* about story: 2-col with framed image + text */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.story__img .frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.story__body h2 { font-size: var(--fs-h2); letter-spacing: -0.5px; margin-top: 14px; }
.story__body p { margin-top: 20px; font-size: 1.02rem; }
.story__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.fact b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact span { font-size: var(--fs-small); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ==========================================================================
   CONTACT (info cards + form)
   ========================================================================== */
.cinfo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cinfo__card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px 26px; transition: border-color var(--t) var(--ease); }
.cinfo__card:hover { border-color: var(--accent); }
.cinfo__ico { color: var(--accent); margin-bottom: 20px; }
.cinfo__ico svg { width: 28px; height: 28px; stroke: var(--accent); }
.cinfo__card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cinfo__card p, .cinfo__card a { font-size: .95rem; color: var(--muted); }
.cinfo__card a:hover { color: var(--accent-deep); }

/* ==========================================================================
   QUOTE FORM BAND
   ========================================================================== */
.quoteband { position: relative; background: var(--off); overflow: hidden; }
.quoteband .wrap { position: relative; z-index: 2; }
.qgrid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.qgrid__aside .index { margin-bottom: 16px; }
.qgrid__aside h2 { font-size: var(--fs-h2); letter-spacing: -0.5px; }
.qgrid__aside p { margin-top: 20px; font-size: 1rem; color: var(--muted); }
.qgrid__points { list-style: none; padding: 0; margin-top: 28px; }
.qgrid__points li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .95rem; color: var(--ink); }
.qgrid__points svg { width: 20px; height: 20px; stroke: var(--accent); flex: none; margin-top: 3px; }
.quotecard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-card); }
.quotecard__head { border-bottom: 1px solid var(--line); padding: 26px 34px; }
.quotecard__head .index { margin-bottom: 8px; }
.quotecard__head h3 { font-size: 1.4rem; }
.quotecard__body { padding: 30px 34px 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.field input, .field textarea, .field select {
  padding: 13px 15px; border: 1px solid var(--line-2); background: var(--off);
  color: var(--ink); border-radius: var(--r-btn); transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #9a9ba1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--paper); }
.field textarea { min-height: 112px; resize: vertical; }
.field--full .btn { width: 100%; }
.form__success { display: none; margin-top: 18px; padding: 16px 18px; background: var(--accent-soft); border-left: 3px solid var(--accent); color: var(--ink); font-size: .9rem; border-radius: 0 var(--r-btn) var(--r-btn) 0; }
form.sent .form__success { display: block; }
form.sent .form-grid { opacity: .3; pointer-events: none; }
.form__consent { margin-top: 14px; font-size: var(--fs-small); color: var(--muted); }

/* ==========================================================================
   ARTICLES (blog list)
   ========================================================================== */
.article { max-width: 860px; margin: 0 auto; }
.apost { margin-bottom: 72px; }
.apost:last-child { margin-bottom: 0; }
.apost figure { margin: 0 0 26px; overflow: hidden; border-radius: var(--r-img); }
.apost figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.apost__meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.apost__meta span { display: flex; gap: 7px; align-items: center; }
.apost__meta svg { width: 15px; height: 15px; stroke: var(--accent); }
.apost h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); letter-spacing: -0.5px; margin-bottom: 16px; }
.apost p { margin-bottom: 22px; font-size: 1.02rem; }
.apost__cats { font-size: var(--fs-small); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.apost__cats i { font-style: normal; color: var(--accent-deep); }

/* ==========================================================================
   REVEAL MOTION (staggered rises) + HERO SIGNATURE (dimension-draw)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* hero load choreography (above the fold, plays once) */
.hero__copy > * { opacity: 0; transform: translateY(18px); animation: rise .7s var(--ease-out) forwards; }
.hero__copy .index { animation-delay: .1s; }
.hero__copy .hero__title { animation-delay: .22s; }
.hero__copy .hero__draw { animation: draw .8s var(--ease-out) .55s forwards; transform: scaleX(0); }
.hero__copy .hero__lead { animation-delay: .4s; }
.hero__copy .hero__cta { animation-delay: .5s; }
.hero__copy .hero__spec { animation-delay: .6s; }
.hero__media { opacity: 0; animation: rise .8s var(--ease-out) .35s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1040px) {
  .ubar__l { gap: 18px; }
  .nav { display: none; }
  .header__cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero__wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { order: -1; max-width: 520px; }
  .hero__badge { left: auto; right: 24px; }
  .ihero__wrap { grid-template-columns: 1fr; gap: 36px; }
  .ihero__media { max-width: 560px; }
  .head { grid-template-columns: 1fr; gap: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-dark); padding-bottom: 34px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-dark); padding-right: 26px; }
  .process { grid-template-columns: 1fr 1fr; }
  .pstep { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 34px; padding-right: 26px; }
  .pstep:nth-child(odd) { border-right: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gitem--feature { grid-row: auto; grid-column: 1 / -1; }
  .gitem--feature img { aspect-ratio: 16/9; }
  .testi__wrap { grid-template-columns: 1fr; gap: 32px; }
  .qgrid { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story__img { max-width: 560px; }
  .cinfo { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .svc-layout { grid-template-columns: 1fr; gap: 34px; }
  .svc-menu { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .svc-menu a { border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  :root { --header-h: 72px; }
  .ubar { display: none; }
  .brand__word b { font-size: 1rem; }
  .brand__mark { width: 36px; height: 36px; }
  .hero__cta { gap: 16px; }
  .hero__cta .btn { width: 100%; }
  .hero__spec { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .news, .team { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .lrow { grid-template-columns: 44px 1fr; gap: 14px 16px; padding: 24px 4px; }
  .lrow__desc { grid-column: 1 / -1; }
  .lrow__go { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(odd) { border-right: 0; padding-right: 0; }
  .process { grid-template-columns: 1fr; }
  .pstep, .pstep:nth-child(odd) { border-right: 0; padding-right: 0; }
  .cinfo { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 36px; }
  .footer__mega span { font-size: 26vw; }
  .svc-menu { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .svc-checks { grid-template-columns: 1fr; }
  .story__facts { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 68px 0; }
  .hero__badge { position: static; margin-top: 18px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__copy > *, .hero__media { opacity: 1; transform: none; animation: none; }
  .hero__copy .hero__draw { transform: scaleX(1); animation: none; }
  .marquee__track { animation: none; }
}
