/* =========================================================
   Fahad Sabzwari: personal website
   Direction A "Calm authority": warm off-white, deep teal accent
   reserved for actions, serif display headings over a clean sans,
   minimal functional motion.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader Variable";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --font-sans: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Newsreader Variable", Georgia, "Times New Roman", serif;

  --bg: #faf8f5;
  --bg-alt: #efe9e0;
  --surface: #ffffff;
  --ink: #14181d;
  --ink-soft: #444e5a;
  --muted: #5f6975;
  --line: #e4ded5;
  --line-strong: #857d71;
  --accent: #0d6a5f;
  --accent-ink: #0a544b;
  --accent-soft: #e4f1ee;
  --accent-contrast: #ffffff;
  --danger: #a4262c;
  --danger-soft: #fbeaea;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(20 24 29 / 6%), 0 8px 24px -12px rgb(20 24 29 / 14%);
  --shadow-lift: 0 2px 4px rgb(20 24 29 / 8%), 0 18px 40px -18px rgb(20 24 29 / 22%);
  --card-edge: none;

  --step: clamp(3.5rem, 7vw, 6.5rem);
  --wrap: 1140px;
  --wrap-narrow: 760px;
  --tap: 44px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --bg-alt: #151a20;
    --surface: #1c232c;
    --ink: #f3f5f7;
    --ink-soft: #c2cad4;
    --muted: #97a1ae;
    --line: #2c3540;
    --line-strong: #6a7583;
    --accent: #45c0ad;
    --accent-ink: #7bd8c8;
    --accent-soft: #14312d;
    --accent-contrast: #06120f;
    --danger: #ff9b94;
    --danger-soft: #3a1c1c;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 10px 30px -14px rgb(0 0 0 / 60%);
    --shadow-lift: 0 2px 6px rgb(0 0 0 / 45%), 0 22px 46px -20px rgb(0 0 0 / 70%);
    --card-edge: inset 0 0 0 1px rgb(255 255 255 / 4%);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0 0 0.5em; text-wrap: balance; }

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.2rem, 1.55rem + 2.7vw, 3.6rem); letter-spacing: -0.022em; }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.8rem); }

h3 {
  font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.25rem);
  font-weight: 620;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }

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

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

/* Text for screen readers only, e.g. "(opens in a new tab)" */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}
.container.narrow { width: min(100% - 2rem, var(--wrap-narrow)); }

.section { padding-block: var(--step); }
.section--alt { background: var(--bg-alt); }

.section__title { max-width: 24ch; }
.section__lede {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.08em;
  margin-bottom: 2.5rem;
}
.section__title + .grid,
.section__title + .steps,
.section__title + .quote--featured,
.section__title + .faq-list { margin-top: 2.25rem; }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--tap);
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  font-weight: 620;
  font-size: 0.975rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: var(--shadow);
}
.btn--primary:hover {
  background: var(--accent-ink);
  color: var(--accent-contrast);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

.link-arrow {
  font-weight: 620;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow::after { content: " \2192"; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.wordmark { text-decoration: none; color: var(--ink); display: grid; }
.wordmark__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.wordmark__role { font-size: 0.78rem; color: var(--muted); }

.nav__toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: var(--tap);
  padding: 0 1rem;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.nav__toggle-bar {
  width: 16px; height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}
.nav__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__menu a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 520;
}
.nav__menu a:not(.btn):hover { color: var(--accent-ink); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--step); }
.hero__inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.1rem; max-width: 20ch; }
.lede {
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 58ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.9rem 0 0.9rem;
}
.hero__note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.75rem;
  margin: 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.trust strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 680;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.hero__figure {
  margin: 0;
  position: relative;
  isolation: isolate;
}
.hero__figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  background: var(--bg-alt);
}
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  z-index: -1;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow), var(--card-edge);
}
.card p { color: var(--ink-soft); }

/* ---------- Case studies ---------- */
.case {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow), var(--card-edge);
}
.case__client {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.case__client a { font-weight: 650; }
.case p { color: var(--ink-soft); }
.case h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
  font-weight: 540;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}
.facts {
  list-style: none;
  margin: 1.4rem 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.facts strong { color: var(--ink); font-weight: 650; }
.case__note {
  margin: 0;
  padding: 0.95rem 1.15rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink);
}

/* ---------- In-page call to action ---------- */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.25rem 1.25rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--card-edge);
}
.cta-strip p {
  margin: 0;
  flex: 1 1 22rem;
  font-weight: 560;
  color: var(--ink);
}

/* ---------- Quotes ---------- */
.quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow), var(--card-edge);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.quote blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }
.quote figcaption { display: grid; gap: 0.15rem; margin-top: auto; }
.quote__who { font-weight: 650; color: var(--ink); }
.quote__what { font-size: 0.875rem; color: var(--muted); }

