/* Oahu Flooring Quote — shared styles */

:root {
  --ground:      #FFFFFF;
  --alt:         #F1F6F7;
  --sunk:        #E7EFF1;
  --navy:        #0B3C4A;
  --navy-2:      #145A6B;
  --cta:         #D9622B;
  --cta-hover:   #C4551F;
  --ink:         #17262B;
  --ink-2:       #3A4E55;
  --muted:       #5C7076;
  --line:        #D7E2E5;
  --line-soft:   #E9F0F2;
  --ok:          #1E7A5E;
  --shadow-sm:   0 1px 2px rgba(11,60,74,.06);
  --shadow:      0 2px 4px rgba(11,60,74,.06), 0 12px 28px -18px rgba(11,60,74,.35);

  --display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1080px;
  --radius: 6px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:    #0D1719;
    --alt:       #132126;
    --sunk:      #182B31;
    --navy:      #7FC4D6;
    --navy-2:    #A3D8E5;
    --cta:       #E8783F;
    --cta-hover: #F28D57;
    --ink:       #E6EEF0;
    --ink-2:     #B4C6CB;
    --muted:     #8399A0;
    --line:      #253A41;
    --line-soft: #1C2E34;
    --ok:        #4FBF95;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow:    0 2px 4px rgba(0,0,0,.4), 0 12px 28px -18px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ground:#0D1719; --alt:#132126; --sunk:#182B31;
  --navy:#7FC4D6; --navy-2:#A3D8E5;
  --cta:#E8783F; --cta-hover:#F28D57;
  --ink:#E6EEF0; --ink-2:#B4C6CB; --muted:#8399A0;
  --line:#253A41; --line-soft:#1C2E34; --ok:#4FBF95;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 2px 4px rgba(0,0,0,.4), 0 12px 28px -18px rgba(0,0,0,.8);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

a { color: var(--navy-2); text-underline-offset: 2px; }
a:hover { color: var(--cta); }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(31px, 5vw, 46px); }
h2 { font-size: clamp(24px, 3.4vw, 31px); margin-bottom: 12px; }
h3 { font-size: 20px; margin-bottom: 8px; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 62ch; }

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--cta); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }

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

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.hdr {
  display: flex; align-items: center; gap: 18px;
  min-height: 64px;
}
.brand {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  color: var(--ink); text-decoration: none; line-height: 1.15;
  display: flex; flex-direction: column;
}
.brand span {
  font-family: var(--body); font-weight: 400; font-size: 11.5px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-size: 15.5px; font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--cta); }
.hdr-call {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--cta); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15.5px;
  padding: 9px 16px; border-radius: var(--radius);
  white-space: nowrap;
}
.hdr-call:hover { background: var(--cta-hover); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .hdr-call { margin-left: auto; font-size: 14.5px; padding: 8px 13px; }
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 17px;
  padding: 13px 24px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cta); color: var(--cta); }
.btn-block { width: 100%; }

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

.hero {
  background: var(--alt);
  border-bottom: 1px solid var(--line);
  padding: 54px 0 58px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start;
}
.hero p.lede { margin-top: 14px; }
.hero-points {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.hero-points li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 16.5px; color: var(--ink-2);
}
.hero-points li::before {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: 9px;
  background: var(--cta); border-radius: 50%;
}
.hero-call {
  margin-top: 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.hero-call .or { color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 38px 0 42px; }
}

/* ---------- form card ---------- */

