/* ═══════════════════════════════════════════════════════════
   COPPERBUILDS REDESIGN (experiment): home page
   Palette B: parchment pages, charcoal chapters, copper as the one accent.
   Type A: Calistoga + DM Sans + JetBrains Mono, set larger and tighter.
   Contrast pairs were chosen for 4.5:1 or better (checked in _dev/check-contrast.py).
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ───────────────────────────────────────── */
:root {
  /* Pipe Code palette: copper tube colour codes. Blue = Type L (the standard), green = Type K (heavy duty), red = Type M (thin wall, budget). */
  --bg:            #F4F2ED;
  --surface:       #FFFFFF;
  --elevated:      #EEEAE2;   /* copper text on it is 4.5:1 */
  --ink:           #17345C;   /* Type L blue: headings, rules, dark bands, 11.2:1 on page bg */
  --txt:           #1C1917;
  --warm-stone:    #4F4B46;   /* secondary text, 7.7:1 on page bg */
  --muted:         #4F4B46;
  --subtle:        #5F5A54;   /* tertiary text, 6.1:1 on page bg */
  --accent:        #9A5A22;   /* copper for text and buttons on light, 4.9:1 on page bg */
  --accent-hover:  #7F4A1B;
  --accent-bright: #E39A57;   /* copper on dark bands, 5.4:1 on blue, 5.1:1 on green */
  --accent-dim:    rgba(154,90,34,0.08);
  --accent-border: rgba(154,90,34,0.28);
  --teal:          #1F7A4D;   /* Type K green on light: small trust marks and the Monthly plan label, 4.75:1 */
  --border:        #DCD6CA;
  --rule:          rgba(28,25,23,0.12);
  --on-ink:        #F4F2ED;
  --on-ink-muted:  rgba(244,242,237,0.80);
  --on-ink-rule:   rgba(244,242,237,0.14);
  --band-blue:     #17345C;   /* Type L: hero band, trade ticker, closing CTA, inner dark bands */
  --band-green:    #0C3F2A;   /* Type K: the featured "most included" column and plan */
  --pipe-red:      #B03A2E;   /* Type M: the X marks on the weak alternatives only, 5.4:1 on page bg */
  --pipe-blue-text:#2F6DB5;   /* Type L blue for small labels on light, 4.7:1 */
  --charcoal:      #1C1917;   /* liver-of-sulfur neutral: footer */

  --shadow-def:    0 1px 3px rgba(28,25,23,0.08), 0 1px 2px rgba(28,25,23,0.06);
  --shadow-lift:   0 6px 20px rgba(28,25,23,0.10), 0 2px 6px rgba(28,25,23,0.06);
  --shadow-stage:  0 28px 56px rgba(28,25,23,0.30), 0 8px 20px rgba(28,25,23,0.16);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1240px;
  --section-py:    120px;
}

/* ── RESET + BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; } /* html takes the viewport's overflow so the body's clip below actually clips */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* clips the full-width bands (100vw) without creating a scroll container */
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 2rem; }
.section { padding: var(--section-py) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rule { border: none; border-top: 1px solid var(--rule); }

/* ── TYPE ─────────────────────────────────────────── */
.display, .headline { font-family: 'Calistoga', Georgia, serif; font-weight: 400; color: var(--ink); text-wrap: balance; }
.display  { font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -0.012em; }
.headline { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.01em; }
.body-large { font-size: 1.125rem; line-height: 1.65; color: var(--warm-stone); }
.label, .section-label, .tag, .pos-eyebrow, .pkg-tier, .proof-trade, .hero-trust, .hero-cards-label {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.section-label { display: block; font-size: 0.72rem; color: var(--accent); margin-bottom: 1rem; }
.section-label::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8125rem 1.75rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9375rem; font-weight: 700;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
  transition: background 0.18s ease, transform 0.22s var(--ease-out), box-shadow 0.18s ease;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(154,90,34,0.30); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--border);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.22s var(--ease-out);
}
.btn-ghost:hover { border-color: var(--accent-border); background: var(--accent-dim); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }
.tag {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem;
  color: var(--accent); background: var(--accent-dim); border: 1px solid var(--accent-border);
  border-radius: 999px; padding: 7px 16px;
}

