/* ==========================================================================
   AVON CONSTRUCTION CORP — Design System
   Brand: warm charcoal + bronze/gold (derived from Avon's brand video)
   Type:  Fraunces (display serif) · Inter (sans) · IBM Plex Mono (technical)
   ========================================================================== */

:root {
  /* Surfaces */
  --ink:        #0b0b0c;
  --ink-warm:   #121009;
  --charcoal:   #1b1916;
  --charcoal-2: #232019;
  --paper:      #f6f4ef;
  --paper-2:    #ece7dd;
  --paper-3:    #e2dcd0;

  /* Brand accent — bronze/gold */
  --bronze:        #c79553;
  --bronze-bright: #ecc079;
  --bronze-deep:   #9a6f33;

  /* Ink text on light surfaces */
  --stone-900: #1c1917;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-400: #a8a29e;

  /* Lines */
  --line-light: rgba(28, 25, 23, 0.10);
  --line-dark:  rgba(255, 255, 255, 0.10);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --nav-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--stone-900);
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-osgrayscale: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--bronze); color: #fff; }

img { display: block; max-width: 100%; }

/* ---------- Typography ---------- */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  font-optical-sizing: auto;
}

.display-xl { font-size: clamp(2.9rem, 7.2vw, 6.4rem); font-weight: 460; letter-spacing: -0.03em; line-height: 0.98; }
.display-lg { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 460; letter-spacing: -0.025em; line-height: 1.02; }
.display-md { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 500; }
.display-sm { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 500; letter-spacing: -0.015em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow.on-dark { color: var(--bronze-bright); }
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.no-rule::before { display: none; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--stone-700); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.container-wide { max-width: 1440px; }
.section { padding-block: clamp(72px, 11vw, 150px); }
.section-sm { padding-block: clamp(54px, 7vw, 96px); }

.bg-ink { background: var(--ink); color: #fff; }
.bg-charcoal { background: var(--charcoal); color: #fff; }
.bg-paper-2 { background: var(--paper-2); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--stone-900);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.02em 1.8em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--btn-bg);
  color: var(--btn-fg);
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease-out-quart), border-color .35s, background .35s;
}
.btn .btn-ico { width: 16px; height: 16px; transition: transform .4s var(--ease-out-expo); }
.btn:hover .btn-ico { transform: translateX(4px); }

/* Sweep fill */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, var(--bronze-deep), var(--bronze) 55%, var(--bronze-bright));
  transform: translateY(101%);
  transition: transform .45s var(--ease-out-expo);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: #1a1206; }

.btn-gold { --btn-bg: linear-gradient(110deg, var(--bronze-deep), var(--bronze) 55%, var(--bronze-bright)); color: #1a1206; }
.btn-gold::after { background: var(--stone-900); }
.btn-gold:hover { color: #fff; }

.btn-ghost {
  --btn-bg: transparent;
  color: var(--stone-900);
  border-color: var(--line-light);
}
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.22); }
.btn-ghost:hover { color: #1a1206; }
.btn-ghost.on-dark:hover { color: #1a1206; }

/* Text link with animated underline */
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
  padding-bottom: 2px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out-expo);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; flex: none; border-radius: 7px; }
