/* ==========================================================================
   Anastria Marketing — Design System
   Palette drawn from brand logo. Display type mirrors the logo's mixed
   caps + italic treatment. Signature element: a hand-drawn highlight
   stroke that "marks" the phrase the business needs to hear.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'Roghiska';
  src: url('assets/fonts/Roghiska.woff') format('woff'),
       url('assets/fonts/Roghiska.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roghiska';
  src: url('assets/fonts/Roghiska-Italic.woff') format('woff'),
       url('assets/fonts/Roghiska-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #1E3045;
  --ink-70: rgba(30, 48, 69, 0.7);
  --ink-50: rgba(30, 48, 69, 0.5);
  --slate: #4A627D;
  --dusty: #5F7F97;
  --taupe: #B8AFA6;
  --taupe-30: rgba(184, 175, 166, 0.3);
  --cream: #F4F1EA;
  --paper: #FBFAF6;

  --display: 'Roghiska', 'Bodoni Moda', serif;
  --script: 'Roghiska', serif;
  --body: 'Work Sans', sans-serif;

  --max: 1180px;
  --edge: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--taupe); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--edge);
}

/* ---------- Type ---------- */

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--slate);
  display: inline-block;
}

em, .script {
  font-family: var(--script);
  font-style: italic;
  font-weight: 400;
  color: var(--slate);
}

p { margin: 0 0 1em; color: var(--ink-70); }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: 1.2rem;
  color: var(--ink-70);
  max-width: 46ch;
}

/* ---------- Highlight-mark signature element ----------
   Previously an animated hand-drawn underline; now a color + italic
   treatment using the script font, so the emphasis reads instantly
   without relying on a scroll-triggered animation. */

.mark {
  font-family: var(--script);
  font-style: italic;
  font-weight: 400;
  color: var(--slate);
  white-space: nowrap;
}
.mark svg { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--slate); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-50);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(30,48,69,0.04); transform: translateY(-2px); }

.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-light:hover { background: #fff; transform: translateY(-2px); }

.link-arrow {
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink-50);
  padding-bottom: 2px;
  transition: gap 0.25s ease, border-color 0.25s ease;
}
.link-arrow:hover { gap: 13px; border-color: var(--ink); }

/* ---------- Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--taupe-30);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--edge);
  max-width: var(--max);
  margin: 0 auto;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-70);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--ink);
  transition: right 0.28s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 28px; }
.nav-cta .btn { padding: 11px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 840px) {
  .nav-links { 
    position: fixed;
    inset: 65px 0 0 0;
    z-index: 39;
    background: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px var(--edge);
    gap: 26px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-links a { font-size: 20px; }
  body.nav-open .nav-links { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Sections / rhythm ---------- */

section { padding: 76px 0; }
@media (max-width: 840px) { section { padding: 52px 0; } }

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-top: 14px; }

hr.rule {
  border: none;
  border-top: 1px solid var(--taupe-30);
  margin: 0;
}

/* ---------- Reveal on scroll ----------
   Content is visible by default. JS opts elements into the pre-reveal
   (hidden) state only when IntersectionObserver is confirmed available,
   so the page never depends on JS to show its content. */

.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.pre-reveal { opacity: 0; transform: translateY(22px); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 0 0 64px;
  overflow: visible;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  letter-spacing: -0.01em;
}
.hero .lede { margin: 26px 0 38px; font-size: 1.15rem; }
.hero-ctas { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

/* ---------- Hero: full-bleed photo ---------- */

.hero-photo {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-photo > .wrap { width: 100%; }
.hero-photo-bg { position: absolute; inset: 0; z-index: 0; }
.hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(30,48,69,0.94) 0%, rgba(30,48,69,0.88) 38%, rgba(30,48,69,0.65) 56%, rgba(30,48,69,0.25) 70%, rgba(30,48,69,0) 82%),
    linear-gradient(0deg, rgba(30,48,69,0.3) 0%, rgba(30,48,69,0) 25%);
}
/* Text sits in its own left-anchored column, independent of the
   centered .wrap system, so it hugs the viewport edge like the rest
   of the page rather than floating in a centered block. */
.hero-photo-content {
  position: relative;
  z-index: 2;
  padding: 90px 0 70px;
  max-width: 560px;
  margin: 0;
}
.hero-photo-content h1, .hero-photo-content .lede {
  text-shadow: 0 2px 24px rgba(10, 18, 28, 0.3);
}
.hero-photo-content .eyebrow { color: var(--taupe); }
.hero-photo-content .eyebrow::before { background: var(--taupe); }
.hero-photo-content h1 { color: var(--cream); }
.hero-photo-content .lede { color: rgba(244, 241, 234, 0.85); }
.hero-photo-content .link-arrow {
  color: var(--cream);
  border-bottom-color: rgba(244, 241, 234, 0.45);
}
.hero-photo-content .link-arrow:hover { border-bottom-color: var(--cream); }
.hero-photo-content .mark { color: var(--taupe); }