/* ── MOTION ───────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp 0.7s var(--ease-out) both; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.12s; } .d3 { animation-delay: 0.22s; }
.d4 { animation-delay: 0.32s; } .d5 { animation-delay: 0.42s; } .d6 { animation-delay: 0.54s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ── NAV: floating pill (overrides the inline styles from js/nav.js) ── */
#main-nav {
  position: fixed !important; top: 14px !important; left: 50% !important; right: auto !important;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  height: 62px !important;
  background: rgba(244,242,237,0.88) !important;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--rule) !important;
  border-radius: 999px !important;
  box-shadow: var(--shadow-def);
  z-index: 100 !important;
}
#main-nav > .container { padding: 0 9px 0 24px !important; max-width: none !important; }
#main-nav #nav-links a { padding: 8px 2px; }
#main-nav #nav-cta { min-height: 44px; padding: 0.6rem 1.35rem; font-size: 0.9rem; }
#main-nav #mobile-menu {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  border: 1px solid var(--rule) !important;
  border-radius: 22px;
  background: var(--bg) !important;
  box-shadow: var(--shadow-lift);
  padding: 0.5rem 0 !important;
}
#main-nav #mobile-menu a:not(.btn) { padding: 0.9rem 1.5rem !important; min-height: 48px; }
#main-nav #nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
#main-nav a[aria-label*="WhatsApp"] { min-width: 44px; min-height: 44px; }

/* ── HERO ─────────────────────────────────────────── */
.hero-section {
  position: relative;
  padding: 150px 0 0;
  overflow: hidden;
  /* parchment above, charcoal chapter below: the portfolio cards straddle the seam */
  background: linear-gradient(to bottom, var(--bg) 0, var(--bg) calc(100% - 300px), var(--ink) calc(100% - 300px));
}
.hero-copy {
  max-width: none; margin: 0 0 64px; text-align: left;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto auto;
  column-gap: 72px;
}
.hero-display.fade-up { animation: none; } /* the H1 paints at once so it is the LCP element, not the injected logo */
.hero-tag { grid-column: 1 / -1; justify-self: start; margin-bottom: 30px; }
.hero-display {
  grid-column: 1; grid-row: 2 / 5; align-self: end; margin: 0;
  font-size: clamp(3.1rem, 7.6vw, 7.4rem); line-height: 0.95; letter-spacing: -0.018em;
}
.hero-sub { grid-column: 2; grid-row: 2; align-self: end; margin: 0 0 30px; max-width: none; font-size: 1.1875rem; line-height: 1.6; color: var(--warm-stone); }
.hero-actions { grid-column: 2; grid-row: 3; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: flex-start; margin: 0 0 22px; }
/* one filled CTA; the two secondary actions read as quiet underlined links */
.hero-actions .btn-ghost {
  min-height: 44px; padding: 0.5rem 0.125rem; border: 0; border-radius: 0; background: none;
  text-decoration: underline; text-decoration-color: var(--accent-border); text-underline-offset: 6px; text-decoration-thickness: 1.5px;
  transition: text-decoration-color 0.18s ease, color 0.18s ease;
}
.hero-actions .btn-ghost:hover { background: none; transform: none; color: var(--accent); text-decoration-color: var(--accent); }
.hero-trust { grid-column: 2; grid-row: 4; margin: 0; font-size: 0.72rem; line-height: 1.6; color: var(--subtle); }