.logo-word {
  display: flex; flex-direction: column; line-height: 1;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: currentColor;
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 3px;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  color: #fff;
  transition: background .5s var(--ease-out-quart), box-shadow .5s, color .5s, height .4s;
}
.nav::before {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), transparent);
  opacity: 1; transition: opacity .5s;
  pointer-events:none;
}
.nav.scrolled {
  background: rgba(12,11,10,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  height: 66px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav.scrolled::before { opacity: 0; }
.nav-inner { width:100%; max-width:1440px; margin:0 auto; padding-inline:24px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.nav-links { display:flex; align-items:center; gap:34px; }
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  position: relative;
  transition: color .3s;
}
.nav-link::after {
  content:""; position:absolute; left:0; bottom:-7px; height:1px; width:100%;
  background: var(--bronze-bright); transform: scaleX(0); transform-origin:right;
  transition: transform .4s var(--ease-out-expo);
}
.nav-link:hover, .nav-link.active { color:#fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin:left; }

.nav-toggle { display:none; background:none; border:0; cursor:pointer; width:44px; height:44px; flex:none; padding:0; align-items:center; justify-content:center; }
.nav-toggle span { display:block; width:24px; height:2px; background:#fff; position:relative; transition: background .3s; }
.nav-toggle span::before, .nav-toggle span::after { content:""; position:absolute; left:0; width:24px; height:2px; background:#fff; transition: transform .4s var(--ease-out-expo); }
.nav-toggle span::before { top:-7px; }
.nav-toggle span::after { top:7px; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset:0; z-index:49;
  background: var(--ink);
  display:flex; flex-direction:column; justify-content:center;
  padding: 0 32px;
  transform: translateY(-100%);
  transition: transform .6s var(--ease-out-expo);
  visibility:hidden;
}
.mobile-menu.open { transform: translateY(0); visibility:visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.2rem);
  color:#fff; text-decoration:none; padding: 0.18em 0;
  display:flex; align-items:baseline; gap:1rem;
  border-bottom:1px solid rgba(255,255,255,0.08);
  opacity:0; transform: translateY(20px);
}
.mobile-menu.open a { animation: menuItemIn .6s var(--ease-out-expo) forwards; }
.mobile-menu a .num { font-family:var(--font-mono); font-size:0.8rem; color:var(--bronze-bright); opacity:0.8; letter-spacing:0.1em; }
@keyframes menuItemIn { to { opacity:1; transform:translateY(0); } }

body.menu-open { overflow:hidden; }

@media (max-width: 940px) {
  .nav-links.desktop { display:none; }
  .nav-toggle { display:flex; }
  .nav-cta-desktop { display:none; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity:0; transform: translateY(28px); transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo); will-change: opacity, transform; }
.reveal.in { opacity:1; transform:none; }
.reveal-d1 { transition-delay:.08s; }
.reveal-d2 { transition-delay:.16s; }
.reveal-d3 { transition-delay:.24s; }
.reveal-d4 { transition-delay:.32s; }
.reveal-d5 { transition-delay:.40s; }

.clip-reveal { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-out-expo); }
.clip-reveal.in { clip-path: inset(0 0 0 0); }

/* Image cover reveal */
.img-reveal { position:relative; overflow:hidden; }
.img-reveal img { transform: scale(1.12); transition: transform 1.4s var(--ease-out-expo); }
.img-reveal.in img { transform: scale(1); }
.img-reveal::after {
  content:""; position:absolute; inset:0; background:var(--bronze);
  transform: scaleX(1); transform-origin:right;
  transition: transform 1s var(--ease-out-expo);
}
.img-reveal.in::after { transform: scaleX(0); transform-origin:left; }

/* ---------- Hero ---------- */
.hero { position:relative; min-height: 100svh; display:flex; align-items:flex-end; overflow:hidden; color:#fff; }
.hero-bg { position:absolute; inset:0; z-index:0; }
.hero-bg img { width:100%; height:100%; object-fit:cover; transform: scale(1.06); }
.hero-bg::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.45) 0%, rgba(11,11,12,0.12) 30%, rgba(11,11,12,0.55) 72%, rgba(11,11,12,0.95) 100%),
    linear-gradient(95deg, rgba(11,11,12,0.6) 0%, transparent 55%);
}
.hero-glow {
  position:absolute; z-index:1; top:18%; left:8%;
  width: 60vw; height: 60vw; max-width:780px; max-height:780px;
  background: radial-gradient(circle, rgba(199,149,83,0.20) 0%, transparent 65%);
  pointer-events:none;
}
.hero-content { position:relative; z-index:2; width:100%; padding-bottom: clamp(56px, 8vh, 110px); padding-top: calc(var(--nav-h) + 24px); }
@media (max-width: 640px) {
  .hero { align-items: center; }
  .hero-content { padding-top: calc(var(--nav-h) + 18px); padding-bottom: 36px; }
  .hero .lead { margin-top: 20px !important; }
  .hero .fade-up[style*="margin-top:38px"] { margin-top: 30px !important; }
}

.hero h1 .line { display:block; overflow:hidden; }
.hero h1 .line > span { display:block; transform: translateY(110%); transition: transform 1.1s var(--ease-out-expo); }
.hero.loaded h1 .line > span { transform: translateY(0); }
.hero h1 .line:nth-child(2) > span { transition-delay:.12s; }
.hero h1 .line:nth-child(3) > span { transition-delay:.24s; }

.hero .fade-up { opacity:0; transform: translateY(24px); transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo); }
.hero.loaded .fade-up { opacity:1; transform:none; }
.hero .fade-up.d1 { transition-delay:.45s; }
.hero .fade-up.d2 { transition-delay:.6s; }
.hero .fade-up.d3 { transition-delay:.72s; }