.quote--featured {
  margin-bottom: 1.25rem;
  padding: clamp(1.7rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
.quote--featured blockquote {
  max-width: 68ch;
  font-family: var(--font-serif);
  font-size: clamp(1.14rem, 1.04rem + 0.4vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink);
}
.quote--featured blockquote::before,
.quote--featured blockquote::after { content: none; }
.quote--featured blockquote p:first-child::before { content: "\201C"; }
.quote--featured blockquote p:last-child::after { content: "\201D"; }
.quote--featured blockquote p:last-child { margin-bottom: 0; }

/* Wide screens: quote on the left, attribution and screenshot toggle in a side column */
@media (min-width: 960px) {
  .quote--featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 17rem;
    grid-template-rows: auto 1fr;
    column-gap: clamp(2rem, 4vw, 3.5rem);
    row-gap: 1.25rem;
  }
  .quote--featured blockquote { grid-column: 1; grid-row: 1 / span 2; }
  .quote--featured figcaption {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    padding-left: 1.5rem;
    border-left: 2px solid var(--accent);
  }
  .quote--featured .proof { grid-column: 2; grid-row: 2; padding-left: 1.5rem; }
  /* Once opened, the screenshot needs the full width to be readable */
  .quote--featured .proof[open] { grid-column: 1 / -1; grid-row: 3; padding-left: 0; }
}

.reviews__more { margin: 2.25rem 0 0; text-align: center; }

/* Screenshot of the original review, shown on request */
.proof summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: var(--tap);
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  width: fit-content;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.proof summary::-webkit-details-marker { display: none; }
.proof summary::after {
  content: "+";
  color: var(--accent-ink);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.proof[open] summary::after { transform: rotate(45deg); }
.proof summary:hover { border-color: var(--accent); background: var(--accent-soft); }
.proof img {
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

/* ---------- Numbered steps ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps > li { counter-increment: step; }
.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.steps--cards > li::before { margin-bottom: 1rem; }

.steps--safety { display: grid; gap: 1.75rem; }
.steps--safety > li { position: relative; padding-left: 3.4rem; }
.steps--safety > li::before { position: absolute; left: 0; top: 0; }
.steps--safety p { color: var(--ink-soft); max-width: 64ch; }

.footnote {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.925rem;
}

/* ---------- Pricing ---------- */
.price {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow), var(--card-edge);
}
.price h3 {
  font-size: 0.85rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
}
.price__figure {
  margin: 0;
  font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}
.price__unit { color: var(--muted); font-size: 0.875rem; margin-bottom: 0.9rem; }
.price__desc { color: var(--ink-soft); font-size: 0.95rem; }
.price--feature {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 60%);
}
.price--feature h3 { color: var(--accent-ink); }

.pricing__notes {
  display: grid;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.pricing__notes li { position: relative; padding-left: 1.4rem; }
.pricing__notes li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.about__figure { margin: 0; }
.about__figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
}
.about__copy p { color: var(--ink-soft); max-width: 64ch; }
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  font-weight: 560;
}
.links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: var(--tap);
  padding: 1.1rem 0;
  cursor: pointer;
  font-weight: 620;
  font-size: 1.05rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--accent-ink);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-ink); }
.faq p {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  max-width: 64ch;
}

/* ---------- Final call to action ---------- */
.cta__panel {
  text-align: center;
  background: var(--accent-soft);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
}
.cta__panel h2 {
  max-width: none;
  font-size: clamp(1.95rem, 1.45rem + 2vw, 3rem);
}
.cta__panel .lede { margin: 0 auto 2rem; }
.cta__quote {
  margin: 1.75rem auto 0;
  max-width: 44ch;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
}
.cta__quote cite {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.875rem;
  color: var(--muted);
}
.cta__email { margin-top: 1.5rem; font-size: 0.95rem; color: var(--muted); }

/* ---------- Not found page ---------- */
.not-found {
  padding-block: clamp(4rem, 12vw, 8rem);
  text-align: center;
}
.not-found .lede { margin-inline: auto; }
.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 3rem 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 1.5rem;
}
.site-footer__meta { max-width: 44ch; color: var(--muted); font-size: 0.9rem; }
.site-footer .links { margin-top: 0; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent-ink); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.site-footer__bottom p { margin: 0; }

/* ---------- Contact page ---------- */
.contact-intro { padding-bottom: 0; }
.contact-intro .lede { margin-bottom: 0; }
.contact-options { padding-top: clamp(2rem, 4vw, 3rem); }
.contact-options__grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
.contact-card h2 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); }
.contact-card--call { background: var(--accent-soft); border-color: transparent; }
.contact-card--call .btn { width: 100%; }
.contact-card__note { font-size: 0.9rem; color: var(--muted); }