.hero-cards-label { text-align: left; font-size: 0.7rem; color: var(--subtle); margin: 0 auto 16px; max-width: var(--container-max); padding: 0 2rem; }
.hero-cards-wrap { padding: 0 28px 56px; max-width: 1560px; margin: 0 auto; }
.hero-cards-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; align-items: end; position: relative; }
/* cards are phones: the mobile screenshot at rest, the desktop screenshot in the hover popup */
.hcard { position: relative; display: block; height: 400px; cursor: pointer; text-decoration: none; z-index: 1; transition: transform 0.45s var(--ease-out), opacity 0.3s ease; }
.hcard-inner { height: 100%; border-radius: 28px; overflow: hidden; border: 5px solid #2B2623; outline: 1px solid rgba(250,250,247,0.18); box-shadow: var(--shadow-stage); background: #2B2623; }
.hcard img { width: 100%; height: 100%; object-fit: cover; object-position: 50% top; display: block; }
.hcard:hover { z-index: 10; }
.hero-cards-row:has(.hcard:hover) .hcard:not(:hover) { opacity: 0.5; }
.hcard-pop {
  position: absolute; bottom: 0; left: 50%; margin-left: -320px; width: 640px; height: 400px;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); background: var(--surface);
  box-shadow: var(--shadow-stage); opacity: 0; transform: translateY(12px) scale(0.94); transform-origin: 50% 100%;
  z-index: 10; pointer-events: none; transition: opacity 0.25s ease, transform 0.45s var(--ease-out);
}
.hcard-pop img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-cards-row:has(.hcard:nth-child(1):hover) .hcard-pop:nth-of-type(1), .hero-cards-row:has(.hcard:nth-child(2):hover) .hcard-pop:nth-of-type(2), .hero-cards-row:has(.hcard:nth-child(3):hover) .hcard-pop:nth-of-type(3), .hero-cards-row:has(.hcard:nth-child(4):hover) .hcard-pop:nth-of-type(4), .hero-cards-row:has(.hcard:nth-child(5):hover) .hcard-pop:nth-of-type(5), .hero-cards-row:has(.hcard:nth-child(6):hover) .hcard-pop:nth-of-type(6), .hero-cards-row:has(.hcard:nth-child(7):hover) .hcard-pop:nth-of-type(7) { opacity: 1; transform: none; }

/* ── TRADE BAR: mono ticker on charcoal ───────────── */
.trade-bar { background: var(--ink); border-top: 1px solid var(--on-ink-rule); border-bottom: 1px solid var(--on-ink-rule); overflow: hidden; }
.trade-bar-track { display: flex; align-items: stretch; justify-content: center; justify-content: safe center; overflow-x: auto; scrollbar-width: none; }
.trade-bar-track::-webkit-scrollbar { display: none; }
.trade-item {
  display: flex; align-items: center; gap: 0.6rem; padding: 20px 17px; white-space: nowrap; flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-ink-muted); border-right: 1px solid var(--on-ink-rule); transition: color 0.15s ease, background 0.15s ease;
}
.trade-item:last-child { border-right: none; }
.trade-item:hover { color: var(--on-ink); background: rgba(250,250,247,0.05); }
.ti-icon { font-size: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); flex-shrink: 0; }

/* ── POSITIONING: the featured column is a raised charcoal card ── */
.pos-section { padding: var(--section-py) 0; }
.pos-intro { max-width: 820px; margin-bottom: 4.5rem; }
.pos-intro .headline { margin-bottom: 1.1rem; }
.pos-grid { display: grid; grid-template-columns: 1fr 1.38fr 1fr; align-items: stretch; gap: 0; }
.pos-col { padding: 40px 36px; border-top: 1px solid var(--ink); }
.pos-col-dim { background: transparent; }
.pos-col-featured {
  position: relative; z-index: 2; margin: -32px 0; padding: 52px 44px;
  background: var(--band-green); color: var(--on-ink); border-top: 0; border-radius: 22px; box-shadow: var(--shadow-stage);
}
.pos-eyebrow { font-size: 0.7rem; margin-bottom: 0.75rem; }
.pos-col-dim .pos-eyebrow { color: var(--subtle); }
.pos-col-featured .pos-eyebrow { color: var(--accent-bright); }
.pos-name { font-family: 'Calistoga', Georgia, serif; font-size: 1.75rem; line-height: 1.1; margin-bottom: 0.85rem; }
.pos-col-dim .pos-name { color: var(--warm-stone); text-decoration: line-through; text-decoration-color: rgba(79,75,70,0.4); }
.pos-col-featured .pos-name { color: var(--on-ink); font-size: 2.1rem; }
.pos-hook { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.6rem; }
.pos-col-dim .pos-hook { color: var(--subtle); }
.pos-col-featured .pos-hook { color: var(--on-ink-muted); font-size: 1.05rem; }
.pos-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.pos-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.92rem; line-height: 1.5; }
.pos-col-dim .pos-list li { color: var(--subtle); }
.pos-col-featured .pos-list li { color: var(--on-ink); }
.pos-note { font-size: 0.875rem; line-height: 1.55; color: var(--on-ink-muted); margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--on-ink-rule); }
.pi { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; font-size: 0.62rem; font-weight: 700; }
.pi-no  { background: rgba(176,58,46,0.14); color: var(--pipe-red); }
.pi-yes { background: rgba(227,154,87,0.18); color: var(--accent-bright); }