.scroll-cue { position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:2; display:flex; flex-direction:column; align-items:center; gap:10px; font-family:var(--font-mono); font-size:0.62rem; letter-spacing:0.25em; text-transform:uppercase; color:rgba(255,255,255,0.6); text-decoration:none; }
@media (max-width: 1023px) { .scroll-cue { display:none; } }
.scroll-cue .bar { width:1px; height:46px; background:linear-gradient(var(--bronze-bright), transparent); position:relative; overflow:hidden; }
.scroll-cue .bar::after { content:""; position:absolute; top:-50%; left:0; width:100%; height:50%; background:#fff; animation: scrollBar 2.2s var(--ease-out-quart) infinite; }
@keyframes scrollBar { 0%{ transform:translateY(0);} 100%{ transform:translateY(300%);} }

/* ---------- Trust strip / stats ---------- */
.stat-num { font-family:var(--font-display); font-weight:480; line-height:1; letter-spacing:-0.02em; }
.divider-v { width:1px; background: var(--line-dark); }

/* ---------- Cards ---------- */
.svc-card {
  position:relative; padding: 38px 34px; background:var(--paper); border:1px solid var(--line-light);
  border-radius:3px; overflow:hidden; transition: transform .5s var(--ease-out-expo), box-shadow .5s, border-color .5s;
}
.svc-card::before { content:""; position:absolute; left:0; top:0; height:100%; width:3px; background:linear-gradient(var(--bronze-bright), var(--bronze-deep)); transform:scaleY(0); transform-origin:bottom; transition:transform .5s var(--ease-out-expo); }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(28,25,23,0.4); border-color: transparent; }
.svc-card:hover::before { transform:scaleY(1); transform-origin:top; }
.svc-num { font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.2em; color:var(--bronze-deep); }
.svc-ico { width:40px; height:40px; stroke:var(--stone-900); stroke-width:1.4; fill:none; transition: stroke .4s; }
.svc-card:hover .svc-ico { stroke:var(--bronze-deep); }

/* ---------- Project cards ---------- */
.proj-card { position:relative; overflow:hidden; border-radius:3px; background:var(--charcoal); cursor:pointer; }
.proj-card .proj-img { aspect-ratio: 4/3; overflow:hidden; }
.proj-card .proj-img img { width:100%; height:100%; object-fit:cover; transition: transform 1.1s var(--ease-out-expo); }
.proj-card:hover .proj-img img { transform:scale(1.07); }
.proj-card .proj-overlay { position:absolute; inset:0; background:linear-gradient(0deg, rgba(11,11,12,0.85) 0%, rgba(11,11,12,0.05) 55%); display:flex; flex-direction:column; justify-content:flex-end; padding:28px; color:#fff; }
.proj-tag { align-self:flex-start; font-family:var(--font-mono); font-size:0.62rem; letter-spacing:0.18em; text-transform:uppercase; padding:5px 11px; border:1px solid rgba(255,255,255,0.3); border-radius:999px; margin-bottom:14px; backdrop-filter:blur(4px); }
.proj-meta { display:flex; align-items:center; gap:10px; font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.08em; color:rgba(255,255,255,0.7); margin-top:8px; }
.proj-arrow { position:absolute; top:24px; right:24px; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.25); display:flex; align-items:center; justify-content:center; backdrop-filter:blur(6px); opacity:0; transform: translate(-6px,6px); transition: opacity .45s, transform .45s var(--ease-out-expo); }
.proj-card:hover .proj-arrow { opacity:1; transform:none; }

