/* Apogee Web Studio — site styles
   Brand: Navy #102848 · Orange #F06020 (accents only) · Cream #F7F4EE · White · Slate #4A5568
   Rule: orange is for dots, lines and markers. Never fills, never text. No gradients. */

/* Fonts are served from this site (latin subset), not a third party. */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400-latin.43751174b6b8.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500-latin.792477d09826.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-600-latin.b550bca8934b.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/poppins-700-latin.0bd523f60499.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.570751c5f8b4.woff2") format("woff2"); }

:root {
  --navy: #102848;
  --navy-deep: #0B1D35;
  --navy-line: #2A4468;
  --orange: #F06020;
  --cream: #F7F4EE;
  --white: #FFFFFF;
  --slate: #4A5568;
  --line: #E6E0D4;
  --line-soft: #EFEAE0;
  --input-line: #8C8371; /* 3.75:1 on white: input edges need 3:1 (WCAG 1.4.11) */
  --on-navy: #D5DDE8;
  --on-navy-muted: #C9D2E0;
  --on-navy-faint: #8FA0BA;
  --error: #9B2C2C;
  --error-deep: #7A1F1F;
  --error-bg: #FFF5F5;
  --navy-rule: #3A5578;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  /* Type scale. Every font size on the site is one of these. In rem so a visitor's
     browser text-size setting scales it (at the default 16px: 11, 12 … 28px). */
  --fs-1: .6875rem;
  --fs-2: .75rem;
  --fs-3: .8125rem;
  --fs-4: .875rem;
  --fs-5: .9375rem;
  --fs-6: 1rem;
  --fs-7: 1.125rem;
  --fs-8: 1.375rem;
  --fs-9: 1.75rem;
  --fs-h2: clamp(1.75rem, 3.6vw, 2.5rem);
  --fs-h1: clamp(2.375rem, 5vw, 3.5rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 120ms;
  --dur-menu: 200ms;
  --dur-exit: 160ms;
  --max: 1200px;
  --sans: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--navy);
  font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
/* Orange alone is 2.99:1 on cream; the navy ring inside it keeps the focus mark above 3:1 everywhere. */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: var(--radius-sm); box-shadow: 0 0 0 2px var(--navy); }

.m { font-family: var(--mono); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; flex: none; }
.dot--lg { width: 9px; height: 9px; }

.label { font-family: var(--mono); font-size: var(--fs-2); letter-spacing: .12em; color: var(--slate); text-transform: uppercase; }
.label--light { color: var(--on-navy-muted); }
.eyebrow { font-family: var(--mono); font-size: var(--fs-1); letter-spacing: .1em; color: var(--slate); text-transform: uppercase; }

.grid-paper {
  background-color: var(--white);
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 24px 24px;
}
.ruler {
  height: 8px; border-bottom: 1px solid var(--navy);
  background-image: repeating-linear-gradient(90deg, var(--navy) 0 1px, transparent 1px 12px);
  background-size: 100% 5px; background-repeat: no-repeat; background-position: left bottom;
}
.ruler--light {
  border-bottom-color: var(--navy-rule);
  background-image: repeating-linear-gradient(90deg, var(--navy-rule) 0 1px, transparent 1px 12px);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 26px; border-radius: var(--radius);
  font-weight: 600; font-size: var(--fs-6); text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 2px solid var(--navy);
  transition: background-color .15s, color .15s, border-color .15s, transform var(--dur-fast) var(--ease-out);
}
.btn:active:not([disabled]) { transform: scale(.97); }
/* While the form sends, the button's dot pulses so the wait reads as work, not a frozen page. */
@keyframes dot-pulse { 50% { transform: scale(.55); opacity: .45; } }
.btn[disabled] .dot { animation: dot-pulse .9s var(--ease-in-out) infinite; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--sm { height: 44px; padding: 0 18px; font-size: var(--fs-5); gap: 10px; }

/* Telemetry strip */
.strip { background: var(--navy); color: var(--on-navy-muted); }
.strip__in { height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--mono); font-size: var(--fs-2); letter-spacing: .06em; }
.strip__loc { display: flex; align-items: center; gap: 10px; }
.strip__coords { color: var(--on-navy-faint); }
.strip a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; height: 44px; white-space: nowrap; }
.strip a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(247,244,238,.96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr__in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* On very narrow screens the logo scales down inside its box; it is never squeezed out of proportion. */
.hdr__logo { min-width: 0; display: inline-flex; align-items: center; min-height: 44px; }
.hdr__logo img { height: 36px; width: auto; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: var(--fs-4); font-weight: 500; text-decoration: none; }
.nav__links a span { font-family: var(--mono); font-size: var(--fs-2); color: var(--slate); }
.nav__links a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--radius); border: 2px solid var(--navy);
  background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.menu-btn span { width: 18px; height: 2px; background: var(--navy); display: block;
  transition: transform var(--dur-menu) var(--ease-in-out), opacity var(--dur-fast) var(--ease-out); }
