/* ===========================================================
   EASYWATER — Marketing site (Lodge Plate · Archivo · motion)
   Relies on ../styles/brand.css for tokens + lockup + buttons.
   =========================================================== */
.geo { --font-head: "Archivo", system-ui, sans-serif; --font-body: "Archivo", system-ui, sans-serif; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); font-weight: 450; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.section { padding: clamp(64px, 9vw, 132px) 0; }
.eyebrow { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--steel); }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(244,241,234,.78); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, padding .3s; }
.nav.scrolled { border-color: var(--line-l); background: rgba(244,241,234,.92); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .3s; }
.nav.scrolled .wrap { height: 62px; }
.nav .ew-wm { color: var(--ink); }
.nav .links { display: flex; gap: 22px; }
.nav .links a { font-size: .86rem; font-weight: 600; letter-spacing: .01em; text-decoration: none; opacity: .78; transition: opacity .2s; position: relative; white-space: nowrap; }
.nav .links a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px; background: var(--ink); transition: width .25s ease; }
.nav .links a:hover { opacity: 1; } .nav .links a:hover::after { width: 100%; }
.nav .nav-right { display: flex; align-items: center; gap: 18px; }
.nav .phone { font-weight: 700; font-size: .9rem; letter-spacing: .01em; white-space: nowrap; }
.menu-btn { display: none; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; min-height: min(78vh, 720px); }
.hero-left { padding: clamp(40px,5vw,84px) clamp(20px,4vw,64px); display: flex; flex-direction: column; justify-content: center; }
.hero-left h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: .92; letter-spacing: -.02em; margin: .28em 0 .42em; }
.hero-left h1 .accent { color: var(--steel); }
.hero-left .lede { font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--graphite); max-width: 44ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .t { display: flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 600; color: var(--graphite); }
.hero-trust .t svg { width: 16px; height: 16px; flex: none; }

.hero-right { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; display: grid; place-items: center; }
.hero-right .falls { position: absolute; inset: 0; pointer-events: none; }
.hero-right .crest-xl { position: relative; color: var(--paper); opacity: .14; }
.hero-right .photo-slot { position: absolute; inset: 0; z-index: 1; }
.hero-right .ph-tag { position: absolute; left: 22px; bottom: 20px; z-index: 3; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fog); border: 1px solid var(--line-d); padding: 8px 12px; background: rgba(12,12,13,.5); }
.hero-right .corner-tag { position: absolute; top: 22px; right: 22px; z-index: 3; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fog); }

/* waterfall animated lines */
@keyframes fall { 0% { transform: translateY(-120%); } 100% { transform: translateY(120%); } }
.fall-line { position: absolute; top: 0; width: 2px; height: 40%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.5), transparent); animation: fall linear infinite; }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); overflow: hidden; padding: 16px 0; }
.marquee .track { display: flex; gap: 0; white-space: nowrap; width: max-content; animation: scrollx 32s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .item { font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; }
.marquee .item::after { content: "·"; color: var(--steel); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- SERVICES ---------- */
.services { background: var(--paper); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1; letter-spacing: -.015em; }
.sec-head p { color: var(--graphite); max-width: 46ch; line-height: 1.55; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); }
.svc { background: var(--paper); padding: 34px 30px 30px; min-height: 252px; display: flex; flex-direction: column; position: relative; transition: background .25s; cursor: default; }
.svc:hover { background: var(--white); }
.svc .num { font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--steel); }
.svc h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; margin: 18px 0 10px; letter-spacing: -.01em; }
.svc p { color: var(--graphite); line-height: 1.55; font-size: .94rem; flex: 1; }
.svc .price { margin-top: 16px; font-weight: 700; font-size: .9rem; }
.svc .price .from { color: var(--steel); font-weight: 600; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.svc .arrow { position: absolute; top: 30px; right: 28px; opacity: 0; transform: translateX(-6px); transition: .25s; }
.svc:hover .arrow { opacity: 1; transform: translateX(0); }
.svc.soon { background: var(--ink); color: var(--paper); }
.svc.soon h3, .svc.soon .num { color: var(--paper); }
.svc.soon p { color: var(--fog); }
.svc.soon .tag { display: inline-block; margin-top: 14px; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--line-d); padding: 6px 10px; color: var(--mist); }

