/* ============================================================
   1XEV MEDIA — shared styles (index.html + terms.html)
   Self-contained: no build step, no external dependencies.
   The hero is a self-hosted <video>; the gradient behind it is the fallback.
   ============================================================ */

:root {
  --bg:        #0a0a0a;
  --bg-soft:   #121212;
  --panel:     #161616;
  --line:      rgba(255,255,255,.10);
  --ink:       #f4f2ee;
  --ink-dim:   #a8a49c;
  --ink-faint: #8a867d;   /* lightened to clear WCAG AA (~5:1) on the dark backgrounds */
  --gold:      #c9a86a;   /* accent — luxury/warm */
  --gold-soft: rgba(201,168,106,.14);
  --maxw: 1200px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* keyboard skip link — hidden until focused */
.skip-link { position: absolute; left: 8px; top: -48px; background: var(--gold); color: #1a1509; padding: 10px 16px; border-radius: 2px; z-index: 200; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: top .2s; }
.skip-link:focus { top: 8px; outline: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 2px;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  transition: all .35s var(--ease); cursor: pointer; border: 1px solid var(--gold);
}
.btn--solid { background: var(--gold); color: #1a1509; }
.btn--solid:hover { background: #dbbd7f; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- NAV ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Blur/background lives on a pseudo-layer, NOT the header element itself —
   putting backdrop-filter on <header> would make it the containing block for
   the fixed mobile menu inside it, trapping the menu in the header's box. */
header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0; transition: opacity .4s var(--ease);
  background: rgba(10,10,10,.85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
header.scrolled::before, header.solid::before { opacity: 1; }
header.solid::before { background: rgba(10,10,10,.92); }
header.scrolled, header.solid { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; }
.brand { font-weight: 700; letter-spacing: .28em; font-size: 17px; }
.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 38px; align-items: center; }
.nav-links a { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); transition: color .3s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { color: var(--gold) !important; border: 1px solid var(--line); padding: 9px 18px; border-radius: 2px; }
.nav-cta:hover { border-color: var(--gold); }
.burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 6px; background: none; border: 0; min-width: 44px; min-height: 44px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
/* Fallback background for the hero: this animated gradient shows only if the
   self-hosted <video class="hero-video"> is blocked or unsupported. */
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(201,168,106,.22), transparent 55%),
    radial-gradient(90% 80% at 12% 88%, rgba(60,80,110,.30), transparent 55%),
    linear-gradient(135deg, #0c0c0e 0%, #141118 45%, #0a0a0a 100%);
  background-size: 200% 200%; animation: drift 18s ease-in-out infinite;
}
/* full-bleed self-hosted background video — native <video> has zero chrome,
   so object-fit:cover is all we need (no overscan hack). */
.hero-media .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none; border: 0; z-index: 0;
  /* Mirror the footage so the calm valley sits behind the left-aligned headline
     and the houses balance out on the open right side. */
  transform: scaleX(-1);
}
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,.5) 45%, rgba(10,10,10,.62) 100%); }
@keyframes drift { 0%,100% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } }
.hero-inner { position: relative; z-index: 2; padding-top: 80px; }
.hero h1 { font-size: clamp(40px, 7vw, 88px); line-height: 1.02; font-weight: 700; letter-spacing: -.02em; margin: 22px 0 26px; max-width: 15ch; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: clamp(16px, 2vw, 20px); color: var(--ink-dim); max-width: 54ch; margin-bottom: 40px; text-shadow: 0 1px 16px rgba(0,0,0,.55); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-faint);
  display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint .line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ---------- SECTION SHELL ---------- */
section { position: relative; }
.section-pad { padding: 120px 0; }
.section-head { max-width: 660px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 16px 0 18px; }
.section-head p { color: var(--ink-dim); font-size: 17px; }