/* Open: the three bars fold into an X, so the button shows what the next tap does. */
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* The panel drops in from under the header and leaves a little faster. Browsers without
   @starting-style just show and hide it instantly. */
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--white);
  opacity: 0; transform: translateY(-6px);
  transition: opacity var(--dur-exit) var(--ease-in), transform var(--dur-exit) var(--ease-in), display var(--dur-exit) allow-discrete; }
.mobile-nav.is-open { opacity: 1; transform: none;
  transition: opacity var(--dur-menu) var(--ease-out), transform var(--dur-menu) var(--ease-out), display var(--dur-menu) allow-discrete; }
@starting-style { .mobile-nav.is-open { opacity: 0; transform: translateY(-6px); } }
.no-js .mobile-nav { opacity: 1; transform: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 4px 20px 12px; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; font-weight: 600; font-size: var(--fs-7); }
.mobile-nav li:last-child a { border-bottom: 0; }
.mobile-nav.is-open { display: block; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .menu-btn { display: inline-flex; }
  .strip__coords { display: none; }
  .no-js .menu-btn { display: none; }
  .no-js .mobile-nav { display: block; }
}
@media (max-width: 520px) {
  .strip__loc { display: none; }
  .strip__in { justify-content: center; }
  .hdr__in { gap: 10px; }
  .nav { gap: 10px; }
  .hdr__cta { padding: 0 12px; font-size: var(--fs-4); gap: 8px; }
  .hdr__logo img { height: 28px; width: auto; }
}
@media (max-width: 360px) { .hdr__cta .dot { display: none; } }

/* Sections */
.section { padding-top: 72px; padding-bottom: 72px; scroll-margin-top: 80px; }
/* A section that follows another on the same background: the ruler already marks the break. */
.section--follow { padding-top: 24px; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.section-head__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head__title { display: flex; flex-direction: column; gap: 8px; }
.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; text-wrap: balance; }
.lede { font-size: var(--fs-5); line-height: 1.6; color: var(--slate); max-width: 400px; }
.body { font-size: var(--fs-7); line-height: 1.65; color: var(--slate); text-wrap: pretty; }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.hero h1 span { color: var(--slate); font-weight: 600; display: block; }
.hero__sub { font-size: var(--fs-7); line-height: 1.6; color: var(--slate); max-width: 520px; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__offer { font-size: var(--fs-6); font-weight: 600; }
.hero__offer .dot { margin-right: 10px; vertical-align: middle; }
/* Inline links pad out to a 44px tap target without changing the line height around them. */
.hero__offer a, .price-group__after a { padding-block: 10px; }

.fig { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 32px rgba(60,40,20,.08); background: var(--white); }
.fig svg { display: block; width: 100%; height: auto; }
/* Under 600px the diagram's labels are too small to read; the Process steps say the same thing. */
@media (max-width: 600px) { .hero__fig { display: none; } }
.fig figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 16px;
  border-top: 1px solid var(--line); font-family: var(--mono); font-size: var(--fs-2); color: var(--slate); background: var(--white); }

