:root {
  /* Color Palette v0.1 */
  --juniper: #2c4a3e;
  --slate: #4a5568;
  --cloud: #edf2f7;
  --sienna: #9b4a34;
  --white: #ffffff;

  --ink: var(--juniper);
  --ink-soft: var(--slate);
  --paper: var(--cloud);
  --paper-2: color-mix(in srgb, var(--juniper) 8%, var(--cloud));
  --line: color-mix(in srgb, var(--slate) 22%, var(--cloud));
  --accent: var(--sienna);
  --accent-dark: color-mix(in srgb, var(--sienna) 82%, black);
  --on-accent: var(--white);
  --radius: 14px;

  /* Centered content column */
  --content-max: 64rem;
  --gutter: clamp(1.25rem, 6vw, 3.5rem);
  --page-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--juniper);
}

h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  margin: 0 0 0.8rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

.eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--page-inline);
  background: color-mix(in srgb, var(--paper) 90%, white);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--juniper);
}

.logo-mark {
  width: 2.85rem;
  height: 2.85rem;
  flex-shrink: 0;
  display: block;
}

.logo-name {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.05;
}

.logo-line {
  font-family: Outfit, system-ui, sans-serif;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-line-sub {
  font-weight: 500;
  font-size: clamp(0.82rem, 1.9vw, 0.95rem);
  letter-spacing: 0.12em;
  color: var(--slate);
}

.logo-tagline {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--accent);
  border-left: 1px solid var(--line);
  padding-left: 0.85rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--slate);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--juniper);
}

.site-nav a.nav-cta {
  background: var(--juniper);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}

.site-nav a.nav-cta:hover {
  background: color-mix(in srgb, var(--juniper) 88%, black);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font: inherit;
  color: var(--juniper);
}

.hero,
.section,
.strip {
  scroll-margin-top: 4.5rem;
}

/* Page-top sentinel (before sticky header). Keep empty — never size-clamp a content wrapper. */
#page-top {
  height: 0;
  width: 0;
  overflow: hidden;
  scroll-margin-top: 0;
}

.hero {
  --hero-gap: 1.6rem;
  padding: 5.5rem var(--page-inline) var(--hero-gap);
}

.hero h1 {
  margin: 0 0 var(--hero-gap);
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 0 var(--hero-gap);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0 0 var(--hero-gap);
}

.hero-note {
  color: var(--ink-soft);
  font-size: 1.15rem;
  line-height: 1.55;
  margin: 0;
  max-width: 42rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn.primary:hover {
  background: var(--accent-dark);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--juniper);
  color: var(--juniper);
}

.btn.ghost:hover {
  background: color-mix(in srgb, var(--juniper) 8%, transparent);
}

.strip {
  margin: 0 var(--page-inline) 1.25rem;
  padding: 1.4rem 1.6rem;
  background: var(--juniper);
  color: var(--white);
  border-radius: var(--radius);
}

.strip li {
  font-size: 1rem;
}

.strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
}

.section {
  padding: 4.5rem var(--page-inline);
}

.strip + .section {
  padding-top: 2.75rem;
}

.section.muted {
  background: var(--paper-2);
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-intro h2 {
  margin-bottom: 1.05rem;
}

.section-intro > p:not(.eyebrow) {
  font-size: 1.1rem;
  line-height: 1.55;
}

.section-intro p:last-child {
  color: var(--ink-soft);
}

.cards.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card-kicker {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 2rem;
  counter-reset: svc;
}

.services li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
  border: 1px solid var(--line);
}

.services li p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.services li h3::before {
  counter-increment: svc;
  content: "0" counter(svc) "  ";
  color: var(--accent);
  font-family: Outfit, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}

.who-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.who-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  font-weight: 500;
  color: var(--juniper);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.steps li {
  padding-right: 0.5rem;
}

.card p {
  font-size: 1rem;
}

.steps li p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.steps h3 {
  margin-bottom: 0.65rem;
}

.steps span {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--juniper);
  color: var(--white);
}

.contact h2 {
  color: var(--white);
}

