/* Trive — shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #ffffff;
  --ink: #161616;
  --ink-soft: #3d3c3a;
  --grey: #66645f;
  --rule: #e7e3df;
  --tint: #faf7f6;
  --pink: #d4748a;
  --pink-ink: #ad4d65;
  --black: #000000;
  --on-black: #f4f1ee;
  --on-black-soft: #a8a5a0;
  --line-black: #2a2a28;
  --font-display: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --nav-h: 76px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 1000;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; text-decoration: none; font-size: .9rem;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: -0.005em; font-variant-numeric: lining-nums; }
.stats strong, .result-score, .weight-display, .breakdown-score, .team-grid strong, .hero-caption strong { font-variant-numeric: lining-nums; }
h1 strong, h2 strong { font-weight: 600; color: var(--pink-ink); }

.label {
  display: block;
  font-family: var(--font-body);
  line-height: 1.4;
  font-size: .82rem;
  font-weight: 500;
  color: var(--pink-ink);
  margin-bottom: 1rem;
}
.label::before {
  content: ''; display: inline-block; width: 1.4rem; height: 1px; background: currentColor;
  vertical-align: middle; margin-right: .6rem; position: relative; top: -2px;
}

.section-title { font-size: clamp(2.1rem, 3.6vw, 3.2rem); margin-bottom: 1.5rem; }
.lede { font-size: 1.05rem; color: var(--grey); max-width: 34rem; }
.prose p { color: var(--ink-soft); margin-bottom: 1.2rem; max-width: 40rem; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-size: .92rem; font-weight: 500;
  padding: .85rem 1.6rem; border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--pink-ink); border-color: var(--pink-ink); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: var(--on-black); color: var(--black); border-color: var(--on-black); }
.btn--light:hover { background: var(--pink); border-color: var(--pink); color: var(--black); }
.btn--ghost-light { background: transparent; color: var(--on-black); border-color: #55534f; }
.btn--ghost-light:hover { border-color: var(--on-black); background: transparent; }
.btn--block { width: 100%; }

.text-link {
  font-size: .92rem; font-weight: 500; color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--pink); text-underline-offset: .3em; text-decoration-thickness: 1px;
}
.text-link:hover { color: var(--pink-ink); }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-nav .wrap {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: .92rem; color: var(--grey);
  padding: .4rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--pink); }
.nav-cta { padding: .6rem 1.2rem; font-size: .88rem; }

.hamburger {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 190;
  background: var(--white); padding: 2rem var(--gutter); flex-direction: column; gap: .2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-display); font-size: 2rem; text-decoration: none; color: var(--ink);
  padding: .5rem 0; border-bottom: 1px solid var(--rule);
}
.mobile-menu a[aria-current="page"] { color: var(--pink-ink); }
.mobile-menu .btn { margin-top: 2rem; }

/* ---------- Home hero (black) ---------- */
.hero { background: var(--black); color: var(--on-black); }
.hero-grid {
  display: grid; grid-template-columns: 1.22fr .78fr;
  min-height: calc(100svh - var(--nav-h)); max-height: 860px;
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem var(--gutter) 4rem max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero h1 { font-size: clamp(2.6rem, 4.5vw, 4.4rem); font-weight: 400; line-height: 1.06; margin-bottom: 1.8rem; }
.hero h1 strong { color: var(--pink); font-weight: 600; }
.hero-areas { font-size: .95rem; color: var(--on-black); margin-bottom: 1.2rem; }
.hero-intro { font-size: 1rem; color: var(--on-black-soft); max-width: 27rem; margin-bottom: 2.6rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-portrait { position: relative; overflow: hidden; background: #0d0b09; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-caption {
  position: absolute; left: 0; bottom: 2.5rem; background: var(--white); color: var(--ink);
  padding: 1rem 1.6rem 1.05rem;
}
.hero-caption strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.2; }
.hero-caption span { font-size: .85rem; color: var(--grey); }

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-areas, .hero-intro, .hero-actions { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-areas { animation-delay: .15s; }
  .hero-intro { animation-delay: .25s; }
  .hero-actions { animation-delay: .35s; }
  .hero-portrait img { animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section + .section { border-top: 1px solid var(--rule); }

.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--ink); }
.area { padding: 1.8rem 2rem 0 0; }
.area + .area { padding-left: 2rem; border-left: 1px solid var(--rule); }
.area h3 { font-size: 1.7rem; margin-bottom: .7rem; }
.area p { color: var(--grey); font-size: .96rem; max-width: 22rem; }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 3rem; }
.value h3 { font-size: 2.2rem; margin-bottom: .6rem; }
.value h3::after { content: ''; display: block; width: 2rem; height: 2px; background: var(--pink); margin-top: .8rem; }
.value p { color: var(--ink-soft); font-size: .96rem; }

