/* ==========================================================================
   AA8 Corporation — Back Office
   Palette, type and table patterns follow the AA8 brand spec:
   ink #292929 · body #44362F · accent #FF4500 · accent-alt #00B2FF
   surface #F4F6FC. Lime #C4F624 is a reserved swatch and stays unused.
   ========================================================================== */

:root {
  --ink:        #292929;
  --body:       #44362F;
  --accent:     #FF4500;
  --accent-alt: #00B2FF;
  --surface:    #F4F6FC;
  --white:      #ffffff;
  --border:     #292929;

  --muted:      #6d6259;
  --hairline:   #d8d2cc;

  /* PP Monument Extended is the brand display face. Archivo at its widest
     optical width is the closest freely available stand-in when it is absent. */
  --display: "PP Monument Extended", "Archivo", "Arial Black", "Helvetica Neue", sans-serif;
  --serif:   "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:    "Darker Grotesque", Calibri, "Segoe UI", system-ui, sans-serif;

  --shell:  1200px;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-alt); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent-alt);
  outline-offset: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--white);
  padding: 10px 18px; font-family: var(--display); font-weight: 800;
  font-size: 14px; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* --------------------------------------------------------------- layout -- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.shell-narrow { max-width: 860px; }

.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-surface { background: var(--surface); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-intro { margin: 0; font-size: 1.05rem; color: var(--body); }

/* ------------------------------------------------------------ typography -- */

h1, h2, h3, .display {
  font-family: var(--display);
  font-variation-settings: "wdth" 125;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-bottom: .5em;
}
h3 { font-size: 1.2rem; line-height: 1.15; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--display);
  font-variation-settings: "wdth" 112;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .9em;
}

.fineprint { margin-top: 22px; font-size: .95rem; color: var(--muted); max-width: 780px; }

/* Square orange bullet markers — the brand explicitly rejects round dots. */
ul.sq { list-style: none; margin: 0; padding: 0; }
ul.sq li {
  position: relative;
  padding-left: 22px;
  margin-bottom: .45em;
}
ul.sq li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 9px; height: 9px;
  background: var(--accent);
}

/* --------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--display);
  font-variation-settings: "wdth" 110;
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; font-size: .76rem; }
.btn-block { width: 100%; }

.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: #e03d00; border-color: #e03d00; color: var(--white); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--hairline);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.btn-ghost.is-added { background: var(--accent-alt); border-color: var(--accent-alt); color: var(--ink); }

.link-cta {
  font-family: var(--display);
  font-variation-settings: "wdth" 110;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.link-cta:hover { color: var(--accent); }

/* ---------------------------------------------------------------- header -- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

/* The logo is a transparent PNG whose "Corporation" script is near-white, so it
   belongs on the ink header and footer, never on a light surface. */
.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-right: auto;
  padding: 8px 0;
}
.wordmark-logo {
  height: 48px;
  width: auto;
  display: block;
}
.wordmark-rule {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, .3);
  flex: none;
}
.wordmark-sub {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .86rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b0afaa;
  line-height: 1.1;
}

@media (max-width: 420px) {
  .wordmark-logo { height: 40px; }
  .wordmark-sub { font-size: .74rem; letter-spacing: .12em; }
  .wordmark { gap: 10px; }
}

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul {
  display: flex; align-items: center; gap: 26px;
  list-style: none; margin: 0; padding: 0;
}
.primary-nav a {
  color: #e8e5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { color: var(--white); border-bottom-color: var(--accent); }
.primary-nav a.is-current { color: var(--white); border-bottom-color: var(--accent); }
.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center; gap: 10px;
  background: transparent; border: 2px solid rgba(255,255,255,.4);
  color: var(--white); cursor: pointer;
  padding: 9px 14px; border-radius: var(--radius);
  font-family: var(--display); font-weight: 700;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
}
.nav-toggle-bars { display: grid; gap: 4px; }
.nav-toggle-bars i { display: block; width: 18px; height: 2px; background: var(--white); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink);
    border-bottom: 3px solid var(--accent);
    padding: 8px clamp(20px, 5vw, 48px) 22px;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .primary-nav a { display: block; padding: 14px 0; border-bottom: none; }
  .nav-cta { margin-top: 18px; text-align: center; }
  .header-inner { position: relative; }
}