/* ---------- Process ---------- */
.step { position:relative; padding-top:30px; }
.step .step-num { font-family:var(--font-display); font-size:3.6rem; font-weight:430; color:var(--bronze); line-height:1; opacity:0.9; }
.step-line { height:1px; background:var(--line-dark); position:relative; margin:22px 0; }
.step-line::after { content:""; position:absolute; left:0; top:0; height:100%; width:0; background:var(--bronze-bright); transition: width 1.1s var(--ease-out-expo); }
.step.in .step-line::after { width:100%; }

/* ---------- Marquee ---------- */
.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: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state:paused; }
.marquee-item { font-family:var(--font-display); font-size:clamp(1.3rem,2.4vw,2rem); white-space:nowrap; color:rgba(255,255,255,0.45); display:flex; align-items:center; gap:64px; }
.marquee-item::after { content:"●"; font-size:0.5rem; color:var(--bronze); vertical-align:middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Forms ---------- */
.field { position:relative; min-width:0; }
.field label { display:block; font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--stone-500); margin-bottom:9px; }
.field input, .field textarea, .field select {
  width:100%; min-width:0; font-family:var(--font-sans); font-size:1rem; color:var(--stone-900);
  background:#fff; border:1px solid var(--line-light); border-radius:2px;
  padding:14px 15px; transition: border-color .3s, box-shadow .3s; -webkit-appearance:none; appearance:none;
}
.field textarea { resize:vertical; min-height:130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color:var(--bronze); box-shadow:0 0 0 3px rgba(199,149,83,0.18); }
.field select { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2378716c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 16px center; padding-right:40px; }

#quote-form { grid-template-columns: minmax(0, 1fr); }
.chip-group { display:flex; flex-wrap:wrap; gap:10px; }
.chip { cursor:pointer; }
.chip input { position:absolute; opacity:0; pointer-events:none; }
.chip span { display:inline-block; font-family:var(--font-mono); font-size:0.74rem; letter-spacing:0.06em; padding:11px 17px; border:1px solid var(--line-light); border-radius:999px; transition: all .25s; background:#fff; }
.chip input:checked + span { background:var(--stone-900); color:#fff; border-color:var(--stone-900); }
.chip input:focus-visible + span { box-shadow:0 0 0 3px rgba(199,149,83,0.3); }

/* ---------- Footer ---------- */
.footer-link { color:rgba(255,255,255,0.62); text-decoration:none; transition:color .3s; font-size:0.95rem; }
.footer-link:hover { color:var(--bronze-bright); }

/* ---------- Misc ---------- */
.kicker-rule { width:48px; height:2px; background:var(--bronze); }
.grain { position:fixed; inset:0; z-index:60; pointer-events:none; opacity:0.035; mix-blend-mode:overlay; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.float-tag {
  position:absolute; background:rgba(11,11,12,0.78); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.14); border-radius:3px; padding:14px 18px; color:#fff;
}

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius:2px; }

/* ---------- Inner page hero ---------- */
.page-hero { position:relative; overflow:hidden; color:#fff; display:flex; align-items:flex-end; min-height: clamp(360px, 56vh, 560px); }
.page-hero .hero-bg img { width:100%; height:100%; object-fit:cover; }
.page-hero .hero-bg::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.25) 40%, rgba(11,11,12,0.85) 100%); }
.page-hero .ph-content { position:relative; z-index:2; width:100%; padding-bottom:clamp(40px,6vw,72px); padding-top:calc(var(--nav-h) + 40px); }
.breadcrumb { font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; color:rgba(255,255,255,0.55); }
.breadcrumb a { color:rgba(255,255,255,0.55); text-decoration:none; transition:color .3s; }
.breadcrumb a:hover { color:var(--bronze-bright); }

