/* ================================================================
   COSMOS INFRA — design language v7 · "cinematic glass"
   Near-black ground, blueprint grid, liquid-glass panels, brightened
   logo green as the single accent. Archivo: light + tight for
   display, regular for body. Uppercase reserved for micro-labels.
   No text shadows.
   ================================================================ */

:root {
  --bg: #ffffff;
  --bg-lift: #f5f6f2;
  --ink: #111311;
  --ink-dim: #4d534b;
  --ink-faint: #8b9187;
  --accent: #4f8a2a;
  --accent-deep: #2f5c17;
  --line: rgba(17, 19, 17, 0.12);
  --line-strong: rgba(17, 19, 17, 0.26);
  --glass: rgba(255, 255, 255, 0.62);
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* ambient wash — gives the glass something to refract on a white ground */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(52% 42% at 12% 18%, rgba(79, 138, 42, 0.09), transparent 70%),
    radial-gradient(46% 40% at 88% 62%, rgba(17, 19, 17, 0.07), transparent 72%),
    radial-gradient(60% 45% at 50% 100%, rgba(79, 138, 42, 0.06), transparent 70%);
}
/* blueprint grid — sits behind everything, fades toward the edges */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 19, 17, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 17, 0.038) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 20%, transparent 85%);
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 20%, transparent 85%);
}
body > * { position: relative; z-index: 1; }
::selection { background: var(--accent); color: #fff; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
img { max-width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ============ LIQUID GLASS ============ */
.liquid-glass {
  background: rgba(0, 0, 0, 0.4);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.1) 80%, rgba(255,255,255,0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* content-surface variant: frosted white that lifts off the paper ground */
.glass {
  position: relative; overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 22px 50px -34px rgba(17, 19, 17, 0.4);
  transition: background 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 1.2px; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(17,19,17,0.16) 0%, rgba(17,19,17,0.07) 24%,
    rgba(17,19,17,0.03) 46%, rgba(17,19,17,0.03) 60%,
    rgba(17,19,17,0.07) 82%, rgba(17,19,17,0.15) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* ============ TYPE ============ */
h1, h2 {
  font-family: var(--font-display); font-weight: 400;
  letter-spacing: -0.04em; line-height: 1.06;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.4vw, 76px); }
h2 { font-size: clamp(28px, 3.6vw, 54px); letter-spacing: -0.035em; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.eyebrow {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.eyebrow .tick { width: 34px; height: 1px; background: var(--accent); opacity: 0.7; flex: none; }
.lede { font-size: clamp(15px, 1.4vw, 18px); color: var(--ink-dim); line-height: 1.75; max-width: 620px; }
.body-copy { color: var(--ink-dim); font-size: 16px; line-height: 1.85; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  text-decoration: none; cursor: pointer;
  color: var(--ink); background: transparent;
  border: 1px solid var(--line-strong);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-wide { width: 100%; }
.nav-cta { padding: 10px 24px; white-space: nowrap; }
.btn-light { background: #fff; color: #000; border-color: #fff; }
.btn-light:hover { background: #f3f4f6; color: #000; border-color: #f3f4f6; }
.btn-glass { border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.btn-glass:hover { background: #fff; color: #000; border-color: #fff; }

/* ============ HERO ============ */
#hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  color: #fff; background: #000; overflow: hidden;
}
#hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  /* crop the frame edges so the generator watermark sits outside the view */
  transform: scale(1.14);
  transform-origin: 50% 40%;
}
#hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 10, 8, 0.88) 0%, rgba(8, 10, 8, 0.5) 46%, rgba(8, 10, 8, 0.16) 76%, rgba(8, 10, 8, 0.3) 100%),
    linear-gradient(to right, rgba(8, 10, 8, 0.5) 0%, rgba(8, 10, 8, 0.12) 46%, transparent 72%);
}
#hero > *:not(#hero-video) { position: relative; z-index: 1; }
.pad { padding-left: clamp(24px, 5vw, 64px); padding-right: clamp(24px, 5vw, 64px); }

#nav { padding-top: 24px; }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: 14px; padding: 10px 16px;
}
.nav-bar .brand { display: flex; align-items: center; text-decoration: none; }
.nav-bar .brand img { height: 34px; width: auto; display: block; }
.nav-links { display: none; gap: 32px; }
.nav-links a { color: #fff; text-decoration: none; font-size: 14px; transition: color 0.25s ease; }
.nav-links a:hover { color: #d1d5db; }
@media (min-width: 760px) { .nav-links { display: flex; } }

.hero-body {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(74px, 9vw, 116px); padding-top: 96px;
}
.hero-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; align-items: end; } }
.hero-grid h1 { color: #fff; margin-bottom: 18px; }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: #d1d5db; margin-bottom: 22px; max-width: 46ch; line-height: 1.6; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-tag { display: flex; align-items: flex-end; justify-content: flex-start; }
@media (min-width: 1024px) { .hero-tag { justify-content: flex-end; } }
.hero-tag div {
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 14px;
  padding: 12px 24px;
  font-size: clamp(17px, 1.7vw, 24px); font-weight: 300; letter-spacing: -0.01em;
  color: #fff;
}

/* ---- entrance animation ---- */
.ah .w { display: inline-block; white-space: nowrap; }
.ah span.c {
  display: inline-block;
  opacity: 0; transform: translateX(-18px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.ah.go span.c { opacity: 1; transform: translateX(0); }
.fade { opacity: 0; transition: opacity 1000ms ease; }
.fade.go { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .ah span.c, .fade { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============ STICKY DOCK ============ */
#dock {
  position: fixed; top: 14px; left: clamp(16px, 5vw, 64px); right: clamp(16px, 5vw, 64px);
  z-index: 60; border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 16px;
  opacity: 0; transform: translateY(-16px); pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
#dock.on { opacity: 1; transform: none; pointer-events: auto; }
#dock .brand { display: flex; align-items: center; text-decoration: none; }
#dock .brand img { height: 32px; width: auto; display: block; }
#dock nav { display: none; gap: 30px; }
#dock .btn-light, body.page #nav .btn-light { background: var(--ink); color: #fff; border-color: var(--ink); }
#dock .btn-light:hover, body.page #nav .btn-light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
#dock nav a { color: var(--ink-dim); text-decoration: none; font-size: 14px; transition: color 0.3s; }
#dock nav a:hover { color: var(--accent); }
@media (min-width: 760px) { #dock nav { display: flex; } }

/* ============ SECTIONS ============ */
.sec { padding: clamp(90px, 11vw, 168px) 0; position: relative; }
.wrap { width: min(1320px, calc(100% - clamp(48px, 10vw, 128px))); margin: 0 auto; }
.sec-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 76px); }
.sec-head h2 { margin-bottom: 20px; }
.sec-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: clamp(44px, 5vw, 76px);
}
.sec-head-row .sec-head { margin-bottom: 0; }

/* ---- stat strip: bridges hero into the page ---- */
.strip { margin-top: -46px; position: relative; z-index: 5; }
.strip-inner {
  border-radius: 18px; padding: clamp(26px, 3vw, 40px) clamp(24px, 3vw, 48px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.stat b {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 4vw, 62px); line-height: 1;
  letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.stat b::after { content: "+"; color: var(--accent); }
.stat span {
  font-size: 10px; font-weight: 600; color: var(--ink-faint);
  letter-spacing: 0.28em; text-transform: uppercase;
  display: block; margin-top: 12px;
}

/* ---- about ---- */
.about-grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.05fr 0.95fr; } }
.about-render { position: relative; display: flex; justify-content: center; }
.about-render::before {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 6%; height: 46px;
  background: radial-gradient(60% 100% at 50% 50%, rgba(17, 19, 17, 0.2), transparent 72%);
  filter: blur(8px);
}
.about-render img { position: relative; display: block; width: 100%; max-width: 560px; height: auto; }
.pillars { display: grid; gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 900px) { .pillars { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); } }
.pillar { border-radius: 16px; padding: 24px 26px; }
.pillar b {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: 17px; letter-spacing: -0.015em; margin-bottom: 7px;
}
.pillar p { font-size: 14px; color: var(--ink-dim); line-height: 1.7; }

/* ---- services ---- */
.services-list { list-style: none; display: grid; gap: 14px; }
.services-list li {
  border-radius: 16px; padding: 24px 28px;
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: baseline;
}
.services-list li:hover { background: #fff; transform: translateY(-3px); box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 26px 54px -30px rgba(17, 19, 17, 0.45); }
.services-list b {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.services-list h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.025em;
  margin-bottom: 5px; line-height: 1.2;
}
.services-list p { font-size: 14.5px; color: var(--ink-dim); line-height: 1.7; max-width: 62ch; }

/* ---- project cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.card {
  border-radius: 18px; padding: 30px 30px 34px;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: inherit;
}
.card:hover { background: #fff; transform: translateY(-4px); box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 30px 60px -30px rgba(17, 19, 17, 0.45); }
.card i {
  font-style: normal; font-weight: 600; font-size: 10.5px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent);
}
.card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(20px, 1.9vw, 25px); letter-spacing: -0.028em; line-height: 1.18;
  margin-top: auto;
}
.card p { font-size: 14px; color: var(--ink-dim); line-height: 1.7; }
.card .rule { height: 1px; background: var(--line); margin: 12px 0 0; }

/* ---- testimonials ---- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }

/* ---- contact: video returns, dimmed ---- */
#contact { overflow: hidden; }
#contact video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: 0.5;
}
#contact::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.86) 22%, rgba(255, 255, 255, 0.86) 78%, #fff);
}
#contact > * { position: relative; z-index: 2; }
.contact-grid { display: grid; gap: clamp(30px, 4vw, 60px); align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-lines { list-style: none; margin-top: 34px; }
.contact-lines li { display: grid; gap: 5px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-lines li:last-child { border-bottom: 1px solid var(--line); }
.contact-lines span {
  font-size: 10px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ink-faint);
}
.contact-val { display: flex; align-items: baseline; gap: 10px; }
.contact-val em { font-style: normal; color: var(--ink-faint); }
.contact-lines a { color: var(--ink); text-decoration: none; font-size: 17px; transition: color 0.3s; }
.contact-lines a:hover { color: var(--accent); }

.quote-form { border-radius: 20px; padding: clamp(26px, 3vw, 40px); display: grid; gap: 22px; }
.form-head { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: -0.03em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote-form label {
  display: grid; gap: 9px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--ink-faint);
}
.quote-form input, .quote-form textarea {
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; color: var(--ink);
  font-family: var(--font-body); font-weight: 400; font-size: 15.5px;
  transition: border-color 0.3s, background 0.3s; resize: vertical;
}
.quote-form input::placeholder, .quote-form textarea::placeholder { color: var(--ink-faint); }
.quote-form input:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
}
.form-note { font-size: 12px; color: var(--ink-faint); text-align: center; }

/* ============ FOOTER ============ */
.site-footer { padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 56px) 28px; }
.foot-wrap {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 360px 1fr; gap: 16px; align-items: stretch;
}
@media (max-width: 940px) { .foot-wrap { grid-template-columns: 1fr; } }

/* -- left: dark video card -- */
.foot-left {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 380px; border-radius: 26px; padding: 30px;
  background: #111311; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 34px;
  box-shadow: 0 26px 60px -34px rgba(17, 19, 17, 0.65);
}
.foot-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
.foot-left::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(200deg, rgba(9, 12, 9, 0.5) 0%, rgba(9, 12, 9, 0.82) 62%, rgba(9, 12, 9, 0.94) 100%);
}
.foot-brand img { height: 34px; width: auto; display: block; }
.foot-tag {
  margin-top: auto;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(21px, 2vw, 27px); letter-spacing: -0.035em; line-height: 1.22; color: #fff;
}
.foot-tag span { color: rgba(255, 255, 255, 0.6); }
.foot-micro {
  font-size: 10px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: #82c94a; margin-bottom: 12px;
}
.foot-tiles { display: flex; gap: 8px; }
.foot-tile {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff; text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}
.foot-tile svg { width: 17px; height: 17px; }
.foot-tile:hover { background: #82c94a; border-color: #82c94a; color: #0d0f0c; transform: translateY(-2px); }

/* -- right: light card -- */
.foot-right {
  position: relative; border-radius: 26px; padding: clamp(26px, 3.4vw, 44px);
  background: var(--bg-lift);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 22px 50px -40px rgba(17, 19, 17, 0.45);
  display: flex; flex-direction: column; justify-content: space-between; gap: 44px;
}
.foot-badge {
  position: absolute; top: -34px; right: clamp(20px, 4vw, 44px); z-index: 4;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.foot-cube {
  width: 88px; height: 88px; border-radius: 22px; transform: rotate(-10deg);
  background: linear-gradient(140deg, #82c94a 0%, var(--accent) 55%, var(--accent-deep) 100%);
  box-shadow: inset 3px 3px 8px rgba(255, 255, 255, 0.3), inset -3px -3px 12px rgba(0, 0, 0, 0.2), 8px 14px 30px -10px rgba(47, 92, 23, 0.5);
  display: flex; align-items: center; justify-content: center;
}
.foot-cube span {
  width: 30px; height: 30px; transform: rotate(10deg);
  border: 2px solid #fff; border-radius: 3px; position: relative;
}
.foot-cube span::after {
  content: ""; position: absolute; inset: 8px; border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 1px;
}
.foot-badge-row { display: flex; align-items: center; gap: 6px; transform: rotate(-4deg); margin-top: 6px; }
.foot-arrow { width: 20px; height: 20px; color: var(--ink-faint); }
.foot-badge-text {
  font-size: 10px; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--ink-faint); white-space: nowrap;
}
.foot-cols { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 68px); padding-top: 6px; }
.foot-col { display: flex; flex-direction: column; }
.foot-col-title {
  font-size: 10px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.foot-col a, .foot-col span {
  font-size: 14px; font-weight: 500; color: var(--ink);
  text-decoration: none; margin-bottom: 12px; transition: color 0.2s ease;
}
.foot-col a:hover { color: var(--accent); }
.foot-col-plain span { color: var(--ink-dim); font-weight: 400; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 26px; }
.foot-copy { font-size: 12px; font-weight: 500; color: var(--ink-faint); }
.foot-cta { display: flex; flex-direction: column; gap: 14px; }
.foot-cta h4 { font-size: 14px; font-weight: 400; color: var(--ink-dim); line-height: 1.5; }
.foot-cta strong {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(17px, 1.6vw, 20px); letter-spacing: -0.035em; color: var(--ink); margin-top: 2px;
}
.foot-subscribe {
  display: flex; width: min(340px, 100%); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 5px;
  box-shadow: 0 2px 10px rgba(17, 19, 17, 0.05);
}
.foot-subscribe input {
  flex: 1; min-width: 0; padding: 11px 14px; background: transparent; border: 0; outline: none;
  font-family: var(--font-body); font-size: 13.5px; color: var(--ink);
}
.foot-subscribe input::placeholder { color: var(--ink-faint); }
.foot-subscribe button {
  padding: 11px 20px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--ink); color: #fff;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  transition: background 0.25s ease, transform 0.15s ease;
}
.foot-subscribe button:hover { background: var(--accent); transform: translateY(-1px); }

/* -- watermark -- */
.foot-watermark {
  max-width: 1180px; margin: -18px auto 0;
  pointer-events: none; user-select: none; position: relative; z-index: 0; line-height: 0;
}
.foot-watermark svg { display: block; width: 100%; height: auto; overflow: visible; }
.foot-watermark text {
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: -0.045em; fill: rgba(17, 19, 17, 0.05);
}
@media (max-width: 560px) {
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .foot-badge { right: 12px; top: -26px; }
  .foot-cube { width: 68px; height: 68px; border-radius: 18px; }
  .foot-cube span { width: 24px; height: 24px; }
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ================================================================
   SUB-PAGES (projects / careers) — same dark glass language
   ================================================================ */
body.page #nav {
  position: fixed; top: 14px; left: clamp(16px, 5vw, 64px); right: clamp(16px, 5vw, 64px);
  z-index: 60; border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 16px;
}
body.page #nav .brand { display: flex; align-items: center; text-decoration: none; }
body.page #nav .brand img { height: 32px; width: auto; display: block; }
body.page #nav nav { display: none; gap: 30px; }
body.page #nav nav a { color: var(--ink-dim); text-decoration: none; font-size: 14px; transition: color 0.3s; }
body.page #nav nav a:hover { color: var(--accent); }
@media (min-width: 760px) { body.page #nav nav { display: flex; } }

.page-wrap { width: min(1320px, calc(100% - clamp(48px, 10vw, 128px))); margin: 0 auto; }
.page-hero { padding: clamp(140px, 16vw, 220px) 0 clamp(48px, 6vw, 84px); }
.page-hero h1 { margin-bottom: 24px; max-width: 16ch; }
.crumbs {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 24px;
}
.crumbs a { color: var(--ink-faint); text-decoration: none; transition: color 0.3s; }
.crumbs a:hover { color: var(--accent); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; padding: clamp(40px, 5vw, 70px) 0 30px;
}
.section-head p { font-size: 13.5px; color: var(--ink-faint); max-width: 42ch; }

.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 26px); padding-bottom: clamp(56px, 7vw, 96px); }
.proj-item { border-radius: 20px; padding: 22px; display: grid; gap: 18px; align-content: start; }
.proj-item:hover { background: #fff; transform: translateY(-4px); box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 30px 60px -30px rgba(17, 19, 17, 0.45); }
.proj-shot {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  background: linear-gradient(150deg, rgba(17,19,17,0.075), rgba(17,19,17,0.02));
  display: grid; place-items: center; border: 1px solid var(--line);
}
.proj-shot span { font-size: 10px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint); }
.proj-body { display: grid; gap: 12px; padding: 0 6px 8px; }
.proj-meta { display: flex; gap: 14px; align-items: baseline; font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint); }
.proj-meta em { font-style: normal; color: var(--accent); }
.proj-item h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2vw, 27px); letter-spacing: -0.03em; line-height: 1.18; }
.proj-item p { font-size: 14.5px; color: var(--ink-dim); line-height: 1.7; }
.proj-scope { display: flex; flex-wrap: wrap; gap: 8px; }
.proj-scope b {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-dim); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); padding-bottom: clamp(40px, 5vw, 72px); }
.value { border-radius: 18px; padding: 28px; }
.value b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 10px; }
.value p { font-size: 14px; color: var(--ink-dim); line-height: 1.7; }

