@import url('tokens.css');

/* ==========================================================================
   NOISE / GRAIN OVERLAY — fixed, pointer-events none (perf guardrail)
   ========================================================================== */
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   NAV — floating glass pill
   ========================================================================== */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 1.1rem var(--gutter) 0; }
.nav {
  width: 100%; max-width: 1180px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 0.6rem 0.7rem 0.6rem 1.4rem;
  border-radius: var(--r-pill);
  background: rgba(11, 13, 15, 0.62);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.6s var(--ease-soft), border-color 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft);
}
.nav.is-scrolled { background: rgba(11, 13, 15, 0.86); box-shadow: 0 20px 60px -30px rgba(0,0,0,0.6); }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; }
.nav-logo .mark { width: 28px; height: 28px; position: relative; flex-shrink: 0; }
.nav-logo .mark svg { width: 100%; height: 100%; }
.nav-logo .word-light { color: var(--text-on-dark-dim); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; font-size: var(--step--1); }
.nav-links a { color: var(--text-on-dark-dim); transition: color 0.4s var(--ease-soft); position: relative; }
.nav-links a:hover { color: var(--text-on-dark); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--accent); transition: width 0.4s var(--ease-soft); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-call { display: none; }
@media (min-width: 900px) { .nav-call { display: inline-flex; } }
.nav-hamburger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; align-items: center; justify-content: center; cursor: pointer; position: relative; }
@media (max-width: 899px) { .nav-links, .nav-call { display: none; } .nav-hamburger { display: inline-flex; } }
.nav-hamburger span { position: absolute; width: 15px; height: 1px; background: var(--stone); transition: transform 0.5s var(--ease-soft), opacity 0.3s; }
.nav-hamburger span:nth-child(1) { transform: translateY(-4px); }
.nav-hamburger span:nth-child(2) { transform: translateY(4px); }
.nav-hamburger.is-open span:nth-child(1) { transform: rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(11, 13, 15, 0.97);
  backdrop-filter: blur(30px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem;
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease-soft);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: var(--step-2); color: var(--stone); opacity: 0; transform: translateY(3rem); transition: opacity 0.6s var(--ease-soft), transform 0.6s var(--ease-soft); }
.mobile-menu.is-open a { opacity: 1; transform: translateY(0); }
.mobile-menu a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.25s; }

/* ==========================================================================
   HERO — crafted architectural treatment (muntin grid + light sweep)
   Placeholder for photography until Higgsfield credits refresh; swap the
   .hero-art element for <picture> desktop/mobile hero images (see
   ARCHITECTURE.md image plan) without touching layout.
   ========================================================================== */
.hero { min-height: 100dvh; display: flex; align-items: flex-end; padding-top: 8rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -4; background: var(--charcoal); }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(11,13,15,0.94) 0%, rgba(11,13,15,0.72) 42%, rgba(11,13,15,0.28) 75%, rgba(11,13,15,0.15) 100%),
    linear-gradient(0deg, rgba(11,13,15,0.55) 0%, rgba(11,13,15,0) 40%);
}
@media (max-width: 899px) {
  .hero-scrim { background: linear-gradient(0deg, rgba(11,13,15,0.96) 0%, rgba(11,13,15,0.55) 46%, rgba(11,13,15,0.35) 100%); }
}
.hero-art { position: absolute; inset: 0; z-index: -1; opacity: 0.7; }
.hero-art svg { width: 100%; height: 100%; }
.hero-inner { position: relative; width: 100%; padding: 0 var(--gutter) clamp(3rem, 7vw, 5.5rem); display: flex; flex-direction: column; gap: 2rem; }
.hero-eyebrow-row { display: flex; align-items: center; gap: 1rem; }
.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 2rem + 3.6vw, 5.6rem);
  color: var(--stone);
  opacity: 0; transform: translateY(2rem);
}
.hero h1 em { font-style: italic; color: var(--accent-bright); }
.hero-sub { max-width: 46ch; font-size: var(--step-1); color: var(--text-on-dark-dim); font-weight: 300; opacity: 0; transform: translateY(1.5rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; opacity: 0; transform: translateY(1.5rem); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 1rem; opacity: 0; transform: translateY(1rem); }
.hero-meta-item { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-meta-item .num { font-family: var(--font-display); font-size: var(--step-2); color: var(--accent-bright); }
.hero-meta-item .lbl { font-size: var(--step--1); color: var(--text-on-dark-dim); text-transform: uppercase; letter-spacing: 0.14em; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 2.2rem; display: none; flex-direction: column; align-items: center; gap: 0.6rem; color: var(--text-on-dark-dim); font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; }
@media (min-width: 900px) { .hero-scroll { display: flex; } }
.hero-scroll .line { width: 1px; height: 44px; background: linear-gradient(180deg, var(--accent), transparent); animation: scrollpulse 2.4s ease-in-out infinite; }
@keyframes scrollpulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ==========================================================================
   SECTION SCAFFOLDING
   ========================================================================== */
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--step-3); margin-top: 0.9rem; color: var(--text-on-dark); }
.section-head p { margin-top: 1.1rem; color: var(--text-on-dark-dim); font-size: var(--step-0); max-width: 42ch; }
.on-light .section-head h2 { color: var(--text-on-light); }
.on-light .section-head p { color: var(--text-on-light-dim); }
.on-light { background: var(--bg-light); color: var(--text-on-light); }
.on-light .eyebrow { color: var(--brass-dim); }
.on-light .eyebrow::before { background: var(--brass-dim); }