/* ------------------------------------------------------------------ hero -- */

.hero {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  padding-block: clamp(56px, 9vw, 104px);
}
.hero-glyph {
  font-family: var(--display);
  font-variation-settings: "wdth" 125;
  font-weight: 900;
  color: var(--accent);
  font-size: clamp(8rem, 22vw, 17rem);
  line-height: .78;
  margin: 0;
  letter-spacing: -.04em;
  user-select: none;
}
.hero-copy { text-align: right; }
.hero-copy .eyebrow { color: var(--accent); }
.hero h1 {
  color: var(--white);
  font-size: clamp(3.1rem, 8.4vw, 6rem);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: .22em;
}
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--surface);
  margin-bottom: .8em;
}
.hero-body {
  color: #cfc9c3;
  max-width: 52ch;
  margin-left: auto;
  margin-bottom: 1.9em;
  font-size: 1.06rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end;
}

@media (max-width: 780px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-glyph { font-size: clamp(6rem, 30vw, 10rem); }
  .hero-copy { text-align: left; }
  .hero-body { margin-left: 0; }
  .hero-actions { justify-content: flex-start; }
}

/* ----------------------------------------------------------------- promo -- */

.promo { background: var(--accent); color: var(--ink); }
.promo-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 18px 32px;
  padding-block: 20px;
}
.promo-kicker {
  font-family: var(--display); font-variation-settings: "wdth" 112;
  font-weight: 700; font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; margin: 0 0 .35em; color: var(--ink);
}
.promo-title {
  font-family: var(--display); font-variation-settings: "wdth" 118;
  font-weight: 800; font-size: clamp(1.05rem, 2.3vw, 1.5rem);
  color: var(--ink); margin: 0; line-height: 1.1;
}
.promo-clock { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.promo-unit {
  background: var(--ink); color: var(--white);
  min-width: 62px; padding: 8px 10px; text-align: center;
}
.promo-unit b {
  display: block;
  font-family: var(--display); font-variation-settings: "wdth" 125;
  font-weight: 900; font-size: 1.35rem; line-height: 1;
}
.promo-unit span {
  display: block; font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; margin-top: 4px; color: #cfc9c3;
}
.promo-clock-note { font-weight: 600; }
.promo.is-expired { background: var(--ink); color: var(--white); }
.promo.is-expired .promo-kicker,
.promo.is-expired .promo-title { color: var(--white); }

/* -------------------------------------------------------------- services -- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.filter {
  font-family: var(--display); font-variation-settings: "wdth" 108;
  font-weight: 700; font-size: .78rem; letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--white); color: var(--ink);
  border: 2px solid var(--hairline);
  padding: 11px 18px; border-radius: var(--radius); cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.filter-status { font-size: .92rem; color: var(--muted); margin-bottom: 30px; }
.no-results { font-size: 1.05rem; color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.service {
  display: flex; flex-direction: column;
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--ink);
  background: var(--white);
  padding: 26px 24px 24px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.service:hover {
  border-top-color: var(--accent);
  box-shadow: 0 14px 30px -18px rgba(41,41,41,.5);
  transform: translateY(-2px);
}
.service[hidden] { display: none; }

.service-cat {
  font-family: var(--display); font-variation-settings: "wdth" 108;
  font-weight: 700; font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 .8em;
}
.service-name { margin-bottom: .5rem; font-size: 1.15rem; }

.service-price {
  font-family: var(--display); font-variation-settings: "wdth" 115;
  font-weight: 800; font-size: 1.05rem; color: var(--muted);
  margin: 0 0 .9em; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
}
.service-price.is-priced { color: var(--ink); }
.service-price .per { font-size: .8rem; font-weight: 700; color: var(--muted); }
.price-tag {
  font-family: var(--sans); font-weight: 700; font-size: .74rem;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--accent-alt); color: var(--ink);
  padding: 3px 9px;
}
.service-desc { font-size: 1rem; margin-bottom: 1em; }

.service-more { margin-bottom: 18px; }
.service-more > summary,
.faq-item > summary {
  cursor: pointer;
  font-family: var(--display); font-variation-settings: "wdth" 108;
  font-weight: 700; font-size: .78rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink);
  list-style: none;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
}
.service-more > summary::-webkit-details-marker,
.faq-item > summary::-webkit-details-marker { display: none; }
.service-more > summary::before,
.faq-item > summary::before {
  content: "";
  width: 10px; height: 10px; flex: none;
  background: var(--accent);
  transition: transform .18s ease;
}
.service-more[open] > summary::before,
.faq-item[open] > summary::before { transform: rotate(45deg); }
.service-more ul { margin-top: 12px; font-size: .96rem; }

.service-actions { margin-top: auto; padding-top: 6px; }

/* ------------------------------------------------------- web design tiers -- */

.promo-expired[hidden] { display: none; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.tier {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px 26px 26px;
}
.tier.is-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 18px 44px -26px rgba(41,41,41,.55);
}
.tier-flag {
  position: absolute; top: -14px; left: 26px;
  background: var(--accent); color: var(--white);
  font-family: var(--display); font-variation-settings: "wdth" 108;
  font-weight: 800; font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px; margin: 0;
}
.tier-head { margin-bottom: 14px; }
.tier-name { font-size: 1.5rem; }
.tier-tagline {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: var(--muted); margin: .35em 0 0;
  /* Two lines at the body line-height, so the prices line up across all
     four cards whether the tagline wraps or not. */
  min-height: 3.1em;
}
.tier-price {
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--accent);
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.price-now {
  font-family: var(--display); font-variation-settings: "wdth" 125;
  font-weight: 900; font-size: clamp(2rem, 3.4vw, 2.5rem);
  color: var(--ink); line-height: 1;
}
.price-was {
  font-size: .9rem; font-weight: 600; color: var(--muted);
  text-decoration: line-through;
}
.price-was[hidden] { display: none; }

.tier-features { font-size: .98rem; margin-bottom: 20px; }

/* Pinned to the bottom so the add-on notes travel with the CTA rather than
   leaving a gap on the tiers with shorter feature lists. */
.tier-addons { list-style: none; margin: auto 0 24px; padding: 0; font-size: .92rem; }
.addon { display: flex; gap: 9px; align-items: flex-start; margin-bottom: .5em; }
.addon-dot {
  flex: none; width: 18px; height: 18px;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; line-height: 1;
  margin-top: .12em;
}
.addon-plus { background: var(--accent-alt); color: var(--ink); }
.addon-check { background: var(--accent); color: var(--white); }
.addon-dash { background: var(--hairline); color: var(--muted); }
.addon-none { color: var(--muted); }
.addon-inc { color: var(--ink); font-weight: 600; }

.tier button { margin-top: auto; }
.tier .btn.is-picked { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------------------------------------------------- tables (patterns) --- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table { border-collapse: collapse; width: 100%; }
caption {
  text-align: left;
  font-family: var(--display); font-variation-settings: "wdth" 112;
  font-weight: 700; font-size: .84rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink);
  padding-bottom: 12px;
}

/* Pattern B — headered data table: orange header, white bold text. */
.pattern-b { background: var(--white); min-width: 720px; font-size: .95rem; }
.pattern-b thead th {
  background: var(--accent); color: var(--white);
  font-family: var(--display); font-variation-settings: "wdth" 110;
  font-weight: 800; font-size: .8rem; letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--border);
}
.pattern-b tbody th,
.pattern-b tbody td {
  border: 1px solid var(--border);
  padding: 11px 14px;
  vertical-align: middle;
  color: var(--body);
}
.pattern-b tbody th { text-align: left; font-weight: 700; color: var(--ink); }
.pattern-b tbody tr:nth-child(even) { background: var(--surface); }
.pattern-b .num { text-align: right; }
.pattern-b .yes { color: var(--ink); font-weight: 700; }
.pattern-b .no { color: var(--muted); }

