/* Palette taken from nikolakrolakevents.netlify.app; LinkedIn CTAs use LinkedIn blue */
:root {
  --ink: #1e2636;
  --ink-2: #505a6e;
  --paper: #f3f5f9;
  --white: #ffffff;
  --line: #dce2ec;
  --tile: #eaeef4;
  --slate: #475b7f;
  --slate-deep: #36465f;
  --slate-ink: #2a3750;
  --slate-soft: #8e9dba;
  --night: #131a27;
  --li: #0a66c2;
  --li-hover: #0858a8;
  --wrap: 1200px;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; text-align: center; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(243,245,249,.94); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; color: #F2F2F0; line-height: 0; }
.logo-mark { height: 24px; width: auto; display: block; } /* brand guideline: min 24px tall on screen */
.nav.scrolled .logo { color: #141414; }
.nav-links { display: flex; gap: 22px; flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); white-space: nowrap; transition: color .2s; }
.nav.scrolled .nav-links a { color: var(--ink-2); }
.nav-links a:hover, .nav .nav-links a.active { color: var(--slate-soft); }
.nav-links a { position: relative; padding-bottom: 4px; }
.nav .nav-links a.active { color: var(--white); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: .14em; bottom: 0; height: 2px; background: currentColor; }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav.scrolled .nav-links a.active { color: var(--ink); font-weight: 600; }

/* ---------- LinkedIn buttons ---------- */
.btn-li { display: inline-flex; align-items: center; gap: 10px; background: var(--li); color: #fff; border-radius: 999px; padding: 14px 26px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background .2s, transform .2s; white-space: nowrap; }
.btn-li:hover { background: var(--li-hover); transform: translateY(-1px); }
.btn-li--sm { padding: 8px 16px; font-size: 11px; }
.btn-li--lg { padding: 20px 40px; font-size: 16px; }
.li-ico { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; background: #fff; color: var(--li); border-radius: 3px; font-weight: 700; font-size: .9em; letter-spacing: 0; text-transform: none; line-height: 1; }

.btn { display: inline-flex; align-items: center; border-radius: 999px; padding: 14px 28px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: transform .2s, background .2s; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--line); transform: translateY(-1px); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-outline { border: 1px solid rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.1); transform: translateY(-1px); }
.btn-contact { flex: none; border: 1px solid rgba(255,255,255,.55); color: var(--white); border-radius: 999px; padding: 8px 20px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.btn-contact:hover { background: var(--white); color: var(--ink); }
.nav.scrolled .btn-contact { border-color: var(--ink); color: var(--ink); }
.nav.scrolled .btn-contact:hover { background: var(--ink); color: var(--white); }

/* ---------- Type ---------- */
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--slate); margin: 0 0 18px; font-weight: 500; }
.eyebrow--light { color: #b9c5dc; }
.eyebrow.num { display: flex; align-items: center; gap: 16px; }
.eyebrow.num span { color: var(--slate); letter-spacing: .15em; }
.eyebrow.num i { display: block; width: 56px; height: 1px; background: var(--slate-soft); }
.h2 { font-weight: 300; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 24px; max-width: 22ch; text-wrap: balance; }
.h2--big { font-size: clamp(48px, 7vw, 96px); max-width: none; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); max-width: 62ch; margin: 0 0 36px; line-height: 1.6; }
.lead--center { margin-left: auto; margin-right: auto; }
.lead u { text-decoration-thickness: 1px; text-underline-offset: 4px; }

.section { padding: clamp(56px, 6vw, 88px) 0; }
.section--line { border-top: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - 120px); min-height: max(560px, calc(100svh - 120px)); background: var(--night); color: var(--white); display: flex; align-items: center; overflow: hidden; }
/* portrait pushed right so the face sits in the empty space beside the text */
.hero-photo { position: absolute; top: 0; bottom: 0; right: -4%; width: 64%; background: url("images/portrait.jpg") 60% 30% / cover no-repeat; opacity: .72; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 45%); }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--night) 30%, rgba(19,26,39,.6) 50%, rgba(19,26,39,.15) 72%, rgba(19,26,39,.3) 100%),
  none; }
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 110px; padding-bottom: 70px; }
/* soft fade from the dark hero into the light page, with a small arrow */
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 100px; background: linear-gradient(180deg, rgba(42,55,80,0), var(--slate-ink)); z-index: 1; pointer-events: none; }
.hero-arrow { position: absolute; left: 50%; bottom: 10px; z-index: 3; width: 40px; height: 40px; margin-left: -20px; display: grid; place-items: center; color: #b9c5dc; animation: bob 2.4s ease-in-out infinite; }
.hero-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero-arrow { animation: none; } }
.hero-name { font-weight: 300; font-size: clamp(45.1px, 7.11vw, 100.6px); line-height: .98; letter-spacing: 0.005em; text-transform: uppercase; margin: 0 0 34px; }
.hero-bio { max-width: 560px; font-size: clamp(16px, 1.35vw, 19px); color: rgba(255,255,255,.8); margin: 0 0 40px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Ticker ---------- */
.ticker { background: var(--slate-ink); color: var(--white); overflow: hidden; padding: 22px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; font-size: clamp(17px, 1.5vw, 20px); font-weight: 400; white-space: nowrap; padding-right: 28px; }
.ticker-item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--slate-soft); margin-left: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 24px; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 40px; }
.about-text { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.7; position: relative; }
.about-text p { margin: 0 0 1.1em; }
.about-text.clamped { overflow: hidden; }
.about-text.clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(243,245,249,0), var(--paper)); }
.about-side { display: flex; flex-direction: column; min-width: 0; }
/* cutout photo stands in the space beside the heading and rests on the "At a glance" card */
.about-side .glance { position: relative; z-index: 1; }
.glance { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 22px; }
.glance dl { margin: 0; }
.glance dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.glance dl > div:last-child { border-bottom: 0; }
.glance dt { color: var(--ink-2); font-size: 15px; flex-shrink: 0; }
.glance dd.dd-exp { font-size: 14px; line-height: 1.6; }
.glance dd { margin: 0; text-align: right; font-size: 15px; color: var(--ink); }
.glance > .eyebrow { letter-spacing: .08em; }
.dd-exp span { display: block; white-space: nowrap; }