/* Faded black and white photos on the home page */
.section--photo { position: relative; overflow: hidden; }
.section--photo .wrap { position: relative; z-index: 1; }
.fade-photo { position: absolute; pointer-events: none; z-index: 0; }
.fade-photo img { width: 100%; height: 100%; object-fit: cover; }
.section--band { padding-top: clamp(6rem, 17vw, 15rem); }
.fade-photo--band {
  top: 0; right: 0; width: 70%; height: clamp(6rem, 17vw, 15rem);
  height: calc(clamp(6rem, 17vw, 15rem) + 3.5rem);
  opacity: .22;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%), linear-gradient(to bottom, #000 25%, transparent 92%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 55%), linear-gradient(to bottom, #000 25%, transparent 92%);
  mask-composite: intersect;
}
.fade-photo--band img { object-position: 50% 62%; }
.about-intro { position: relative; }
.fade-photo--about {
  inset: 0;
  opacity: .12;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 85%, transparent 100%);
  mask-composite: intersect;
}
.fade-photo--about img { object-position: 50% 12%; }
.about-intro > :not(.fade-photo) { position: relative; z-index: 1; }

/* Clients */
.clients { background: var(--white); padding: clamp(4rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--rule); }
.carousel { overflow: hidden; margin-top: 2.5rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.carousel-track { display: flex; width: max-content; animation: marquee 32s linear infinite; list-style: none; }
.carousel:hover .carousel-track { animation-play-state: paused; }
.carousel-item { padding: 1.4rem 2.6rem; border-right: 1px solid var(--rule); display: flex; align-items: center; }
.carousel-item { min-height: 5.5rem; }
.carousel-item img { opacity: .75; max-width: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .carousel-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .carousel-item[aria-hidden="true"] { display: none; }
}

/* ---------- Page header ---------- */
.page-header { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--rule); }
.page-header h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin-bottom: 1.2rem; }
.page-header--image .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.page-header-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.page-header-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Case study index ---------- */
.cs-band { background: var(--black); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
main:has(.cs-band) + .site-footer .wrap { border-top: 1px solid #262624; }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cs-card {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: #111110; border: 1px solid #262624; color: var(--on-black);
  padding: 2.1rem 1.9rem 1.9rem; transition: background .25s, border-color .25s, transform .25s;
}
.cs-card::before { content: ''; position: absolute; left: -1px; top: -1px; width: 3px; height: 0; background: var(--pink); transition: height .3s; }
.cs-card:hover { background: #1a1918; border-color: #3a3936; transform: translateY(-3px); }
.cs-card:hover::before, .cs-card:focus-visible::before { height: calc(100% + 2px); }
.cs-card .label { color: var(--pink); margin-bottom: 1.1rem; }
.cs-card h2 { color: var(--on-black); font-size: 1.8rem; line-height: 1.18; margin: 0 0 .9rem; }
.cs-card .facts { color: #8d8a85; margin-bottom: 1.1rem; }
.cs-card .facts li { border-left-color: #3d3b38; }
.cs-card p { color: var(--on-black-soft); font-size: .93rem; margin-bottom: 1.4rem; flex: 1; }
.cs-card .text-link { align-self: flex-start; color: var(--on-black); }
@media (prefers-reduced-motion: reduce) { .cs-card, .cs-card::before { transition: none; } .cs-card:hover { transform: none; } }

.facts {
  display: flex; flex-wrap: wrap; list-style: none; font-size: .84rem; color: var(--grey); row-gap: .25rem;
  margin-left: calc(-.7rem - 1px); clip-path: inset(0 0 0 calc(.7rem + 1px));
}
.facts li { padding: 0 .7rem; border-left: 1px solid #c9c4bf; line-height: 1.25; }

/* ---------- Case study page ---------- */
.breadcrumb { font-size: .86rem; color: var(--grey); margin-bottom: 2rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb li + li::before { content: '/'; margin-right: .5rem; color: #c9c4bf; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

.cs-header { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--rule); }
.cs-header h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); max-width: 18ch; margin-bottom: 1.6rem; }
.cs-header .facts { font-size: .92rem; }
.cs-logo { height: 32px; width: auto; margin-bottom: 1.4rem; }

.cs-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2.5rem, 7vw, 6rem); padding: clamp(3rem, 6vw, 5rem) 0; }
.cs-section + .cs-section { margin-top: 3.2rem; }
.cs-section h2 { font-size: 1.9rem; margin-bottom: 1.1rem; }

.in-short { margin-top: 1.8rem; padding: 1.4rem 1.6rem; background: var(--tint); border-left: 2px solid var(--pink); max-width: 40rem; }
.in-short h3 { font-family: var(--font-body); font-size: .82rem; font-weight: 500; color: var(--pink-ink); margin-bottom: .6rem; }
.in-short ul { list-style: none; }
.in-short li { position: relative; padding-left: 1.2rem; color: var(--ink); font-size: .97rem; }
.in-short li + li { margin-top: .35rem; }
.in-short li::before { content: ''; position: absolute; left: 0; top: .78em; width: .55rem; height: 1px; background: var(--pink-ink); }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 1.8rem; max-width: 40rem; }
.team-grid div { background: var(--white); padding: 1.2rem 1.3rem; }
.team-grid span { display: block; font-size: .82rem; color: var(--grey); margin-bottom: .2rem; }
.team-grid div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.team-grid strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.2; }