.formcard {
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.formcard h2, .formcard h3 { font-size: 21px; margin-bottom: 4px; }
.formcard .sub { font-size: 15px; color: var(--muted); margin-bottom: 18px; }

.field { margin-bottom: 15px; }
.field:last-of-type { margin-bottom: 20px; }
label {
  display: block; font-size: 14.5px; font-weight: 600;
  color: var(--ink); margin-bottom: 5px;
}
label .opt { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.hint { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

input[type=text], input[type=tel], input[type=email], input[type=number],
select, textarea {
  width: 100%; font-family: var(--body); font-size: 16px;
  color: var(--ink); background: var(--ground);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 13px; line-height: 1.4;
}
textarea { min-height: 92px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cta); outline: none; box-shadow: 0 0 0 3px rgba(217,98,43,.16); }

.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 13px; font-size: 15px; cursor: pointer; color: var(--ink-2);
  background: var(--ground);
}
.check input { accent-color: var(--cta); margin: 0; }
.check:has(input:checked) { border-color: var(--cta); color: var(--ink); background: var(--sunk); }

.formcard .fineprint { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.hp { position: absolute; left: -9999px; }

/* ---------- sections ---------- */

section.band { padding: 58px 0; }
section.band.alt { background: var(--alt); border-block: 1px solid var(--line); }
.sec-head { max-width: 62ch; margin-bottom: 30px; }
.sec-head p { color: var(--ink-2); margin-top: 8px; }

.eyebrow {
  font-family: var(--body); font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--cta); margin: 0 0 8px;
}

/* ---------- cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .cards, .cards.two { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
a.card:hover { border-color: var(--cta); transform: translateY(-2px); }
.card .ph { aspect-ratio: 3 / 2; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-body h3 { margin: 0; font-size: 19px; }
.card-body p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.card-body .go { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; color: var(--cta); }

/* ---------- image placeholder ---------- */

.ph {
  background:
    repeating-linear-gradient(45deg, var(--sunk) 0 12px, var(--alt) 12px 24px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; text-align: center; padding: 12px;
  font-family: var(--display); font-weight: 600; letter-spacing: .04em;
}
.ph.solo { border: 1px dashed var(--line); border-radius: var(--radius); aspect-ratio: 16/9; }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 20px; } }
.step { counter-increment: s; }
.step::before {
  content: counter(s);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-bottom: 11px;
  background: var(--navy); color: var(--ground);
  border-radius: 50%; font-family: var(--display); font-weight: 700; font-size: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 5px; }
.step p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

/* ---------- feature list ----------
   A three-track grid so the term column and the description column keep a
   straight left edge down the whole list. As a flex row the description
   started at a different x on every row. */

.flist { list-style: none; margin: 0; padding: 0; display: grid; }

.flist li {
  display: grid;
  grid-template-columns: 22px minmax(170px, 0.8fr) 1.7fr;
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}
.flist li:first-child { padding-top: 0; }
.flist li:last-child { padding-bottom: 0; border-bottom: 0; }

.flist li::before {
  content: "✓";
  grid-column: 1;
  width: 20px; height: 20px; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ok) 16%, transparent);
  color: var(--ok);
  border-radius: 50%;
  font-size: 11.5px; font-weight: 700; line-height: 1;
}

.flist li strong {
  grid-column: 2;
  font-size: 16px;
  line-height: 1.4;
  text-wrap: balance;
}
.flist li span {
  grid-column: 3;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
}

/* Below the two-column threshold the description stacks under its term,
   still indented past the tick so the list reads as one object. */
@media (max-width: 780px) {
  .flist li {
    grid-template-columns: 22px 1fr;
    row-gap: 3px;
    padding: 14px 0;
  }
  .flist li strong, .flist li span { grid-column: 2; }
}

/* ---------- sourcing block ---------- */

.sourcing {
  background: var(--ground);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
@media (max-width: 720px) { .sourcing { grid-template-columns: 1fr; gap: 14px; } }
.sourcing h3 { font-size: 18px; }
.sourcing address {
  font-style: normal; font-size: 15.5px; color: var(--ink-2); line-height: 1.55;
}
.sourcing address b { color: var(--ink); font-weight: 600; }

/* ---------- table ---------- */

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
caption { text-align: left; font-size: 14px; color: var(--muted); padding: 10px 14px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th {
  background: var(--alt); font-family: var(--display); font-size: 14.5px;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { font-weight: 600; color: var(--ink); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 17px 0; list-style: none;
  font-family: var(--display); font-weight: 600; font-size: 17.5px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cta); font-size: 22px; font-weight: 400; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 18px; color: var(--ink-2); font-size: 16.5px; max-width: 68ch; }

/* CTA button pairs: side by side with room, stacked and equal-width without */
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 560px) {
  .btn-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn-row .btn { width: 100%; }
}
.field .opt { color: var(--muted); font-weight: 400; }

/* ---------- photo picker ---------- */

.field input[type="file"] {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink-2);
  background: var(--ground);
  border: 1px dashed var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.field input[type="file"]:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
.field input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 7px 12px;
  font: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--navy); background: var(--alt);
  border: 1px solid var(--line); border-radius: 7px; cursor: pointer;
}
.thumbs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 10px; font-size: 14px; color: var(--muted);
}
.thumb { margin: 0; width: 72px; }
.thumb img {
  width: 72px; height: 72px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line); display: block;
}
.thumb figcaption { margin-top: 4px; font-size: 12px; text-align: center; color: var(--muted); }

/* ---------- submit confirmation dialog ---------- */