/* ---------- Timeline ---------- */
.timeline { position:relative; }
.timeline::before { content:""; position:absolute; left:0; top:6px; bottom:6px; width:1px; background:var(--line-light); }
.tl-item { position:relative; padding-left:40px; padding-bottom:42px; }
.tl-item::before { content:""; position:absolute; left:-5px; top:6px; width:11px; height:11px; border-radius:50%; background:var(--bronze); box-shadow:0 0 0 4px var(--paper); }
.tl-year { font-family:var(--font-mono); font-size:0.8rem; letter-spacing:0.14em; color:var(--bronze-deep); }

/* ---------- Value / feature blocks ---------- */
.value-card { padding:32px 30px; border:1px solid var(--line-light); border-radius:3px; background:var(--paper); transition:border-color .4s, transform .4s var(--ease-out-expo); }
.value-card:hover { transform:translateY(-4px); border-color:var(--bronze); }
.value-ico { width:34px; height:34px; stroke:var(--bronze-deep); stroke-width:1.4; fill:none; }

/* ---------- Team ---------- */
.team-card { text-align:left; }
.team-photo { aspect-ratio:1; border-radius:3px; background:linear-gradient(140deg, var(--charcoal-2), var(--charcoal)); display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }
.team-photo .initials { font-family:var(--font-display); font-size:2.6rem; color:var(--bronze); }
.team-photo::after { content:""; position:absolute; inset:0; border:1px solid var(--line-light); border-radius:3px; }

/* ---------- Filter bar ---------- */
.filter-bar { display:flex; flex-wrap:wrap; gap:10px; }
.filter-btn { font-family:var(--font-mono); font-size:0.74rem; letter-spacing:0.1em; text-transform:uppercase; padding:10px 18px; border:1px solid var(--line-light); border-radius:999px; background:transparent; color:var(--stone-600); cursor:pointer; transition:all .3s; }
.filter-btn:hover { border-color:var(--stone-900); color:var(--stone-900); }
.filter-btn.active { background:var(--stone-900); color:#fff; border-color:var(--stone-900); }

/* ---------- Service rows ---------- */
.svc-row-img { overflow:hidden; border-radius:3px; }
.svc-row-img img { width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; transition:transform 1s var(--ease-out-expo); }
.svc-row-img:hover img { transform:scale(1.05); }

/* ---------- Service list items ---------- */
.svc-li { position:relative; padding-left:28px; color:var(--stone-700); font-size:0.98rem; }
.svc-li::before { content:""; position:absolute; left:0; top:9px; width:14px; height:2px; background:var(--bronze); }

.sector-pill { font-family:var(--font-mono); font-size:0.74rem; letter-spacing:0.05em; color:rgba(255,255,255,0.82); padding:12px 16px; border:1px solid var(--line-dark); border-radius:3px; transition:border-color .35s, color .35s; }
.sector-pill:hover { border-color:var(--bronze); color:#fff; }

.cred-cell { background:var(--ink); padding:26px 24px; }
.cred-cell p { color:rgba(255,255,255,0.6); font-size:0.92rem; margin-top:8px; }

/* ---------- Contact ---------- */
.contact-card { padding:30px; border:1px solid var(--line-dark); border-radius:3px; }
.next-step { display:flex; gap:16px; align-items:flex-start; padding:18px 0; border-bottom:1px solid var(--line-dark); }
.next-step .ns-num { font-family:var(--font-mono); font-size:0.8rem; color:var(--bronze-bright); flex:none; width:28px; }
.map-frame { width:100%; height:100%; min-height:320px; border:0; filter:grayscale(0.4) contrast(1.05); border-radius:3px; }
.success-state { text-align:center; padding:48px 24px; }
.success-ico { width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,var(--bronze-bright),var(--bronze-deep)); display:flex; align-items:center; justify-content:center; margin:0 auto 24px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
  .reveal, .hero .fade-up { opacity:1 !important; transform:none !important; }
  .hero h1 .line > span { transform:none !important; }
  .img-reveal img { transform:none !important; }
  .img-reveal::after { display:none; }
  .clip-reveal { clip-path:none !important; }
  .marquee-track { animation:none !important; }
  .scroll-cue .bar::after { animation:none !important; }
}