.cs-aside { align-self: start; position: sticky; top: calc(var(--nav-h) + 2rem); }
.stats { list-style: none; border-top: 1px solid var(--ink); }
.stats li { padding: 1.05rem 0 1.1rem; border-bottom: 1px solid var(--rule); font-size: .9rem; color: var(--grey); line-height: 1.4; }
.stats strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--ink); line-height: 1.1; margin-bottom: .2rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 1.6rem 0; }
.tags li { font-size: .78rem; border: 1px solid var(--rule); padding: .25rem .6rem; color: var(--grey); }

.cs-next { border-top: 1px solid var(--rule); }
.cs-next a {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0; text-decoration: none;
}
.cs-next span { display: block; font-size: .86rem; color: var(--grey); margin-bottom: .4rem; }
.cs-next strong { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.15; }
.cs-next a:hover strong { color: var(--pink-ink); }
.cs-next svg { width: 40px; height: 40px; transition: transform .25s; }
.cs-next a:hover svg { transform: translateX(6px); }

/* ---------- Tools ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.tool-card { position: relative; background: var(--white); border: 1px solid var(--rule); padding: 2.1rem 1.9rem 1.9rem; display: flex; flex-direction: column; transition: border-color .25s, transform .25s, box-shadow .25s; }
.tool-card:not(.tool-card--soon):hover { border-color: #cfc9c3; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.tool-card .label { margin-bottom: 1.1rem; }
.tool-card .status { font-size: .82rem; font-weight: 500; color: var(--grey); }
.tool-card h2 { font-size: 1.8rem; line-height: 1.18; margin-bottom: .9rem; }
.tool-card p { color: var(--grey); font-size: .95rem; margin-bottom: 1.6rem; flex: 1; }
.tool-card .btn { align-self: flex-start; }
.tool-card--soon .label { color: var(--grey); }
.tool-card--soon h2 { color: var(--ink-soft); }

.rubric-wrap { max-width: 760px; margin: clamp(2.5rem, 5vw, 4rem) auto clamp(4rem, 8vw, 6rem); }
.rubric-card { border: 1px solid var(--rule); padding: clamp(1.5rem, 4vw, 2.8rem); }
.rubric-step { display: none; }
.rubric-step.active { display: block; }
.step-label { font-size: .84rem; color: var(--grey); margin-bottom: 1.4rem; }
.rubric-title { font-size: 2rem; margin-bottom: .4rem; }
.rubric-sub { color: var(--grey); font-size: .95rem; margin-bottom: 2rem; }
.step-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.form-error { color: #a8321f; font-size: .9rem; margin-top: 1rem; min-height: 1.2em; }

.form-row { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: .86rem; font-weight: 500; color: var(--ink-soft); margin-bottom: .35rem; }
.form-input {
  width: 100%; padding: .75rem .9rem; border: 1px solid #d6d1cc; background: var(--white);
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); border-radius: 0; transition: border-color .2s;
}
.form-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
textarea.form-input { resize: vertical; }

.criteria-row { display: grid; grid-template-columns: 1fr 88px 56px; gap: .8rem; align-items: center; margin-bottom: .7rem; }
.weight-display { font-family: var(--font-display); font-size: 1.3rem; color: var(--pink-ink); text-align: center; }
.weight-total { font-size: .9rem; color: var(--grey); text-align: right; margin-top: .8rem; }
.weight-total.error { color: #a8321f; }
.weight-total.ok { color: #2d7a4b; }
.question-block { margin-bottom: 1.8rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--rule); }
.question-block h3 { font-size: 1.35rem; margin-bottom: .8rem; }
.question-block h3 small { font-family: var(--font-body); font-size: .8rem; color: var(--pink-ink); margin-left: .4rem; }
.scoring-guide { background: var(--tint); padding: 1rem 1.2rem; margin-bottom: 1.5rem; font-size: .88rem; color: var(--ink-soft); line-height: 1.8; }
.scoring-guide strong { color: var(--ink); font-weight: 500; }
.scoring-row { border: 1px solid var(--rule); padding: 1.2rem; margin-bottom: .8rem; }
.scoring-criterion-name { font-family: var(--font-display); font-size: 1.3rem; }
.scoring-weight-badge { font-size: .8rem; color: var(--pink-ink); margin-bottom: .8rem; }
.scoring-q { margin-bottom: 1rem; }
.scoring-q p { font-size: .9rem; color: var(--ink-soft); margin-bottom: .5rem; }
.scoring-q .score-note { font-size: .8rem; color: var(--grey); margin-top: .35rem; min-height: 1.2em; }
.score-buttons { display: flex; gap: 4px; }
.score-btn { flex: 1; padding: .55rem 0; border: 1px solid #d6d1cc; background: var(--white); font-size: .9rem; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.score-btn:hover { border-color: var(--ink); }
.score-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.result-card { text-align: center; padding: 1rem 0 1.5rem; }
.result-score { font-family: var(--font-display); font-size: 5.5rem; line-height: 1; }
.result-score span { font-size: 2rem; color: var(--grey); }
.result-label { font-size: .95rem; font-weight: 500; margin-top: .6rem; }
.result-label.strong { color: #2d7a4b; }
.result-label.borderline { color: #a86412; }
.result-label.weak { color: #a8321f; }
.breakdown-heading { font-size: .86rem; color: var(--grey); margin-bottom: .6rem; }
.breakdown-row { display: flex; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--rule); gap: 1rem; }
.breakdown-name { font-size: .95rem; min-width: 8rem; }
.breakdown-bar-wrap { flex: 1; height: 3px; background: var(--rule); }
.breakdown-bar { height: 100%; background: var(--pink); }
.breakdown-score { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-soft); min-width: 3rem; text-align: right; }

/* ---------- Assessments ---------- */
.assessment-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 7vw, 6rem); padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); align-items: start; }
.partner { padding-bottom: 1.8rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--rule); }
.partner span { display: block; font-size: .86rem; color: var(--grey); margin-bottom: .6rem; }
.partner img { height: 40px; width: auto; }
.demo-panel { border: 1px solid var(--rule); padding: clamp(1.6rem, 4vw, 2.6rem); background: var(--white); }
.demo-panel h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.form-success { text-align: center; padding: 2rem 0; }
.form-success strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; margin-bottom: .4rem; }
.form-success span { color: var(--grey); }