/* Trajectory animation */
.traj text { font-family: var(--mono); }
@keyframes ap-draw { from { stroke-dashoffset: 315; } to { stroke-dashoffset: 0; } }
.ap-draw { stroke-dasharray: 315; stroke-dashoffset: 315; animation: ap-draw 2.4s cubic-bezier(.3,.1,.2,1) .2s forwards; }
@keyframes ap-rise { from { transform: rotate(-60deg); } to { transform: rotate(0deg); } }
.ap-rider { transform-box: view-box; transform-origin: 300px 400px; animation: ap-rise 2.4s cubic-bezier(.3,.1,.2,1) .2s both; }
@keyframes ap-ping { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(3.4); opacity: 0; } }
.ap-ping { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ap-ping 2.2s ease-out 2.7s 3; }
@keyframes ap-fade { from { opacity: 0; } to { opacity: 1; } }
.ap-wp { opacity: 0; animation: ap-fade .5s ease-out forwards; }
/* Four blinks (4.4s), then it stays on: blinking past 5s would need a pause control (WCAG 2.2.2). */
@keyframes ap-blink { 0%, 39% { opacity: 0; } 40%, 100% { opacity: 1; } }
.ap-cursor { animation: ap-blink 1.1s steps(1) 4 forwards; }
@media (prefers-reduced-motion: reduce) {
  .ap-draw, .ap-rider, .ap-wp, .ap-cursor { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
  .ap-ping { display: none; }
}

/* Process steps */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px 32px;
  padding: 24px 0; border-bottom: 1px solid var(--line); }
.step__part { display: flex; flex-direction: column; gap: 6px; }
.steps__cta { margin-top: 24px; }
.step__n { display: flex; align-items: center; gap: 8px; }
.step h3 { font-size: var(--fs-8); font-weight: 700; }
.step__part p { font-size: var(--fs-6); line-height: 1.6; text-wrap: pretty; }
.step__part .step__sum { font-size: var(--fs-5); color: var(--slate); }

/* Services (navy) */
.dark { background: var(--navy); color: var(--white); }
.dark .h2 { max-width: 760px; }
.services { border-top: 1px solid var(--navy-line); margin-bottom: 48px; }
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 40px; padding: 28px 0;
  border-bottom: 1px solid var(--navy-line); }
.service h3 { font-size: var(--fs-8); font-weight: 600; }
.service__price { font-size: var(--fs-5); line-height: 1.5; color: var(--on-navy); margin-top: 6px; font-variant-numeric: tabular-nums; text-wrap: balance; }
.service__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.service__body > p { font-size: var(--fs-6); line-height: 1.6; color: var(--on-navy); max-width: 600px; text-wrap: pretty; }
.service__body .more-list { align-self: stretch; }
.service__link { color: var(--white); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }
@media (max-width: 760px) { .service { grid-template-columns: minmax(0, 1fr); } }
.watch { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px; align-items: center; }
.watch__copy { display: flex; flex-direction: column; gap: 12px; }
.watch__copy h3 { font-size: var(--fs-8); font-weight: 600; }
.watch__copy p + h3 { margin-top: 16px; }
.watch__copy p { font-size: var(--fs-6); line-height: 1.6; color: var(--on-navy); max-width: 460px; text-wrap: pretty; }
.term { background: var(--navy-deep); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 20px 22px;
  font-family: var(--mono); font-size: var(--fs-3); line-height: 1.9; color: var(--on-navy); overflow-x: auto; margin: 0; white-space: pre; }
.term .c { color: var(--on-navy-faint); }
.term .w { color: var(--white); }
.term .o { color: var(--orange); }

/* Pricing */
.price-group { margin: 32px 0 12px; }
.price-group__title { font-size: var(--fs-8); font-weight: 700; margin-top: 4px; }
.price-group__note { font-size: var(--fs-5); color: var(--slate); margin-top: 2px; max-width: 760px; }
.price-group__flag { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; padding: 12px 16px; background: var(--white);
  border: 1px solid var(--navy); border-left: 4px solid var(--orange); border-radius: var(--radius-sm); font-size: var(--fs-6); font-weight: 600; }
