/* ============================================================
   Kairos Customs Tech Solutions - styles.css
   Direction: cream + forest teal + goldenrod.
   Warm, welcoming, and local with a clean technical backbone.
   ============================================================ */

/* ---- 1. Design tokens ---------------------------------------------------- */
:root {
  --bg: #f5efe4;
  --bg-2: #f0e7d8;
  --surface: #fefbf6;
  --panel: #fff9f1;
  --panel-2: #f2e9d9;
  --panel-strong: #26484a;
  --line: rgba(38, 72, 74, 0.1);
  --line-strong: rgba(38, 72, 74, 0.18);

  --text: #26484a;
  --text-muted: #586b6b;
  --text-faint: #7f8b84;
  --text-on-dark: #fdf8f0;
  --text-on-dark-muted: rgba(253, 248, 240, 0.76);

  --blue: #26484a;
  --blue-bright: #356668;
  --cyan: #c79a2b;
  --spark: #d5a13a;
  --online: #4f8763;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Courier New", monospace;

  --maxw: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-sm: 10px;
  --hair: 1px solid var(--line);

  --shadow-sm: 0 12px 28px -24px rgba(38, 72, 74, 0.28);
  --shadow-md: 0 24px 48px -28px rgba(38, 72, 74, 0.2);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- 2. Reset / base ----------------------------------------------------- */
*, *::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;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(60% 48% at 8% 0%, rgba(199, 154, 43, 0.16), transparent 62%),
    radial-gradient(48% 36% at 92% 4%, rgba(38, 72, 74, 0.08), transparent 62%),
    linear-gradient(180deg, #f8f2e8 0%, #f5efe4 46%, #f7f1e7 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 1.8rem + 4vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem); }

p { margin: 0 0 1rem; }

a {
  color: var(--blue-bright);
  text-decoration-color: rgba(38, 72, 74, 0.28);
  text-underline-offset: 3px;
}
a:hover { color: var(--blue); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- 3. Layout helpers --------------------------------------------------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

.band {
  background: linear-gradient(180deg, rgba(255, 249, 241, 0.84), rgba(242, 233, 217, 0.68));
  border-block: var(--hair);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  color: var(--blue);
  display: inline-block;
  margin: 0 0 1rem;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.section-head p { color: var(--text-muted); font-size: 1.06rem; margin-bottom: 0; }
.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.24rem); color: var(--text-muted); }

/* ---- 4. Buttons ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: var(--text-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6ch;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.92rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn--primary { box-shadow: 0 14px 30px -18px rgba(38, 72, 74, 0.4); }
.btn--primary:hover {
  color: var(--text-on-dark);
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -18px rgba(38, 72, 74, 0.42);
}
.btn:active { transform: translateY(0); }

.btn--primary .spark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spark);
  box-shadow: 0 0 0 0 rgba(213, 161, 58, 0.6);
  animation: spark 3.2s var(--ease) infinite;
}
@keyframes spark {
  0%, 100% { box-shadow: 0 0 0 0 rgba(213, 161, 58, 0.55); }
  50% { box-shadow: 0 0 0 5px rgba(213, 161, 58, 0); }
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 249, 241, 0.55);
}
.btn--ghost:hover {
  color: var(--blue);
  background: rgba(38, 72, 74, 0.06);
  border-color: var(--blue);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--blue);
  border-color: var(--line-strong);
  background: rgba(255, 249, 241, 0.78);
}
.btn--outline:hover {
  color: var(--blue);
  background: rgba(38, 72, 74, 0.06);
  border-color: var(--blue);
}

.btn--lg { padding: 1.05rem 1.7rem; font-size: 1.05rem; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
  .btn--primary .spark { animation: none; }
}

/* ---- 5. Header ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 242, 232, 0.9);
  backdrop-filter: saturate(1.1) blur(12px);
  border-bottom: var(--hair);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4ch;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand .brand-mark {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  align-self: center;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }
.nav a.nav-link {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}
.nav a.nav-link:hover { color: var(--text); }
.nav .btn { padding: 0.7rem 1rem; }

.nav-toggle { display: none; }
@media (max-width: 760px) {
  .nav .nav-link { display: none; }
  .nav .btn.header-cta { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5ch;
    background: rgba(255, 249, 241, 0.7);
    border: var(--hair);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.8rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu {
    border-bottom: var(--hair);
    background: rgba(255, 249, 241, 0.96);
  }
  .mobile-menu .wrap {
    flex-direction: column;
    align-items: stretch;
    padding-block: 1rem;
    gap: 0.25rem;
  }
  .mobile-menu a {
    padding: 0.75rem 0.25rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    border-bottom: var(--hair);
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu .btn {
    margin-top: 0.5rem;
    justify-content: center;
  }
}

/* ---- 6. Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: var(--hair);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 60% at 84% 12%, rgba(199, 154, 43, 0.16), transparent 60%),
    radial-gradient(34% 44% at 8% 18%, rgba(38, 72, 74, 0.08), transparent 72%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  padding-block: clamp(4.5rem, 3.6rem + 6vw, 8rem);
}
.hero-inner { max-width: 52rem; }
.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 1.8rem + 4.4vw, 5.1rem);
}
.hero h1 .accent { color: var(--cyan); }
.hero .lede { color: var(--text-muted); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero-meta {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: var(--hair);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--text-faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.6ch; }
.hero-meta .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 8px rgba(79, 135, 99, 0.4);
}
.hero .hero-actions:last-child { margin-bottom: 0.25rem; }

/* ---- 7. Trust strip ------------------------------------------------------ */
.trust {
  padding-block: 1.5rem 0.5rem;
}
.trust .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.trust-item {
  padding: 1.35rem 1.25rem;
  border: var(--hair);
  border-radius: var(--radius);
  background: rgba(255, 249, 241, 0.82);
  box-shadow: var(--shadow-sm);
}
.trust-item .k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}
.trust-item .v { font-weight: 600; color: var(--text); }
.trust-item p {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}
@media (max-width: 680px) {
  .trust .wrap { grid-template-columns: 1fr; }
  .trust-item { padding: 1.1rem; }
}

/* ---- 8. Service tiles ---------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 720px) { .tiles { grid-template-columns: 1fr; } }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: var(--hair);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tile::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 2.75rem;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transition: width 0.3s var(--ease);
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  background: #fffdf9;
}
.tile:hover::after { width: 100%; }
.tile .tile-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue-bright);
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
}
.tile h3 { margin-bottom: 0.35rem; }
.tile .promise {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.tile p.desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}
.tile .more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-bright);
}
.tile:hover .more { color: var(--blue); }
@media (prefers-reduced-motion: reduce) {
  .tile { transition: none; }
  .tile:hover { transform: none; }
}

/* ---- 9. How it works ----------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { padding-top: 1.25rem; border-top: 2px solid var(--cyan); }
.step .num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue-bright);
  margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--text-muted); margin-bottom: 0; }

/* ---- 10. Secondary offerings --------------------------------------------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }
.panel {
  background: var(--panel);
  color: var(--text);
  border: var(--hair);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.panel.alt { background: var(--panel-2); }
.panel h3 { color: var(--text); }
.panel p { color: var(--text-muted); }
.panel ul { list-style: none; padding: 0; margin: 1rem 0 1.25rem; }
.panel li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--text);
}
.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.panel .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--line-strong);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.35);
}

/* ---- 11. About ----------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1rem; }
@media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; } }
.person {
  background: var(--panel);
  border: var(--hair);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.person .avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-on-dark);
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
}
.person:nth-child(2) .avatar {
  background: linear-gradient(135deg, var(--cyan), #d5ae4d);
  color: #493913;
}
.person:nth-child(3) .avatar {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
}
.person h3 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.person .role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--blue-bright);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.person p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0; }

/* ---- 12. Coming soon (content) ------------------------------------------- */
.comingsoon {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  background: linear-gradient(180deg, rgba(199, 154, 43, 0.08), rgba(255, 249, 241, 0.82));
  text-align: center;
}
.comingsoon .tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.comingsoon h3 { margin: 0.5rem 0; }
.comingsoon p {
  color: var(--text-muted);
  max-width: 34rem;
  margin-inline: auto;
}

/* ---- 13. CTA band -------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 130% at 15% 0%, rgba(199, 154, 43, 0.18), transparent 55%),
    linear-gradient(135deg, #fff8ef, #f2e8d7);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(2.25rem, 1.75rem + 3vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: var(--text); }
.cta-band p {
  color: var(--text-muted);
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}
.cta-band .hero-actions { justify-content: center; margin-top: 1.5rem; }

/* ---- 14. Footer ---------------------------------------------------------- */
.site-footer {
  background: #26484a;
  border-top: 1px solid rgba(253, 248, 240, 0.12);
  padding-block: 3rem 2rem;
}
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 1.5rem; } }
.site-footer h4 {
  color: var(--text-on-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.site-footer a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
}
.site-footer a:hover { color: var(--text-on-dark); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer li {
  color: var(--text-on-dark-muted);
  overflow-wrap: anywhere;
}
.footer-contact {
  display: grid;
  gap: 0.55rem;
}
.footer-contact li {
  color: var(--text-on-dark);
  font-size: 0.96rem;
  line-height: 1.5;
}
.footer-contact strong {
  color: var(--text-on-dark);
  font-weight: 700;
}
.footer-contact a {
  color: var(--text-on-dark);
  text-decoration: none;
}
.footer-contact a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.footer-brand .brand { color: var(--text-on-dark); }
.footer-brand p {
  font-size: 0.9rem;
  max-width: 24rem;
  margin-top: 0.75rem;
  color: var(--text-on-dark-muted);
}
.placeholder {
  background: rgba(213, 161, 58, 0.18);
  border-bottom: 1px dashed var(--spark);
  padding: 0 0.2rem;
  color: #ffe8ad;
  font-family: var(--font-mono);
  font-size: 0.9em;
}
.footer-legal {
  border-top: 1px solid rgba(253, 248, 240, 0.12);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(253, 248, 240, 0.62);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ---- 15. Services detail page -------------------------------------------- */
.svc-block { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-top: var(--hair); }
.svc-block:first-of-type { border-top: none; }
.svc-head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.svc-head .svc-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue-bright);
}
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: start;
}
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-promise { color: var(--blue); font-weight: 600; font-size: 1.1rem; }
.svc-block p { color: var(--text-muted); }
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.25rem;
}
@media (max-width: 520px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
}
.svc-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* ---- 16. Booking page ---------------------------------------------------- */
.book-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: start;
}
@media (max-width: 860px) { .book-layout { grid-template-columns: 1fr; } }

