/* Summit Polygraph Idaho
   Colors come from the logo: the blue peak line and the red underline. */
:root {
  --ink: #141619;
  --text: #2b3138;
  --muted: #5d6773;
  --line: #dde3ea;
  --bg: #ffffff;
  --tint: #f2f5f9;
  --blue: #2f64a8;
  --blue-dark: #1f4b84;
  --red: #b8262e;
  --red-dark: #961e25;
  --navy: #0e1a2b;
  --navy-2: #16253a;
  --on-navy: #c3ccd8;
  --red-bright: #e0474f;
  --blue-bright: #6fa3e6;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1120px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 750; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.section { padding-block: 96px; }
.section.tint { background: var(--tint); }
.stack { display: grid; gap: 16px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.eyebrow { font-family: var(--display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 70ch; }

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

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1rem; text-decoration: none; padding: 14px 22px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn { transition: background-color 0.2s, color 0.2s, transform 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { border-bottom: 1px solid rgba(20, 22, 25, 0.08); background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 12px; }
.brand img { width: 170px; }
.nav { display: flex; gap: 4px 24px; flex-wrap: wrap; align-items: center; }
.nav a { font-family: var(--display); font-weight: 600; font-size: 0.98rem; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--blue); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.header-call { padding: 10px 16px; font-size: 0.95rem; }

/* Hero: black polygraph screen with the live chart drawn by polychart.js */
.hero-dark { position: relative; overflow: hidden; color: #fff; padding-block: 64px 56px; background: #000; }
.hero-dark::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 30%, rgba(0, 0, 0, 0.35) 62%, rgba(0, 0, 0, 0.1) 100%); }
.polychart { position: absolute; top: 16px; left: 0; width: 100%; height: calc(100% - 270px); display: block; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 72px; }
.hero-text { display: grid; gap: 24px; max-width: 640px; }
.hero-dark h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4rem); }
.hero-dark .eyebrow { color: var(--red-bright); }
.hero-dark .lead { color: var(--on-navy); }

/* Credentials: stat cards along the bottom of the hero, each with its own live trace */
.creds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.creds li { position: relative; overflow: hidden; display: grid; gap: 4px; align-content: start; padding: 20px 22px 54px; border-radius: 12px;
  background-color: #2f5f9e;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(160deg, #3d77c2 0%, #284f86 100%);
  background-size: 100% 14px, 14px 100%, 100% 100%;
  border-top: 4px solid var(--red-bright); box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.95);
  transition: transform 0.3s, box-shadow 0.3s; }