.price-group__flag .dot { flex: none; }
.table-box { overflow-x: auto; border: 1px solid var(--navy); border-radius: var(--radius); background: var(--white); }
.price { width: 100%; min-width: 720px; border-collapse: collapse; font-size: var(--fs-5); font-variant-numeric: tabular-nums; }
.price th, .price td { padding: 14px 20px; text-align: left; vertical-align: top; }
.price thead > tr > * { padding: 20px; border-bottom: 1px solid var(--navy); }
.price thead th + th, .price td { border-left: 1px solid var(--line-soft); }
.price tbody tr > * { border-bottom: 1px solid var(--line-soft); }
.price tbody tr:last-child > * { border-bottom: 0; }
.price .rowlabel { font-family: var(--mono); font-size: var(--fs-2); letter-spacing: .06em; color: var(--slate); font-weight: 500; text-transform: uppercase; }
.price .corner { width: 22%; }
.price .tier { font-size: var(--fs-8); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.price .tier-for { font-size: var(--fs-3); font-weight: 400; color: var(--slate); margin-top: 4px; }
.price .popular { background: var(--cream); }
.price .big { font-size: var(--fs-7); font-weight: 700; }
.price .cta-row td { padding: 20px; }
.price .cta-row .btn { white-space: nowrap; }
.price-group__after { margin-top: 16px; }
.price-group__after a { font-weight: 600; white-space: nowrap; }
.faqs { max-width: 760px; }

/* Click-to-open rows (FAQs, SEO offers). Plain <details>, so they work without JS. */
.more-list { border-top: 1px solid var(--line); }
.more { border-bottom: 1px solid var(--line); }
.more summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 10px 0;
  cursor: pointer; list-style: none; font-size: var(--fs-6); font-weight: 600; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-family: var(--mono); font-size: var(--fs-7); font-weight: 400; color: var(--slate); }
.more[open] summary::after { content: "–"; }
@keyframes more-in { from { opacity: 0; transform: translateY(-4px); } }
.more[open] > :not(summary) { animation: more-in var(--dur-menu) var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .more[open] > :not(summary) { animation: none; } }
.more__meta { font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.more p { font-size: var(--fs-5); line-height: 1.6; color: var(--slate); max-width: 640px; padding-bottom: 14px; text-wrap: pretty; }
.dots { margin: 0 0 14px; padding: 0; list-style: none; font-size: var(--fs-5); line-height: 1.5; max-width: 640px; }
.dots li { position: relative; padding: 5px 0 5px 18px; }
.dots li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.more-list--dark, .more-list--dark .more { border-color: var(--navy-line); }
.more-list--dark .more summary::after, .more-list--dark .more p, .more-list--dark .dots { color: var(--on-navy); }

/* Pricing: stacked cards on small screens */
.plans { display: none; list-style: none; margin: 0; padding: 0; flex-direction: column; gap: 16px; }
.plan { font-variant-numeric: tabular-nums; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.plan--popular { border: 2px solid var(--navy); }
.plan__head { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.plan__name { font-size: var(--fs-8); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.plan__flag { font-family: var(--mono); font-size: var(--fs-1); letter-spacing: .08em; color: var(--slate); margin-left: auto; font-weight: 500; }
.plan__for { font-size: var(--fs-4); color: var(--slate); margin-top: 2px; }
.plan dl { margin: 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); }
.plan dt, .plan dd { margin: 0; padding: 10px 20px; border-bottom: 1px solid var(--line-soft); }
.plan dt { font-family: var(--mono); font-size: var(--fs-1); letter-spacing: .06em; color: var(--slate); text-transform: uppercase; padding-right: 0; padding-top: 13px; }
.plan dd { font-size: var(--fs-5); text-wrap: pretty; }
.plan dd.big { font-size: var(--fs-7); font-weight: 700; }
.plan__cta { padding: 16px 20px; }
.plan__cta .btn { width: 100%; }
@media (max-width: 860px) {
  .table-box { display: none; }
  .plans { display: flex; }
}

/* Work */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 700px) { .work { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--navy); border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__tag { position: absolute; left: 12px; top: 12px; font-family: var(--mono); font-size: var(--fs-1); letter-spacing: .06em;
  color: var(--navy); background: var(--cream); padding: 4px 8px; border-radius: var(--radius-sm); }
.card__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.card__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card__row h3 { font-size: var(--fs-7); font-weight: 600; }
.card__id { font-family: var(--mono); font-size: var(--fs-1); color: var(--slate); white-space: nowrap; }
.card__type { font-size: var(--fs-4); color: var(--slate); }
.card a { text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.card a:hover h3 { text-decoration: underline; }
.card__link { color: var(--navy); font-weight: 600; white-space: nowrap; }
.card--open { border-style: dashed; }
.card--open .card__media img { opacity: .55; }

/* Testimonials (hidden until TESTIMONIALS has real quotes) */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; margin-top: 24px; }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--orange);
  border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; font-size: var(--fs-7); line-height: 1.55; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-4); }