/* ---------- Podcast ---------- */
.yt-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.6rem; }
.yt-link svg { width: 18px; height: 13px; color: var(--pink-ink); }
.podcasts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2rem; padding: 0 0 clamp(4rem, 8vw, 6rem); list-style: none; }
.podcast-card { text-decoration: none; display: block; }
.podcast-thumb { aspect-ratio: 16 / 9; background: var(--tint); overflow: hidden; margin-bottom: 1rem; }
.podcast-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.podcast-card:hover .podcast-thumb img { transform: scale(1.03); }
.podcast-meta { font-size: .84rem; color: var(--grey); margin-bottom: .3rem; }
.podcast-card h3 { font-size: 1.45rem; font-weight: 500; line-height: 1.25; }
.podcast-card:hover h3 { color: var(--pink-ink); }
.podcast-company { font-size: .92rem; color: var(--grey); margin-top: .15rem; }
.page-subhead { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; color: var(--ink-soft); margin: -.3rem 0 1.2rem; }
.podcast-section { padding-top: clamp(3rem, 6vw, 4.5rem); }
.podcast-section + .podcast-section { border-top: 1px solid var(--rule); }
.podcast-section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.podcast-section .podcasts-grid { padding-top: 2rem; }
[id] { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--on-black-soft); font-size: .88rem; }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto auto; gap: 2.5rem; align-items: center; padding-top: 2.6rem; padding-bottom: 2.6rem; }
.site-footer img { height: 26px; width: auto; }
.site-footer address { font-style: normal; }
.site-footer a { color: var(--on-black); text-decoration: none; }
.site-footer a:hover { color: var(--pink); }
.footer-contact { display: flex; gap: 1.6rem; flex-wrap: wrap; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--white); width: 100%; max-width: 520px; max-height: calc(100svh - 2rem); overflow-y: auto; padding: clamp(1.8rem, 5vw, 3rem); position: relative; transform: translateY(16px); transition: transform .25s; }
.modal-overlay.open .modal { transform: none; }
.modal h2 { font-size: 2.3rem; margin-bottom: .3rem; }
.modal-sub { color: var(--grey); margin-bottom: 1.8rem; }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; color: var(--grey); font-size: 1.3rem; }
.modal-close:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .modal-overlay, .modal { transition: none; } }

.hidden-field { position: absolute; left: -9999px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links, .site-nav .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero-text { padding: 3.5rem var(--gutter) 3rem; }
  .hero-portrait { aspect-ratio: 4 / 3.4; }
  .split, .page-header--image .wrap, .assessment-grid { grid-template-columns: 1fr; }
  .fade-photo--band { width: 100%; opacity: .1; }
  .cs-body { grid-template-columns: 1fr; }
  .cs-aside { position: static; order: -1; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .tools-grid, .podcasts-grid, .cs-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
  .footer-contact { grid-column: 1 / -1; order: 3; }
  .site-footer .wrap > div:last-child { order: 4; }
}
@media (max-width: 680px) {
  .areas-grid, .values-grid, .cs-grid, .tools-grid, .podcasts-grid, .team-grid { grid-template-columns: 1fr; }
  .area, .area + .area { padding: 1.5rem 0; border-left: 0; }
  .area + .area { border-top: 1px solid var(--rule); }
  .stats strong { font-size: 1.55rem; }
  .criteria-row { grid-template-columns: 1fr 72px 48px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .hero-caption { bottom: 1.5rem; }
}
