/* ==========================================================================
   Cape Cod Computer Repair — styles.css
   Static build. No framework, no build step.
   ========================================================================== */

:root {
  --ink: #102f3c;
  --ink-deep: #092631;
  --teal: #149c92;
  --teal-dark: #06706a;
  --mist: #d9ece8;
  --sand: #f4f0e8;
  --paper: #fffdf8;
  --line: rgba(16, 47, 60, 0.18);
  --muted: #5e7177;
  --matrix: #9dff8d;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --shell: min(1180px, calc(100% - 48px));
  --gutter: max(24px, calc((100vw - 1180px) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.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: -70px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 4px;
  background: var(--ink-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: top 160ms ease;
}
.skip-link:focus { top: 12px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #f7c94b;
  outline-offset: 3px;
}

/* --------------------------------------------------------------- Header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(9, 38, 49, 0.07);
}

.header-inner {
  width: var(--shell);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck .header-inner { border-bottom-color: transparent; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 43px; height: 34px;
  border: 3px solid var(--ink);
  border-radius: 5px;
  box-shadow: inset 0 0 0 3px var(--paper);
  background: var(--teal);
}
.brand-mark::before { content: ""; position: absolute; left: 15px; bottom: -9px; width: 8px; height: 8px; background: var(--ink); }
.brand-mark::after { content: ""; position: absolute; left: 9px; bottom: -11px; width: 20px; height: 3px; border-radius: 2px; background: var(--ink); }
.brand-mark span { position: absolute; right: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--paper); background: var(--teal); }
.brand-name { display: flex; flex-direction: column; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.brand-name strong { font-size: 18px; font-weight: 800; letter-spacing: 0.04em; }
.brand-name small { margin-top: 5px; color: var(--teal-dark); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; }

.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 700; }
.desktop-nav a { padding: 10px 0; border-bottom: 2px solid transparent; transition: color 150ms ease, border-color 150ms ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--teal-dark); border-color: var(--teal); }

.header-call { display: flex; flex-direction: column; align-items: flex-end; font-size: 17px; font-weight: 800; white-space: nowrap; }
.header-call span { margin-bottom: 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.header-call:hover { color: var(--teal-dark); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle i {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 160ms ease;
}
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { width: var(--shell); margin: 0 auto; padding: 8px 0 18px; list-style: none; }
.mobile-nav a {
  display: block;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
}
.mobile-nav li:last-child a { border-bottom: 0; }
.mobile-nav .mobile-cta {
  margin-top: 14px;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

/* ----------------------------------------------------------------- Hero -- */

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 68%, rgba(20, 156, 146, 0.08), transparent 22rem),
    linear-gradient(105deg, var(--paper) 0%, var(--paper) 55%, var(--sand) 55%, var(--sand) 100%);
}

.hero-grid {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(64px, 8vh, 108px) 0 92px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(52px, 8vw, 110px);
}
/* Grid children default to min-width:auto, which lets a long headline word
   blow the column out past the viewport. */
.hero-grid > * { min-width: 0; }
.hero-copy { overflow-wrap: break-word; }

.eyebrow { margin: 0 0 26px; display: flex; align-items: center; gap: 11px; color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow span { flex: 0 0 auto; width: 28px; height: 2px; background: var(--teal); }

h1 {
  max-width: 690px;
  margin: 0;
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: clamp(50px, 5.9vw, 84px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
h1 em { color: var(--teal-dark); font-weight: 400; }

.hero-lede { max-width: 580px; margin: 30px 0 0; color: var(--muted); font-size: 19px; line-height: 1.7; }

.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 28px; }
.button {
  min-height: 58px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 28px rgba(9, 38, 49, 0.2); }
.button-primary:hover { transform: translateY(-2px); background: var(--teal-dark); }
.button-light { background: #fff; color: var(--ink-deep); }
.button-light:hover { transform: translateY(-2px); background: var(--matrix); }
.button[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.text-link { padding: 12px 0; color: var(--ink); font-size: 14px; font-weight: 800; border-bottom: 1px solid var(--ink); }
.text-link:hover { color: var(--teal-dark); border-color: var(--teal); }

.hero-proof {
  margin-top: 52px;
  padding-top: 22px;
  display: flex;
  gap: 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-proof span { display: flex; flex-direction: column; gap: 5px; }
.hero-proof b { color: var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 0; text-transform: none; }

.hero-visual { position: relative; min-width: 0; padding: 0 0 34px 28px; }
.photo-frame {
  position: relative;
  aspect-ratio: 0.83;
  overflow: hidden;
  border-radius: 220px 220px 16px 16px;
  background: var(--ink);
  box-shadow: 0 26px 60px rgba(9, 38, 49, 0.19);
}
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 51% 35%;
  filter: saturate(0.72) contrast(1.06);
}
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(9, 38, 49, 0.3)); pointer-events: none; }
.location-card {
  position: absolute;
  left: 0; bottom: 86px;
  min-width: 200px;
  padding: 18px 21px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid var(--teal);
  background: #fff;
  box-shadow: 0 16px 40px rgba(9, 38, 49, 0.18);
}
.location-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.location-card strong { color: var(--ink); font-size: 15px; }
.location-pin { flex: 0 0 auto; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--teal-dark); font-size: 9px; box-shadow: 0 0 0 6px rgba(20, 156, 146, 0.08); }
.image-caption { margin: 16px 0 0; text-align: right; color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

/* -------------------------------------------------------- Notice strip -- */

.appointment-strip {
  min-height: 82px;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--teal-dark);
  color: #fff;
}
.appointment-strip p { margin: 0; font-size: 14px; }
.appointment-strip p span { margin-right: 13px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.appointment-strip a { font-size: 14px; font-weight: 800; border-bottom: 1px solid rgba(255, 255, 255, 0.7); white-space: nowrap; }

/* ------------------------------------------------------------- Sections -- */

.section { width: var(--shell); margin: 0 auto; padding: 120px 0; }

.section-heading {
  margin-bottom: 58px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 90px;
}
.section-heading .eyebrow { margin-bottom: 22px; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.compact-heading { margin-bottom: 48px; }

h2 {
  margin: 0;
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.042em;
}

/* ------------------------------------------------------------- Services -- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  min-height: 330px;
  padding: 31px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.3);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.service-card:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 18px 45px rgba(9, 38, 49, 0.1);
}
.service-number { color: var(--teal-dark); font: 700 11px/1 var(--sans); letter-spacing: 0.14em; }
.service-card h3 { margin: 52px 0 15px; color: var(--ink-deep); font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: -0.02em; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-card a { margin-top: auto; padding-top: 24px; align-self: flex-start; color: var(--ink); font-size: 12px; font-weight: 800; border-bottom: 1px solid var(--ink); }
.service-card a:hover { color: var(--teal-dark); border-color: var(--teal); }

/* --------------------------------------------------------- Service area -- */

.area-section {
  padding: 84px var(--gutter);
  background: var(--sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.area-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: clamp(40px, 6vw, 90px); }
.area-inner h2 { font-size: clamp(32px, 3.4vw, 44px); }
.area-inner > div > p { margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.area-list li {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

/* ------------------------------------------------------------- Terminal -- */

.terminal-section {
  position: relative;
  overflow: hidden;
  padding: 120px var(--gutter);
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
  background: var(--ink-deep);
  color: #fff;
}
.terminal-section::before {
  content: "01100011 01100001 01110000 01100101 00100000 01100011 01101111 01100100";
  position: absolute;
  inset: 18px auto auto -6px;
  max-width: 100vw;
  overflow: hidden;
  color: rgba(157, 255, 141, 0.04);
  font: 700 52px/1 monospace;
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
}
.eyebrow-light { color: var(--matrix); }
.eyebrow-light span { background: var(--matrix); }
.terminal-intro { position: relative; z-index: 1; }
.terminal-intro h2, .contact-copy h2 { color: #fff; }
.terminal-intro > p:not(.eyebrow) { margin: 28px 0 34px; color: #b8c8cc; font-size: 16px; line-height: 1.75; }

.terminal-shell {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(157, 255, 141, 0.35);
  border-radius: 9px;
  background: #030d0a;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32), 0 0 65px rgba(80, 255, 133, 0.07);
}
.terminal-bar {
  min-height: 48px;
  padding: 0 17px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(157, 255, 141, 0.18);
  background: #081713;
  color: #78958b;
  font: 700 10px/1 monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.terminal-dots { display: flex; gap: 7px; }
.terminal-dots i { width: 8px; height: 8px; border-radius: 50%; background: #24473b; }
.terminal-dots i:nth-child(2) { background: #316c55; }
.terminal-dots i:nth-child(3) { background: #55a06d; }
.terminal-online { justify-self: end; color: var(--matrix); }
.terminal-online::before { content: ""; width: 6px; height: 6px; margin-right: 7px; display: inline-block; border-radius: 50%; background: var(--matrix); box-shadow: 0 0 12px var(--matrix); }

.terminal-screen {
  position: relative;
  min-height: 475px;
  padding: clamp(26px, 5vw, 48px);
  background:
    linear-gradient(rgba(18, 255, 94, 0.025) 1px, transparent 1px) 0 0 / 100% 4px,
    radial-gradient(circle at 60% 30%, rgba(77, 255, 133, 0.08), transparent 55%);
}
.terminal-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(157, 255, 141, 0.025), transparent);
  transform: translateX(-100%);
  animation: scan 7s linear infinite;
  pointer-events: none;
}
.terminal-prompt { margin: 0 0 22px; color: #4da86d; font: 13px/1.5 "Courier New", monospace; }
.terminal-screen pre { min-height: 330px; margin: 0; color: var(--matrix); font: 14px/1.52 "Courier New", monospace; white-space: pre-wrap; text-shadow: 0 0 12px rgba(157, 255, 141, 0.26); }
.terminal-cursor { animation: blink 0.8s steps(1) infinite; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes scan { to { transform: translateX(100%); } }

/* -------------------------------------------------------------- Process -- */

.process-section { padding-bottom: 128px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-grid article { padding: 35px 34px 38px; border-top: 3px solid var(--teal); background: var(--sand); }
.process-grid span { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--mist); color: var(--teal-dark); font-size: 10px; font-weight: 800; }
.process-grid h3 { margin: 42px 0 14px; color: var(--ink-deep); font-family: var(--serif); font-size: 25px; font-weight: 500; }
.process-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

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

.faq-section { padding-top: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details {
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 160ms ease;
}
.faq-list details[open] { background: rgba(255, 255, 255, 0.45); }
.faq-list summary {
  padding: 26px 52px 26px 4px;
  position: relative;
  list-style: none;
  color: var(--ink-deep);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--teal-dark);
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary:hover { color: var(--teal-dark); }
.faq-answer { margin: 0; padding: 0 60px 28px 4px; max-width: 780px; color: var(--muted); font-size: 15px; line-height: 1.75; }

/* -------------------------------------------------------------- Contact -- */

.contact-section {
  padding: 120px var(--gutter);
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(60px, 8vw, 110px);
  background: var(--teal-dark);
  color: #fff;
  scroll-margin-top: 96px;
}
.contact-copy > p:not(.eyebrow) { margin: 28px 0 38px; color: rgba(255, 255, 255, 0.86); font-size: 16px; line-height: 1.75; }
.contact-details { display: grid; gap: 22px; }
.contact-details a, .contact-details p { margin: 0; display: flex; flex-direction: column; gap: 5px; font-size: 16px; font-weight: 700; }
.contact-details small { color: rgba(255, 255, 255, 0.82); font-size: 10px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.contact-details a:hover { color: var(--matrix); }

.inquiry-form {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 68px rgba(4, 46, 44, 0.25);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.inquiry-form label { margin-bottom: 22px; display: flex; flex-direction: column; gap: 9px; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 47, 60, 0.2);
  border-radius: 4px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font: 16px/1.4 var(--sans);
  text-transform: none;
  letter-spacing: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.inquiry-form input, .inquiry-form select { min-height: 51px; padding: 0 14px; }
.inquiry-form textarea { min-height: 132px; padding: 14px; resize: vertical; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20, 156, 146, 0.12); }
.inquiry-form input[aria-invalid="true"], .inquiry-form select[aria-invalid="true"], .inquiry-form textarea[aria-invalid="true"] { border-color: #b4483a; box-shadow: 0 0 0 3px rgba(180, 72, 58, 0.1); }
.inquiry-form textarea::placeholder { color: #839297; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-bottom { align-items: start; }
.captcha-field { min-width: 0; margin-bottom: 22px; }
.captcha-field > label {
  margin-bottom: 9px;
  display: block;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.captcha-control { display: grid; grid-template-columns: 1fr 51px; gap: 8px; }
.captcha-control button { border: 1px solid var(--line); border-radius: 4px; background: var(--mist); color: var(--teal-dark); font-size: 20px; cursor: pointer; }
.captcha-control button:hover { background: #c5e3dd; }

.submit-row { display: flex; align-items: center; gap: 20px; }
.submit-row p { max-width: 250px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.submit-button { flex: 0 0 auto; }
.form-status { margin: 20px 0 0; padding: 13px 15px; border-radius: 4px; font-size: 13.5px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.error { background: #f9e7e2; color: #8b3327; }
.form-status.success { background: var(--mist); color: #09695f; }

/* --------------------------------------------------------------- Footer -- */

footer.site-footer {
  padding: 44px var(--gutter) 40px;
  background: var(--ink-deep);
  color: #b8c8cc;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.footer-brand { justify-self: start; color: #fff; }
.footer-brand .brand-name small { color: #7fe3d7; }
.footer-brand .brand-mark { border-color: #fff; box-shadow: inset 0 0 0 3px var(--ink-deep); }
.footer-brand .brand-mark span { border-color: var(--ink-deep); }
.footer-brand .brand-mark::before, .footer-brand .brand-mark::after { background: #fff; }
.footer-inner p { margin: 0; font-size: 11.5px; letter-spacing: 0.04em; }
.footer-inner p:last-child { justify-self: end; }
.footer-meta {
  width: 100%;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  color: rgba(184, 200, 204, 0.92);
  font-size: 11.5px;
}
.footer-meta a:hover { color: #fff; }

/* ------------------------------------------------------ Mobile call bar -- */

.call-bar { display: none; }

/* ------------------------------------------------------------ Responsive */

@media (max-width: 980px) {
  .area-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 88px; }
  .hero { background: var(--paper); }
  .header-inner { min-height: 78px; }
  .desktop-nav { display: none; }
  .nav-toggle { display: block; order: 3; }
  .header-call { order: 2; margin-left: auto; }
  .header-inner { gap: 16px; }
  .hero-grid { padding-top: 56px; grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: min(560px, 100%); margin: 0 auto; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .terminal-section, .contact-section { grid-template-columns: 1fr; }
  .terminal-intro, .contact-copy { max-width: 680px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > p:first-of-type { display: none; }
}

@media (max-width: 600px) {
  :root { --shell: min(100% - 30px, 1180px); }
  .header-call span { display: none; }
  .header-call { font-size: 14px; }
  .brand-name strong { font-size: 15px; }
  .brand-name small { font-size: 9px; }
  .hero-grid { padding: 44px 0 68px; }
  h1 { font-size: clamp(36px, 11vw, 56px); letter-spacing: -0.038em; }
  h2 { font-size: clamp(32px, 9vw, 46px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .text-link { align-self: flex-start; }
  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    font-size: clamp(8px, 2.4vw, 10px);
    letter-spacing: 0.02em;
  }
  .hero-proof span { min-width: 0; }
  .hero-proof b { font-size: 20px; }
  .hero-visual { padding-left: 14px; }
  .location-card { bottom: 72px; }
  .appointment-strip { align-items: flex-start; flex-direction: column; gap: 13px; }
  .appointment-strip p { display: flex; align-items: flex-start; flex-direction: column; gap: 9px; }
  .appointment-strip p span { margin: 0; }
  .section, .terminal-section, .contact-section, .area-section { padding-top: 84px; padding-bottom: 84px; }
  .faq-section { padding-top: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 28px 24px 30px; }
  .service-card h3 { margin-top: 34px; }
  .terminal-screen { min-height: 430px; padding: 25px 20px; }
  .terminal-screen pre { min-height: 340px; font-size: 12px; }
  .terminal-bar { grid-template-columns: 1fr auto; }
  .terminal-bar > span:nth-child(2) { display: none; }
  .faq-list summary { font-size: 19px; padding-right: 44px; }
  .faq-answer { padding-right: 12px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .submit-row { align-items: stretch; flex-direction: column; }
  .submit-row p { max-width: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner p:last-child { justify-self: start; }

  /* Always-visible tap-to-call bar — the footer absorbs its height so no
     stray light strip appears under the dark footer. */
  .site-footer { padding-bottom: calc(40px + 66px); }
  .call-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 -8px 26px rgba(9, 38, 49, 0.18);
  }
  .call-bar a {
    min-height: 60px;
    padding-bottom: env(safe-area-inset-bottom);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 800;
  }
  .call-bar .cb-call { background: var(--ink-deep); color: #fff; }
  .call-bar .cb-book { background: var(--teal); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .call-bar, .terminal-section, .inquiry-form, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
}