.quote__name { font-weight: 600; }
.quote__biz { color: var(--slate); }

/* About */
.about { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 48px; align-items: start; }
.about__copy { display: flex; flex-direction: column; gap: 20px; }
.about__side { display: flex; flex-direction: column; gap: 16px; }
.photo { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.photo figcaption { padding: 10px 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: var(--fs-1); letter-spacing: .06em; color: var(--slate); }
.spec { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); font-family: var(--mono); font-size: var(--fs-3); }
.spec dt, .spec dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--slate); }
.spec dd { font-weight: 600; }
.spec dt:last-of-type, .spec dd:last-of-type { border-bottom: 0; }
.spec a { text-decoration: none; }
.spec a, .kv a { display: inline-flex; align-items: center; min-height: 44px; margin: -13px 0; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 40px; align-items: start; padding-bottom: 88px; }
.contact__copy { display: flex; flex-direction: column; gap: 20px; }
.callblock { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: var(--radius); background: var(--navy); color: var(--white); text-decoration: none; }
.callblock:hover { background: var(--navy-deep); color: var(--white); }
.callblock__k { font-family: var(--mono); font-size: var(--fs-1); letter-spacing: .1em; color: var(--on-navy-muted); display: flex; align-items: center; gap: 8px; }
.callblock__v { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.01em; }
.kv { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 8px 16px; font-family: var(--mono); font-size: var(--fs-3); margin: 0; }
.kv dt { color: var(--slate); }
.kv dd { margin: 0; font-weight: 600; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-4); font-weight: 500; }
.field input, .field textarea { height: 48px; border-radius: var(--radius-sm); border: 1.5px solid var(--input-line); padding: 0 14px; font-size: var(--fs-6); background: var(--white); color: var(--navy); }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: 1px; }
.field .req { color: var(--slate); font-weight: 400; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: var(--fs-4); font-weight: 500; margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--navy);
  background: var(--white); color: var(--navy); font-size: var(--fs-4); font-weight: 500; cursor: pointer; user-select: none;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.chip:active span { transform: scale(.97); }
.chip input:checked + span { background: var(--navy); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; box-shadow: 0 0 0 2px var(--navy); }
.notice { padding: 14px 16px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--navy); font-family: var(--mono); font-size: var(--fs-3); line-height: 1.6; }
.notice--error { border-color: var(--error); color: var(--error-deep); background: var(--error-bg); }
.notice strong { font-weight: 600; }
.errorlist { list-style: none; margin: 0; padding: 0; color: var(--error); font-size: var(--fs-3); font-weight: 500; }
.form .btn { width: 100%; }
.form__privacy { font-size: var(--fs-3); color: var(--slate); }

/* Footer */
.ftr { background: var(--navy); color: var(--on-navy-muted); }
.ftr__in { padding: 40px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.ftr img { height: 34px; width: auto; }
.ftr__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; font-family: var(--mono); font-size: var(--fs-2); letter-spacing: .04em; }
.ftr a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

/* 404 */
.notfound { display: flex; flex-direction: column; gap: 20px; min-height: 50vh; }

/* Reduced motion: no movement or scaling; fades and colour changes stay so state still reads. */
@media (prefers-reduced-motion: reduce) {
  .btn:active:not([disabled]), .chip:active span { transform: none; }
  .mobile-nav, .mobile-nav.is-open { transform: none; transition-property: opacity, display; }
  .menu-btn span { transition-duration: 0s; }
  .btn[disabled] .dot { animation-name: dot-fade; }
}
@keyframes dot-fade { 50% { opacity: .45; } }