/* Hero primary CTA: lighter accent blue so it pops against the dark photo */
.hero-btn-accent { background: var(--dusty); color: var(--cream); }
.hero-btn-accent:hover { background: #6f91a9; }

/* ---------- Magnetic button ---------- */
.btn-magnetic { will-change: transform; transition: transform 0.15s ease-out; }

/* ---------- Hero capability strip ---------- */

.hero-caps {
  margin-top: 40px;
  background: var(--paper);
  border: 1px solid var(--taupe-30);
  border-radius: 8px;
  padding: 30px 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-cap {
  padding: 0 24px;
  border-left: 1px solid var(--taupe-30);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-cap:first-child { border-left: none; }
.hero-cap .icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-cap h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.hero-cap p { font-size: 14px; color: var(--ink-70); margin: 0; }

@media (max-width: 900px) {
  .hero-photo { min-height: 0; }
  .hero-photo-content { padding: 70px 0 40px; max-width: 100%; }
  .hero-caps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .hero-cap:nth-child(3) { border-left: none; }
}
@media (max-width: 560px) {
  .hero-caps { grid-template-columns: 1fr; }
  .hero-cap { border-left: none !important; padding: 0; }
}


/* ---------- Empathy / quote block ---------- */

.empathy {
  background: var(--paper);
  border-top: 1px solid var(--taupe-30);
  border-bottom: 1px solid var(--taupe-30);
}
.empathy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.empathy blockquote {
  margin: 0;
  border-left: 2px solid var(--taupe);
  padding-left: 28px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.35;
  color: var(--ink);
}
@media (max-width: 840px) { .empathy-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Services grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--taupe-30);
  border: 1px solid var(--taupe-30);
}
.service-card {
  background: var(--cream);
  padding: 40px 34px;
  transition: background 0.3s ease;
}
.service-card:hover { background: var(--paper); }
.service-card .icon { width: 34px; height: 34px; margin-bottom: 22px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { font-size: 15px; }

@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */

.process-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.process-list li {
  padding: 0 28px 0 0;
  border-left: 1px solid var(--taupe-30);
  padding-left: 26px;
}
.process-list li:first-child { border-left: none; padding-left: 0; }
.process-num {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--dusty);
  display: block;
  margin-bottom: 18px;
}
.process-list h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-list p { font-size: 14.5px; }

@media (max-width: 900px) {
  .process-list { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process-list li:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 560px) {
  .process-list { grid-template-columns: 1fr; row-gap: 34px; }
  .process-list li { border-left: none !important; padding-left: 0 !important; }
}

/* ---------- Proof / stats ---------- */

.proof {
  background: var(--ink);
  color: var(--cream);
}
.proof .section-head h2 { color: var(--cream); }
.proof .eyebrow { color: var(--dusty); }
.proof .eyebrow::before { background: var(--dusty); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.stat .num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  display: block;
  color: var(--cream);
}
.stat .cap {
  font-size: 14px;
  color: rgba(244,241,234,0.6);
  margin-top: 8px;
}
@media (max-width: 700px) { .stats-row { grid-template-columns: 1fr; gap: 30px; } }

.note-flag {
  margin-top: 44px;
  font-size: 12.5px;
  color: rgba(244,241,234,0.5);
  border-top: 1px solid rgba(244,241,234,0.15);
  padding-top: 18px;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--taupe-30);
  padding: 32px 28px;
  border-radius: 4px;
}
.testimonial-card p.quote {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 22px;
}
.testimonial-card .who { font-size: 13.5px; font-weight: 600; color: var(--slate); }
.testimonial-grid.two-col { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-grid.two-col { grid-template-columns: 1fr; }
}

/* ---------- Case studies ---------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--taupe-30);
  border: 1px solid var(--taupe-30);
}
.case-card {
  background: var(--cream);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case-card h3 { font-size: 1.3rem; margin-top: 4px; }
.case-card p { font-size: 14.5px; }
.case-stat {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--taupe-30);
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.case-stat .num {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--ink);
}
.case-stat .cap {
  font-size: 13px;
  color: var(--ink-70);
  max-width: 26ch;
}
@media (max-width: 760px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- Experience list (about page) ---------- */

.exp-list { display: flex; flex-direction: column; }
.exp-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--taupe-30);
}
.exp-item:last-child { border-bottom: 1px solid var(--taupe-30); }
.exp-when {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--dusty);
  text-transform: uppercase;
}
.exp-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.exp-item p { font-size: 14.5px; }
@media (max-width: 640px) {
  .exp-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--slate);
  color: var(--cream);
  text-align: center;
  padding: 68px 0;
}
.cta-band h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 3rem); }
.cta-band .lede { color: rgba(244,241,234,0.75); margin: 20px auto 36px; }
.cta-band em { font-family: var(--script); font-style: italic; color: var(--taupe); }
.cta-band .btn-primary { background: var(--cream); color: var(--ink); }
.cta-band .btn-primary:hover { background: #fff; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(244,241,234,0.65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(244,241,234,0.12);
}
.footer-word {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--cream);
}
.footer-word em { color: var(--dusty); }
.footer-logo-img { height: 34px; width: auto; margin-bottom: 4px; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(244,241,234,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s ease;
}
.footer-social a:hover {
  border-color: rgba(244,241,234,0.6);
  background: rgba(244,241,234,0.08);
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-grid p { color: rgba(244,241,234,0.55); font-size: 14.5px; max-width: 34ch; margin-top: 14px; }
.footer-col h4 {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.45);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(244,241,234,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: rgba(244,241,234,0.45); font-size: 13px; transition: color 0.2s ease; }
.footer-legal-links a:hover { color: var(--cream); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (about/services) ---------- */

.page-hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--taupe-30);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.page-hero .lede { margin-top: 20px; }

/* ---------- About page specifics ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
.value-item { border-top: 1px solid var(--taupe-30); padding-top: 22px; }
.value-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
@media (max-width: 700px) { .values-grid { grid-template-columns: 1fr; } }

.about-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-portrait {
  background: var(--taupe-30);
  border: 1px solid var(--taupe-30);
  aspect-ratio: 3/4;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  color: var(--slate);
  text-align: center;
  padding: 20px;
  font-size: 15px;
}
@media (max-width: 840px) { .about-split { grid-template-columns: 1fr; } .about-portrait { max-width: 320px; } }

/* ---------- Services page specifics ---------- */

.service-detail {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 48px;
  padding: 52px 0;
  border-top: 1px solid var(--taupe-30);
  transition: background 0.3s ease;
}
.service-detail:hover { background: rgba(74, 98, 125, 0.035); }
.service-detail:last-child { border-bottom: 1px solid var(--taupe-30); }
.service-detail .svc-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}
.service-detail:hover .svc-icon-circle {
  transform: scale(1.08) rotate(-4deg);
  background: var(--slate);
}
.service-detail .num { font-family: var(--display); color: var(--dusty); font-size: 1.4rem; display: block; margin-top: 16px; }
.service-detail h3 { font-size: 1.7rem; margin: 10px 0 16px; }
.service-detail .includes {
  margin-top: 22px;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.service-detail .includes li {
  font-size: 14.5px;
  color: var(--ink-70);
  padding-left: 18px;
  position: relative;
}
.service-detail .includes li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--slate);
}
@media (max-width: 760px) {
  .service-detail { grid-template-columns: 1fr; gap: 18px; }
  .service-detail .includes { grid-template-columns: 1fr; }
}