.creds li:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(150, 195, 255, 0.55), 0 24px 50px -18px rgba(61, 119, 194, 0.85); }
.cred-label { font-family: var(--display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #cfe0f7; }
.cred-num { font-family: var(--display); font-weight: 800; color: #fff; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25); }
.cred-num small { font-size: 0.36em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #dbe8fa; }
.cred-desc { font-size: 0.98rem; color: #e6eef9; line-height: 1.35; }
.cred-trace { position: absolute; left: 0; right: 0; bottom: 10px; width: 200%; height: 34px; overflow: visible; animation: trace-run 9s linear infinite; }
.cred-trace path { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.creds li:nth-child(2) .cred-trace { animation-duration: 12s; }
.creds li:nth-child(3) .cred-trace { animation-duration: 15s; }
.creds li:nth-child(4) .cred-trace { animation-duration: 7s; }
@keyframes trace-run { to { transform: translateX(-50%); } }
.creds.rise li { opacity: 0; transform: translateY(24px); animation: cred-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.creds.rise li:nth-child(2) { animation-delay: 0.12s; }
.creds.rise li:nth-child(3) { animation-delay: 0.24s; }
.creds.rise li:nth-child(4) { animation-delay: 0.36s; }
@keyframes cred-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cred-trace { animation: none; } .creds.rise li { opacity: 1; transform: none; animation: none; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: grid; gap: 10px; align-content: start; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.service::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(14, 26, 43, 0.35); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service p { color: var(--muted); }
.service a { font-family: var(--display); font-weight: 650; font-size: 0.95rem; text-decoration: none; }
.service a::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.service a span { display: inline-block; transition: transform 0.2s; }
.service:hover a span { transform: translateX(4px); }

.service-detail { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding-block: 32px; border-top: 1px solid var(--line); }
.service-detail:first-of-type { border-top: none; padding-top: 0; }
.service-detail > div { display: grid; gap: 12px; min-width: 0; }
.service-detail ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }

/* Steps */

/* Dark chart-paper section (services on the home page) */
.dark-grid { background-color: var(--navy);
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 28px, 28px 100%, 140px 100%;
  border-top: 3px solid var(--red); }
.dark-grid .section-head h2 { color: #fff; }
.dark-grid .eyebrow { color: var(--red-bright); }
.dark-grid .lead { color: var(--on-navy); }
.dark-grid .service { border-color: transparent; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.6); }
.dark-grid .service:hover { box-shadow: 0 22px 44px -16px rgba(0, 0, 0, 0.75); }
.service-cta { background: var(--red); color: #fff; }
.service-cta h3 { color: #fff; }
.service-cta p { color: rgba(255, 255, 255, 0.88); }
.service-cta::before { background: #fff; }
.service-cta .btn { background: #fff; color: var(--red-dark); justify-self: start; margin-top: 6px; }
.service-cta .btn svg { width: 18px; height: 18px; }

/* Photos beside content */
.photo { margin: 0; }
.photo img { width: 100%; border-radius: 10px; object-fit: cover; }
.photo figcaption { margin-top: 10px; font-size: 0.95rem; color: var(--muted); }
.process-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: center; }
.process-grid .photo img { aspect-ratio: 4 / 5; }
.slideshow { margin: 0; width: 100%; max-width: 440px; justify-self: end; }
.slides { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--navy); }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s ease; }
.slides img.is-active { opacity: 1; }
.slide-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 0.95rem; color: var(--muted); }
.dots { display: flex; gap: 2px; }
.dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 9px; height: 9px; border-radius: 5px; background: #b9c3ce; transition: width 0.3s, background-color 0.3s; }
.dots button[aria-current="true"]::before { width: 22px; background: var(--red); }
@media (prefers-reduced-motion: reduce) { .slides img { transition: none; } }

/* About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.about-grid img { border-radius: 10px; }
.portrait { margin: 0; max-width: 400px; position: relative; }
.portrait img { box-shadow: 16px 16px 0 -2px #fff, 16px 16px 0 0 var(--red); }
/* Headshot: tall phone photo cropped to a portrait frame that keeps his face and shoulders */
.portrait img, .headshot { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.portrait { max-width: 440px; }
.headshot { max-width: 440px; border-radius: 10px; }
.portrait figcaption { margin-top: 30px; font-size: 0.95rem; color: var(--muted); }
.portrait figcaption strong { color: var(--ink); font-family: var(--display); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 9px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

.members { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; }
.members figure { margin: 0; display: grid; gap: 8px; justify-items: center; text-align: center; width: 150px; }
.members img { width: 110px; height: 110px; object-fit: contain; }
.members figcaption { font-size: 0.85rem; color: var(--muted); line-height: 1.35; }

/* Office */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.office-grid > img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.address { font-style: normal; font-size: 1.15rem; line-height: 1.5; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--display); font-weight: 700; font-size: 1.08rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding: 0 22px 20px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.call-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.call-card h3 { color: #fff; }
.call-card .phone { font-family: var(--display); font-size: 1.9rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.call-card p { color: var(--on-navy); }
.call-card a:not(.phone) { color: #fff; }
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #b9c3ce; border-radius: var(--radius); padding: 12px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47, 100, 168, 0.35); border-color: var(--blue); }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.9rem; color: var(--muted); }
.form-status { font-weight: 600; }
.form-status.ok { color: #1f6b3d; }
.form-status.err { color: var(--red); }

/* Page header (inner pages) */
.page-head { color: #fff; padding-block: 80px 72px;
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 28px, 28px 100%; }
.page-head .stack { max-width: 70ch; }
.page-head h1 { color: #fff; }
.page-head .eyebrow { color: var(--red-bright); }
.page-head .lead { color: var(--on-navy); }
.page-head a { color: #fff; }

/* Gentle fade-in for sections below the fold (added by main.js) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service:hover { transform: none; }
}

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy); padding-block: 48px 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-logo { background: #fff; border-radius: var(--radius); padding: 10px 14px; width: 190px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; }

/* Home page: the header call button waits until the banner's call button scrolls away */
.page-home .header-call { transition: opacity 0.3s, transform 0.3s, visibility 0.3s; }
.page-home.call-watch:not(.show-call) .header-call { opacity: 0; visibility: hidden; transform: translateY(-6px); }

/* Mobile call bar */
.call-bar { display: none; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-grid .photo { max-width: 420px; }
  .slideshow { justify-self: start; }
  .about-grid, .office-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .creds { grid-template-columns: 1fr 1fr; }
  .polychart { height: calc(100% - 290px); }
  .hero-dark::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.9)); }
  .service-detail { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .section { padding-block: 52px; }
  .hero-dark { padding-block: 44px 40px; }
  .hero-inner { gap: 48px; }
  .header-call { display: none; }
  .site-header { position: static; }
  .about-grid > img { max-width: 320px; }
  .brand img { width: 150px; }
  .nav { width: 100%; justify-content: space-between; }
  .creds { gap: 12px; }
  .creds li { padding: 16px 14px 46px; }
  .cred-num { font-size: 2rem; }
  .cred-label { font-size: 0.66rem; letter-spacing: 0.08em; }
  .cred-desc { font-size: 0.88rem; }
  .page-head { padding-block: 56px 48px; }
  .field-row { grid-template-columns: 1fr; }
  .call-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--red); padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .call-bar a { flex: 1; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 750; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; }
  .call-bar svg { width: 20px; height: 20px; }
  .page-home .call-bar { transition: transform 0.3s; }
  .page-home.call-watch:not(.show-call) .call-bar { transform: translateY(110%); }
}

/* Dark theme: blue-gray and navy-grid sections across the site.
   White cards, the form fields and the logo bar keep the light colors. */
:root {
  --bg: #465a73;
  --ink: #ffffff;
  --text: #eef2f6;
  --muted: #d6dee7;
  --line: rgba(255, 255, 255, 0.22);
  --blue: #cfe0ff;
  --blue-dark: #ffffff;
}
/* Section labels: a solid red bar with white text that slides in from the left (main.js adds the classes) */
.eyebrow, .hero-dark .eyebrow, .page-head .eyebrow, .dark-grid .eyebrow {
  color: #fff; background: var(--red); padding: 7px 14px 6px; border-radius: 2px;
  display: inline-block; justify-self: start; width: max-content; max-width: 100%; line-height: 1.3;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.6); }
.eyebrow.wait { clip-path: inset(0 100% 0 0); }
.eyebrow.slide { animation: label-in 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes label-in { from { clip-path: inset(0 100% 0 0); transform: translateX(-12px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@media (prefers-reduced-motion: reduce) { .eyebrow.wait { clip-path: none; } .eyebrow.slide { animation: none; } }
.site-header, .service, .faq details, .tl-card {
  --ink: #141619; --text: #2b3138; --muted: #5d6773; --line: #dde3ea; --blue: #2f64a8; --blue-dark: #1f4b84;
}
.service, .faq details { color: var(--text); }
.section.tint, .dark-grid { background-color: var(--navy);
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 28px, 28px 100%, 140px 100%; }
.btn-outline:hover { background: #fff; color: var(--navy); }
input, select, textarea { color: #141619; background: #fff; }
.call-card { background: #18212d; border: 1px solid rgba(255, 255, 255, 0.14); }
.portrait img { box-shadow: 16px 16px 0 -2px var(--navy), 16px 16px 0 0 var(--red); }
.members img { background: #fff; border-radius: 12px; padding: 8px; }
.slides { background: #000; }
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.form-status.ok { color: #5fd18b; }
.form-status.err { color: var(--red-bright); }
@media (max-width: 640px) { .portrait img { box-shadow: 10px 10px 0 -2px var(--navy), 10px 10px 0 0 var(--red); } .portrait { margin-right: 10px; } }
@media (max-width: 640px) {
  .hero-text { min-width: 0; }
  .eyebrow, .hero-dark .eyebrow, .page-head .eyebrow, .dark-grid .eyebrow { width: auto; font-size: 0.72rem; letter-spacing: 0.08em; }
}

/* How an exam works: a timeline whose red line fills in as you scroll (main.js sets --progress) */
.process-grid { align-items: start; }
.process-grid .photo { position: sticky; top: 110px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 18px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 20px; top: 22px; bottom: 22px; width: 4px; border-radius: 2px; }
.timeline::before { background: rgba(255, 255, 255, 0.2); }
.timeline::after { background: var(--red-bright); transform-origin: top; transform: scaleY(var(--progress, 1)); }
.tl-step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.tl-dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  border: 3px solid var(--red-bright); box-shadow: 0 0 0 6px var(--bg); }
.tl-card { background: #fff; color: var(--text); border-radius: 10px; padding: 18px 20px; box-shadow: 0 14px 32px -18px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s, box-shadow 0.25s; }
.tl-card:hover { transform: translateX(4px); box-shadow: 0 18px 38px -16px rgba(0, 0, 0, 0.75); }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tl-head h3 { margin: 0; font-size: 1.2rem; }
.step-icon { width: 34px; height: 34px; border-radius: 8px; background: #eaf1fb; color: #2a548c; display: grid; place-items: center; flex: none; }
.step-icon svg { width: 19px; height: 19px; }
.tl-tag { margin-left: auto; font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: #fdecec; color: #9c1f27; padding: 4px 10px; border-radius: 999px; }
.tl-card p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.tl-cta { margin: 26px 0 0 62px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.tl-cta p { color: #fff; font-weight: 600; font-size: 1.05rem; }
@media (max-width: 900px) { .process-grid .photo { position: static; } }
@media (max-width: 640px) { .tl-tag { margin-left: 0; } .tl-cta { margin-left: 0; } .tl-step { gap: 12px; grid-template-columns: 40px 1fr; } .tl-dot { width: 40px; height: 40px; } .timeline::before, .timeline::after { left: 18px; } }

/* Service area band under the office section */
.areas { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.areas h3 { font-size: 1.3rem; }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-left: 4px solid var(--red-bright); border-radius: 10px; padding: 16px 18px; display: grid; gap: 4px; }
.area h4 { margin: 0; font-family: var(--display); font-size: 1.1rem; color: #fff; }
.area p { color: var(--text); font-size: 0.98rem; }
.area-note { color: var(--text); }
.area-note a { color: #fff; font-weight: 600; }
@media (max-width: 760px) { .area-grid { grid-template-columns: 1fr; } }
