/* Point Spec LLC — pitch site
   Design plan (taste gates): seed 2355 · Geist · Cinematic Center (variance 3)
   Motion: fade-only reveals (motion 3) · Density: airy-leaning balanced (4)
   Palette: white ground #FFFFFF, warm paper #F6F5F1, ink #141719,
   emerald accent #0E5C43 (7.9:1 on white). */

@font-face { font-family:'Geist'; src:url('/assets/font/geist-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Geist'; src:url('/assets/font/geist-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Geist'; src:url('/assets/font/geist-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Geist'; src:url('/assets/font/geist-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }

:root {
  --bg: #FFFFFF;
  --paper: #F6F5F1;
  --ink: #141719;
  --muted: #565E63;
  --line: #E4E2DB;
  --accent: #0E5C43;
  --accent-deep: #0A4232;
  --accent-wash: rgba(14, 92, 67, 0.07);
  --measure: 42rem;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 5.5rem; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Geist', -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: 7.5rem; /* room for the persistent action bar */
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 6.5vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.measure { max-width: var(--measure); }
.muted { color: var(--muted); }
.quiet { font-size: 0.95rem; color: var(--muted); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); }
.brand img { width: 2.1rem; height: 2.1rem; display: block; }
.brand b { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; display: block; }
.brand small { display: block; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.1rem; }
.nav-links { display: flex; align-items: center; gap: clamp(0.9rem, 2.5vw, 1.6rem); font-size: 0.92rem; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav-tel {
  font-weight: 600; text-decoration: none; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px; padding: 0.42rem 0.95rem;
  white-space: nowrap;
}
.nav-tel:hover { background: var(--accent); color: #fff; }
@media (max-width: 640px) {
  .nav-links a.nav-page { display: none; }
  .brand small { display: none; }
}

/* ---------- hero (Cinematic Center) ---------- */
.hero { position: relative; text-align: center; padding-block: clamp(4rem, 11vw, 7.5rem) clamp(3.5rem, 9vw, 6rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52rem 30rem at 50% -12%, var(--accent-wash), transparent 68%);
}
.hero .wrap { position: relative; }
.kicker {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.4rem;
}
.hero h1 { max-width: 21ch; margin-inline: auto; }
.hero .sub { max-width: 38rem; margin: 1.4rem auto 0; font-size: 1.14rem; color: var(--muted); }
.hero .sub b { color: var(--ink); font-weight: 600; }

.phone-block { margin-top: 2.4rem; }
.phone-block .label { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.phone-link {
  display: inline-block; margin-top: 0.35rem;
  font-size: clamp(2.15rem, 8.5vw, 3.35rem); font-weight: 700; letter-spacing: -0.02em;
  color: var(--accent); text-decoration: none; line-height: 1.15;
}
.phone-link:hover { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.hero .alt { margin-top: 1.3rem; font-size: 1rem; }
.hero .alt a { font-weight: 600; }

/* ---------- proof strip ---------- */
.proof { border-block: 1px solid var(--line); background: linear-gradient(180deg, #FFFFFF, #FBFAF7); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 1.5rem 1.2rem; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: none; padding-left: 0; }
.proof-item .v { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.01em; }
.proof-item .k { font-size: 0.85rem; color: var(--muted); margin-top: 0.2rem; }
.proof-item a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--accent-wash); }
.proof-item a:hover { border-color: var(--accent); }
@media (max-width: 820px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { padding: 1.15rem 0.9rem; }
  .proof-item:nth-child(odd) { border-left: none; padding-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(4.25rem, 9vw, 7.25rem); }
.section--flush { padding-top: 0; }
.section--center { text-align: center; }
.section--center .section-head p { margin-inline: auto; }
.section--paper { background: var(--paper); position: relative; }
.section--paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46rem 26rem at 85% 0%, rgba(14, 92, 67, 0.05), transparent 70%);
}
.section--paper .wrap { position: relative; }
.section-head { margin-bottom: 2.4rem; }
.section-head p { margin-top: 0.9rem; color: var(--muted); max-width: var(--measure); }
.section-link { margin-top: 1.8rem; font-weight: 600; }

/* services tight list */
.sys-list { border-top: 1px solid var(--line); }
.sys-row {
  display: grid; grid-template-columns: 15rem 1fr; gap: 0.4rem 2rem; align-items: baseline;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
}
.sys-row h3 { font-size: 1.08rem; }
.sys-row p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 700px) {
  .sys-row { grid-template-columns: 1fr; gap: 0.15rem; }
}
.prop-line { margin-top: 1.6rem; font-size: 1rem; color: var(--muted); }
.prop-line b { color: var(--ink); font-weight: 600; }

/* steps */
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.step .n { font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; padding-top: 0.15rem; }
.step h3 { margin-bottom: 0.3rem; }
.step p { margin: 0; color: var(--muted); font-size: 1.02rem; max-width: 38rem; }

/* area */
.area-facts { display: flex; flex-wrap: wrap; gap: 0.6rem 2.2rem; margin-top: 1.8rem; }
.area-facts span { font-size: 1rem; color: var(--muted); }
.area-facts b { color: var(--ink); font-weight: 600; }

/* inspector */
.inspector-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.inspector-grid .inspector-name { font-size: 1.55rem; margin-bottom: 0.6rem; }
.inspector-grid .facts { border-left: 2px solid var(--accent); padding-left: 1.4rem; }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.65rem 1.2rem; }
.facts dt { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 0.18rem; }
.facts dd { margin: 0; font-weight: 500; }
blockquote {
  margin: 1.6rem 0 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--line);
  font-size: 1.08rem; color: var(--muted); font-style: normal;
}
blockquote cite { display: block; margin-top: 0.5rem; font-size: 0.88rem; font-style: normal; color: var(--muted); }
@media (max-width: 820px) { .inspector-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* reviews */
.reviews-num { font-size: clamp(3.4rem, 9vw, 5.5rem); font-weight: 700; letter-spacing: -0.02em; color: var(--accent); line-height: 1; }
.reviews-lede { max-width: 36rem; margin: 1.2rem auto 0; color: var(--muted); }
.p404 p { color: var(--muted); margin-top: 1rem; }
.cta-inline { margin-top: 2rem; font-size: 1.1rem; font-weight: 600; }

/* final CTA band */
.cta-band { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50rem 26rem at 78% 118%, rgba(255, 255, 255, 0.12), transparent 62%);
}
.cta-band .wrap { position: relative; text-align: center; padding-block: clamp(3.75rem, 8vw, 6rem); }
.cta-band h2 { color: #fff; }
.cta-band .phone-link { color: #fff; margin-top: 0.8rem; }
.cta-band .phone-link:hover { color: #fff; text-decoration-color: #fff; }
.cta-band .label { color: rgba(255, 255, 255, 0.75); }
.cta-band .alt { margin-top: 1.5rem; font-size: 1rem; color: rgba(255, 255, 255, 0.82); }
.cta-band .alt a { color: #fff; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 2.6rem; font-size: 0.92rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--accent); }
.foot-legal { margin-top: 1.6rem; font-size: 0.82rem; color: var(--muted); }
.foot-legal a { color: var(--muted); }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- persistent action bar ---------- */
.action-bar {
  position: fixed; inset: auto 0 0 0; z-index: 50;
  background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr;
}
.action-bar a {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 3rem; padding: 0.55rem 0.5rem; text-decoration: none; color: #fff;
  font-weight: 600; font-size: 0.98rem; line-height: 1.2;
}
.action-bar a small { font-weight: 400; font-size: 0.72rem; color: rgba(255, 255, 255, 0.62); margin-top: 0.12rem; }
.action-bar .ab-text { grid-column: 1 / -1; background: var(--accent); min-height: 3.1rem; font-size: 1.05rem; }
.action-bar .ab-text:hover { background: var(--accent-deep); color: #fff; }
.action-bar .ab-call, .action-bar .ab-mail { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.action-bar .ab-call { border-right: 1px solid rgba(255, 255, 255, 0.14); }
.action-bar .ab-call:hover, .action-bar .ab-mail:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ---------- reveal (motion 3: fade only) ---------- */
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; transition: opacity 0.24s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.in { opacity: 1; transition: none; }
  html { scroll-behavior: auto; }
}

/* 404 */
.p404 { text-align: center; padding-block: clamp(5rem, 14vw, 9rem); }
.p404 .code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 700; color: var(--accent-wash); -webkit-text-stroke: 2px var(--accent); color: transparent; }
.p404-links { margin-top: 2rem; display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; font-weight: 600; }

.foot-brand { margin-bottom: 0.8rem; }
.gap-top { margin-top: 1.6rem; }
