:root {
  --ink: #0b0b0c;
  --ink-2: #151516;
  --cream: #efede7;
  --cream-ink: #17171a;
  --muted-dark: #a9a7a1;
  --muted-light: #5c5b57;
  --line-dark: rgba(255,255,255,.18);
  --line-light: rgba(0,0,0,.14);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); background: var(--ink); color: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; }
.eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-bottom: 1.1rem; }

.dark { background: var(--ink); color: #fff; }
.light { background: var(--cream); color: var(--cream-ink); }
.section { padding: 5rem 0; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-size: .95rem; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn-light { background: #f4f2ec; color: #111; }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-dark { border-color: rgba(0,0,0,.4); color: var(--cream-ink); }
.btn-dark { background: #111; color: #fff; border-color: #111; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2.5rem; }
.link { font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid #f4f2ec; outline-offset: 3px; }

/* Hero */
.hero { position: relative; min-height: 46rem; padding-bottom: 3rem; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(122,32,40,.85), rgba(60,12,18,.6) 55%, transparent 80%),
    linear-gradient(100deg, #0a0809 0%, #0a0809 38%, #2a0f14 70%, #4a1a20 100%); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; opacity: .95; }
/* Hero brand mark: the purple logo (transparent PNG), faded and masked so it sits behind the text as a brand watermark. */
.hero-img.hero-mark { inset: auto; right: -2%; top: 50%; width: auto; height: 118%; aspect-ratio: 1; max-width: none; object-fit: contain; transform: translateY(-50%);
  opacity: .32; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 68%); mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 68%); }
/* Dark overlay: heavy on the text side, lighter over the jacket, darker at the foot */
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,8,9,.94) 0%, rgba(10,8,9,.8) 34%, rgba(10,8,9,.25) 68%, rgba(10,8,9,.1) 100%),
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 28%, rgba(0,0,0,.55) 100%); }
.hero > *:not(.hero-img) { position: relative; z-index: 1; }
.nav { max-width: 76rem; margin: 0 auto; padding: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; letter-spacing: .22em; text-decoration: none; font-size: 1.1rem; }
/* Pulsehub logo file (site/logo.jpg), shown unmodified at its native square proportions */
.logo-mark { display: block; width: 2.25rem; height: 2.25rem; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.footer .logo-mark { width: 2rem; height: 2rem; }
/* The open mobile menu overlaps the hero content below it: keep the nav above it so taps reach the links */
.hero > nav.nav, .page-hero > nav.nav { z-index: 5; }
.nav-end { display: flex; align-items: center; gap: .75rem; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before { display: block; width: 14px; height: 1.5px; background: #fff; content: ""; }
.menu summary span { position: relative; }
.menu summary span::before { position: absolute; top: 5px; left: 0; }
.menu ul { position: absolute; right: 0; top: calc(100% + .6rem); min-width: 12rem; background: #121214; border: 1px solid var(--line-dark); border-radius: 1rem; padding: .5rem; box-shadow: 0 12px 32px rgba(0,0,0,.5); }
.menu ul a { display: block; padding: .7rem 1rem; text-decoration: none; font-size: .95rem; border-radius: .6rem; }
.menu ul a:hover { background: rgba(255,255,255,.08); }
.nav-links { display: flex; gap: 2rem; font-size: .85rem; }
.nav-links a { text-decoration: none; opacity: .9; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.hero-body { padding-top: 4rem; }
.hero-body h1 { max-width: 11ch; }
.hero .lead { max-width: 34rem; margin-top: 1.5rem; font-size: 1rem; opacity: .92; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.hero-stats li { border-left: 1px solid var(--line-dark); padding-left: 1.25rem; display: flex; flex-direction: column; font-size: .8rem; }
.hero-stats strong { font-weight: 500; font-size: .9rem; }
.hero-stats span { color: var(--muted-dark); }

/* Trusted by */
.trusted-row { padding-top: 2rem; padding-bottom: 2rem; }
.trusted .eyebrow { margin-bottom: 1rem; }
.trusted ul { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.trusted li { padding: .5rem 1rem; border-left: 1px solid var(--line-light); letter-spacing: .2em; font-size: .9rem; }
.trusted li:first-child { border-left: 0; }
.brand-2 { font-family: var(--serif); letter-spacing: .25em; }
.brand-3 { font-weight: 800; letter-spacing: .3em; }
.brand-4 { color: var(--muted-light); font-size: .8rem; }

/* Section headers */
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 2.75rem; }
.head-aside { max-width: 24rem; font-size: .88rem; opacity: .85; padding-top: 1.6rem; }
.head-aside p { margin-bottom: .6rem; }

/* Case study cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.card h3 { margin-top: 1.25rem; font-size: 1.5rem; }
.card .link { display: inline-block; }
.tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin: .15rem 0 1rem; }
.facts { margin: 0 0 1.1rem; display: grid; gap: .8rem; }
.facts div { display: block; }
.facts dt { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted-dark); margin-bottom: .15rem; }
.facts dd { margin: 0; font-size: .88rem; color: #cfcdc7; }
.shot { aspect-ratio: 16 / 9; border-radius: 4px; border: 1px solid var(--line-dark); overflow: hidden; background: #1a1a1c; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.card:nth-child(3) .shot img { object-position: 0 top; }

/* Services */
.services { display: grid; grid-template-columns: repeat(5, 1fr); }
.services li { padding: 0 1.25rem; border-left: 1px solid var(--line-light); }
.services li:first-child { padding-left: 0; border-left: 0; }
.services svg { width: 1.9rem; height: 1.9rem; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.1rem; }
.services h3 { font-family: var(--sans); font-size: .95rem; font-weight: 500; margin-bottom: .4rem; letter-spacing: 0; }
.services p { font-size: .8rem; color: var(--muted-light); }

/* Why Pulsehub */
.why { padding: 5rem 0; }
.why-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: center; }
.why-copy p { font-size: .9rem; color: #d6d4ce; max-width: 32rem; margin: 1.25rem 0 1.5rem; }
.why-credentials { border-left: 1px solid var(--line-dark); padding-left: 2.5rem; }
.why-name { margin: 0 0 1.75rem; display: flex; flex-direction: column; }
.why-name strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.why-name span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.why-stats li { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-dark); }
.why-stats li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.why-stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.why-stats span { font-size: .8rem; color: var(--muted-dark); }

/* Technology */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.tech p:not(.eyebrow):not(.medusa) { font-size: .9rem; color: var(--muted-light); max-width: 34rem; margin: 1.1rem 0 1.4rem; }
.tech-logos .medusa { display: flex; align-items: center; gap: .6rem; font-size: 2.1rem; font-weight: 700; margin-bottom: 1.5rem; }
.medusa svg { width: 2.2rem; height: 2.2rem; fill: #111; }
.medusa svg.medusa-wordmark { width: 11rem; height: auto; }
.tech-logos ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; font-size: .7rem; color: var(--muted-light); text-align: center; }
.tech-logos li { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.chip { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #fff; color: #111; font-weight: 700; font-size: .8rem; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.chip-blue { background: #635bff; color: #fff; border-radius: 8px; }
.chip-amber { background: #f5a623; color: #111; border-radius: 8px; font-size: .65rem; }
.chip-grey { background: #e4e2db; }

/* How we work */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.how-grid p:not(.eyebrow) { font-size: .9rem; color: #d6d4ce; max-width: 30rem; margin: 1.25rem 0 1.5rem; }
.steps { position: relative; display: grid; gap: 1.5rem; padding-left: 2rem; max-width: 26rem; }
.steps::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line-dark); }
.steps li { position: relative; display: grid; grid-template-columns: 2.5rem 1fr; font-size: .85rem; }
.steps li::before { content: ""; position: absolute; left: -2rem; top: .5rem; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.num { color: var(--muted-dark); font-size: .75rem; padding-top: .15rem; }
.steps strong { display: block; font-weight: 500; font-size: .95rem; }
.steps span:not(.num) { color: var(--muted-dark); font-size: .78rem; }

/* CTA */
.cta { position: relative; padding: 4.5rem 0; background: #17110e; overflow: hidden; }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,10,8,.94) 0%, rgba(14,10,8,.88) 60%, rgba(14,10,8,.6) 100%); }
.cta-inner { position: relative; z-index: 2; }
.cta-inner { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; align-items: end; }
.cta-inner h2 { max-width: 16ch; }
.cta-inner > p { font-size: .9rem; opacity: .9; margin: 0; }
.cta .btn { grid-column: 1 / -1; justify-self: start; }

/* Footer */
.footer { padding: 2rem 0; border-top: 1px solid var(--line-dark); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer p { margin: 0; font-size: .8rem; color: var(--muted-dark); }

/* AI */
.ai-intro { padding: 4.5rem 0 3.75rem; background: radial-gradient(55% 140% at 88% 10%, rgba(122,32,40,.28), transparent 70%), var(--ink); }
.ai-intro h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; max-width: 24ch; }
.hero .lead-2 { margin-top: 1rem; }
.ai-lead { max-width: 40rem; margin: 1.5rem 0 0; font-size: 1.05rem; color: #d6d4ce; }
.ai-cols { padding: 3.75rem 0 3.5rem; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.ai-col { padding: 0 2rem; border-left: 1px solid var(--line-light); }
.ai-col:first-child { padding-left: 0; border-left: 0; }
.ai-col:last-child { padding-right: 0; }
.ai-col-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; min-height: 7.2rem; }
.ai-tile { flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: .5rem; background: #111; color: #fff; }
.ai-tile svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ai-col .eyebrow { margin-bottom: .5rem; }
.ai-col h3 { font-size: 1.9rem; line-height: 1.1; }
.ai-col-copy { font-size: .95rem; color: var(--muted-light); margin-bottom: 1.5rem; }
.ai-ticks { display: grid; gap: .7rem; }
.ai-ticks a { text-decoration: underline; text-underline-offset: 3px; }
.ai-ticks li { position: relative; padding-left: 2rem; font-size: .92rem; line-height: 1.4; }
.ai-ticks li::before { content: ""; position: absolute; left: 0; top: .05rem; width: 1.25rem; height: 1.25rem; border: 1px solid rgba(0,0,0,.4); border-radius: 50%;
  background: no-repeat center / .7rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2317171a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.3 2.3 2.3 4.7-5'/%3E%3C/svg%3E"); }
.ai-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-light); }
.ai-cta p { margin: 0; font-family: var(--serif); font-size: 1.4rem; }
.ai-cols :focus-visible { outline-color: #111; }

/* The AI section now sits between "Why Pulsehub" (dark) and "Powered by Medusa" (ivory): hairlines keep the neighbours distinct */
.why + .why, .why + .ai-intro { border-top: 1px solid var(--line-dark); }
.ai-cols + .tech { border-top: 1px solid var(--line-light); }

/* Responsive */
@media (max-width: 62rem) {
  .nav-links { display: none; }
  .menu { display: block; }
  .cards, .why-grid, .tech-grid, .how-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .services li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .section-head { flex-direction: column; }
  .head-aside { padding-top: 0; }
  .why-credentials { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 2rem; }
  .ai-grid { grid-template-columns: 1fr; gap: 0; }
  .ai-col, .ai-col:last-child { padding: 2.5rem 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .ai-col:first-child { padding-top: 0; border-top: 0; }
  .ai-col-head { min-height: 0; }
}
@media (max-width: 62rem) {
  /* Text spans the full width on tablet and phone, so darken the whole hero image evenly */
  .hero::after { background: linear-gradient(180deg, rgba(10,8,9,.82) 0%, rgba(10,8,9,.72) 50%, rgba(10,8,9,.88) 100%); }
}
@media (min-width: 40.01rem) and (max-width: 62rem) {
  /* Tablet: image beside the text so images are not stretched across the full width */
  .cards { gap: 3rem; }
  .card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 2rem; align-content: start; }
  .card > .shot { grid-column: 1; grid-row: 1 / span 20; }
  .card > :not(.shot) { grid-column: 2; }
  .card h3 { margin-top: 0; }
}
@media (max-width: 40rem) {
  .nav { padding: 1.1rem 1.1rem 1.5rem; gap: .5rem; }
  .nav .btn { padding: .5rem .8rem; font-size: .78rem; white-space: nowrap; }
  .nav .btn span { display: none; }
  .logo { gap: .55rem; font-size: .95rem; letter-spacing: .14em; }
  .logo-mark { width: 2rem; height: 2rem; }
  .footer .logo-mark { width: 1.75rem; height: 1.75rem; }
  .section, .why { padding: 3.5rem 0; }
  .ai-intro { padding: 3rem 0 2.5rem; }
  .ai-cols { padding: 2.5rem 0 3rem; }
  .ai-col h3 { font-size: 1.6rem; }
  .ai-cta { margin-top: 2rem; }
  .ai-cta .btn { width: 100%; justify-content: center; }
  .hero { min-height: 0; }
  .hero-img.hero-mark { right: -62%; top: 34%; height: 66%; opacity: .5; }
  .hero-body { padding-top: 2.5rem; }
  .hero-stats { gap: 1.25rem; }
  .trusted ul { grid-template-columns: 1fr 1fr; }
  .trusted li:nth-child(3) { border-left: 0; }
  .tech-logos ul { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
}
/* Very narrow phones: the logo mark alone (its alt text names the brand) so the nav controls keep a single line */
@media (max-width: 24rem) { .nav .logo-text { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Abstract, CSS-only visuals used where no genuine project imagery exists */
.shot-abstract { aspect-ratio: 16 / 10; border-radius: 4px; border: 1px solid var(--line-light); display: grid; place-items: center; padding: 1rem; text-align: center; overflow: hidden; }
.shot-abstract span { font-family: var(--serif); font-size: 1.5rem; color: #f2f0ea; }
.shot-abstract.sa-artpics { background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.05) 22px 23px), linear-gradient(135deg, #0a0809, #4a1a20); }
.shot-abstract.sa-sport { background: repeating-radial-gradient(circle at 80% 30%, transparent 0 20px, rgba(255,255,255,.06) 20px 21px), linear-gradient(135deg, #0a0809, #35262a); }
.shot-abstract.sa-exec { background: linear-gradient(90deg, transparent 0 60%, rgba(255,255,255,.05) 60% 60.5%, transparent 60.5% 80%, rgba(255,255,255,.05) 80% 80.5%, transparent 80.5%), linear-gradient(135deg, #0a0809, #3d2a22); }
.shot-abstract.sa-curated { background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,.045) 22px 23px), linear-gradient(135deg, #0a0809, #5a2128); }
.card .shot-abstract { aspect-ratio: 16 / 9; border-color: var(--line-dark); }

/* Medusa Experts lockup (heroes) and footer line */
.expert-badge { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.25rem; color: #efede7; }
.expert-badge img { width: 2rem; height: 2rem; flex: none; filter: invert(1); }
.expert-badge span { font-size: 1.05rem; font-weight: 500; letter-spacing: .01em; }
.footer .footer-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: #efede7; }
.footer .footer-badge img { width: 1.25rem; height: 1.25rem; filter: invert(1); opacity: .9; }

/* Client logo strip (homepage). Logos are dark-on-transparent PNGs. */
.trusted .client-logos { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 2.5rem; padding: .5rem 0 0; text-align: initial; }
.trusted .client-logos li { padding: 0; border-left: 0; letter-spacing: normal; }
.trusted .client-logos a { display: flex; align-items: center; justify-content: center; opacity: .78; transition: opacity .2s; }
.trusted .client-logos a:hover, .trusted .client-logos a:focus-visible { opacity: 1; }
.client-logos img { display: block; width: auto; max-width: 100%; }
.client-logos .cl-btn { height: 2.6rem; } .client-logos .cl-ai { height: 3.4rem; } .client-logos .cl-artpics { height: 1.7rem; } .client-logos .cl-ssc { height: 3.6rem; } .client-logos .cl-cc { height: 3.2rem; }
@media (max-width: 62rem) { .trusted .client-logos { justify-content: center; gap: 1.75rem 2.25rem; } .client-logos .cl-btn { height: 2.2rem; } .client-logos .cl-ai { height: 3rem; } .client-logos .cl-artpics { height: 1.5rem; } .client-logos .cl-ssc { height: 3.1rem; } .client-logos .cl-cc { height: 2.8rem; } }

/* Sticky navigation: the nav is fixed to the top of the viewport on every page. The hero reserves its height;
   a dark blurred bar fades in behind it once the page has scrolled (see nav.js). */
:root { --nav-h: 5.65rem; }
html { scroll-padding-top: 5rem; }
.hero, .page-hero { padding-top: var(--nav-h); }
.hero > nav.nav, .page-hero > nav.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
.nav::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: rgba(10,8,9,.9); border-bottom: 1px solid var(--line-dark); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) { .nav::before { background: rgba(10,8,9,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); } }
.nav.is-scrolled::before { opacity: 1; }
@media (max-width: 62rem) { :root { --nav-h: 5rem; } html { scroll-padding-top: 4.5rem; } }
@media (prefers-reduced-motion: reduce) { .nav::before { transition: none; } }

/* Social links (footer) */
.social-links { display: flex; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.social-links a { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line-dark); border-radius: 50%; color: #efede7; opacity: .85; transition: opacity .2s, border-color .2s; }
.social-links a:hover, .social-links a:focus-visible { opacity: 1; border-color: rgba(239,237,231,.6); }
.social-links svg { width: 1rem; height: 1rem; fill: currentColor; }
.social-links svg.si-stroke { fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-links svg.si-stroke circle:last-child { fill: currentColor; stroke: none; }

/* Closing banner: brand gradient with the faded purple logo mark (replaces generic photography) */
.cta { background: linear-gradient(100deg, #0a0809 0%, #0a0809 40%, #2a0f14 72%, #4a1a20 100%); }
.cta::before { background: linear-gradient(90deg, rgba(10,8,9,.55) 0%, rgba(10,8,9,.2) 60%, rgba(10,8,9,0) 100%); }
.cta-img.cta-mark { inset: auto; right: 3%; top: 50%; width: auto; height: 190%; aspect-ratio: 1; max-width: none; object-fit: contain; transform: translateY(-50%); opacity: .24; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 68%); mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 68%); }
@media (max-width: 62rem) { .cta-img.cta-mark { right: -35%; height: 200%; opacity: .22; } }

/* Client testimonials (rendered from content/testimonials/*.json by scripts/render_testimonials.py) */
.testimonials { background: #e6e3da; padding: 4.5rem 0; }
.testimonials-home { padding: 6rem 0; }
.testimonial { margin: 0; max-width: 52rem; }
.t-quote { margin: 0; padding: 0; }
.t-quote p { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.38; letter-spacing: -.005em; color: var(--cream-ink); }
.testimonials-home .t-quote p { font-size: clamp(1.45rem, 3vw, 2.25rem); }
.t-attrib { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.t-who { display: grid; gap: .15rem; }
.t-name { font-weight: 600; font-size: .98rem; color: var(--cream-ink); }
.t-role { font-size: .85rem; color: #4a4944; letter-spacing: .01em; }
.t-media { flex: none; display: block; }
.t-portrait { width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; }
.t-logo { height: 2rem; width: auto; }
.t-labels { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.t-labels li { padding: .3rem .8rem; border: 1px solid rgba(0,0,0,.28); border-radius: 999px; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: #3f3e3a; }
.t-link { margin: 1.5rem 0 0; font-size: .9rem; }
.t-link a { color: var(--cream-ink); text-decoration: underline; text-underline-offset: 4px; }
.testimonials .eyebrow { color: #4a4944; opacity: 1; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 4rem; }
@media (max-width: 52rem) { .testimonials { padding: 3.25rem 0; } .testimonials-home { padding: 4rem 0; } .testimonials-grid { grid-template-columns: minmax(0, 1fr); } }
.testimonials-grid .t-quote p, .testimonials-home .testimonials-grid .t-quote p { font-size: clamp(1.15rem, 1.7vw, 1.5rem); }
.t-item { display: flex; flex-direction: column; }
.t-item .t-link { margin-top: auto; padding-top: 1.5rem; }
@media (min-width: 52.01rem) and (max-width: 75rem) { .testimonials-grid.testimonials-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75.01rem) { .testimonials-grid.testimonials-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