.contact-links {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.contact-links li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.contact-links li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-links__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 900px) {
  .contact-options__grid { grid-template-columns: 5fr 7fr; }
  .contact-links li { grid-template-columns: 8rem 1fr; gap: 1rem; }
}

/* ---------- Form ---------- */
.contact-form { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
/* Without JavaScript there's no spam check, so the noscript note replaces the form */
html:not(.js) .contact-form { display: none; }
.form__fallback {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--ink);
}

.field { display: grid; gap: 0.35rem; }
.field__label { font-weight: 600; color: var(--ink); }
.field__optional { font-weight: 400; color: var(--muted); }
.field__hint { margin: 0; font-size: 0.9rem; color: var(--muted); }
.field__input {
  width: 100%;
  min-height: var(--tap);
  padding: 0.65rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}
.field__input--area { min-height: 9rem; resize: vertical; }
.field__input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field__input:user-invalid,
.field__input[aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 0; font-size: 0.9rem; font-weight: 500; color: var(--danger); }
.field__error:empty { display: none; }

/* Honeypot: off-screen rather than display:none, which some bots skip */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__check:empty { display: none; }
.form__submit { justify-self: start; }
.form__submit:disabled { opacity: 0.7; cursor: progress; }
.form__privacy { margin: 0; font-size: 0.9rem; color: var(--muted); }
.form__status { margin: 0; }
.form__status:empty { display: none; }
.form__status:focus { outline: none; }
.form__status[data-state] {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 500;
}
.form__status[data-state="success"] { background: var(--accent-soft); color: var(--ink); }
.form__status[data-state="error"] { background: var(--danger-soft); color: var(--ink); }

/* ---------- Privacy policy and other long text ---------- */
.prose h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
}
.prose ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--accent); }
.prose__updated { font-size: 0.9rem; color: var(--muted); }

/* ---------- Lead admin (private, rendered by the Worker) ---------- */
.admin__header { border-bottom: 1px solid var(--line); background: var(--surface); }
.admin__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
}
.admin__bar a { text-decoration: none; }
.admin__main { padding-block: 2rem 4rem; }
.admin__main h1 { font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem); }
.admin__main h2 { margin-top: 2rem; font-size: 1.4rem; }
.admin__muted { color: var(--muted); font-size: 0.9rem; }
.admin__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.admin__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: var(--tap);
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
}
.admin__tab span { color: var(--muted); font-size: 0.85rem; }
.admin__tab[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.admin__table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.admin__table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 0.95rem; }
.admin__table th,
.admin__table td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.admin__table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.admin__table tr:last-child td { border-bottom: 0; }
.admin__stage {
  display: inline-block;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 0.85rem;
  white-space: nowrap;
}
.admin__stage--new,
.admin__stage--call_booked { background: var(--accent-soft); color: var(--accent-ink); }
.admin__stage--won { background: var(--accent); color: var(--accent-contrast); }
.admin__empty { padding: 2rem; text-align: center; color: var(--muted); }
.admin__facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.5rem; margin: 0; }
.admin__facts dt { color: var(--muted); }
.admin__facts dd { margin: 0; }
.admin__message {
  white-space: pre-wrap;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.admin__form { display: grid; gap: 0.5rem; max-width: 40rem; }
.admin__form select,
.admin__form textarea {
  min-height: var(--tap);
  padding: 0.6rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}
.admin__form .btn { justify-self: start; margin-top: 0.5rem; }
.admin__notice { padding: 0.7rem 1rem; border-radius: var(--radius); background: var(--accent-soft); }
.admin__danger { margin-top: 3rem; max-width: 40rem; }
.admin__danger summary { cursor: pointer; color: var(--danger); min-height: var(--tap); display: flex; align-items: center; }
.admin__danger form { display: grid; gap: 0.75rem; justify-items: start; }

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s ease-out, transform 0.32s ease-out;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-color-scheme: dark) {
  .proof img { opacity: 0.92; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero__figure { order: -1; width: 88px; }
  .hero__figure img {
    aspect-ratio: 1;
    object-fit: cover;
    object-position: 50% 18%;
    border-radius: 50%;
    box-shadow: none;
  }
  .hero__figure::after { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__figure { max-width: 260px; }
}

@media (max-width: 720px) {
  .js .nav__toggle { display: inline-flex; }
  .js .nav__menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.5rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
  }
  .js .nav__menu.is-open { display: flex; }
  .js .nav__menu li a:not(.btn) { display: flex; padding: 0 0.5rem; }
  .js .nav__menu .btn { margin-top: 0.4rem; width: 100%; }
}

@media (max-width: 480px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__actions .btn { flex: 1 1 100%; }
  .cta-strip { padding: 1.25rem; }
  .cta-strip .btn { width: 100%; }
}

/* ---------- Print ---------- */
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header { position: static; }
  .cta-strip, .nav__toggle { display: none; }
}