/* ==========================================================================
   BENTO — "why replace" (gapless, grid-auto-flow: dense)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); grid-auto-flow: dense; border-radius: var(--r-lg); overflow: hidden; }
.bento-card { background: var(--bg-elevated); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 0.9rem; grid-column: span 6; transition: background 0.5s var(--ease-soft); }
.bento-card:hover { background: var(--bg-card); }
.bento-card .icon { width: 2.2rem; height: 2.2rem; color: var(--accent); }
.bento-card h3 { font-size: var(--step-1); font-weight: 500; font-family: var(--font-body); color: var(--stone); }
.bento-card p { color: var(--text-on-dark-dim); font-size: var(--step--1); line-height: 1.65; margin: 0; }
@media (min-width: 700px) {
  .bento-card:nth-child(1) { grid-column: span 4; }
  .bento-card:nth-child(2) { grid-column: span 2; }
  .bento-card:nth-child(3) { grid-column: span 2; }
  .bento-card:nth-child(4) { grid-column: span 2; }
  .bento-card:nth-child(5) { grid-column: span 2; }
  .bento-card:nth-child(6) { grid-column: span 3; }
  .bento-card:nth-child(7) { grid-column: span 3; }
}

/* ==========================================================================
   SERVICE / STYLE CARDS
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 700px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.svc-card {
  position: relative; padding: 2.2rem; border-radius: var(--r-lg);
  background: var(--bg-elevated); border: 1px solid var(--line-soft);
  overflow: hidden; transition: border-color 0.6s var(--ease-soft), transform 0.6s var(--ease-soft);
}
.svc-card:hover { border-color: var(--brass-dim); transform: translateY(-4px); }
.svc-card .index { font-family: var(--font-display); font-size: var(--step-0); color: var(--brass-dim); }
.svc-card h3 { margin-top: 1.1rem; font-size: var(--step-2); color: var(--stone); }
.svc-card p { color: var(--text-on-dark-dim); font-size: var(--step--1); margin-top: 0.8rem; line-height: 1.65; }
.svc-card .go { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--step--1); color: var(--accent-bright); }
.svc-card .go svg { width: 14px; height: 14px; transition: transform 0.5s var(--ease-spring); }
.svc-card:hover .go svg { transform: translate(3px, -3px); }

/* style pills row (horizontal scroll on mobile) */
.style-row { display: grid; grid-template-columns: repeat(8, minmax(220px, 1fr)); gap: 1px; overflow-x: auto; scrollbar-width: none; background: var(--line-soft); border-radius: var(--r-lg); border: 1px solid var(--line-soft); }
.style-row::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .style-row { grid-template-columns: repeat(4, 1fr); overflow: visible; } }
.style-item { background: var(--bg-elevated); padding: 2rem 1.6rem; scroll-snap-align: start; }
.style-item .n { font-family: var(--font-display); color: var(--brass-dim); font-size: var(--step-0); }
.style-item h4 { margin-top: 0.9rem; font-size: var(--step-1); font-weight: 500; font-family: var(--font-body); color: var(--stone); }
.style-item p { margin-top: 0.6rem; color: var(--text-on-dark-dim); font-size: var(--step--1); line-height: 1.6; }
.style-row { scroll-snap-type: x mandatory; }