.contact .eyebrow {
  color: color-mix(in srgb, var(--sienna) 55%, white);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.85rem;
}

.contact-copy {
  max-width: 28rem;
  justify-self: start;
}

.contact-copy > p:not(.eyebrow) {
  color: color-mix(in srgb, var(--white) 82%, var(--cloud));
  font-size: 1.12rem;
  line-height: 1.55;
}

/* Contact mark variants (desktop; hidden ≤860px):
   LIVE — larger + slight left: 17.5rem, translateX(-0.65rem)
   POCKET — centered under 28rem copy, ~15rem, no nudge:
     width: min(15rem, 85%); margin: 2.5rem auto 0; (no transform)
*/
.contact-mark {
  display: block;
  width: min(17.5rem, 92%);
  height: auto;
  margin: 2.5rem auto 0;
  transform: translateX(-0.65rem);
  opacity: 0.92;
}

/* Mobile-only corner accent; hidden on desktop */
.contact-mark-corner {
  display: none;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 0.85rem;
}

.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 1.05rem;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--white) 22%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, black 22%, var(--juniper));
  color: var(--white);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--sienna);
  border-color: transparent;
}

.contact-form .field-hint {
  list-style: disc;
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.35;
  color: color-mix(in srgb, var(--white) 62%, transparent);
}

.contact-form .field-hint li + li {
  margin-top: 0.15rem;
}

.form-status {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.faq-list {
  max-width: 40rem;
  display: grid;
  gap: 2.75rem;
}

.page-faq .section-intro,
.page-faq .faq-list {
  margin-inline: auto;
}

.page-faq h1 {
  font-size: clamp(2.6rem, 8vw, 3.6rem);
}

.faq-item h2 {
  font-size: 1.4rem;
  margin: 0 0 0.7rem;
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.55;
}

.faq-item p + p:not(.faq-actions) {
  margin-top: 0.7rem;
}

.faq-item a {
  color: var(--juniper);
  text-decoration: none;
}

.faq-item a:hover {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--sienna) 55%, transparent);
}

.faq-item .faq-actions {
  margin: 2.25rem 0 0;
}

.faq-actions .btn {
  margin: 0;
}

.faq-actions a.btn:hover {
  text-decoration: none;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer {
  padding: 1.5rem var(--page-inline) 2.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 1rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0;
}

.footer-meta a:hover {
  color: var(--juniper);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--sienna) 55%, transparent);
}

.footer-sep {
  margin: 0 0.65rem;
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1;
  opacity: 0.45;
}

.footer-nav a {
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--juniper);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--sienna) 55%, transparent);
}

.footer-nav a:hover {
  text-decoration-color: var(--sienna);
}

@media (max-width: 860px) {
  .logo-tagline {
    display: none;
  }

  .contact-mark {
    display: none;
  }

  .contact-mark-corner {
    display: block;
    position: absolute;
    top: 2.15rem;
    right: var(--page-inline);
    width: 3.35rem;
    height: 3.35rem;
    opacity: 0.92;
    pointer-events: none;
  }

  .contact-copy {
    max-width: none;
    padding-right: 4rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: var(--page-inline);
    left: var(--page-inline);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .cards.two,
  .services,
  .who-grid,
  .steps,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
    padding-bottom: var(--hero-gap);
  }

  .hero h1 {
    font-size: clamp(2.5rem, 7.5vw, 3.6rem);
  }

  .lede {
    font-size: 1.1rem;
  }

  .hero-note {
    font-size: 1.05rem;
  }

  .section-intro > p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  .contact-copy > p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  .faq-list {
    gap: 2.25rem;
  }

  .faq-item h2 {
    font-size: 1.25rem;
  }

  .faq-item p {
    font-size: 1.05rem;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .strip {
    margin-bottom: 1rem;
  }

  .strip ul {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.65rem;
  }

  .strip + .section {
    padding-top: 2.5rem;
  }

  .contact {
    gap: 1.35rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.85rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.4rem;
    text-align: left;
  }

  .footer-sep {
    display: none;
  }

  .footer-nav {
    width: 100%;
    text-align: left;
  }
}