/* ── PORTFOLIO PROOF ──────────────────────────────── */
.proof-section { padding: var(--section-py) 0; background: var(--elevated); }
.proof-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.proof-note { font-size: 1rem; line-height: 1.6; color: var(--warm-stone); margin-top: 0.9rem; max-width: 520px; }
.proof-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; height: 620px; }
.proof-card { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.25s ease; }
.proof-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--accent-border); }
.proof-card-tall { grid-row: 1 / 3; }
.proof-card a { position: absolute; inset: 0; display: block; text-decoration: none; }
.proof-card img { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: calc(100% - 64px); object-fit: cover; object-position: top; display: block; }
.proof-foot { position: absolute; bottom: 0; left: 0; right: 0; height: 64px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); background: var(--surface); }
.proof-foot-l { display: flex; align-items: center; gap: 12px; }
.proof-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.proof-site-name { font-size: 0.9rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.proof-trade { font-size: 0.66rem; color: var(--subtle); }
.proof-arr { font-size: 1rem; color: var(--warm-stone); transition: color 0.2s, transform 0.2s var(--ease-out); }
.proof-card:hover .proof-arr { color: var(--accent); transform: translateX(5px); }
.btn-text-link { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; font-size: 0.9375rem; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-border); text-underline-offset: 6px; text-decoration-thickness: 1.5px; transition: color 0.15s ease, text-decoration-color 0.15s ease; }
.btn-text-link:hover { color: var(--accent); text-decoration-color: var(--accent); }
.btn-text-link svg { transition: transform 0.2s var(--ease-out); }
.btn-text-link:hover svg { transform: translateX(4px); }

/* ── PROCESS: numerals step down the page (the diagonal moment) ── */
.proc-section { padding: var(--section-py) 0; }
.proc-intro { max-width: 760px; margin-bottom: 4rem; }
.proc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; align-items: start; }
.proc-step { position: relative; padding-top: 28px; border-top: 1px solid var(--ink); }
.proc-step:nth-child(2) { margin-top: 56px; }
.proc-step:nth-child(3) { margin-top: 112px; }
.proc-num { display: block; font-family: 'Calistoga', Georgia, serif; font-size: clamp(5rem, 9vw, 8rem); line-height: 0.9; color: var(--accent); margin-bottom: 26px; }
.proc-title { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 0.7rem; }
.proc-body { font-size: 1rem; color: var(--warm-stone); line-height: 1.65; max-width: 34ch; }