/* ---------- Tag pills ---------- */

.tag-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-pill {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--slate);
  background: rgba(74, 98, 125, 0.08);
  border: 1px solid rgba(74, 98, 125, 0.18);
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ---------- Mini CTA banner ---------- */

/* ---------- FAQ ---------- */

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  padding: 26px 0;
  border-top: 1px solid var(--taupe-30);
}
.faq-item:last-child { border-bottom: 1px solid var(--taupe-30); }
.faq-item h3 { font-size: 1.1rem; font-weight: 600; font-family: var(--body); margin-bottom: 10px; color: var(--ink); }
.faq-item p { font-size: 15px; }

.mini-cta {
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.mini-cta h3 { font-size: 1.5rem; max-width: 30ch; }
.mini-cta p { font-size: 15px; margin-top: 10px; max-width: 40ch; }
.mini-cta .btn { flex-shrink: 0; }

/* ---------- Case studies page ---------- */

.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.cs-card {
  background: var(--paper);
  border: 1px solid var(--taupe-30);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.cs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(30,48,69,0.14);
}
.cs-banner {
  aspect-ratio: 16/10;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cs-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.cs-card:hover .cs-banner img { transform: scale(1.06); }
.cs-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30,48,69,0.55) 0%, rgba(30,48,69,0) 35%);
  pointer-events: none;
  z-index: 1;
}
.cs-banner .cs-banner-label {
  position: absolute;
  left: 20px; bottom: 18px;
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.3rem;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(10,18,28,0.4);
}
.cs-banner .cs-banner-tag {
  position: absolute;
  right: 20px; top: 18px;
  color: rgba(244,241,234,0.7);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.cs-body { padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cs-body h3 { font-size: 1.3rem; }
.cs-body p { font-size: 14.5px; }
.cs-stats-row {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--taupe-30);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cs-stats-row .num { font-family: var(--display); font-size: 1.5rem; color: var(--ink); display: block; }
.cs-stats-row .cap { font-size: 11.5px; color: var(--ink-70); line-height: 1.3; display: block; margin-top: 4px; }
.cs-headline-stat {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--ink);
}
@media (max-width: 860px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-stats-row { grid-template-columns: repeat(3, 1fr); }
}

.center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-lg { margin-top: 56px; }