.job-list { list-style: none; display: grid; gap: 12px; padding-bottom: clamp(56px, 7vw, 96px); }
.job {
  border-radius: 16px; padding: 24px 28px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center;
}
.job:hover { background: #fff; transform: translateY(-3px); box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), 0 26px 54px -30px rgba(17, 19, 17, 0.45); }
.job h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.025em; margin-bottom: 8px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); }
.job-tags em { font-style: normal; color: var(--accent); }

.page-cta { text-align: center; padding: clamp(64px, 8vw, 130px) 0; }
.page-cta h2 { margin-bottom: 18px; }
.page-cta p { color: var(--ink-dim); font-size: 16px; max-width: 48ch; margin: 0 auto 34px; line-height: 1.75; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .strip-inner, .cards, .quotes, .proj-grid, .value-grid { grid-template-columns: 1fr; }
  .strip { margin-top: -32px; }
  .job { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .services-list li { grid-template-columns: 1fr; gap: 10px; }
}


/* ============ PROJECTS — CASE STUDY GRID ============ */
.pg-sec { position: relative; overflow: hidden; }
.pg-floaters { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pg-floaters i {
  position: absolute; display: block; background: var(--ink); opacity: 0.16;
  --py: 0px;
  transform: translateY(var(--py));
  animation-name: pgBob; animation-iteration-count: infinite; animation-timing-function: ease-in-out;
}
@keyframes pgBob { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }
@media (prefers-reduced-motion: reduce) { .pg-floaters i { animation: none; } }

.pg-head { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.pg-head .eyebrow { justify-content: center; }
.pg-head h2 { font-weight: 300; }
.pg-head h2 em { color: rgba(17, 19, 17, 0.38); }

.pg-grid { display: grid; gap: 16px; }
@media (min-width: 820px) { .pg-grid { grid-template-columns: 1fr 1fr; } }

.pg-card {
  position: relative; display: block; aspect-ratio: 4 / 3;
  overflow: hidden; text-decoration: none; color: var(--ink);
  background: var(--bg-lift); border: 1px solid var(--line);
}
.pg-shot {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 100% at 88% 8%, rgba(79, 138, 42, 0.18), transparent 58%),
    linear-gradient(168deg, #eef0ea 0%, #dfe3d9 55%, #cfd5c8 100%);
}
.pg-shot video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(0.72) contrast(1.02);
  transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.pg-card:hover .pg-shot video { filter: saturate(1) contrast(1.05); transform: scale(1.04); }
.pg-veil {
  position: absolute; inset: 0; display: block; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 13, 10, 0.55) 0%, rgba(10, 13, 10, 0.16) 34%, rgba(10, 13, 10, 0) 62%);
}
.pg-shot::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(17, 19, 17, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 17, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(100% 90% at 40% 20%, #000 15%, transparent 85%);
  mask-image: radial-gradient(100% 90% at 40% 20%, #000 15%, transparent 85%);
}
.pg-shot i {
  position: absolute; left: 20px; top: 18px; font-style: normal; z-index: 2;
  font-size: 12px; font-weight: 600; letter-spacing: 0.24em; color: var(--accent);
  transition: color 0.3s ease;
}
.pg-card:hover .pg-shot i { color: #82c94a; }
.pg-shot span {
  position: absolute; left: 20px; top: 44px; z-index: 2;
  font-size: 10px; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--ink-faint); transition: color 0.3s ease;
}
.pg-card:hover .pg-shot span { color: rgba(255, 255, 255, 0.75); }
.pg-px { position: absolute; inset: 0; pointer-events: none; }
.pg-px b {
  position: absolute; display: block; background: rgba(17, 19, 17, 0.86);
  transform: scale(0); opacity: 0;
  transition: transform 0.25s ease var(--out), opacity 0.25s ease var(--out);
}
.pg-card:hover .pg-px b, .pg-card:focus-visible .pg-px b {
  transform: scale(1); opacity: 1;
  transition-delay: var(--in);
}
.pg-magnet {
  position: absolute; display: block; background: var(--ink); opacity: 0.7;
  pointer-events: none; will-change: transform;
}
.pg-card:hover .pg-magnet { background: #82c94a; opacity: 0.9; }
.pg-card-plus {
  position: absolute; right: 16px; top: 16px; z-index: 10;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(17, 19, 17, 0.22); font-size: 13px; color: var(--ink);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.pg-card:hover .pg-card-plus { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.pg-plate {
  position: absolute; left: 0; bottom: 0; z-index: 20; max-width: 78%;
  background: #fff; padding: 12px 18px 14px;
}
.pg-plate h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(20px, 2.1vw, 30px); letter-spacing: -0.04em; line-height: 1.1; color: var(--ink);
}
.pg-plate div { display: flex; gap: 16px; margin-top: 7px; align-items: baseline; }
.pg-plate span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.pg-plate b { font-size: 12px; font-weight: 600; color: var(--ink); }

.pg-foot { display: grid; gap: 34px; margin-top: 44px; align-items: end; }
@media (min-width: 900px) { .pg-foot { grid-template-columns: minmax(0, 420px) 1fr; gap: 48px; } }
.pg-plus {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border: 1px solid rgba(17, 19, 17, 0.2);
  font-size: 13px; color: var(--ink); margin-bottom: 16px;
}
.pg-foot-left p { font-size: 14px; line-height: 1.75; color: var(--ink-dim); }
.pg-cta { display: inline-flex; align-items: flex-end; margin-top: 24px; text-decoration: none; }
.pg-cta-label {
  display: inline-flex; align-items: center; padding: 12px 18px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 500;
  transition: background 0.3s ease;
}
.pg-cta-arrow {
  width: 26px; height: 26px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  transition: margin-bottom 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}
.pg-cta:hover .pg-cta-label, .pg-cta:hover .pg-cta-arrow { background: var(--accent); }
.pg-cta:hover .pg-cta-arrow { margin-bottom: 34px; }
.pg-marquee { overflow: hidden; padding: 18px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .pg-marquee { border-top: 0; } }
.pg-track { display: flex; width: max-content; animation: pgMarquee 34s linear infinite; }
.pg-marquee:hover .pg-track { animation-play-state: paused; }
@keyframes pgMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pg-track span { display: flex; flex: none; align-items: center; gap: 10px; padding: 0 30px; color: var(--ink); }
.pg-track b { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-dim); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .pg-track { animation: none; } }

/* ============ PROJECT DETAIL PAGE ============ */
.pd-meta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-bottom: 20px; }
.pd-meta span {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--ink-faint);
}
.pd-meta span:first-child { color: var(--accent); }
.pd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; margin: 44px 0 0; }
.pd-stats div { background: #fff; padding: 26px 22px; }
.pd-stats b { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.04em; line-height: 1; }
.pd-stats span { display: block; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.pd-story { display: grid; gap: 40px; margin: 64px 0; }
@media (min-width: 900px) { .pd-story { grid-template-columns: repeat(3, 1fr); gap: 44px; } }
.pd-story h3 { font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.pd-story p { color: var(--ink-dim); font-size: 16px; line-height: 1.85; }
.pd-scope { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pd-scope b { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; }
.pd-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 30px; margin-top: 10px; }
.pd-next a { text-decoration: none; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 32px); letter-spacing: -0.035em; }
.pd-next span { font-size: 10.5px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-faint); }

a.proj-item { display: block; text-decoration: none; color: inherit; }
a.proj-item:hover h3 { color: var(--accent); }




/* ============ CTA + FAQ ============ */
@property --g-x1 { syntax: '<percentage>'; inherits: false; initial-value: 10%; }
@property --g-y1 { syntax: '<percentage>'; inherits: false; initial-value: 10%; }
@property --g-x2 { syntax: '<percentage>'; inherits: false; initial-value: 90%; }
@property --g-y2 { syntax: '<percentage>'; inherits: false; initial-value: 12%; }
@property --g-x3 { syntax: '<percentage>'; inherits: false; initial-value: 12%; }
@property --g-y3 { syntax: '<percentage>'; inherits: false; initial-value: 92%; }
@property --g-x4 { syntax: '<percentage>'; inherits: false; initial-value: 92%; }
@property --g-y4 { syntax: '<percentage>'; inherits: false; initial-value: 88%; }
@property --g-s1 { syntax: '<percentage>'; inherits: false; initial-value: 58%; }
@property --g-s2 { syntax: '<percentage>'; inherits: false; initial-value: 58%; }
@property --g-s3 { syntax: '<percentage>'; inherits: false; initial-value: 60%; }
@property --g-s4 { syntax: '<percentage>'; inherits: false; initial-value: 62%; }

.grad-anim {
  background-color: #1a2116;
  background-image:
    radial-gradient(circle at var(--g-x1) var(--g-y1), #82c94a 0px, transparent var(--g-s1)),
    radial-gradient(circle at var(--g-x2) var(--g-y2), #4f8a2a 0px, transparent var(--g-s2)),
    radial-gradient(circle at var(--g-x3) var(--g-y3), #2f5c17 0px, transparent var(--g-s3)),
    radial-gradient(circle at var(--g-x4) var(--g-y4), #0d0f0c 0px, transparent var(--g-s4));
  animation:
    gBlob1 13s ease-in-out infinite, gBlob2 16s ease-in-out infinite,
    gBlob3 15s ease-in-out infinite, gBlob4 18s ease-in-out infinite,
    gSize1 9s ease-in-out infinite, gSize2 11s ease-in-out infinite,
    gSize3 10s ease-in-out infinite, gSize4 12s ease-in-out infinite;
}
@keyframes gBlob1 { 0%,100% { --g-x1: 6%; --g-y1: 8%; } 30% { --g-x1: 44%; --g-y1: 24%; } 60% { --g-x1: 26%; --g-y1: 58%; } }
@keyframes gBlob2 { 0%,100% { --g-x2: 94%; --g-y2: 8%; } 35% { --g-x2: 58%; --g-y2: 34%; } 70% { --g-x2: 82%; --g-y2: 62%; } }
@keyframes gBlob3 { 0%,100% { --g-x3: 8%; --g-y3: 94%; } 40% { --g-x3: 46%; --g-y3: 68%; } 72% { --g-x3: 24%; --g-y3: 100%; } }
@keyframes gBlob4 { 0%,100% { --g-x4: 94%; --g-y4: 92%; } 32% { --g-x4: 62%; --g-y4: 72%; } 64% { --g-x4: 100%; --g-y4: 48%; } }
@keyframes gSize1 { 0%,100% { --g-s1: 48%; } 50% { --g-s1: 78%; } }
@keyframes gSize2 { 0%,100% { --g-s2: 50%; } 50% { --g-s2: 82%; } }
@keyframes gSize3 { 0%,100% { --g-s3: 52%; } 50% { --g-s3: 80%; } }
@keyframes gSize4 { 0%,100% { --g-s4: 54%; } 50% { --g-s4: 84%; } }
@media (prefers-reduced-motion: reduce) { .grad-anim { animation: none; } }

.cf-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .cf-grid { grid-template-columns: 1.5fr 1fr; gap: 26px; } }
.cf-card {
  border-radius: 26px; padding: clamp(40px, 6vw, 78px) clamp(26px, 4vw, 52px);
  color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 26px 60px -38px rgba(17, 19, 17, 0.6);
}
.cf-card h2 { color: #fff; font-weight: 300; margin-bottom: 16px; }
.cf-card p { font-size: 15px; color: rgba(255, 255, 255, 0.82); margin-bottom: 30px; }
.cf-btn {
  display: inline-flex; align-items: center; padding: 14px 32px; border-radius: 12px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 500;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.cf-btn:hover { transform: translateY(-2px); background: #000; color: #fff; box-shadow: 0 18px 34px -12px rgba(0, 0, 0, 0.7); }
.cf-faq { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 2px 8px rgba(17, 19, 17, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item.is-open { border-color: var(--line-strong); box-shadow: 0 8px 20px -12px rgba(17, 19, 17, 0.35); }
.faq-item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 17px 20px; font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
}
.faq-item i { position: relative; width: 13px; height: 13px; flex: none; }
.faq-item i::before, .faq-item i::after {
  content: ""; position: absolute; background: var(--accent); transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-item i::before { left: 0; top: 6px; width: 13px; height: 1.5px; }
.faq-item i::after { left: 6px; top: 0; width: 1.5px; height: 13px; }
.faq-item.is-open i::after { transform: scaleY(0); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { overflow: hidden; font-size: 14px; line-height: 1.7; color: var(--ink-dim); padding: 0 20px; }
.faq-item.is-open .faq-a p { padding-bottom: 18px; }

/* ---- about render: framing + floating chips ---- */
.about-render { padding: clamp(18px, 3vw, 34px) 0; }
.ar-frame {
  position: absolute; inset: 6% 4%; pointer-events: none;
  background:
    linear-gradient(var(--accent), var(--accent)) left top / 26px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left top / 1px 26px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 26px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 1px 26px no-repeat;
  opacity: 0.6;
}
.ar-chip {
  position: absolute; left: 0; top: 16%; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 18px 40px -28px rgba(17, 19, 17, 0.5);
  font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.ar-chip b {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-faint);
}
.ar-chip-2 { left: auto; right: 0; top: auto; bottom: 14%; }
@media (max-width: 700px) { .ar-chip-2 { display: none; } }

/* ---- services list: hover sweep + index ---- */
.services-list li { position: relative; overflow: hidden; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease; }
.services-list li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-list li:hover::before { transform: scaleY(1); }
.services-list li:hover { transform: translateX(6px); }
.services-list li b { transition: color 0.3s ease; }
.services-list li:hover b { color: var(--accent); }
.services-list li::after {
  content: "→"; position: absolute; right: 26px; top: 50%; margin-top: -0.6em;
  color: var(--accent); opacity: 0; transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-list li:hover::after { opacity: 1; transform: translateX(0); }

/* ============ CLIENTS ============ */
.clients-score { display: flex; align-items: center; gap: 16px; }
.clients-score > b {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(38px, 4vw, 56px);
  letter-spacing: -0.05em; line-height: 1; color: var(--ink);
}
.clients-score div { display: flex; flex-direction: column; gap: 4px; }
.clients-score em {
  font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-faint); max-width: 24ch; line-height: 1.6;
}
.q-stars { color: var(--accent); font-size: 13px; letter-spacing: 0.22em; }
.quotes .q-card {
  position: relative; border-radius: 18px; padding: 30px 28px 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.quotes .q-card:hover { transform: translateY(-4px); }
.q-mark {
  position: absolute; right: 22px; top: 4px;
  font-family: var(--font-display); font-size: 76px; font-weight: 500; line-height: 1;
  color: var(--accent); opacity: 0.18;
}
.quotes blockquote {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.025em; line-height: 1.42;
  color: var(--ink); text-wrap: pretty;
}
.quotes figcaption {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  column-gap: 12px; row-gap: 2px; margin-top: auto;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.q-av {
  width: 36px; height: 36px; border-radius: 50%; flex: none; grid-row: span 2;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #82c94a, var(--accent-deep));
  color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}
.quotes figcaption b { font-size: 14px; font-weight: 500; color: var(--ink); align-self: end; }
.quotes figcaption em {
  font-style: normal; align-self: start; min-width: 0;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint);
}
.clients-rail {
  display: grid; gap: 1px; margin-top: 20px;
  background: var(--line); border-radius: 18px; overflow: hidden;
}
@media (min-width: 760px) { .clients-rail { grid-template-columns: repeat(3, 1fr); } }
.clients-rail div { background: #fff; padding: 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.clients-rail b {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.05em; line-height: 1; color: var(--ink);
}
.clients-rail span {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-faint);
}

/* mobile: poster fallback while the clip buffers */
#hero-video { background: #0d0f0c center/cover no-repeat; }
@media (max-width: 640px) { #hero-video { transform: scale(1.22); } }

/* ============ MOBILE NAV (below 760px) ============ */
/* The bars are .liquid-glass / .glass, which set overflow:hidden, so the
   panel is a fixed-position sibling on <body> rather than a child. */
.nav-toggle {
  display: none; flex: none;
  width: 40px; height: 40px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 10px;
  cursor: pointer; color: inherit;
}
@media (max-width: 759px) { .nav-toggle { display: inline-flex; } }
.nav-toggle i {
  position: relative; display: block; width: 18px; height: 1.5px;
  background: currentColor; transition: background 0.2s ease;
}
.nav-toggle i::before, .nav-toggle i::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-toggle i::before { top: -6px; }
.nav-toggle i::after { top: 6px; }
.nav-toggle[aria-expanded="true"] i { background: transparent; }
.nav-toggle[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }

.nav-menu {
  position: fixed; z-index: 90;
  display: none; flex-direction: column; gap: 2px;
  padding: 8px; border-radius: 14px;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-menu.is-mounted { display: flex; }
.nav-menu.is-open { opacity: 1; transform: none; }
.nav-menu a {
  padding: 13px 16px; border-radius: 10px;
  text-decoration: none; font-size: 15px; font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
/* light panel — used over page content (dock / sub-page nav) */
.nav-menu {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--line);
  box-shadow: 0 26px 54px -28px rgba(17, 19, 17, 0.5);
}
.nav-menu a { color: var(--ink); }
.nav-menu a:hover { background: rgba(17, 19, 17, 0.06); color: var(--accent); }
/* dark panel — used over the hero */
.nav-menu.on-dark {
  background: rgba(12, 14, 12, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 54px -24px rgba(0, 0, 0, 0.7);
}
.nav-menu.on-dark a { color: #fff; }
.nav-menu.on-dark a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
@media (min-width: 760px) { .nav-menu { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .nav-menu { transition: none; }
  .nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { transition: none; }
}
