/* PrimePivot Digital — design system: ink, burnished copper, ivory */
[hidden] { display: none !important; }
:root {
  --ink: #1A1714;
  --ink-2: #3D3832;
  --muted: #625A51;
  --copper: #B8692F;        /* decorative and large text */
  --copper-deep: #8F4A1B;   /* links and buttons: 6.6:1 on ivory */
  --copper-light: #D9965F;  /* accents on ink */
  --ivory: #F8F4EC;
  --sand: #EFE6D6;
  --white: #FFFFFF;
  --line: rgba(26, 23, 20, 0.14);
  --shadow: 0 1px 2px rgba(26,23,20,.06), 0 12px 32px rgba(26,23,20,.08);
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;
  --text-xs: .875rem; --text-sm: 1rem; --text-base: 1.0625rem; --text-lg: 1.3rem;
  --text-xl: clamp(2rem, 1.4rem + 2vw, 3rem);
  --text-hero: clamp(2.8rem, 1.6rem + 4.4vw, 5.2rem);
  --wrap: 1200px; --pad: clamp(1.25rem, 4vw, 2.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.65; color: var(--ink); background: var(--ivory); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--copper-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--text-hero); }
h1 em { font-style: italic; color: var(--copper-deep); font-weight: 500; }
h2 { font-size: var(--text-xl); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; max-width: 66ch; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: var(--text-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--copper-deep); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.lead { font-size: 1.22rem; color: var(--ink-2); }
.fine { font-size: var(--text-xs); color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,244,236,.94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 80px; }
.brand img { width: 220px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; border-radius: var(--r-sm); }
.site-nav a:hover { background: var(--sand); }
.site-nav a[aria-current="page"] { color: var(--copper-deep); box-shadow: inset 0 -2px 0 var(--copper); }
.nav-toggle { display: none; margin-left: auto; min-height: 44px; border: 1px solid var(--line); background: transparent; border-radius: var(--r-sm); font: 600 var(--text-sm) var(--font-body); padding: 0 1rem; color: var(--ink); cursor: pointer; }
.nav-cta-mobile { display: none; }
@media (max-width: 1160px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .5rem var(--pad) 1.25rem; }
  .site-header .header-cta { display: none; }
  .site-nav .nav-cta-mobile { display: block; margin-top: .5rem; }
  .site-nav .nav-cta-mobile a { color: #fff; justify-content: center; }
}
@media (max-width: 420px) { .brand img { width: 178px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .75rem 1.5rem; border-radius: 999px; font: 600 var(--text-sm) var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-primary:hover { background: var(--copper-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: var(--copper-light); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.text-link:hover { gap: .65rem; }

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: #EDE6DA; }
.bg-ink h2, .bg-ink h3 { color: #FFF8EE; }
.bg-ink .eyebrow { color: var(--copper-light); }
.bg-ink a:not(.btn) { color: var(--copper-light); }
.bg-ink p { color: #D8CFC2; }
.section-head { max-width: 760px; margin-bottom: 2.75rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.align-start { align-items: start; }
.rounded { border-radius: var(--r-lg); width: 100%; object-fit: cover; }

/* Hero */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5.5rem); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero-facts { list-style: none; margin: 2.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, auto); gap: 1rem 2.5rem; justify-content: start; }
.hero-facts strong { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--copper-deep); font-weight: 600; }
.hero-facts span { font-size: var(--text-xs); color: var(--muted); }
.frame { position: relative; }
.frame::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1.5px solid var(--copper); border-radius: 220px 220px var(--r-lg) var(--r-lg); z-index: 0; }
.hero-img { position: relative; z-index: 1; width: 100%; max-height: 640px; object-fit: cover; border-radius: 220px 220px var(--r-lg) var(--r-lg); }

/* Pillars */
.band { background: var(--ink); color: #EDE6DA; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pillars li { padding: 1.5rem 1.25rem; border-left: 1.5px solid var(--copper); }
.pillars svg { color: var(--copper-light); margin-bottom: .9rem; }
.pillars h3 { font-size: 1.5rem; margin-bottom: .3rem; color: #FFF8EE; }
.pillars p { font-size: var(--text-xs); margin: 0; color: #D8CFC2; }
.section .pillars li { border-left-color: var(--copper); }
.section:not(.bg-ink) .pillars svg { color: var(--copper-deep); }
.section:not(.bg-ink) .pillars h3 { color: var(--ink); }
.section:not(.bg-ink) .pillars p { color: var(--muted); }

/* Ticks */
.ticks { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; }
.ticks svg { flex: none; color: var(--copper-deep); margin-top: .25rem; }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.process button { width: 100%; text-align: left; min-height: 132px; padding: 1.2rem; border-radius: var(--r-md); border: 1px solid rgba(255,248,238,.18); background: transparent; color: #FFF8EE; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: .5rem; transition: background .2s, border-color .2s; }
.process button:hover { border-color: var(--copper-light); }
.process .n { font-family: var(--font-display); font-size: 1.1rem; color: var(--copper-light); }
.process .t { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.process li.is-active button { background: var(--copper-deep); border-color: var(--copper-deep); }
.process li.is-active .n { color: #FFE2C8; }
.process-panel { margin-top: 1rem; padding: 1.4rem 1.6rem; border-radius: var(--r-md); background: rgba(255,248,238,.06); border: 1px solid rgba(255,248,238,.14); }
.process-panel p { margin: 0; color: #EDE6DA; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.5rem 1.6rem; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.85rem; margin-bottom: .15rem; }
.plan-who { font-size: var(--text-xs); color: var(--muted); min-height: 2.8em; }
.plan-price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; padding-block: .9rem; border-block: 1px solid var(--line); margin-bottom: 1.1rem; }
.plan-price small { display: block; font-family: var(--font-body); font-size: var(--text-xs); color: var(--muted); font-weight: 400; margin-top: .3rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; font-size: .97rem; }
.plan li { display: flex; gap: .6rem; }
.plan li svg { flex: none; color: var(--copper-deep); margin-top: .2rem; }
.plan .btn { margin-top: auto; }
.plan.is-featured { background: var(--ink); color: #EDE6DA; border-color: var(--ink); }
.plan.is-featured h3 { color: #FFF8EE; }
.plan.is-featured .plan-who, .plan.is-featured .plan-price small { color: #C9BFB1; }
.plan.is-featured .plan-price { border-color: rgba(255,248,238,.18); color: #FFF8EE; }
.plan.is-featured li svg { color: var(--copper-light); }
.plan.is-featured .btn-primary { background: var(--copper-light); color: var(--ink); }
.plan.is-featured .btn-primary:hover { background: var(--ivory); }
.plan-flag { position: absolute; top: -13px; left: 1.5rem; background: var(--copper-light); color: var(--ink); font-size: .78rem; font-weight: 600; letter-spacing: .06em; padding: .25rem .75rem; border-radius: 999px; }
.plan.is-match { outline: 3px solid var(--copper); outline-offset: 4px; }
.plans + .fine { margin-top: 1.5rem; }

/* Finder */
.finder { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.finder fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.finder legend { font-weight: 600; margin-bottom: .6rem; font-size: 1.05rem; }
.opt { display: flex; align-items: center; gap: .75rem; min-height: 52px; padding: .7rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.opt:hover { border-color: var(--copper); }
.opt input { width: 20px; height: 20px; accent-color: var(--copper-deep); flex: none; }
.opt:has(input:checked) { border-color: var(--copper-deep); box-shadow: inset 0 0 0 1px var(--copper-deep); }
.finder .btn { justify-self: start; }
.finder-result:not(:empty) { background: var(--ink); color: #EDE6DA; border-radius: var(--r-lg); padding: 1.6rem 1.75rem; }
.finder-result h3 { color: #FFF8EE; font-size: 1.9rem; }
.finder-result p { color: #D8CFC2; }
.finder-result a { color: var(--copper-light); font-weight: 600; }
.finder-error { color: #9B2C1F; font-weight: 600; }

/* Compare table */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.compare thead th:last-child { color: var(--copper-deep); }
.compare tbody th { font-weight: 600; }
.compare td:last-child { background: rgba(184,105,47,.07); font-weight: 500; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Guarantee */
.guarantee { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.guarantee li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; border-top: 3px solid var(--copper); }
.guarantee h3 { font-size: 1.45rem; margin-bottom: .25rem; }
.guarantee p { margin: 0; font-size: .97rem; color: var(--ink-2); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 600; font-size: 1.1rem; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; font-size: 1.6rem; font-weight: 400; color: var(--copper-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.2rem; margin: 0; color: var(--ink-2); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem 1.6rem; }
.service-n { font-family: var(--font-display); font-size: 1.1rem; color: var(--copper-deep); display: block; margin-bottom: 1.5rem; }
.service h2 { font-size: 1.85rem; }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .97rem; }
.service li { display: flex; gap: .6rem; }
.service li svg { flex: none; color: var(--copper-deep); margin-top: .2rem; }

/* Work */
.work-mini { display: grid; gap: .75rem; margin: 1.5rem 0; }
.work-mini a { display: flex; flex-direction: column; padding: 1rem 1.25rem; background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.work-mini a:hover { border-color: var(--copper); transform: translateX(4px); }
.work-mini strong { font-family: var(--font-display); font-size: 1.35rem; }
.work-mini span { font-size: var(--text-xs); color: var(--muted); }
.work { display: grid; gap: 1.5rem; }
.work-card { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.work-swatch { aspect-ratio: 4/3; border-radius: var(--r-md); display: grid; place-items: center; font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: #fff; }
.work-swatch.cc { background: linear-gradient(135deg, #0A5E67, #72BEC3); }
.work-swatch.tc { background: linear-gradient(135deg, #0C131D 30%, #34BBDD 75%, #5F79E8); }
.work-swatch.pp { background: var(--sand); }
.work-card h2 { font-size: 2rem; }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; padding: .25rem .7rem; border-radius: 999px; background: var(--sand); color: var(--copper-deep); margin-bottom: .75rem; }

/* About */
.values { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.values li { padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--copper); font-weight: 500; font-size: .95rem; }
.founder { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; }
.founder img { border-radius: 16px; margin-bottom: 1.25rem; }

/* CTA */
.cta-block { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.cta-block .btn-row { justify-content: flex-end; margin: 0; }

/* Forms */
.form-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 600; font-size: var(--text-xs); margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .9rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory); border: 1px solid rgba(26,23,20,.28); border-radius: var(--r-sm); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(143,74,27,.3); border-color: var(--copper-deep); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--text-xs); }
.check input { width: 22px; height: 22px; accent-color: var(--copper-deep); flex: none; margin-top: .1rem; }
.form .btn { justify-self: start; }
.form-status { min-height: 1.5em; font-weight: 600; margin: 0; }
.form-status[data-state="ok"] { color: #2F5D3A; }
.form-status[data-state="error"] { color: #9B2C1F; }
.contact-list { display: grid; grid-template-columns: 110px 1fr; gap: .9rem 1rem; margin: 0 0 2rem; }
.contact-list dt { font-weight: 600; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: .2rem; }
.contact-list dd { margin: 0; }
.callout { background: var(--sand); border-radius: var(--r-lg); padding: 1.6rem; }
.callout h3 { font-size: 1.6rem; }

/* Page hero / prose */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem); max-width: 18ch; }
.prose h2 { font-size: 1.9rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }

/* Footer */
.site-footer { background: var(--ink); color: #D8CFC2; padding-block: 4rem 2rem; font-size: var(--text-sm); }
.site-footer a { color: #F3EADC; text-decoration: none; }
.site-footer a:hover { color: var(--copper-light); text-decoration: underline; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,248,238,.12); margin-bottom: 2.5rem; }
.footer-logo { width: 220px; height: auto; }
.footer-tag { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.25; color: #FFF8EE; margin: 0; text-align: right; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.site-footer h2 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--copper-light); margin-bottom: .9rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.site-footer ul a { display: inline-flex; min-height: 36px; align-items: center; }
.footer-note { border-top: 1px solid rgba(255,248,238,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: var(--text-xs); }
.footer-note p { margin: 0; max-width: none; }

/* Reveal */
.reveal-ready { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal-ready.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .plans { grid-template-columns: 1fr 1fr; row-gap: 1.75rem; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .process button { min-height: 0; flex-direction: row; align-items: baseline; gap: 1rem; }
}
@media (max-width: 900px) {
  .hero-grid, .grid-2, .cta-block { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .cta-block .btn-row { justify-content: flex-start; }
  .work-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-tag { text-align: left; }
}
@media (max-width: 620px) {
  .plans, .pillars, .services, .guarantee, .form .row, .footer-grid { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .frame::before { inset: 14px -10px -14px 10px; }
  .contact-list { grid-template-columns: 1fr; gap: .2rem; }
  .contact-list dd { margin-bottom: .8rem; }
}

.work-swatch.shot { aspect-ratio: 800/538; align-self: start; overflow: hidden; border: 1px solid var(--line, #e4dccd); background: #fff; }
.work-swatch.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