/* ── PRICING: a ledger, not three boxes ───────────── */
.builds-section { padding: var(--section-py) 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pkgs-intro { max-width: 820px; margin-bottom: 4rem; }
.pkgs-intro p { color: var(--warm-stone); }
.price-rows { display: flex; flex-direction: column; gap: 0; }
.price-row { background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 40px 0; transition: background 0.2s ease; }
.price-row:last-child { border-bottom: 1px solid var(--ink); }
.price-row-head { display: grid; grid-template-columns: minmax(0, 1fr) auto 240px; gap: 40px; align-items: center; }
.pkg-tier { font-size: 0.7rem; color: var(--accent); margin-bottom: 12px; }
/* plan labels follow the pipe codes: one-time build = Type L blue, monthly plan = Type K green, custom stays copper */
.builds-section .price-row:nth-child(1) .pkg-tier { color: var(--pipe-blue-text); }
.builds-section .price-row:nth-child(2) .pkg-tier { color: var(--teal); }
.price-row-title { font-family: 'Calistoga', Georgia, serif; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 400; line-height: 1.12; color: var(--ink); margin-bottom: 0.6rem; }
.price-row-line { font-size: 1rem; line-height: 1.6; color: var(--warm-stone); max-width: 560px; }
.price-row-price { min-width: 170px; }
.pkg-price { font-family: 'Calistoga', Georgia, serif; font-size: 3.5rem; line-height: 1; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.pkg-price sup { font-size: 1.4rem; vertical-align: super; }
.price-row-quote { font-family: 'Calistoga', Georgia, serif; font-size: 1.7rem; line-height: 1.15; color: var(--ink); margin-bottom: 6px; }
.pkg-billing { font-size: 0.85rem; color: var(--subtle); }
.pkg-cta-btn {
  display: flex; align-items: center; justify-content: center; min-height: 52px; width: 100%; padding: 0.8rem 1rem; text-align: center;
  border-radius: 999px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.pkg-cta-btn:hover { background: var(--ink); color: var(--on-ink); transform: translateY(-2px); }
.price-row-btn-main { background: var(--accent); border-color: var(--accent); color: #fff; }
.price-row-btn-main:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; box-shadow: 0 10px 24px rgba(154,90,34,0.28); }
.price-row-more { margin-top: 26px; }
.price-row-more summary { cursor: pointer; min-height: 44px; font-size: 0.95rem; font-weight: 700; color: var(--ink); list-style: none; display: inline-flex; align-items: center; gap: 0.7rem; }
.price-row-more summary::-webkit-details-marker { display: none; }
.price-row-more summary::after { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--rule); border-radius: 50%; color: var(--warm-stone); font-weight: 500; }
.price-row-more[open] summary::after { content: "-"; border-color: var(--accent-border); background: var(--accent-dim); color: var(--accent); }
.price-row-more summary:hover { color: var(--accent); }
.pkg-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.pkg-feats li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--ink); line-height: 1.5; }
.fd { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; font-size: 0.62rem; font-weight: 700; }
.fd-y { background: rgba(31,122,77,0.12); color: var(--teal); }
.price-sub { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); margin: 20px 0 0; }
.pkg-hosted-note { margin-top: 28px; font-size: 0.9rem; color: var(--subtle); }
.pkg-hosted-note strong { color: var(--ink); }
.pkg-hosted-note a { color: var(--accent) !important; font-weight: 700; }