.link-more { background: none; border: 0; padding: 0; color: var(--slate-ink); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.link-more:hover { color: var(--slate); }
.link-read { color: var(--slate); gap: 2px; }
.link-read::after { content: "+"; font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1; }
.link-read.open::after { content: "−"; }
.link-read:hover { color: var(--slate-ink); }
.link-more--big { margin-top: 28px; font-size: 13px; }
.link-more--big { gap: 2px; }
.link-more--big::after { content: "+"; font-size: 16px; font-weight: 500; letter-spacing: 0; line-height: 1; }
.link-more--big.open::after { content: "−"; }
.link-accent { color: var(--slate-ink); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.link-accent:hover { color: var(--slate); text-decoration: underline; text-underline-offset: 4px; }

/* equal space above the stats (from the quote line) and below them (to the next section line) */
.proof { display: grid; grid-template-columns: 1fr; gap: var(--proof-gap); margin-top: 56px; }
#about { --proof-gap: clamp(48px, 5vw, 72px); padding-bottom: var(--proof-gap); }
.quote-label { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--slate); font-weight: 600; margin: 0 0 22px; }
/* Centred statement between thin lines */
.quote-card { margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 8%; text-align: center; }
.quote-card blockquote { margin: 0 0 24px; font-size: clamp(24px, 2.8vw, 36px); font-weight: 300; line-height: 1.35; color: var(--ink); text-wrap: balance; }
.ref-role { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; display: block; }
/* One row of six, thin vertical line on the left of each */
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.stat { border-left: 1px solid var(--line); padding: 6px 20px; }
.stat-num small { font-size: .42em; letter-spacing: .08em; margin-left: .25em; font-weight: 400; }
.stat-num { display: block; font-size: clamp(32px, 3vw, 44px); font-weight: 600; color: var(--ink); line-height: 1.05; letter-spacing: -0.02em; white-space: nowrap; }
.stat-label { display: block; margin-top: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }

/* ---------- Grids & cards ---------- */
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; margin-top: 12px; }
.help-grid article { border-left: 1px solid var(--line); padding-left: 24px; display: flex; flex-direction: column; }
.help-grid .help-fact { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--slate-ink); }
.help-fact svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--slate); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.help-grid h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; }
.help-grid p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
@media (max-width: 900px) { .help-grid { grid-template-columns: 1fr; gap: 28px; } }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.is-extra { display: none !important; }
.show-all .is-extra { display: revert !important; }
.show-all .is-extra.card-flex { display: flex !important; }