.form-card {
  background: var(--panel);
  border: var(--hair);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.field { margin-bottom: 1.25rem; }
.field label, .field .label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.field .req { color: var(--spark); }
.field .hint {
  font-weight: 400;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.input, .select, .textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(38, 72, 74, 0.14);
}
.textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.chip[aria-pressed="true"] {
  background: var(--blue);
  color: var(--text-on-dark);
  border-color: var(--blue);
}
.chip:hover { border-color: var(--blue); color: var(--text); }

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-note { font-size: 0.85rem; color: var(--text-muted); }

.form-success {
  border: 1px solid rgba(79, 135, 99, 0.42);
  background: rgba(79, 135, 99, 0.08);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  text-align: center;
}
.form-success .check {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--online);
  color: var(--text-on-dark);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  font-weight: 700;
}
.form-success h3 { color: var(--text); }
.form-success p {
  color: var(--text-muted);
  max-width: 32rem;
  margin-inline: auto;
}
[hidden] { display: none !important; }

.book-aside { position: sticky; top: 88px; display: grid; gap: 1rem; }
.aside-card {
  background: var(--panel);
  border: var(--hair);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.aside-card.dark {
  background: linear-gradient(180deg, #2d5759, #26484a);
}
.aside-card.dark h3,
.aside-card.dark .eyebrow,
.aside-card.dark .contact-line,
.aside-card.dark .contact-line .lbl { color: var(--text-on-dark); }
.aside-card.dark p { color: rgba(253, 248, 240, 0.76); }
.aside-card h3 { color: var(--text); }
.aside-card p, .aside-card li { color: var(--text-muted); }
.contact-line {
  display: flex;
  align-items: center;
  gap: 0.6ch;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}
.contact-line .lbl { color: var(--blue-bright); }
.contact-line .lbl { font-weight: 700; }
.checklist { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.checklist li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}
.checklist li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* ---- 17. Scroll reveal --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---- 18. Skip link ------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: var(--blue);
  color: var(--text-on-dark);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 100;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0.5rem; color: var(--text-on-dark); }