/* Pattern A — label / value: cyan label column, bold ink text. */
.pattern-a { background: var(--white); font-size: .96rem; margin: 26px 0; }
.pattern-a th {
  width: 30%;
  background: var(--accent-alt); color: var(--ink);
  font-weight: 700; text-align: left;
  padding: 9px 14px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.pattern-a td {
  padding: 9px 14px;
  border: 1px solid var(--border);
  color: var(--body);
}

/* ------------------------------------------------------------- estimator -- */

.estimator {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
@media (max-width: 860px) { .estimator { grid-template-columns: 1fr; } }

.est-field { border: 0; margin: 0 0 28px; padding: 0; }
.est-field legend {
  font-family: var(--display); font-variation-settings: "wdth" 112;
  font-weight: 800; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink);
  padding: 0; margin-bottom: 14px;
}

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.pill span {
  display: block;
  font-family: var(--display); font-variation-settings: "wdth" 108;
  font-weight: 700; font-size: .8rem; letter-spacing: .05em;
  text-transform: uppercase;
  border: 2px solid var(--hairline);
  padding: 11px 20px;
  color: var(--ink);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--accent-alt); outline-offset: 2px; }

.check {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--hairline);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  background: var(--white);
  transition: border-color .15s ease, background-color .15s ease;
}
.check:hover { border-color: var(--ink); }
.check input { margin: .3em 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.check-title { display: block; font-weight: 600; color: var(--ink); }
.check-note { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }
.check.is-disabled { opacity: .62; cursor: not-allowed; background: var(--surface); }
.check.is-disabled:hover { border-color: var(--hairline); }
.check-sm { padding: 9px 12px; margin-bottom: 6px; font-size: .95rem; }
.check:has(input:checked) { border-color: var(--accent); }
.check:has(input:focus-visible) { outline: 3px solid var(--accent-alt); outline-offset: 2px; }

.est-result {
  background: var(--ink);
  color: var(--white);
  padding: clamp(24px, 3vw, 34px);
}
.est-result-label {
  font-family: var(--display); font-variation-settings: "wdth" 110;
  font-weight: 700; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: #b0afaa; margin: 0 0 .5em;
}
.est-total {
  font-family: var(--display); font-variation-settings: "wdth" 125;
  font-weight: 900; font-size: clamp(2.6rem, 6vw, 3.6rem);
  color: var(--accent); line-height: 1; margin: 0 0 22px;
}
.est-lines { width: 100%; margin-bottom: 18px; font-size: .95rem; }
.est-lines tr { border-bottom: 1px solid rgba(255,255,255,.16); }
.est-lines td { padding: 9px 0; color: #e2ded9; }
.est-lines td + td { text-align: right; white-space: nowrap; font-weight: 700; color: var(--white); }
.est-lines .line-total td { border-top: 2px solid var(--accent); font-weight: 800; color: var(--white); }
.est-lines .line-recur td { color: var(--accent-alt); }
.est-note { font-size: .9rem; color: #b0afaa; margin-bottom: 20px; }

/* --------------------------------------------------------------- process -- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px;
}
.step {
  background: var(--white);
  border-top: 4px solid var(--accent);
  padding: 24px 22px 26px;
}
.step-num {
  font-family: var(--display); font-variation-settings: "wdth" 125;
  font-weight: 900; font-size: 2rem; color: var(--accent);
  line-height: 1; margin: 0 0 .35em;
}
.step h3 { margin-bottom: .5rem; font-size: 1.08rem; }
.step p { font-size: .98rem; margin: 0; }

/* -------------------------------------------------------- divider band --- */

.divider-band { background: var(--accent); padding: clamp(40px, 6vw, 72px) 0; }
.divider-num {
  font-family: var(--display); font-variation-settings: "wdth" 112;
  font-weight: 800; font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink); margin: 0 0 .6em;
}
.divider-title {
  font-family: var(--display); font-variation-settings: "wdth" 125;
  font-weight: 900; font-size: clamp(2.4rem, 7vw, 4.4rem);
  color: var(--ink); line-height: 1; margin: 0; letter-spacing: -.02em;
}

/* ------------------------------------------------------------ intake form -- */

.section-intake { padding-top: clamp(52px, 7vw, 88px); }
.intake-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 940px) { .intake-layout { grid-template-columns: 1fr; } }

.intake-side h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.intake-side .pattern-a { font-size: .92rem; }
.side-note {
  border-left: 4px solid var(--accent-alt);
  background: var(--surface);
  padding: 16px 18px;
  font-size: .95rem;
}

.intake-form {
  border: 1px solid var(--hairline);
  border-top: 6px solid var(--ink);
  padding: clamp(24px, 3.4vw, 38px);
  background: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 20px;
}

.field { margin: 0 0 20px; display: flex; flex-direction: column; }
.field label {
  font-family: var(--display); font-variation-settings: "wdth" 108;
  font-weight: 700; font-size: .74rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink);
  margin-bottom: 7px;
}
.req { color: var(--accent); }
.opt { color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: none; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--body);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
textarea { resize: vertical; min-height: 130px; line-height: 1.5; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0,178,255,.25);
}
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--accent); }