.video-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: left; padding: 0; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; color: inherit; transition: transform .25s, box-shadow .25s; }
.video-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(30,38,54,.35); }
#video-grid { gap: 22px; }
.thumb { position: relative; aspect-ratio: 2/1; background: var(--tile); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb img.hq { transform: scale(1.04); }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(30,38,54,.72); display: grid; place-items: center; transition: background .2s, transform .2s; }
.play::before { content: ""; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.video-card:hover .play { background: var(--slate); transform: scale(1.06); }
.video-meta { padding: 20px 24px 22px; }
.credit { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); margin: 0 0 10px; font-weight: 500; }
.vnote { margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.video-meta h3 { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.45; }

/* Designs: JS masonry into columns so cards sit tight under each other */
.masonry { display: flex; gap: 24px; align-items: flex-start; }
.masonry-col { flex: 1; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pair-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pair-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.pair-head h3 { margin: 0; font-size: 16.5px; font-weight: 500; }
.pair-head span { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.pair-side { display: flex; flex-direction: column; gap: 8px; }
.pair-label { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.shot { background: var(--tile); border-radius: 10px; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; display: block; width: 100%; }
.shot img { width: 100%; height: auto; transition: transform .35s; }
.shot:hover img { transform: scale(1.03); }

/* Swag: uniform tiles, whole image visible, click for full size */
/* Swag: featured piece spans two columns, the rest sit three across in square tiles */
.swag-grid { align-items: start; }
.swag-grid > .swag-card:first-child { grid-column: span 2; }
.swag-card .pair { gap: 14px; }
.swag-card .shot { aspect-ratio: 1/1; background: var(--white); border: 1px solid var(--line); }
.swag-card .shot img { width: 100%; height: 100%; object-fit: cover; }
.swag-card .shot.fit-contain img { object-fit: contain; }

/* Photo grids */
.photo { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; border: 0; padding: 0; background: var(--tile); display: block; width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo:hover img { transform: scale(1.04); }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: #fff; font-size: 14.5px; text-align: left; background: linear-gradient(180deg, transparent, rgba(19,26,39,.82)); }

/* Missing image placeholder */
.ph { width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--ink-2); font-size: 12px; letter-spacing: .04em; overflow-wrap: anywhere; background: repeating-linear-gradient(135deg, var(--tile), var(--tile) 10px, #e2e7ef 10px, #e2e7ef 20px); }

/* ---------- Booth cases ---------- */
.case { margin-top: 48px; }
.case + .case { margin-top: 72px; padding-top: 64px; border-top: 1px solid var(--line); }
.case-top { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.case-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px; }
.case-card .eyebrow { font-size: 11px; margin-bottom: 14px; }
.case-card h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 300; margin: 0 0 18px; line-height: 1.15; letter-spacing: -0.015em; }
.case-card .tagline { font-style: italic; color: var(--ink-2); margin: 0 0 22px; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0; text-align: right; color: var(--slate); }
.facts { margin: 0; }
.story { margin-bottom: 30px; }
.story h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.story p { margin: 0 0 8px; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.story p.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.owned { margin-top: 40px; background: #e8edf5; border: 1px solid #cfd8e6; border-radius: var(--radius); padding: 40px 48px; }
.owned-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.owned-head svg { width: 26px; height: 26px; stroke: var(--slate); fill: none; stroke-width: 1.6; }
.owned-head span { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.owned ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.owned li { break-inside: avoid; position: relative; padding: 8px 0 8px 32px; font-size: 16.5px; color: var(--ink); }
.owned li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 6px; border-left: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: rotate(-45deg); }
.gallery-label { margin: 40px 0 18px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--slate); font-weight: 500; }

/* ---------- People ---------- */
.pill-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.pill-card .ico { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--slate-soft); display: grid; place-items: center; margin-bottom: 26px; }
.pill-card svg { width: 28px; height: 28px; stroke: var(--slate); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pill-card h3 { font-size: 18px; font-weight: 500; margin: 0 0 14px; }
.pill-card { display: flex; flex-direction: column; }
.pill-card .card-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.pill-card p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; }

/* ---------- Referrals (navy band) ---------- */
.referrals { background: var(--slate-ink); color: var(--white); }
.referrals .lead { color: rgba(255,255,255,.72); }
.referrals .ref-role { color: #b9c5dc; margin: 0; }
.referrals blockquote { quotes: none; }
.qmark { display: block; font-size: 72px; line-height: .6; height: 34px; color: var(--slate-soft); font-weight: 300; }

/* ---------- Contact / footer ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius); }
.contact .lead { margin-bottom: 36px; }
.li-url { margin-top: 10px; margin-left: 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--ink-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer .logo { color: #141414; }
.footer .logo-mark { height: 24px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,16,25,.93); display: grid; place-items: center; padding: 56px 24px 24px; }
.lightbox[hidden] { display: none; }
.lb-body { max-width: min(1400px, 100%); max-height: 100%; display: grid; place-items: center; }
.lb-body img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; border-radius: 6px; }
.lb-yt { margin-top: 14px; text-align: center; }
.lb-yt a { color: #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: .85; }
.lb-yt a:hover { opacity: 1; }
.lb-body iframe { width: min(1200px, 92vw); aspect-ratio: 16/9; border: 0; border-radius: 8px; background: #000; }
.lb-close { position: absolute; top: 12px; right: 18px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; opacity: .8; }
.lb-close:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
}
@media (max-width: 900px) {
  .about-grid, .case-top, .contact-grid { grid-template-columns: 1fr; }
  .contact-photo img { aspect-ratio: 4/3; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .help-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-2 { grid-template-columns: 1fr; }
  .swag-grid > .swag-card:first-child { grid-column: 1 / -1; }
  .owned ul { columns: 1; }
  .hero-photo { width: 100%; right: 0; background-position: 62% 25%; opacity: .45; -webkit-mask-image: none; mask-image: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(19,26,39,.45) 0%, rgba(19,26,39,.8) 70%); }
  .dd-exp span { white-space: normal; }
}
@media (max-width: 640px) {
  .wrap, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .nav-inner { gap: 16px; }
  .nav-inner .btn-contact { margin-left: auto; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .swag-grid > .swag-card:first-child { grid-column: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat-num { font-size: 34px; }
  .quote-card { padding: 40px 4px; }
  .case-card,   .glance { padding: 26px 22px 14px; }
  .glance dl > div { flex-direction: column; gap: 4px; }
  .glance dd { text-align: left; }
  .pair { gap: 8px; }
  .btn-li--lg { padding: 16px 26px; font-size: 13px; }
  .footer-inner { flex-direction: column; gap: 8px; }
}

/* ---------- Event map ---------- */
.map-wrap { margin-top: 8px; }
.map { width: 100%; max-width: 900px; margin: 0 auto; height: auto; display: block; overflow: visible; }
.map .base path { fill: #e3e8ef; stroke: var(--paper); stroke-width: .5; vector-effect: non-scaling-stroke; }
.lit-group path { fill: var(--slate); stroke: var(--slate); stroke-width: 2.2; stroke-linejoin: round; paint-order: stroke; cursor: pointer; vector-effect: non-scaling-stroke; transition: fill .2s, stroke .2s; outline: none; }
.marker { cursor: pointer; outline: none; }
.marker-dot { fill: var(--slate); stroke: #fff; stroke-width: 1.2; }
.marker-ring { fill: none; stroke: var(--slate); stroke-width: 1.6; opacity: .8; }
.m-own .marker-ring { stroke: var(--ink); stroke-width: 2.4; opacity: 1; }
.m-own .marker-dot { fill: #fff; stroke: var(--ink); stroke-width: 2.4; }
.map-wrap.hl .lit-group path { fill: var(--slate-soft); stroke: var(--slate-soft); }
.map-wrap.hl .lit-group path.on { fill: var(--ink); stroke: var(--ink); }
.map-wrap.hl .marker:not(.m-own) .marker-dot { fill: var(--slate-soft); }
.map-wrap.hl .marker.on .marker-dot { fill: var(--ink); }
.map-info { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; min-height: 64px; }
.map-legend { margin: 0; font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.lg-dot { background: var(--slate); }
.lg-ring { border: 2.5px solid var(--ink); background: #fff; margin-left: 14px; }
.map-readout { margin: 0; font-size: 17px; color: var(--ink); font-weight: 500; }
.map-readout.idle { color: var(--ink-2); font-weight: 400; }
.map-readout span { color: var(--ink-2); font-weight: 400; }
.country-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 18px; }
.country-list.is-collapsed { display: none; }
.country-list div { padding: 14px 0; border-top: 1px solid var(--line); }
.country-list b { display: block; font-weight: 600; font-size: 15.5px; }
.country-list span { font-size: 14.5px; color: var(--ink-2); }
.cases-head { margin-top: clamp(56px, 6vw, 80px); }
.h3 { font-weight: 300; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; }
@media (max-width: 640px) { .country-list { grid-template-columns: 1fr; } }

/* Leadership: workshop photo */
.people-intro { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 460px); justify-content: space-between; column-gap: 64px; align-items: center; margin-bottom: 40px; }
.people-intro .h2 { margin-bottom: 24px; }
.people-intro .lead { margin-bottom: 0; }
.people-photo { margin: 0; }
.people-photo .photo { aspect-ratio: 1290/1014; }
.people-photo figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) { .people-intro { grid-template-columns: 1fr; gap: 24px; } .people-photo { max-width: 460px; } }
.lead-traits { margin-top: clamp(48px, 5vw, 72px); }
.traits-title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.01em; margin: 0 0 28px; }
.lead-traits .t-ico { display: block; margin-bottom: 16px; }
.lead-traits .t-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--slate); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* Referrals B: one quote at a time */
.rs-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: stretch; }
.rs-head { display: flex; flex-direction: column; justify-content: center; }
.rs { display: flex; flex-direction: column; }
.rs .qmark { margin-top: 0; }
.rs-head .lead { margin-bottom: 0; }
.rs-stage { display: grid; flex: 1; align-items: center; }
.rs-slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .35s; }
.rs-slide.on { opacity: 1; visibility: visible; }
.rs-slide blockquote { margin: 0 0 20px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(255,255,255,.92); }
.rs-nav { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.rs-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: none; color: #fff; font-size: 18px; cursor: pointer; }
.rs-btn:hover { background: rgba(255,255,255,.1); }
.rs-count { font-size: 13px; letter-spacing: .18em; color: #b9c5dc; }
@media (max-width: 900px) { .rs-wrap { grid-template-columns: 1fr; gap: 36px; } }

/* Compact menu for narrower screens, where nine tabs no longer fit */
.nav-menu { display: none; margin-left: auto; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 4px; font: 600 11px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--white); cursor: pointer; }
.nav-menu span, .nav-menu span::before { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s; }
.nav-menu span::before { content: ""; position: absolute; top: 6px; }
.nav-menu span { transform: translateY(-3px); }
.nav.scrolled .nav-menu, .nav.open .nav-menu { color: var(--ink); }
@media (max-width: 1080px) {
  .nav-menu { display: inline-flex; }
  .nav-inner .btn-contact { margin-left: 0; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 24px 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(30,38,54,.45); overflow: visible; }
  .nav.open { background: var(--paper); border-bottom-color: var(--line); }
  .nav.open .logo { color: #141414; }
  .nav.open .btn-contact { color: var(--ink); border-color: var(--ink); }
  .nav.open .nav-links { display: flex; }
  .nav .nav-links a { color: var(--ink-2); font-size: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-links a:last-child { border-bottom: 0; }
  .nav .nav-links a.active { color: var(--ink); font-weight: 600; }
  .nav .nav-links a.active::after { display: none; }
}
@media (max-width: 640px) { .nav-links { padding: 4px 16px 16px; } }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-mail { margin: 18px 0 0; font-size: 15px; color: var(--ink-2); }
.contact-mail a, .footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.u-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* v2: clearer "see all" buttons, highlight lines */
.link-more--big { border: 1px solid var(--ink); border-radius: 999px; padding: 13px 22px; color: var(--ink); gap: 8px; }
.link-more--big:hover { background: var(--ink); color: var(--white); }
.story p strong { color: var(--ink); font-weight: 600; }
.rs-hl { margin: 0 0 18px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; color: #fff; font-weight: 400; letter-spacing: -.01em; }
.rs-slide .rs-full { margin: 0 0 14px; font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.72); }
.rs-slide .ref-role { display: block; margin-top: 4px; }
.rs-more { color: #fff; }
.rs-more:hover { color: #b9c5dc; }
.rs-slide { display: flex; flex-direction: column; align-items: flex-start; }
.rs-slide .rs-hl { order: 0; } .rs-slide .ref-role { order: 1; margin: 0 0 16px; } .rs-slide .rs-more { order: 2; margin: 0; } .rs-slide .rs-full { order: 3; margin: 16px 0 0; }

/* Swag: the featured piece takes the full first row, three pieces below */
.swag-grid > .swag-card:first-child { grid-column: 1 / -1; }
.swag-grid > .swag-card:first-child .shot { max-height: 440px; }

/* Recommendations: all quotes in quotation marks and italics */
.rs-hl, .rs-slide .rs-full, .quote-card blockquote { font-style: italic; }

/* "What I bring" band: white, to stand apart from the page */
#help { background: #fff; border-top: 0; }
.help-fact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
