/* ============================================================
   Merryweather Consulting · styles
   ============================================================ */

:root {
  --ink: #14110f;
  --ink-soft: #4a443f;
  --ink-faint: #7a726a;
  --paper: #fbf7f0;
  --paper-2: #f3ece1;
  --line: #e7ddcf;
  --white: #ffffff;

  --amber: #ffb347;
  --coral: #ff6b6b;
  --violet: #7c5cff;
  --grad: linear-gradient(120deg, var(--amber) 0%, var(--coral) 50%, var(--violet) 100%);

  --maxw: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(20, 17, 15, 0.28);
  --shadow-soft: 0 10px 30px -18px rgba(20, 17, 15, 0.35);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
}
.brand-mark { display: block; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.site-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.16s ease;
}
.nav-menu a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 9px 18px;
  border-radius: 999px;
}
.nav-cta:hover { opacity: 0.9; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 9vw, 110px);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-faint);
  margin: 0 0 22px;
}
.hero-title {
  font-size: clamp(2.7rem, 7vw, 5rem);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.hero-facts span { color: var(--ink-faint); font-size: 0.92rem; }

.hero-glow {
  position: absolute;
  top: -200px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: var(--grad);
  filter: blur(90px);
  opacity: 0.28;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--coral);
  margin: 0 0 16px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Approach cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--coral);
  margin-bottom: 18px;
  font-weight: 600;
}
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Case studies ---------- */
.case {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.case:first-of-type { border-top: 0; }
.case--reverse .case-body { order: 2; }
.case--reverse .case-visual { order: 1; }
.case-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.case-name { font-weight: 600; }
.case-cat { color: var(--ink-faint); }
.dot { color: var(--ink-faint); }
.case-body h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 16px; }
.case-body p { color: var(--ink-soft); margin: 0 0 14px; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 22px 0 22px;
  padding: 0;
}
.tags li {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.section-alt .tags li { background: var(--white); }
.case-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.16s ease;
}
.case-link:hover { opacity: 0.7; }

/* Case visuals */
.case-visual {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 179, 71, 0.18), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(124, 92, 255, 0.18), transparent 55%),
    var(--white);
}
.price-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}
.price-label { font-size: 0.8rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.1em; }
.price-value { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; }
.price-meta { font-size: 0.82rem; color: var(--ink-faint); }

.chat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 280px;
}
.chat-q {
  align-self: flex-end;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: 0.9rem;
}
.chat-a {
  align-self: flex-start;
  background: var(--paper-2);
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.chat-src {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--violet);
  margin-bottom: 4px;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.member {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.member-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.member-photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-soft);
  background: var(--paper-2);
}
.member-id h3 { font-size: 1.2rem; }
.role {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 3px 0 0;
}
.bio { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 18px; }
.cred {
  margin: 0 0 22px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
}
.cred > div {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: baseline;
  gap: 12px;
}
.cred dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  color: var(--ink-faint);
}
.cred dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}
.member-link {
  margin-top: auto;
  align-self: flex-start;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.16s ease;
}
.member-link:hover { border-color: var(--ink); }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta-inner { max-width: 680px; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand .brand-name { font-size: 1.05rem; }
.footer-brand p { margin: 4px 0 0; color: var(--ink-faint); font-size: 0.9rem; }
.footer-copy { color: var(--ink-faint); font-size: 0.88rem; margin: 0; }

/* ---------- Reveal animation (only when JS active) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }
  .nav-menu.open { max-height: 340px; }
  .nav-menu li { padding: 6px 0; }
  .nav-cta { text-align: center; margin-top: 8px; }

  .case {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .case--reverse .case-body { order: 1; }
  .case--reverse .case-visual { order: 2; }
  .case-visual { min-height: 220px; }

  .hero-facts { gap: 26px; }
}

/* ============================================================
   Multi-page components
   ============================================================ */

/* Active nav state */
.nav-menu a[aria-current="page"] { color: var(--ink); }
.nav-menu a[aria-current="page"]:not(.nav-cta)::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  margin-top: 3px;
}

/* Sub-page header band */
.page-header {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 104px) 0 clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.page-header .container { position: relative; z-index: 2; }
.page-header .glow {
  position: absolute;
  top: -240px;
  right: -120px;
  width: 540px;
  height: 540px;
  background: var(--grad);
  filter: blur(90px);
  opacity: 0.22;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.page-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  max-width: 16ch;
  margin: 14px 0 0;
}
.page-lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 20px 0 0;
}

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.crumbs a { color: var(--ink-faint); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--line); }

/* Proof strip */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.proof-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 40px;
  padding: 26px 0;
}
.proof-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--ink-faint);
  margin: 0;
}
.proof-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.proof-logos li {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.proof-logos a { text-decoration: none; color: inherit; opacity: 0.85; transition: opacity 0.16s ease; }
.proof-logos a:hover { opacity: 1; }
.proof-logos .tag { font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; color: var(--ink-faint); display: block; }

/* Featured work / work index cards */
.work-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.work-card .wc-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--coral);
  margin: 0 0 14px;
}
.work-card h3 { font-size: 1.45rem; margin: 0 0 8px; }
.work-card .wc-sum { color: var(--ink-soft); font-size: 0.97rem; margin: 0 0 20px; }
.work-card .wc-metric {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.work-card .wc-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.work-card .wc-metric span { font-size: 0.85rem; color: var(--ink-faint); }
.work-card .wc-go {
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* How we work, steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px 28px 0;
}
.step-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; margin: 0 0 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Services detail rows */
.service-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.service-row:first-of-type { border-top: 0; }
.service-row .sr-side .kicker { margin-bottom: 12px; }
.service-row .sr-side h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.service-row .sr-body p { color: var(--ink-soft); margin: 0 0 16px; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.service-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 0.96rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
}

/* Case study detail */
.case-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin-top: 8px;
}
.case-hero-meta strong { color: var(--ink); font-weight: 600; }
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 8px 0 0;
}
.metric {
  background: var(--white);
  padding: 26px 24px;
}
.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.1;
}
.metric span { font-size: 0.85rem; color: var(--ink-faint); }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 16px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.prose p { color: var(--ink-soft); margin: 0 0 18px; }
.prose ul { color: var(--ink-soft); margin: 0 0 18px; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.case-block { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.case-block .kicker { margin-bottom: 14px; }

.quote {
  margin: 0;
  padding: clamp(32px, 5vw, 56px) 0;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.3;
  margin: 0;
  max-width: 22ch;
}
.quote figcaption { margin-top: 18px; color: var(--ink-faint); font-size: 0.95rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-aside h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.contact-aside p { color: var(--ink-soft); margin: 0 0 22px; }
.contact-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-points li { position: relative; padding-left: 26px; color: var(--ink); }
.contact-points li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad);
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.calendly-embed {
  border: 0;
  width: 100%;
  min-height: 640px;
  border-radius: var(--radius-sm);
}
form .field { margin-bottom: 16px; display: grid; gap: 6px; }
form label { font-size: 0.85rem; font-weight: 600; }
form input, form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
}
form input:focus, form textarea:focus { outline: 2px solid var(--violet); outline-offset: 1px; }
form textarea { resize: vertical; min-height: 120px; }

/* FAQ */
.faq { display: grid; gap: 4px; max-width: 760px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); margin: 14px 0 0; }

/* 404 */
.notfound { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.notfound .big {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Expanded footer */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-nav h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin: 0 0 14px;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  color: var(--ink-faint);
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }

/* Multi-page responsive */
@media (max-width: 820px) {
  .service-row { grid-template-columns: 1fr; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .proof-inner { flex-direction: column; align-items: flex-start; }
}