dialog.confirm {
  width: min(460px, calc(100vw - 32px));
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ground);
  color: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(11, 60, 74, .45);
  position: relative;
}
dialog.confirm::backdrop { background: rgba(11, 60, 74, .55); }
dialog.confirm h2 { font-size: 24px; line-height: 1.2; text-wrap: balance; }
dialog.confirm .confirm-body { color: var(--ink-2); margin: 10px 0 22px; font-size: 16px; }
dialog.confirm[data-state="err"] .eyebrow { color: #B4442B; }
dialog.confirm .btn-row { justify-content: flex-start; }
.confirm-x {
  position: absolute; top: 8px; right: 8px;
  width: 40px; height: 40px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; color: var(--muted);
  background: none; border: 0; border-radius: 8px; cursor: pointer;
}
.confirm-x:hover { color: var(--ink); background: var(--alt); }
@media (max-width: 560px) {
  dialog.confirm { padding: 26px 20px 22px; }
  dialog.confirm h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: no-preference) {
  dialog.confirm[open] { animation: confirm-in .18s ease-out; }
  @keyframes confirm-in { from { opacity: 0; transform: translateY(8px); } }
}

/* ---------- contractor strip ---------- */

.strip {
  background: var(--navy);
  color: #EAF4F7;
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
:root[data-theme="dark"] .strip,
:root:not([data-theme="light"]) .strip { background: var(--sunk); color: var(--ink); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .strip { background: var(--navy); color: #EAF4F7; } }
.strip h2 { color: inherit; margin: 0 0 5px; font-size: 23px; }
.strip p { margin: 0; opacity: .88; font-size: 16px; }
.strip .btn { margin-left: auto; }
@media (max-width: 720px) { .strip .btn { margin-left: 0; width: 100%; } }

/* ---------- article ---------- */

.article { padding: 42px 0 60px; }
.article-head { max-width: 760px; margin-bottom: 30px; }
.article-meta { font-size: 14.5px; color: var(--muted); margin-top: 12px; }
.prose { max-width: 68ch; font-size: 17.5px; }
.prose h2 { margin: 38px 0 12px; font-size: 26px; }
.prose h3 { margin: 28px 0 8px; font-size: 19.5px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 16px; }
.prose li { margin-bottom: 7px; }
.prose .callout {
  background: var(--alt); border: 1px solid var(--line);
  border-left: 4px solid var(--cta);
  border-radius: var(--radius); padding: 18px 20px; margin: 24px 0;
  font-size: 16.5px;
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose .inline-cta {
  background: var(--sunk); border-radius: var(--radius);
  padding: 20px 22px; margin: 30px 0;
}
.prose .inline-cta h3 { margin-top: 0; }

.postlist { display: grid; gap: 16px; }
.post {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; transition: border-color .15s ease;
}
.post:hover { border-color: var(--cta); }
.post h3 { margin-bottom: 5px; }
.post p { margin: 0; color: var(--ink-2); font-size: 16px; }
.post .soon {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line);
  border-radius: 3px; padding: 1px 7px; margin-bottom: 7px;
}
.post.pending { opacity: .72; }

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

.site-footer {
  background: var(--alt);
  border-top: 1px solid var(--line);
  padding: 42px 0 96px;
  font-size: 15.5px;
  color: var(--ink-2);
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; } }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }
.site-footer .vc-social a { display: inline-block; }
.vc-links { display: inline-block; margin-top: 2px; font-size: 14.5px; font-style: normal; color: var(--muted); }
.vc-links a { color: var(--cta); text-decoration: none; border-bottom: 1px solid rgba(217,98,43,.35); }
.vc-links a:hover { border-bottom-color: currentColor; }
@media (max-width: 860px) { .vc-links a { display: inline-block; padding: 6px 0; margin: -6px 0; } }
.site-footer h4 {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px; font-family: var(--body); font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--cta); }
.disclosure {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted); max-width: 78ch;
}

/* ---------- mobile call bar ---------- */

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; gap: 10px; padding: 10px 14px;
  background: var(--ground); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px -8px rgba(11,60,74,.4);
}
.callbar .btn { flex: 1; font-size: 16px; padding: 12px 10px; }
@media (max-width: 860px) { .callbar { display: flex; } }

/* ---------- photography ---------- */

.shot { display: block; width: 100%; height: 100%; object-fit: cover; }
.card .shot { aspect-ratio: 3 / 2; border-bottom: 1px solid var(--line); }

.figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--alt);
  margin: 0;
}
.figure img { display: block; width: 100%; height: auto; }
.figure figcaption {
  font-size: 14px; color: var(--muted);
  padding: 9px 14px; border-top: 1px solid var(--line);
}

/* ---------- mobile refinements ---------- */