.err {
  display: block;
  color: #c8340a;
  font-size: .88rem;
  font-weight: 600;
  margin-top: 6px;
}
.err[hidden] { display: none; }

.field-set { border: 0; padding: 0; margin: 6px 0 24px; }
.field-set-tight { margin-bottom: 20px; }
.field-set legend {
  font-family: var(--display); font-variation-settings: "wdth" 108;
  font-weight: 700; font-size: .74rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink);
  padding: 0; margin-bottom: 12px;
}

.svc-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px 22px;
}
.svc-group-name {
  font-family: var(--display); font-variation-settings: "wdth" 106;
  font-weight: 700; font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 8px; padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
}

.check-consent { margin-top: 4px; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-status { margin-top: 14px; font-weight: 600; font-size: .96rem; }
.form-status:empty { margin-top: 0; }
.form-status.is-ok { color: #1c7a3c; }
.form-status.is-bad { color: #c8340a; }

/* Honeypot: off-screen rather than display:none, which bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  border: 1px solid var(--hairline);
  border-top: 6px solid var(--accent);
  background: var(--white);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
}
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 3px solid var(--accent-alt); outline-offset: 3px; }
.success-mark {
  width: 58px; height: 58px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--white);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}
.form-success h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.success-ref {
  font-family: var(--display);
  font-variation-settings: "wdth" 110;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1em;
}
.success-ref strong { color: var(--ink); }
.form-success > p { max-width: 46ch; margin-inline: auto; }
.success-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

/* ------------------------------------------------------------------- faq -- */

.faq-item {
  border-bottom: 1px solid var(--hairline);
  background: transparent;
}
.faq-item > summary { padding: 18px 0; font-size: .92rem; }
.faq-body { padding: 0 0 20px 20px; font-size: 1rem; max-width: 68ch; }
.faq-foot { margin-top: 30px; font-size: 1rem; color: var(--muted); }

/* ---------------------------------------------------------------- footer -- */

.site-footer { background: var(--ink); color: #cfc9c3; padding-top: clamp(48px, 6vw, 72px); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 36px;
  padding-bottom: 40px;
}
@media (max-width: 780px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-logo { height: 78px; width: auto; margin-bottom: 20px; }
.footer-tag { font-size: .95rem; max-width: 46ch; margin-bottom: .5em; }
.footer-slogan { font-family: var(--serif); font-style: italic; color: var(--surface); }

.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.footer-head {
  font-family: var(--display); font-variation-settings: "wdth" 110;
  font-weight: 700; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--white); margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; font-size: .96rem; }
.footer-col a { color: #cfc9c3; text-decoration: none; }
.footer-col a:hover { color: var(--accent); }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-block: 20px 26px;
  font-size: .88rem;
  color: #97918b;
}

/* --------------------------------------------------------------- motion --- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .service:hover { transform: none; }
}

/* ----------------------------------------------------------------- print -- */

@media print {
  .site-header, .nav-toggle, .hero-actions, .form-actions, .promo-clock,
  .divider-band, .intake-form { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .hero, .est-result, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .est-total, .footer-wordmark { color: #000 !important; }
  .service, .tier { break-inside: avoid; }
}