/* ---------- PRICING ---------- */
.pricing { background: var(--ink); color: var(--paper); }
.pricing .sec-head h2 { color: var(--paper); }
.pricing .sec-head p { color: var(--fog); }
.plan-toggle { display: inline-flex; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 3px; padding: 4px; gap: 4px; }
.plan-toggle button { font-family: var(--font-body); font-weight: 600; font-size: .84rem; color: var(--fog); background: transparent; border: 0; padding: .7em 1.2em; border-radius: 2px; cursor: pointer; transition: .2s; white-space: nowrap; }
.plan-toggle button.active { background: var(--paper); color: var(--ink); }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); margin-top: 38px; }
.plan { background: var(--ink-2); padding: 32px 26px 30px; display: flex; flex-direction: column; transition: background .25s, transform .25s; position: relative; }
.plan:hover { background: #1d1e20; }
.plan.featured { background: var(--paper); color: var(--ink); }
.plan .freq { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--steel); }
.plan.featured .freq { color: var(--steel); }
.plan .name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; margin: 8px 0 16px; }
.plan .price { font-family: var(--font-head); font-weight: 800; font-size: 2.9rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan .price .per { font-size: .9rem; font-weight: 600; color: var(--fog); letter-spacing: 0; }
.plan.featured .price .per { color: var(--graphite); }
.plan .billed { font-size: .8rem; color: var(--fog); margin-top: 6px; }
.plan .save { display: block; margin-top: 4px; font-weight: 700; font-size: .76rem; color: var(--mist); }
.plan.featured .save { color: var(--graphite); }
.plan.featured .billed { color: var(--graphite); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan li { font-size: .88rem; line-height: 1.4; color: var(--mist); display: flex; gap: 10px; }
.plan.featured li { color: var(--graphite); }
.plan li svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.plan .badge { position: absolute; } /* placeholder */
.plan .ribbon { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 4; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink); background: var(--paper); padding: 5px 10px; white-space: nowrap; border-radius: 2px; }
.plan.featured .ribbon { background: var(--ink); color: var(--paper); }
.price-note { color: var(--steel); font-size: .8rem; margin-top: 22px; }

/* ghost buttons sitting on dark surfaces — keep them legible (light text/border) */
.plan .btn-ghost, .cta-band .btn-ghost {
  color: var(--paper); border-color: rgba(255,255,255,.36);
}
.plan .btn-ghost:hover, .cta-band .btn-ghost:hover {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}

/* ---------- SERVICE AREA ---------- */
.area { background: var(--paper-2); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,72px); align-items: center; }
.zip-card { background: var(--white); border: 1px solid var(--line-l); padding: clamp(26px,3vw,38px); border-radius: 4px; }
.zip-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em; }
.zip-card p { color: var(--graphite); line-height: 1.5; margin: 10px 0 22px; }
.zip-row { display: flex; gap: 10px; }
.zip-row input { flex: 1; border: 1.5px solid var(--line-l); background: var(--paper); padding: .9em 1.1em; border-radius: 2px; font: inherit; font-size: 1rem; }
.zip-row input:focus { outline: none; border-color: var(--ink); }
.zip-result { margin-top: 16px; font-weight: 600; font-size: .92rem; min-height: 22px; opacity: 0; transform: translateY(6px); transition: .35s; }
.zip-result.show { opacity: 1; transform: none; }
.zip-result.ok { color: var(--ok); } .zip-result.no { color: var(--alert); }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.towns span { font-size: .8rem; border: 1px solid var(--line-l); padding: 6px 11px; border-radius: 99px; color: var(--graphite); }
.map-frame { position: relative; aspect-ratio: 4/3.4; background: var(--ink); border-radius: 4px; overflow: hidden; display: grid; place-items: center; color: var(--paper); }
.map-frame .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 40px 40px; opacity: .5; }
.map-frame .ring { position: absolute; border: 1.5px dashed rgba(255,255,255,.35); border-radius: 50%; }
.map-frame .pin { position: relative; z-index: 2; text-align: center; }
.map-frame .pin .dot { width: 14px; height: 14px; background: var(--paper); border-radius: 50%; margin: 0 auto 10px; box-shadow: 0 0 0 6px rgba(244,241,234,.18); }
.map-frame .pin .lbl { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
@keyframes ripple { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }

/* ---------- SEPTIC 101 ---------- */
.edu { background: var(--paper); }
.edu-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px,5vw,64px); align-items: start; }
.facts { display: grid; gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); }
.fact { background: var(--paper); padding: 26px 28px; }
.fact h4 { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin: 0 0 8px; }
.fact p { color: var(--graphite); line-height: 1.55; font-size: .92rem; margin: 0; }
.fact .big { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; letter-spacing: -.02em; line-height: 1; }
.calc { background: var(--ink); color: var(--paper); border-radius: 4px; padding: clamp(26px,3vw,36px); position: sticky; top: 92px; }
.calc h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; }
.calc p.sub { color: var(--fog); font-size: .9rem; line-height: 1.5; margin: 8px 0 24px; }
.calc label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fog); font-weight: 700; display: block; margin-bottom: 12px; }
.calc .seg { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.calc .seg button { flex: 1; min-width: 56px; background: var(--ink-2); border: 1px solid var(--line-d); color: var(--mist); padding: .7em .4em; border-radius: 2px; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; transition: .18s; }
.calc .seg button.active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.calc .out { border-top: 1px solid var(--line-d); padding-top: 22px; display: flex; align-items: baseline; gap: 12px; }
.calc .out .yrs { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -.02em; transition: .3s; }
.calc .out .unit { color: var(--fog); font-size: .95rem; }

/* ---------- WHY ---------- */
.why { background: var(--ink); color: var(--paper); }
.why .sec-head h2 { color: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.why-cell { background: var(--ink); padding: 30px 22px; }
.why-cell .n { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--steel); }
.why-cell p { margin: 14px 0 0; line-height: 1.5; font-size: .92rem; color: var(--mist); }

/* ---------- ABOUT ---------- */
.about { background: var(--paper); }
.about-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px,5vw,72px); align-items: center; }
.about .portrait { aspect-ratio: 4/5; background: var(--ink); border-radius: 4px; position: relative; overflow: hidden; display: grid; place-items: center; color: var(--paper); }
.about .portrait .ph-tag { position: absolute; left: 18px; bottom: 16px; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fog); border: 1px solid var(--line-d); padding: 6px 10px; }
.about-body h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem,3.6vw,2.8rem); letter-spacing: -.015em; line-height: 1.02; }
.about-body p { color: var(--graphite); line-height: 1.65; font-size: 1.05rem; margin-top: 18px; max-width: 56ch; }
.sig { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; margin-top: 22px; }
.sig span { color: var(--steel); font-weight: 600; font-size: .85rem; display: block; }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--ink); color: var(--paper); text-align: center; }
.cta-band h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem,5vw,4rem); letter-spacing: -.02em; line-height: .98; }
.cta-band p { color: var(--fog); margin: 16px auto 30px; max-width: 46ch; line-height: 1.5; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- FOOTER ---------- */
.foot { background: var(--ink); color: var(--mist); border-top: 1px solid var(--line-d); padding: 56px 0 36px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot .ew-wm { color: var(--paper); }
.foot .decal { margin-top: 18px; font-size: .82rem; line-height: 1.7; color: var(--fog); }
.foot h5 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a { font-size: .9rem; text-decoration: none; opacity: .82; }
.foot a:hover { opacity: 1; }
.foot-bottom { border-top: 1px solid var(--line-d); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--steel); }

/* ---------- ENTRANCE ---------- */
/* Content is always visible (robust across print / no-JS / capture engines).
   Site movement comes from the marquee, hero waterfall, hovers, the pricing
   toggle, the ZIP ripple, and the calculator — not from hide-then-reveal. */
.reveal { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .marquee .track, .fall-line { animation: none !important; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) { .nav .phone { display: none; } }
@media (max-width: 980px) {
  .svc-grid, .plan-grid, .why-grid { grid-template-columns: repeat(2,1fr); }
  .hero-grid, .area-grid, .edu-grid, .about-wrap { grid-template-columns: 1fr; }
  .hero-right { min-height: 340px; order: 2; }
  .calc { position: static; }
}
@media (max-width: 640px) {
  .nav .links, .nav .phone { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.menu-open .links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line-l);
    padding: 6px 0; box-shadow: 0 14px 30px rgba(0,0,0,.13);
  }
  .nav.menu-open .links a { padding: 14px clamp(20px,5vw,56px); font-size: 1rem; opacity: 1; }
  .nav.menu-open .links a::after { display: none; }
  .nav { position: fixed; left: 0; right: 0; }
  body { padding-top: 76px; }
  html { scroll-padding-top: 84px; }
  .nav .wrap { gap: 16px; }
  .nav a[href="#top"] { flex: 0 1 auto; min-width: 0; }
  .nav .ew-lockup { transform: scale(.8); transform-origin: left center; }
  .nav .nav-right { gap: 10px; flex: 0 0 auto; }
  .nav .nav-right .btn { padding: .6em .8em; font-size: .82rem; }
  .svc-grid, .plan-grid, .why-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