/* ==========================================================================
   ENERGY / GLAZING — definition list, direct-answer GEO structure
   ========================================================================== */
.def-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .def-grid { grid-template-columns: repeat(2, 1fr); } }
.def-item { padding: 1.9rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .def-item { padding: 1.9rem 2.4rem 1.9rem 0; } .def-item:nth-child(even) { padding-left: 2.4rem; padding-right: 0; border-left: 1px solid var(--line); } }
.def-item dt { font-family: var(--font-display); font-size: var(--step-1); color: var(--accent-bright); margin-bottom: 0.6rem; }
.def-item dd { margin: 0; color: var(--text-on-dark-dim); font-size: var(--step--1); line-height: 1.7; }

/* ==========================================================================
   COST TABLE
   ========================================================================== */
.cost-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); margin-top: 1rem; }
.cost-table th, .cost-table td { text-align: left; padding: 1rem 0.9rem; border-bottom: 1px solid var(--line-dark); }
.cost-table th { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--text-on-light-dim); font-weight: 500; }
.cost-table td:first-child, .cost-table th:first-child { padding-left: 0; }
.cost-table strong { color: var(--brass-dim); font-family: var(--font-display); font-size: 1.05rem; }
.cost-note { margin-top: 1.3rem; padding: 1.2rem 1.4rem; border-radius: var(--r-md); background: rgba(139, 111, 63, 0.08); border: 1px solid rgba(139, 111, 63, 0.22); font-size: var(--step--1); color: var(--text-on-light-dim); line-height: 1.65; }

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.steps { counter-reset: step; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; } }
.step { counter-increment: step; padding: 2rem 1.6rem; background: var(--bg-elevated); border-bottom: 1px solid var(--line-soft); position: relative; }
@media (min-width: 900px) { .step { border-bottom: none; } }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: var(--step-2); color: var(--brass-dim); }
.step h4 { margin-top: 1rem; font-size: var(--step-0); font-weight: 500; font-family: var(--font-body); color: var(--stone); }
.step p { margin-top: 0.5rem; color: var(--text-on-dark-dim); font-size: var(--step--1); line-height: 1.6; }

/* ==========================================================================
   SERVICE AREAS
   ========================================================================== */
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 700px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
.area-item { background: var(--bg-light); padding: 1.6rem 1.4rem; transition: background 0.4s var(--ease-soft); }
.area-item:hover { background: var(--stone-dim); }
.area-item .tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brass-dim); }
.area-item h4 { margin-top: 0.5rem; font-size: var(--step-1); font-weight: 500; font-family: var(--font-display); color: var(--text-on-light); }
.area-item p { margin-top: 0.4rem; font-size: 0.82rem; color: var(--text-on-light-dim); }

/* ==========================================================================
   RESOURCES TEASER
   ========================================================================== */
.res-card { border-radius: var(--r-lg); background: var(--bg-elevated); border: 1px solid var(--line-soft); padding: 1.8rem; display: flex; flex-direction: column; gap: 0.9rem; transition: transform 0.5s var(--ease-soft), border-color 0.5s var(--ease-soft); }
.res-card:hover { transform: translateY(-4px); border-color: var(--brass-dim); }
.res-card .cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brass-dim); }
.res-card h4 { font-size: var(--step-1); font-weight: 500; font-family: var(--font-display); color: var(--stone); }
.res-card p { font-size: var(--step--1); color: var(--text-on-dark-dim); line-height: 1.6; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; background: none; border: none; cursor: pointer; font-family: var(--font-display); font-size: var(--step-1); color: var(--text-on-light); }
.faq-q .plus { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--brass-dim); transition: transform 0.5s var(--ease-soft); }
.faq-q .plus::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.faq-item.is-open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease-soft); }
.faq-a-inner { padding-bottom: 1.6rem; color: var(--text-on-light-dim); font-size: var(--step--1); line-height: 1.75; max-width: 60ch; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta { text-align: center; padding: clamp(5rem, 10vw, 8rem) 0; }
.final-cta h2 { font-size: clamp(2.2rem, 1.8rem + 2.4vw, 4rem); max-width: 22ch; margin: 0 auto; color: var(--stone); }
.final-cta p { margin: 1.4rem auto 0; max-width: 42ch; color: var(--text-on-dark-dim); }
.final-cta .btns { margin-top: 2.2rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { background: var(--charcoal-2); border-top: 1px solid var(--line); padding: 4.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr repeat(5, 1fr); gap: 1.6rem; } }
.footer-brand p { color: var(--text-on-dark-dim); font-size: var(--step--1); max-width: 30ch; margin-top: 1rem; line-height: 1.65; }
.footer-col h5 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brass-dim); margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--text-on-dark-dim); font-size: var(--step--1); transition: color 0.4s; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.6rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--text-on-dark-dim); }
.footer-bottom a { color: var(--text-on-dark-dim); }
.footer-bottom .jdg { color: var(--text-on-dark-dim); }
.footer-bottom .jdg a { color: var(--brass-dim); transition: color 0.4s; }
.footer-bottom .jdg a:hover { color: var(--accent-bright); }