/* ── FAQ ──────────────────────────────────────────── */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6rem; align-items: start; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:first-child { border-top: 1px solid var(--ink); }
.faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding: 1.2rem 0; background: none; border: none; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 1.0625rem; font-weight: 700; text-align: left; cursor: pointer; transition: color 0.2s; }
.faq-btn:hover { color: var(--accent); }
.faq-icon { width: 30px; height: 30px; min-width: 30px; border: 1px solid var(--rule); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--warm-stone); transition: border-color 0.2s, background 0.2s, transform 0.25s ease-out, color 0.2s; }
.faq-btn[aria-expanded="true"] .faq-icon { border-color: var(--accent-border); background: var(--accent-dim); color: var(--accent); transform: rotate(45deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.faq-answer.open { max-height: 300px; }
.faq-answer-inner { padding-bottom: 1.5rem; color: var(--warm-stone); line-height: 1.7; font-size: 1rem; max-width: 62ch; }
.faq-contact { margin-top: 2.25rem; padding: 2rem; background: var(--elevated); border-radius: 18px; }
.faq-contact-title { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.faq-contact-text { font-size: 0.98rem; line-height: 1.65; color: var(--warm-stone); margin-bottom: 1.25rem; }
.faq-contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ── CLOSING CTA + FOOTER: charcoal, copper brightens ── */
.cta-dark, footer[role="contentinfo"] {
  --bg: #1C1917; --ink: #FAFAF7; --txt: #FAFAF7;
  --warm-stone: rgba(250,250,247,0.74); --muted: rgba(250,250,247,0.74); --subtle: rgba(250,250,247,0.62);
  --accent: #E39A57; --accent-border: rgba(227,154,87,0.4); --accent-dim: rgba(227,154,87,0.12);
  --rule: rgba(250,250,247,0.14); --border: rgba(250,250,247,0.18);
}
.cta-dark { padding: 150px 0; background: var(--band-blue); --bg: var(--band-blue); }
.cta-dark-inner { text-align: center; max-width: 920px; margin: 0 auto; padding: 0 2rem; }
.cta-dark-inner .headline { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 0.98; color: #FAFAF7; margin-bottom: 1.5rem; }
.cta-dark-sub { font-size: 1.15rem; color: var(--on-ink-muted); margin: 0 auto 2.75rem; line-height: 1.65; max-width: 560px; }
.cta-dark-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.cta-dark .btn-primary, footer[role="contentinfo"] .btn-primary { background: #E39A57; color: #1C1917; }
.cta-dark .btn-primary:hover, footer[role="contentinfo"] .btn-primary:hover { background: #F0AE72; box-shadow: 0 10px 28px rgba(227,154,87,0.3); }
.btn-inv { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.8125rem 1.75rem; border: 1.5px solid rgba(250,250,247,0.3); border-radius: 999px; color: #FAFAF7; font-family: 'DM Sans', sans-serif; font-size: 0.9375rem; font-weight: 700; text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-out); }
.btn-inv:hover { border-color: #FAFAF7; background: rgba(250,250,247,0.08); transform: translateY(-2px); }
footer[role="contentinfo"] { background: var(--charcoal) !important; border-top: 1px solid var(--on-ink-rule) !important; }
footer[role="contentinfo"] nav a, footer[role="contentinfo"] p a, footer[role="contentinfo"] div > a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
footer[role="contentinfo"] nav { gap: 0 !important; }
.pkg-hosted-note a { display: inline-flex; align-items: center; min-height: 44px; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
  .hero-cards-label { padding: 0 1.5rem; }
  .hero-copy { column-gap: 40px; }
  .pos-col { padding: 36px 24px; }
  .pos-col-featured { padding: 44px 32px; }
}
@media (max-width: 900px) {
  :root { --section-py: 84px; }
  .hero-section { padding-top: 124px; background: linear-gradient(to bottom, var(--bg) 0, var(--bg) calc(100% - 300px), var(--ink) calc(100% - 300px)); }
  .hero-copy { display: block; margin-bottom: 44px; }
  .hero-tag { margin-bottom: 22px; }
  .hero-display { margin-bottom: 22px; }
  .hero-sub { margin: 0 0 26px; max-width: 34em; }
  .hero-actions { margin-bottom: 20px; }
  /* portfolio cards become a horizontal strip; touch swipes natively, mouse drag comes from the page script */
  .hero-cards-wrap { padding: 0 0 44px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
  .hero-cards-wrap::-webkit-scrollbar { display: none; }
  .hero-cards-wrap.is-dragging { cursor: grabbing; user-select: none; }
  .hcard img { -webkit-user-drag: none; }
  .hero-cards-row { grid-template-columns: repeat(7, 200px); gap: 14px; padding: 0 1.5rem; }
  .hcard { height: 430px; }
  .hcard:hover { transform: none; }
  .hero-cards-row:has(.hcard:hover) .hcard:not(:hover) { opacity: 1; }
  .hcard-pop { display: none; }
  .pos-grid { grid-template-columns: 1fr; }
  .pos-col-featured { margin: 20px 0; order: -1; }
  .pos-col-dim { border-top: 1px solid var(--ink); }
  .proof-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .proof-grid { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .proof-card-tall { grid-row: auto; height: 380px; }
  .proof-card-sm { height: 260px; }
  .proc-row { grid-template-columns: 1fr; gap: 36px; }
  .proc-step:nth-child(2), .proc-step:nth-child(3) { margin-top: 0; }
  .proc-body { max-width: none; }
  .price-row-head { grid-template-columns: 1fr; gap: 20px; }
  .faq-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  :root { --section-py: 72px; }
  #nav-links, #nav-cta { display: none !important; }
  #nav-toggle { display: flex !important; }
  .hero-section { padding-top: 108px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .hero-actions .btn-primary { width: 100%; }
  .hero-actions .btn-ghost { justify-content: center; }
  .cta-dark { padding: 96px 0; }
  .cta-dark-actions { flex-direction: column; align-items: stretch; }
  .pkg-price { font-size: 3rem; }
  .faq-contact-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-cards-label { padding: 0 1.25rem; }
  .hero-cards-row { grid-template-columns: repeat(7, 184px); padding: 0 1.25rem; }
  .hcard { height: 396px; }
  .pos-col-featured { padding: 36px 24px; border-radius: 18px; }
}