@media (max-width: 860px) {
  .hdr { min-height: 56px; gap: 12px; }
  .brand { font-size: 16px; white-space: nowrap; }
  .brand span { white-space: nowrap; font-size: 11px; }
  .hero { padding: 30px 0 36px; }
  .hero-grid { gap: 26px; }
  .lede { font-size: 17px; }
  h1 { font-size: clamp(28px, 7.4vw, 36px); }
  section.band { padding: 34px 0; }
  .sec-head { margin-bottom: 22px; }
  .article { padding: 30px 0 48px; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 22px; margin-top: 30px; }
  .sourcing { padding: 18px 20px; }
  .formcard { padding: 20px; }
  .strip { padding: 22px; }
}

/* Below 560px the sticky bottom bar carries the call action —
   drop the header button so the masthead stays one tight line. */
@media (max-width: 560px) {
  .hdr-call { display: none; }
  .hero-call .btn, .hero-call { width: 100%; }
  .hero-call .or { width: 100%; text-align: left; }
}

/* ---------- mobile navigation ---------- */

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 13px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 42px;
}
.nav-toggle:hover { border-color: var(--cta); color: var(--cta); }
.nav-bars {
  position: relative;
  width: 16px; height: 2px;
  background: currentColor; border-radius: 2px;
}
.nav-bars::before, .nav-bars::after {
  content: ""; position: absolute; left: 0;
  width: 16px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .18s ease, top .18s ease;
}
.nav-bars::before { top: -5px; }
.nav-bars::after  { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bars::after  { top: 0; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .nav-bars::before, .nav-bars::after { transition: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 4px 0 8px;
    background: var(--ground);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a {
    padding: 14px 20px;
    font-size: 17px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a:last-child {
    border-bottom: 0;
    color: var(--cta);
  }
}

/* anchor targets clear the sticky header */
[id] { scroll-margin-top: 76px; }

/* ---------- sticky action bar ---------- */

.callbar { transition: transform .2s ease; }
.callbar[data-hidden="true"] { transform: translateY(110%); }
@media (prefers-reduced-motion: reduce) { .callbar { transition: none; } }
.callbar .btn { flex: 1; font-size: 15.5px; padding: 12px 8px; min-height: 46px; }

/* ---------- form states ---------- */

button[disabled] { opacity: .65; cursor: progress; }
.formcard input:user-invalid,
.formcard select:user-invalid { border-color: var(--cta); }
.err { color: var(--cta); font-size: 13.5px; margin-top: 5px; font-weight: 600; }

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

.cards.services { grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .cards.services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cards.services { grid-template-columns: 1fr; } }
.svc { background: var(--ground); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.svc h3 { margin: 0; font-size: 17.5px; }
.svc p { margin: 0; font-size: 15px; color: var(--ink-2); }
.licence-note { margin-top: 16px; font-size: 14.5px; color: var(--muted); max-width: 78ch; }

/* ---------- touch polish ---------- */

.nav-toggle, .btn, .hdr-call, .check, .faq summary {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.check, .faq summary { user-select: auto; }

/* ---------- in-house vs partners split ---------- */

.cards.split {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.split-col { background: var(--ground); padding: 22px 24px; }
.split-col + .split-col { border-left: 1px solid var(--line); }
.split-head {
  font-size: 13px;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
/* single column inside each half — term above description */
.split-col .flist li { grid-template-columns: 22px 1fr; row-gap: 3px; }
.split-col .flist li strong, .split-col .flist li span { grid-column: 2; }

@media (max-width: 780px) {
  .cards.split { grid-template-columns: 1fr; }
  .split-col + .split-col { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- discount code chip ---------- */

.code-note {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--ink-2);
}
.code-note b {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 14.5px;
  letter-spacing: .06em;
  color: var(--cta);
  background: color-mix(in srgb, var(--cta) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--cta) 34%, transparent);
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
}
.hero-call .code-note { flex-basis: 100%; }
@media (max-width: 560px) { .code-note { font-size: 14.5px; } }

/* ---------- design deliverable pair ---------- */

.design-pair { display: grid; gap: 16px; }
.design-pair .figure { margin: 0; }
.design-pair img { background: #fff; }
@media (min-width: 900px) { .design-pair { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- mobile tap targets ----------
   Thumbs need ~44px. Inline phone links sit in small print at ~19px,
   which is the one people actually try to tap on a phone. */

@media (max-width: 860px) {
  .brand { padding: 7px 0; }

  /* any inline tel: link outside a button gets a real hit area */
  a[href^="tel:"]:not(.btn):not(.hdr-call) {
    display: inline-block;
    padding: 9px 2px;
    margin: -9px 0;
    font-weight: 600;
  }

  /* inline prose / hint links */
  .fineprint a, .hint a, .answer a, .prose p > a, .card-body a {
    display: inline-block;
    padding: 6px 0;
    margin: -6px 0;
  }
}