/* ==========================================================================
   STICKY MOBILE BAR
   ========================================================================== */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); background: rgba(11,13,15,0.92); backdrop-filter: blur(16px); }
@media (min-width: 900px) { .mobile-bar { display: none; } }
.mobile-bar a { padding: 1rem; text-align: center; font-size: 0.85rem; font-weight: 500; }
.mobile-bar a:first-child { color: var(--stone); border-right: 1px solid var(--line); }
.mobile-bar a:last-child { color: var(--charcoal); background: var(--accent); }
body { padding-bottom: 0; }
@media (max-width: 899px) { body { padding-bottom: 58px; } }

/* ==========================================================================
   LEAD FORM MODAL
   ========================================================================== */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(6,7,8,0.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 1.2rem; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease-soft); }
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%; max-width: 620px; max-height: 88vh; overflow-y: auto;
  background: var(--bg-elevated); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.8rem);
  transform: translateY(2rem) scale(0.98); opacity: 0; transition: transform 0.5s var(--ease-spring), opacity 0.4s var(--ease-soft);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.6rem; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--stone); cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.modal-progress { display: flex; gap: 0.4rem; margin-bottom: 1.8rem; }
.modal-progress span { height: 2px; flex: 1; background: var(--line); border-radius: 2px; overflow: hidden; }
.modal-progress span::after { content: ""; display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.5s var(--ease-soft); }
.modal-progress span.is-done::after, .modal-progress span.is-active::after { width: 100%; }
.form-step { display: none; }
.form-step.is-active { display: block; animation: stepin 0.5s var(--ease-out); }
@keyframes stepin { from { opacity: 0; transform: translateY(0.8rem); } to { opacity: 1; transform: translateY(0); } }
.form-step h3 { font-size: var(--step-2); color: var(--stone); margin-bottom: 0.5rem; }
.form-step .hint { color: var(--text-on-dark-dim); font-size: var(--step--1); margin-bottom: 1.6rem; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.opt {
  padding: 1rem 1.1rem; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--bg-card); cursor: pointer; font-size: var(--step--1); color: var(--text-on-dark);
  transition: border-color 0.35s, background 0.35s;
}
.opt:hover { border-color: var(--brass-dim); }
.opt.is-selected { border-color: var(--accent); background: rgba(201,161,92,0.1); color: var(--accent-bright); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-on-dark-dim); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--bg-card); color: var(--stone); font-family: var(--font-body); font-size: var(--step--1);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.8rem; gap: 1rem; }
.form-nav .btn-back { background: none; border: none; color: var(--text-on-dark-dim); font-size: var(--step--1); cursor: pointer; }
.form-success { text-align: center; padding: 2rem 0; }
.form-success .check { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.4rem; color: var(--accent); }
.form-success h3 { font-size: var(--step-2); color: var(--stone); }
.form-success p { color: var(--text-on-dark-dim); margin-top: 0.7rem; max-width: 38ch; margin-left: auto; margin-right: auto; }

/* scroll reveal base state */
[data-reveal] { opacity: 0; transform: translateY(2.5rem); }

/* skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--charcoal); padding: 0.8rem 1.2rem; z-index: 999; }
.skip-link:focus { left: var(--gutter); top: 1rem; }

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