/* ---------- SLOGAN BAR ---------- */
.slogan-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); text-align: center; padding: 56px 0; }
.slogan-bar .big { font-size: clamp(23px,3.4vw,40px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.slogan-bar .big em { color: var(--gold); font-style: normal; }
.slogan-bar .sub { color: var(--ink-dim); margin-top: 12px; letter-spacing: .04em; font-size: 16px; }

/* ---------- SERVICES ---------- */
.services { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc { background: var(--bg-soft); padding: 40px 30px; transition: background .4s var(--ease); min-height: 260px; display: flex; flex-direction: column; }
.svc:hover { background: var(--panel); }
.svc .num { font-size: 12px; color: var(--gold); letter-spacing: .2em; }
.svc h3 { font-size: 21px; font-weight: 600; margin: 20px 0 12px; }
.svc p { font-size: 14.5px; color: var(--ink-dim); }
.svc .arw { margin-top: auto; color: var(--ink-faint); font-size: 20px; transition: .3s; }
.svc:hover .arw { color: var(--gold); transform: translateX(4px); }

/* ---------- WORK / PORTFOLIO ---------- */
/* Tiles are true 16:9 so thumbnails show landscape & uncropped. Featured tile spans full width. */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work-grid--3 { grid-template-columns: repeat(3, 1fr); }
.work-card { position: relative; overflow: hidden; border-radius: 4px; cursor: pointer; border: 1px solid var(--line);
  aspect-ratio: 16 / 9; min-height: 280px; min-width: 0; width: 100%; display: flex; align-items: flex-end; }
.work-card.big { grid-column: 1 / -1; }
.work-card.small, .work-card.third { grid-column: span 1; }
.work-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.work-media { position: absolute; inset: 0; z-index: 0; transition: transform 1.1s var(--ease); }
.work-card:hover .work-media { transform: scale(1.06); }
.work-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.m1 { background: linear-gradient(140deg,#1a1a1f,#2a2320 60%,#3a2f22); }
.m2 { background: linear-gradient(140deg,#12161c,#1f2a33 70%,#243b42); }
.m3 { background: linear-gradient(140deg,#161810,#242a17 60%,#39421f); }
.m4 { background: linear-gradient(140deg,#101418,#17242c 65%,#1c3540); }
/* taller, darker scrim so overlaid text — including the gold tag — stays legible on bright thumbnails */
.work-media::after { content:""; position:absolute; inset:0; z-index: 1;
  background: linear-gradient(to top, rgba(5,5,6,.97) 0%, rgba(5,5,6,.86) 20%, rgba(5,5,6,.5) 46%, rgba(5,5,6,.12) 70%, transparent 100%); }
.work-body { position: relative; z-index: 2; padding: 22px 26px; width: 100%; }
.work-body .tag { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); text-shadow: 0 1px 8px rgba(0,0,0,.95); }
.work-body h3 { font-size: clamp(19px,2.0vw,26px); font-weight: 700; margin: 9px 0 8px; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0,0,0,.75); }
.work-body p { color: var(--ink); font-size: 14px; max-width: 52ch; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.work-body .play { margin-top: 15px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: translateY(8px); transition: .4s var(--ease); text-shadow: 0 1px 6px rgba(0,0,0,.85); }
.work-card:hover .play { opacity: 1; transform: translateY(0); }
.play .dot { width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%; display:grid; place-items:center; color: var(--gold); background: rgba(5,5,6,.4); }
/* compact 3-up (Builds) tiles: keep tag + title, drop the secondary line so text never clips */
.work-grid--3 .work-body { padding: 18px 20px; }
.work-grid--3 .work-body p { display: none; }
.work-grid--3 .work-body h3 { font-size: clamp(17px,1.7vw,21px); margin: 7px 0 0; }
.work-grid--3 .work-card { min-height: 230px; }
/* keep the blurb from ballooning up into the top-corner category pill on short/narrow tiles */
.work-card:not(.big) .work-body p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* ---------- STATS STRIP ---------- */
.stats { border-top: 1px solid var(--line); background: var(--bg-soft); }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; text-align: center; }
.stat .n { font-size: clamp(24px,3.6vw,46px); font-weight: 700; color: var(--gold); letter-spacing: -.02em; }
.stat .l { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-dim); margin-top: 6px; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.about-copy h2 { font-size: clamp(28px,3.8vw,46px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 18px 0 22px; }
.about-copy p { color: var(--ink-dim); font-size: 16.5px; margin-bottom: 18px; }
.about-visual {
  aspect-ratio: 4 / 5; border-radius: 3px; border: 1px solid var(--line);
  background: linear-gradient(150deg,#141118,#0d0d10);
  position: relative; overflow: hidden;
}
.about-visual img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 42%; display:block; }
.about-visual::after { content:""; position:absolute; inset:0; box-shadow:inset 0 0 0 1px rgba(201,168,106,.14); pointer-events:none; }

/* ---------- WHY / PILLARS ---------- */
.why { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
.pillar { border: 1px solid var(--line); border-radius: 3px; padding: 34px 32px; background: var(--bg); transition: border-color .4s var(--ease), transform .4s var(--ease); }
.pillar:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.pillar .pn { font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.pillar h3 { font-size: 20px; font-weight: 600; margin: 14px 0 12px; }
.pillar p { color: var(--ink-dim); font-size: 15px; }

/* ---------- CONTACT ---------- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #0d0b09 100%); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact h2 { font-size: clamp(30px,4.4vw,54px); font-weight: 700; letter-spacing: -.02em; line-height: 1.06; margin-bottom: 22px; }
.contact h2 em { font-style: normal; color: var(--gold); }
.contact .sub { color: var(--ink-dim); font-size: 17px; margin-bottom: 34px; }
.contact-methods a { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-dim); transition: color .3s; }
.contact-methods a:last-child { border-bottom: 1px solid var(--line); }
.contact-methods a:hover { color: var(--ink); }
.contact-methods .k { color: var(--gold); min-width: 96px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.field input, .field select, .field textarea { background: var(--panel); border: 1px solid var(--line); color: var(--ink); padding: 14px 16px; border-radius: 2px; font-family: inherit; font-size: 15px; transition: border-color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
/* kill the native (light) select chrome on Safari/iOS and draw our own caret so it stays on-theme */
.field select { -webkit-appearance: none; appearance: none; padding-right: 40px;
  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 fill='none' stroke='%23c9a86a' stroke-width='1.6' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form .btn--solid { justify-content: center; margin-top: 6px; }

.form-success { border: 1px solid var(--gold-soft); background: var(--gold-soft); border-radius: 3px; padding: 40px 34px; text-align: center; }
.form-success .fs-mark { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 24px; display: grid; place-items: center; }
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.form-success p { color: var(--ink-dim); font-size: 15px; }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--line); padding: 50px 0 40px; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.foot .brand { font-size: 15px; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); transition: color .3s; }
.foot-links a:hover { color: var(--gold); }
.foot .fine { color: var(--ink-faint); font-size: 12px; }

/* ---------- LEGAL / TERMS PAGE ---------- */
.legal { padding: 150px 0 100px; }
.legal-head { max-width: 760px; margin-bottom: 56px; }
.legal-head h1 { font-size: clamp(32px,5vw,54px); font-weight: 700; letter-spacing: -.02em; line-height: 1.06; margin: 16px 0 14px; }
.legal-head p { color: var(--ink-dim); }
.legal-body { max-width: 820px; }
.legal-body section { margin-bottom: 44px; }
.legal-body h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.legal-body h2 .n { color: var(--gold); margin-right: 12px; }
.legal-body h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 20px 0 6px; }
.legal-body p, .legal-body li { color: var(--ink-dim); font-size: 15.5px; }
.legal-body ul { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.legal-body li { position: relative; padding-left: 20px; }
.legal-body li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.legal-body b { color: var(--ink); font-weight: 600; }
.legal-note { border: 1px solid var(--gold-soft); background: var(--gold-soft); border-radius: 3px; padding: 24px 26px; margin-top: 40px; }
.legal-note b { color: var(--gold); }

/* ---------- VIDEO MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6,6,7,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-inner { position: relative; z-index: 2; width: min(1040px, 94vw); }
.modal-title { color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: .02em; margin-bottom: 14px; padding-right: 56px; }
.modal-title .k { color: var(--gold); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.modal-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.modal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: 22px; right: 26px; z-index: 3; background: rgba(20,20,20,.6); border: 1px solid var(--line); color: var(--ink); width: 44px; height: 44px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: .3s; }
.modal-close:hover { border-color: var(--gold); color: var(--gold); }
.clip-strip { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.clip-btn { background: var(--panel); border: 1px solid var(--line); color: var(--ink-dim); padding: 10px 16px; border-radius: 2px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: .3s; font-family: inherit; }
.clip-btn:hover { color: var(--ink); border-color: var(--gold-soft); }
.clip-btn.active { border-color: var(--gold); color: var(--gold); }
body.modal-open { overflow: hidden; }

/* ---------- CTA BAND ---------- */
.cta-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 160% at 82% 0%, rgba(201,168,106,.12), transparent 55%), var(--bg-soft); padding: 66px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px,3.1vw,38px); font-weight: 700; letter-spacing: -.02em; max-width: 22ch; line-height: 1.12; }
.cta-band p { color: var(--ink-dim); margin-top: 10px; font-size: 15px; max-width: 46ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- HOW IT WORKS ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step { border: 1px solid var(--line); border-radius: 3px; padding: 32px 26px; background: var(--bg-soft); position: relative; }
.step .sn { font-size: 12px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.step h3 { font-size: 19px; font-weight: 600; margin: 14px 0 10px; }
.step p { color: var(--ink-dim); font-size: 14.5px; }
.step.final { border-color: var(--gold-soft); background: linear-gradient(160deg, rgba(201,168,106,.10), var(--bg-soft)); }
.step .badge { position: absolute; top: -11px; right: 18px; background: var(--gold); color: #1a1509; font-size: 11px; letter-spacing: .06em; font-weight: 700; padding: 4px 10px; border-radius: 2px; text-transform: uppercase; }

/* ---------- PACKAGES ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.pkg { border: 1px solid var(--line); border-radius: 4px; padding: 36px 30px; background: var(--bg-soft); display: flex; flex-direction: column; transition: border-color .4s var(--ease), transform .4s var(--ease); }
.pkg:hover { border-color: var(--gold-soft); transform: translateY(-4px); }
.pkg.featured { border-color: var(--gold); background: linear-gradient(170deg, rgba(201,168,106,.09), var(--bg-soft)); }
.pkg .ribbon { align-self: flex-start; background: var(--gold); color: #1a1509; font-size: 11px; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; margin-bottom: 16px; }
.pkg h3 { font-size: 23px; font-weight: 700; letter-spacing: -.01em; }
.pkg .tagline { color: var(--ink-dim); font-size: 14.5px; margin: 10px 0 22px; }
.pkg ul { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; }
.pkg li { position: relative; padding-left: 24px; color: var(--ink); font-size: 14.5px; }
.pkg li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 13px; }
.pkg .btn { margin-top: auto; justify-content: center; width: 100%; }
.pkg-note { text-align: center; color: var(--ink-faint); font-size: 13.5px; margin-top: 30px; }
.pkg-note a { color: var(--gold); }

/* ---------- PROOF ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.proof-card { border: 1px solid var(--line); border-radius: 3px; padding: 26px 28px; background: var(--bg-soft); }
.proof-card .pc-tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.proof-card h3 { font-size: 18px; font-weight: 600; margin: 9px 0 8px; }
.proof-card p { color: var(--ink-dim); font-size: 14.5px; }
.proof-social { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.proof-reserved { margin-top: 24px; color: var(--ink-faint); font-size: 14px; border-left: 2px solid var(--gold-soft); padding-left: 16px; line-height: 1.6; }

/* ---------- SERVICE AREA ---------- */
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.area-tags span { border: 1px solid var(--line); border-radius: 2px; padding: 9px 15px; font-size: 13px; color: var(--ink-dim); }
.area-tags span.home { border-color: var(--gold); color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--ink); font-family: inherit; font-size: 17px; font-weight: 600; padding: 24px 44px 24px 0; cursor: pointer; position: relative; }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 24px; line-height: 1; transition: transform .3s; }
.faq-item.open .faq-q::after { content: "\2013"; }
.faq-a { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .45s var(--ease), visibility 0s linear .45s; }
.faq-item.open .faq-a { visibility: visible; transition: max-height .45s var(--ease), visibility 0s; }
.faq-a p { color: var(--ink-dim); font-size: 15px; padding: 0 44px 24px 0; line-height: 1.7; }
.faq-a a { color: var(--gold); }

/* ---------- STICKY MOBILE CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; gap: 10px; padding: 12px 14px;
  background: rgba(10,10,10,.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.sticky-cta .btn { flex: 1; justify-content: center; padding: 14px; }

/* ---------- TILE PILL + STAT CHIPS ---------- */
.tile-pill { position: absolute; top: 16px; left: 16px; z-index: 3; background: rgba(10,10,10,.66); border: 1px solid var(--line); color: var(--ink); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 2px; }
.stat-chips { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.stat-chips span { border: 1px solid var(--gold-soft); border-radius: 2px; padding: 10px 18px; font-size: 13px; color: var(--ink-dim); }
.stat-chips b { color: var(--gold); font-weight: 600; }

/* ---------- reveal on scroll ---------- */
/* Only hide reveals when JS is alive (the inline head script adds .js). If JS is off/blocked,
   nothing is hidden, so the whole page stays visible. */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav { position: relative; }
  /* compact drop-panel sized to its links — not a full-screen slab */
  .nav-links { position: absolute; top: calc(100% + 10px); right: 16px; left: auto; width: max-content;
    min-width: 176px; max-width: min(70vw,260px); background: #0d0d0d;
    border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.55);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 6px; z-index: 90; visibility: hidden; opacity: 0;
    transform: translateY(-8px); transform-origin: top right;
    transition: transform .22s var(--ease), opacity .22s var(--ease), visibility .22s var(--ease); }
  .nav-links a { padding: 13px 14px; border-radius: 3px; }
  .nav-links a + a { border-top: 1px solid rgba(255,255,255,.05); }
  .nav-links .nav-cta { border: 0; margin-top: 4px; background: rgba(201,168,106,.10); text-align: center; }
  .nav-links.open { transform: none; visibility: visible; opacity: 1; }
  .burger { display: flex; }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .work-grid, .work-grid--3 { grid-template-columns: 1fr; }
  .work-card.big { grid-column: auto; }
  /* narrow 1-col: clamp the featured tile's longer blurb too, so it can't push the caption into the pill */
  .work-card.big .work-body p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .stat-grid { grid-template-columns: repeat(2,1fr); gap: 34px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { aspect-ratio: 4 / 5; max-width: 360px; width: 100%; margin: 0 auto; order: -1; }
  .pillars { grid-template-columns: 1fr; }
  .section-pad { padding: 84px 0; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .pkg-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
}
@media (max-width: 520px) {
  .svc-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* Respect users who ask the OS to reduce motion: no drift/pulse loops, no scroll animation,
   and make sure reveal content is shown regardless. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ================= PHOTO PORTFOLIO (gallery page) ================= */
.listing { padding: 60px 0; border-top: 1px solid var(--line); }
.listing:first-of-type { border-top: 0; padding-top: 8px; }
.listing-head { max-width: 720px; margin: 0 0 24px; }
.listing-head .city { color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.listing-head h2 { font-size: clamp(23px, 3vw, 33px); font-weight: 700; letter-spacing: -.01em; margin: 8px 0 0; }
.listing-head p { color: var(--ink-faint); margin-top: 10px; max-width: 60ch; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shot { position: relative; display: block; overflow: hidden; border-radius: 4px; border: 1px solid var(--line);
  aspect-ratio: 3 / 2; cursor: pointer; background: var(--bg-soft); }
.shot.feat { grid-column: 1 / -1; aspect-ratio: 16 / 6; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.shot::after { content: "\2921"; position: absolute; right: 12px; bottom: 10px; z-index: 2;
  color: #fff; font-size: 15px; opacity: 0; transform: translateY(4px); transition: .3s var(--ease);
  text-shadow: 0 1px 6px rgba(0,0,0,.8); pointer-events: none; }
.shot:hover::after, .shot:focus-visible::after { opacity: .9; transform: translateY(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  background: rgba(5,5,6,.95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 24px; }
.lightbox.open { display: flex; }
.lb-img { max-width: min(1200px, 94vw); max-height: 82vh; width: auto; height: auto; object-fit: contain;
  border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--ink);
  font-size: 13px; letter-spacing: .03em; padding: 0 60px; }
.lb-cap b { color: var(--gold); font-weight: 600; }
.lb-btn { position: absolute; background: rgba(20,20,22,.6); border: 1px solid var(--line); color: var(--ink);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  font-size: 20px; line-height: 1; transition: .2s var(--ease); }
.lb-btn:hover { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }
.lb-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lb-pos { color: var(--ink-faint); margin-left: 8px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 26px; left: 24px; color: var(--ink-faint); font-size: 12px; letter-spacing: .12em; }

/* Homepage photo teaser */
.photostrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { position: relative; display: block; overflow: hidden; border-radius: 4px; border: 1px solid var(--line);
  aspect-ratio: 3 / 2; }
.pcard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.pcard:hover img { transform: scale(1.06); }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(5,5,6,.86), rgba(5,5,6,.05) 55%); }
.pcard .pc-meta { position: absolute; left: 16px; bottom: 13px; z-index: 2; }
.pcard .pc-meta b { display: block; color: #fff; font-size: 15px; letter-spacing: -.01em; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.pcard .pc-meta span { color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.pcard:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.photo-cta { text-align: center; margin-top: 34px; }

/* Interactive outbuildings expander (Frogner: shop + guest tiny house) */
.outbuildings { margin-top: 16px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--bg-soft); }
.ob-toggle { display: none; }                          /* no-JS: hidden, panel shows open */
.js .ob-toggle { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: none; border: 0; color: var(--ink); cursor: pointer; text-align: left; font-family: inherit; }
.js .ob-toggle:hover { background: rgba(255,255,255,.035); }
.ob-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.ob-label { font-size: clamp(15px,1.7vw,17px); font-weight: 600; }
.ob-label em { font-style: normal; color: var(--ink-faint); font-weight: 400; }
.ob-count { margin-left: auto; color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ob-chev { color: var(--gold); font-size: 13px; transition: transform .3s var(--ease); }
.ob-toggle[aria-expanded="true"] .ob-chev { transform: rotate(180deg); }
.ob-anim { display: grid; grid-template-rows: 1fr; }   /* no-JS: open */
.js .ob-anim { grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); }
.js .ob-anim.open { grid-template-rows: 1fr; }
.ob-inner { overflow: hidden; min-height: 0; }
.ob-gallery { padding: 2px 14px 16px; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .shot.feat { aspect-ratio: 16 / 7; }
  .photostrip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .shot.feat { aspect-ratio: 4 / 3; }
  .lb-cap { padding: 0 54px; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ============================================================
   PRESENCE PAGE (presence.html) — get-found service ladder
   ============================================================ */

/* group label above each block of products */
.grp { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 0 0 20px; }
.grp .n { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--gold); letter-spacing: .14em; }
.grp h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.grp .sub { color: var(--ink-faint); font-size: 13.5px; }
.grp-block { margin-bottom: 52px; }

/* product cards */
.pkg-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.pkg-grid.three { grid-template-columns: repeat(3, 1fr); }
/* scoped to the presence page so it can't shrink the homepage Packages headings */
#presence-care .pkg h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
/* price always renders as number + unit + verb — never a bare figure */
.pkg .price { font-size: 30px; font-weight: 700; color: var(--gold); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 12px; }
.pkg .price .unit { font-size: 14px; font-weight: 600; color: var(--ink-dim); letter-spacing: 0; }
.pkg .verb { font-size: 13px; color: var(--ink); margin: 4px 0 16px; font-weight: 600; }

/* the front-door band */
.front { border: 1px solid var(--gold); border-radius: 5px; background: linear-gradient(150deg, rgba(201,168,106,.11), var(--bg-soft) 62%); padding: 34px; display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 32px; align-items: center; }
.front h3 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.front p { color: var(--ink-dim); font-size: 14.5px; }
.front .quote { color: var(--ink); font-size: 14px; font-style: italic; margin-top: 12px; border-left: 2px solid var(--gold); padding-left: 12px; }
.front .price { font-size: 30px; font-weight: 700; color: var(--gold); margin-top: 12px; letter-spacing: -.02em; }
.front .price .unit { font-size: 14px; color: var(--ink-dim); font-weight: 600; }
.front ul { list-style: none; display: grid; gap: 9px; }
.front li { position: relative; padding-left: 22px; font-size: 14px; }
.front li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); }
.front .btn { white-space: nowrap; }

/* bundles */
.bundles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 52px; }
.bundle { border: 1px solid var(--gold-soft); border-radius: 4px; background: var(--bg-soft); padding: 24px 26px; }
.bundle .tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.bundle h3 { font-size: 18px; font-weight: 700; margin: 8px 0 6px; }
.bundle p { color: var(--ink-dim); font-size: 14px; }
.bundle .save { color: var(--ink); font-weight: 600; font-size: 14px; margin-top: 8px; display: block; }

/* add-ons — deliberately minor, never competing with the tiers */
.addons { border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 12px; }
.addons .lbl { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.addons ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 26px; }
.addons li { font-size: 13.5px; color: var(--ink-dim); }
.addons b { color: var(--ink); font-weight: 600; }

/* how it works */
.care-how-head { margin-top: 8px; text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.care-how-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.care-how-head p { color: var(--ink-dim); font-size: 15px; }
.care-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin-top: 26px; }
.care-how .cell { background: var(--bg-soft); padding: 26px 24px; }
.care-how .n { font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.care-how h3 { font-size: 16px; font-weight: 700; margin: 8px 0 6px; }
.care-how p { color: var(--ink-dim); font-size: 13.5px; }

/* inquiry form */
.care-form-sec { background: linear-gradient(180deg, var(--bg) 0%, #0d0b09 100%); border-top: 1px solid var(--line); }
.care-form-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.care-form-intro h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 14px 0 16px; }
.care-form-intro h2 em { font-style: normal; color: var(--gold); }
.care-form-intro p { color: var(--ink-dim); font-size: 16px; margin-bottom: 22px; }
.care-form-intro .assure { list-style: none; display: grid; gap: 12px; }
.care-form-intro .assure li { position: relative; padding-left: 26px; color: var(--ink-dim); font-size: 14px; }
.care-form-intro .assure li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); }
form.care { display: grid; gap: 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 30px; }
form.care .field label .opt { color: var(--ink-faint); text-transform: none; letter-spacing: 0; font-size: 11px; }
.helpgroup { display: flex; flex-direction: column; gap: 7px; }
.helpgroup > label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--gold); cursor: pointer; }
form.care .btn--solid { justify-content: center; margin-top: 6px; }
.care-note { font-size: 12px; color: var(--ink-faint); text-align: center; }
.care-note a { color: var(--gold); }
.prefill-flash { border-color: var(--gold) !important; box-shadow: 0 0 0 3px var(--gold-soft); }

@media (max-width: 900px) {
  .pkg-grid.two, .pkg-grid.three { grid-template-columns: 1fr; }
  .front { grid-template-columns: 1fr; gap: 22px; }
  .bundles { grid-template-columns: 1fr; }
  .addons ul { grid-template-columns: 1fr; }
  .care-how { grid-template-columns: 1fr; }
  .care-form-grid { grid-template-columns: 1fr; gap: 36px; }
  .checks { grid-template-columns: 1fr; }
}

/* homepage cross-link to presence.html */
.presence-teaser { margin-top: 40px; border: 1px solid var(--gold-soft); border-radius: 4px; background: linear-gradient(150deg, rgba(201,168,106,.07), var(--bg-soft) 60%); padding: 30px 32px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.presence-teaser h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 12px 0 8px; }
.presence-teaser p { color: var(--ink-dim); font-size: 15px; max-width: 62ch; }
.presence-teaser .btn { white-space: nowrap; }
@media (max-width: 760px) { .presence-teaser { grid-template-columns: 1fr; gap: 20px; } }

/* Presence form: let grid children shrink, and make fields fill their track rather than
   dictate it. Without these, an <input>'s intrinsic size (default ~20ch + padding) sets a
   min-content floor that pushes the column wider than the viewport on phones. */
.care-form-grid > * { min-width: 0; }
form.care .field input,
form.care .field select,
form.care .field textarea { width: 100%; }

/* "Every build includes" panel — the long checklist that answers "what's the catch?" */
.included { border: 1px solid var(--line); border-radius: 4px; background: var(--bg-soft); padding: 24px 28px; margin-bottom: 22px; }
.included .lbl { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.included ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.included li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-dim); }
.included li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-size: 13px; }
.included b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .included ul { grid-template-columns: 1fr; } }

/* About: the two differentiators folded in from the retired Why/Pillars section */
.about-points { list-style: none; display: grid; gap: 12px; margin: 20px 0 4px; }
.about-points li { position: relative; padding-left: 26px; color: var(--ink-dim); font-size: 15px; }
.about-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 14px; }
.about-points b { color: var(--ink); font-weight: 600; }
