/* =========================================================
   Mediage PR — site stylesheet
   Brand tokens taken from the live mediagepr.com theme:
   red #E3262C (white-text safe), ink #1B1A1A, white — no orange, Funnel Display + Manrope
   ========================================================= */
:root {
  --brand: #e3262c;
  --brand-hi: #f2474c; /* red for text on dark backgrounds */
  --brand-2: #a3141a;
  --amber: #ff6b70; /* light red, replaces the old amber */
  --ink: #1b1a1a;
  --ink-2: #222222;
  --ink-3: #282828;
  --body: #4b4b4b;
  --muted: #8a8989;
  --line: #eaeaea;
  --fg: #1b1a1a;
  --surface: #ffffff;
  --paper: #ffffff;
  --paper-2: #f6f6f6;
  --paper-3: #f9f9f9;
  --glow: rgba(227,38,44,.35);
  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --f-display: "Funnel Display", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--fg); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; overflow-x: clip; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.dark { background: var(--ink); color: #bbbaba; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.soft { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--f-body);
  text-transform: uppercase; letter-spacing: .16em; color: var(--brand); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 14px var(--glow); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 62ch; }
.grad-text { background: linear-gradient(100deg, var(--brand), var(--amber) 60%, var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand); display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px;
  border-radius: 999px; background: var(--bg); color: #fff; font-weight: 600; border: 0;
  position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%); transform: translateX(-120%); transition: transform .7s var(--ease); z-index: -1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px var(--glow); }
.btn:hover::after { transform: translateX(120%); }
.btn .arr { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn.ghost { --bg: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.dark .btn.ghost, .btn.ghost.light { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.text-link { color: var(--brand); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 16px 0 auto; z-index: 100; pointer-events: none; }
.site-header .bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--max); margin: 0 auto; width: calc(100% - 2 * var(--gutter) + 24px); padding: 10px 12px 10px 20px;
  border-radius: 18px; background: rgba(27, 26, 26, .55); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background .4s, transform .4s var(--ease);
}
.site-header.scrolled .bar { background: rgba(27, 26, 26, .86); }
.site-header.hide .bar { transform: translateY(-140%); }
.logo { display: flex; align-items: center; }
.logo > img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav a, .nav .dd-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; color: #f1f1f1;
  font-size: .93rem; font-weight: 500; background: none; border: 0; transition: background .25s, color .25s;
}
.nav a:hover, .nav .dd-toggle:hover, .nav a[aria-current="page"], .nav .dd-toggle.active { background: rgba(255,255,255,.08); color: #fff; }
.nav a[aria-current="page"]::after, .nav .dd-toggle.active::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.nav .chev { width: 12px; height: 12px; transition: transform .3s; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 240px; list-style: none; margin: 0; padding: 8px;
  background: rgba(27,26,26,.94); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--ease);
}
.dropdown a { display: flex; width: 100%; padding: 11px 14px; }
.has-dd:hover .dropdown, .has-dd:focus-within .dropdown, .has-dd.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dd:hover .chev, .has-dd.open .chev { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; border: 0; transition: background .25s; }
.icon-btn:hover { background: var(--brand); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.header-cta .btn { padding: 11px 18px; font-size: .9rem; }

@media (max-width: 1080px) {
  .site-header .bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(27, 26, 26, .88); }
  .menu-btn { display: grid; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; align-items: stretch;
    padding: 90px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: .4s var(--ease); overflow-y: auto; pointer-events: auto;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav > ul { flex-direction: column; gap: 4px; }
  .nav a, .nav .dd-toggle { font: 500 1.6rem/1.2 var(--f-display); padding: 10px 6px; width: 100%; justify-content: space-between; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 0 0 14px; display: none; min-width: 0; }
  .has-dd.open .dropdown { display: block; }
  .dropdown a { font-size: 1.15rem; color: #bbb; }
  .nav-close { position: absolute; top: 26px; right: var(--gutter); }
}
@media (min-width: 1081px) { .nav-close { display: none; } }

/* ---------- Hero slider (home) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--ink); color: #fff; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero .slide.active { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero .slide.active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0,0,0); } to { transform: scale(1) translate3d(-1.5%, -1%, 0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(27,26,26,.72) 0%, rgba(27,26,26,.35) 45%, transparent 70%), linear-gradient(180deg, rgba(27,26,26,.15) 0%, rgba(27,26,26,.25) 45%, rgba(27,26,26,.92) 100%), radial-gradient(80% 60% at 0% 100%, rgba(227,38,44,.35), transparent 60%); }
.hero-inner { position: relative; z-index: 2; padding-top: 160px; padding-bottom: 36px; }
.hero-copy { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: end; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .slide-text { display: none; }
.hero .slide-text.active { display: block; animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero-side { display: grid; gap: 20px; justify-items: start; }
.hero-side p { color: rgba(255,255,255,.82); margin: 0; }
.showreel { display: inline-flex; align-items: center; gap: 14px; color: #fff; font-weight: 600; }
.showreel .ring { width: 58px; height: 58px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: 0 0 0 0 var(--glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227,38,44,.6); } 70% { box-shadow: 0 0 0 22px rgba(227,38,44,0); } 100% { box-shadow: 0 0 0 0 rgba(227,38,44,0); } }
.slider-ui { display: flex; gap: 10px; margin-top: 40px; align-items: center; }
.slider-ui button { flex: 1; max-width: 120px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.25); position: relative; overflow: hidden; border-radius: 3px; }
.slider-ui button span { position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.slider-ui button.active span { animation: prog var(--dur, 7s) linear forwards; }
.slider-ui button.done span { transform: scaleX(1); }
@keyframes prog { to { transform: scaleX(1); } }
.slider-ui .count { font: 500 .85rem var(--f-display); color: rgba(255,255,255,.7); margin-left: 10px; min-width: 52px; }
.quick-links { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.15); margin-top: 34px; }
.quick-links a { padding: 22px 10px; text-align: center; font-weight: 600; color: #fff; border-right: 1px solid rgba(255,255,255,.12); transition: background .3s, color .3s; }
.quick-links a:last-child { border-right: 0; }
.quick-links a:hover { background: rgba(227,38,44,.85); }
@media (max-width: 860px) {
  .hero-copy { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: repeat(3, 1fr); }
  .quick-links a { border-bottom: 1px solid rgba(255,255,255,.12); padding: 16px 6px; font-size: .9rem; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: clamp(150px, 18vw, 220px) 0 clamp(60px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27,26,26,.4), rgba(27,26,26,.95)), radial-gradient(60% 80% at 100% 0%, rgba(227,38,44,.4), transparent 60%); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,.82); }
.crumbs { display: flex; gap: 10px; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { color: var(--brand); }

/* Team header: actual team photo, cropped to show subjects from the nose down */
.team-hero { position: relative; min-height: clamp(420px, 58vh, 640px); display: flex; align-items: end; overflow: hidden; background: #7a0c06; isolation: isolate; color: #fff; }
.team-hero img { position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: calc(100% / (1 - var(--crop-top, .34))); object-fit: cover; object-position: 50% 100%; z-index: -2; }
.team-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27,26,26,.05) 30%, rgba(27,26,26,.9)); }
.team-hero .wrap { padding-bottom: clamp(36px, 6vw, 70px); padding-top: 140px; }
.team-hero h1 { color: #fff; }
.team-hero .lead { color: rgba(255,255,255,.88); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 120px; }

.card {
  position: relative; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 36px); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; overflow: hidden; isolation: isolate;
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(227,38,44,.12), transparent 50%); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(27,26,26,.35); border-color: rgba(227,38,44,.35); }
.card:hover::before { opacity: 1; }
.dark .card { background: var(--ink-3); border-color: rgba(255,255,255,.08); }
.dark .card p { color: #bbbaba; }
.card .num { font: 500 .85rem var(--f-display); color: var(--brand); letter-spacing: .1em; }
.card h3 { margin-top: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.tags li { font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--fg); }
.dark .tags li { background: rgba(255,255,255,.07); color: #e9e9e9; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 0; width: max-content; animation: scroll var(--speed, 40s) linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee.rev .track { animation-direction: reverse; }
@keyframes scroll { to { transform: translateX(-50%); } }
.word-marquee { padding: 30px 0; border-block: 1px solid var(--line); background: var(--paper); }
.word-marquee span { font: 500 clamp(2.4rem, 6vw, 5rem)/1 var(--f-display); color: var(--fg); padding: 0 .4em; white-space: nowrap; display: inline-flex; align-items: center; gap: .4em; }
.word-marquee span::after { content: "✦"; color: var(--brand); font-size: .5em; }
.word-marquee span:nth-child(even) { -webkit-text-stroke: 1px var(--fg); color: transparent; }

.logo-tile { flex: 0 0 auto; width: 180px; height: 120px; margin: 0 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 14px; }
.logo-tile img { max-height: 84px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .8; transition: filter .4s, opacity .4s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.logo-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; aspect-ratio: 4/3; display: grid; place-items: center; padding: 14px; position: relative; transition: .4s var(--ease); }
.logo-grid figure:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 20px 40px -24px var(--glow); }
.logo-grid img { max-height: 78%; width: auto; object-fit: contain; }
.logo-grid figcaption { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: .72rem; color: var(--muted); opacity: 0; transition: opacity .3s; }
.logo-grid figure:hover figcaption { opacity: 1; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 10px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 500 clamp(2.6rem, 5vw, 4.4rem)/1 var(--f-display); color: var(--fg); letter-spacing: -.03em; }
.stat b i { font-style: normal; color: var(--brand); }
.stat > span { display: block; margin-top: 12px; font-weight: 600; color: var(--fg); }
.stat small { color: var(--muted); font-size: .88rem; }
.dark .stats, .dark .stat { border-color: rgba(255,255,255,.1); }
.dark .stat b, .dark .stat > span { color: #fff; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat { padding-left: 0; } }

/* ---------- Accordion (capability + FAQ) ---------- */
.acc { border-top: 1px solid var(--line); }
.dark .acc, .dark .acc-item { border-color: rgba(255,255,255,.12); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; text-align: left; background: none; border: 0; padding: 26px 0; }
.acc-btn .n { font: 500 .85rem var(--f-display); color: var(--brand); }
.acc-btn .t { font: 500 clamp(1.15rem, 2.2vw, 1.75rem)/1.2 var(--f-display); color: var(--fg); transition: color .3s, transform .4s var(--ease); }
.dark .acc-btn .t { color: #fff; }
.acc-btn:hover .t { color: var(--brand); transform: translateX(6px); }
.acc-btn .pm { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.dark .acc-btn .pm { border-color: rgba(255,255,255,.2); }
.acc-btn .pm::before, .acc-btn .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.acc-btn .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.acc-btn[aria-expanded="true"] .pm { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel .inner { padding: 0 0 28px; max-width: 76ch; }
.acc-panel .inner.indent { padding-left: clamp(0px, 4vw, 52px); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h3 { display: flex; gap: 14px; align-items: baseline; }
.faq-group h3 .badge { font: 600 .75rem var(--f-body); letter-spacing: .12em; color: #fff; background: var(--brand); border-radius: 6px; padding: 5px 9px; }
.faq-group .acc-btn .t { font-size: clamp(1.05rem, 1.7vw, 1.3rem); }

/* ---------- Timeline / steps ---------- */
.steps { counter-reset: s; display: grid; gap: 0; position: relative; }
.step { display: grid; grid-template-columns: 120px 1fr; gap: clamp(16px, 4vw, 60px); padding: 40px 0; border-top: 1px solid rgba(255,255,255,.1); position: relative; }
.soft .step, .section:not(.dark) .step { border-color: var(--line); }
.step .big { font: 500 clamp(3rem, 7vw, 6rem)/.9 var(--f-display); color: transparent; -webkit-text-stroke: 1px currentColor; opacity: .5; transition: color .5s, opacity .5s; }
.step:hover .big, .step.in .big { color: var(--brand); -webkit-text-stroke-color: var(--brand); opacity: 1; }
.step h3 { margin-bottom: 10px; }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 6px; padding: 28px 0; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.member { position: relative; border-radius: var(--radius); overflow: hidden; background: #cdd6ea; aspect-ratio: 4/5; isolation: isolate; }
.member img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: opacity .6s var(--ease), transform 1s var(--ease); }
.member img.alt { opacity: 0; }
.member:hover img.alt, .member:focus-within img.alt { opacity: 1; }
.member:hover img { transform: scale(1.04); }
.member .info { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; padding: 18px 20px; border-radius: 16px; background: rgba(27,26,26,.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; border: 1px solid rgba(255,255,255,.14); }
.member .info h3 { color: #fff; font-size: 1.3rem; margin: 0 0 4px; }
.member .info p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.8); }
.member .info::before { content: ""; position: absolute; left: 20px; top: -1px; width: 40px; height: 2px; background: var(--brand); box-shadow: 0 0 12px var(--brand); }

/* ---------- Awards ---------- */
.awards { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.awards li { display: grid; grid-template-columns: 80px 1fr auto; gap: 20px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.12); align-items: baseline; transition: padding .4s var(--ease), background .4s; }
.awards li:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(227,38,44,.12), transparent); }
.awards .i { color: var(--brand); font: 500 .9rem var(--f-display); }
.awards .a { font: 500 clamp(1.1rem, 2vw, 1.5rem)/1.25 var(--f-display); color: #fff; }
.awards .a small { display: block; font: 400 .9rem var(--f-body); color: #9c9b9b; margin-top: 6px; }
.awards .y { font: 500 1rem var(--f-display); color: #fff; white-space: nowrap; }
@media (max-width: 640px) { .awards li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Projects ---------- */
.proj-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; min-height: 360px; position: relative; isolation: isolate; padding: 30px; justify-content: flex-end; transition: transform .5s var(--ease); }
.proj-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, var(--c1, rgba(255,255,255,.14)), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(227,38,44,.4), transparent 60%); transition: transform 1s var(--ease); }
.proj-card:hover { transform: translateY(-6px); }
.proj-card:hover::before { transform: scale(1.15); }
.proj-card .k { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.proj-card h3 { color: #fff; margin: 10px 0; }
.proj-card p { color: rgba(255,255,255,.78); font-size: .95rem; }
.proj-card .go { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.proj-card:hover .go { background: var(--brand); transform: rotate(-45deg); }
.proj-card .go svg { width: 18px; }
.mtn-yellow { --c1: rgba(255, 204, 0, .55); }

.campaign { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); }
.campaign .no { font: 500 2.4rem/1 var(--f-display); color: var(--brand); }
.campaign .meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.campaign .pill { background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: .75rem; font-weight: 600; }
.campaign .cov { font-size: .9rem; color: var(--fg); }
.campaign .cov b { color: var(--brand); font-weight: 600; }
@media (max-width: 640px) { .campaign { grid-template-columns: 1fr; gap: 6px; } }
.kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius-sm); overflow: hidden; margin-top: 40px; }
.kv div { background: var(--ink); padding: 18px 20px; }
.kv small { display: block; color: var(--amber); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.kv span { color: #fff; font-weight: 600; }
@media (max-width: 700px) { .kv { grid-template-columns: repeat(2, 1fr); } }
.footprint { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footprint ul { list-style: none; margin: 0; padding: 0; }
.footprint li { padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: .93rem; }
@media (max-width: 860px) { .footprint { grid-template-columns: repeat(2, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; transition: .3s; }
.chips a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; }
.checklist li::before { content: "→"; color: var(--brand); font-weight: 700; }

/* ---------- Rate card ---------- */
.notice { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); background: linear-gradient(120deg, rgba(227,38,44,.1), rgba(255,107,112,.08)); border: 1px solid rgba(227,38,44,.25); }

/* ---------- Articles ---------- */
.post-card { display: grid; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(27,26,26,.3); }
.post-card .ph { aspect-ratio: 16/10; overflow: hidden; }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .ph img { transform: scale(1.06); }
.post-card .bd { padding: 26px; }
.post-card .meta { font-size: .8rem; color: var(--muted); display: flex; gap: 10px; margin-bottom: 10px; }
.post-card .meta b { color: var(--brand); font-weight: 600; }
.insights-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 960px) { .insights-layout { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: 120px; display: grid; gap: 22px; }
.sidebar .box { border-radius: var(--radius); background: var(--paper-2); padding: 28px; }
.sidebar h3 { font-size: 1.2rem; }
.recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.recent a { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; font-weight: 600; color: var(--fg); line-height: 1.3; font-size: .95rem; }
.recent img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.recent small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; margin-bottom: 4px; }
.more-stories { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.article { max-width: 760px; margin: 0 auto; font-size: 1.08rem; }
.article p:first-of-type::first-letter { font: 500 4.2em/.8 var(--f-display); float: left; margin: .08em .1em 0 0; color: var(--brand); }
.article blockquote { margin: 30px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--brand); font: 500 1.3rem/1.4 var(--f-display); color: var(--fg); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 34px 0; }
.gallery img { border-radius: var(--radius-sm); width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 14px; }
.contact-cards a { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius-sm); background: var(--ink-3); border: 1px solid rgba(255,255,255,.08); color: #fff; transition: .4s var(--ease); }
.contact-cards a:hover { border-color: var(--brand); transform: translateX(6px); }
.contact-cards .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--brand); display: grid; place-items: center; }
.contact-cards .ic svg { width: 22px; height: 22px; }
.contact-cards small { display: block; color: #9c9b9b; font-size: .8rem; }
.form { display: grid; gap: 16px; background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); color: var(--body); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--fg); }
.form input, .form textarea, .form select { width: 100%; font: inherit; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-3); color: var(--fg); transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(227,38,44,.12); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; background: var(--ink); color: #fff; padding: clamp(40px, 7vw, 90px); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(227,38,44,.55), transparent 30%, rgba(255,107,112,.35), transparent 60%); animation: spin 16s linear infinite; }
.cta-band::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: inherit; background: radial-gradient(100% 120% at 0% 0%, #2a0d0e, var(--ink) 60%); }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9c9b9b; padding: clamp(70px, 9vw, 120px) 0 30px; position: relative; overflow: hidden; }
.site-footer .giant { font: 600 clamp(4rem, 15vw, 15rem)/.85 var(--f-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); white-space: nowrap; margin: 60px 0 0; user-select: none; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; font-family: var(--f-body); font-weight: 700; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--brand); }
.site-footer .tag { font: 500 1.5rem/1.25 var(--f-display); color: #fff; max-width: 20ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; margin-top: 10px; font-size: .85rem; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(20px); transition: .4s var(--ease); box-shadow: 0 10px 30px -8px var(--glow); }
.to-top.show { opacity: 1; transform: none; }
.to-top svg { width: 18px; }

/* ---------- Cursor glow (desktop) ---------- */
.cursor-glow { position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(227,38,44,.12), transparent 60%); transform: translate(-50%, -50%); left: -500px; top: -500px; transition: opacity .3s; mix-blend-mode: multiply; }
@media (hover: none) { .cursor-glow { display: none; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 36px; } .mt-l { margin-top: 64px; }
.center { text-align: center; } .mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.between { justify-content: space-between; }
.muted { color: var(--muted); }
.white { color: #fff; }
.orbit { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px dashed rgba(227,38,44,.3); right: -160px; top: -160px; animation: spin 40s linear infinite; pointer-events: none; }
.orbit::after { content: ""; position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 20px var(--brand); }

/* ---------- Rate Card: interactive cards ---------- */
.rc-section { position: relative; overflow-x: clip; }
.rc-section::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; right: -18vw; top: -10vw; border-radius: 50%; background: radial-gradient(circle, rgba(227,38,44,.16), transparent 65%); pointer-events: none; }
.rc-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; position: relative; }
.rc-head p { max-width: 44ch; color: #bbbaba; }
.rc-head strong { color: #fff; }
.rc-filters { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 34px; padding: 6px; border-radius: 999px; width: fit-content; max-width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.rc-filters button { position: relative; z-index: 1; border: 0; background: none; color: #bbbaba; font: 600 .9rem var(--f-body, inherit); padding: 10px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.rc-filters button span { font-size: .72rem; min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.08); transition: background .3s; }
.rc-filters button:hover { color: #fff; }
.rc-filters button[aria-pressed="true"] { color: #fff; }
.rc-filters button[aria-pressed="true"] span { background: rgba(0,0,0,.22); }
.rc-pill { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--brand); box-shadow: 0 10px 30px -8px var(--glow); transition: transform .5s var(--ease), width .5s var(--ease), height .5s var(--ease); }

.rc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; position: relative; }
.rc-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .45s var(--ease), border-color .4s, box-shadow .5s var(--ease), background .4s; isolation: isolate; overflow: hidden;
}
.rc-card.reveal { opacity: 0; translate: 0 36px; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity 1s var(--ease) var(--d,0s), translate 1s var(--ease) var(--d,0s), transform .45s var(--ease), border-color .4s, box-shadow .5s var(--ease); }
.rc-card.reveal.in { opacity: 1; translate: 0 0; }
.rc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(227,38,44,.22), transparent 55%); }
.rc-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(240px circle at var(--mx) var(--my), var(--brand), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.rc-card:hover, .rc-card:focus-within { border-color: rgba(227,38,44,.3); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(227,38,44,.08); }
.rc-card:hover::before, .rc-card:hover::after { opacity: 1; }
.rc-card.pop { animation: rcPop .6s var(--ease) var(--pd, 0s) both; }
@keyframes rcPop { from { opacity: 0; translate: 0 18px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
.rc-card[hidden] { display: none; }

.rc-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 22px; }
.rc-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--brand); background: rgba(227,38,44,.1); border: 1px solid rgba(227,38,44,.22); transition: transform .5s var(--ease), background .4s, color .4s; transform: translateZ(30px); }
.rc-ico svg { width: 26px; height: 26px; }
.rc-card:hover .rc-ico { background: var(--brand); color: #fff; transform: translateZ(30px) rotate(-6deg) scale(1.05); }
.rc-no { font: 500 2.4rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); transition: -webkit-text-stroke-color .4s; }
.rc-card:hover .rc-no { -webkit-text-stroke-color: var(--brand); }
.rc-cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.rc-card h3 { color: #fff; font-size: 1.35rem; margin: 8px 0 4px; }
.rc-note { display: inline-block; width: fit-content; font-size: .75rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); padding: 4px 10px; border-radius: 999px; margin: 4px 0 2px; }
.rc-body { color: #bbbaba; margin: 10px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rc-card.open .rc-body { -webkit-line-clamp: unset; display: block; }
.rc-more { align-self: start; margin-top: 8px; border: 0; background: none; padding: 0; color: #fff; font-weight: 600; font-size: .85rem; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.3); }
.rc-more:hover { color: var(--brand); border-color: var(--brand); }
.rc-more[hidden] { display: none; }
.rc-foot { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 22px; }
.rc-card .rc-foot { margin-top: auto; }
.rc-card > .rc-body + .rc-more + .rc-foot, .rc-card > .rc-body + .rc-foot { margin-top: auto; }
.rc-price { color: #fff; font: 500 1rem var(--f-display); display: grid; gap: 2px; }
.rc-price small { font: 600 .68rem var(--f-body, inherit); letter-spacing: .14em; text-transform: uppercase; color: #8d8b8b; }
.rc-add { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; font-weight: 600; font-size: .85rem; padding: 10px 14px 10px 10px; border-radius: 999px; cursor: pointer; transition: background .35s, border-color .35s, transform .35s var(--ease); white-space: nowrap; }
.rc-add:hover { border-color: var(--brand); transform: translateY(-2px); }
.rc-plus { position: relative; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.1); transition: background .35s, transform .5s var(--ease); }
.rc-plus::before, .rc-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: currentColor; border-radius: 2px; translate: -50% -50%; transition: .4s var(--ease); }
.rc-plus::after { rotate: 90deg; }
.rc-add[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }
.rc-add[aria-pressed="true"] .rc-plus { background: rgba(0,0,0,.2); }
.rc-add[aria-pressed="true"] .rc-plus::before { width: 5px; translate: -90% 10%; rotate: 45deg; }
.rc-add[aria-pressed="true"] .rc-plus::after { width: 10px; translate: -35% -50%; rotate: -50deg; }
.rc-card.picked { border-color: rgba(227,38,44,.55); background: linear-gradient(160deg, rgba(227,38,44,.14), rgba(255,255,255,.02)); }

.rc-tray { position: fixed; left: 50%; bottom: 22px; z-index: 60; width: min(760px, calc(100% - 32px)); translate: -50% 140%; opacity: 0; transition: translate .6s var(--ease), opacity .4s; }
.rc-tray.show { translate: -50% 0; opacity: 1; }
.rc-tray-in { display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 22px; border-radius: 999px; background: rgba(27,26,26,.86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); color: #fff; }
.rc-count { white-space: nowrap; font-weight: 600; }
.rc-count b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: var(--brand); margin-right: 4px; }
.rc-picked { flex: 1; min-width: 0; color: #bbbaba; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-clear { border: 0; background: none; color: #bbbaba; font-weight: 600; cursor: pointer; padding: 8px; }
.rc-clear:hover { color: #fff; }
.rc-tray .btn { padding: 12px 20px; white-space: nowrap; }

@media (max-width: 1024px) { .rc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .rc-grid { grid-template-columns: 1fr; }
  .rc-filters { border-radius: 22px; }
  .rc-filters button { padding: 9px 12px; font-size: .85rem; }
  .rc-picked { display: none; }
  .rc-tray { bottom: 12px; }
  .rc-tray-in { padding-left: 16px; gap: 6px; justify-content: space-between; }
  .rc-tray .btn { padding: 11px 16px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .rc-card, .rc-card.pop { animation: none; transition: none; transform: none; } }

/* ---------- Team spotlight ---------- */
.tm-section { position: relative; overflow-x: clip; border-bottom: 1px solid rgba(255,255,255,.06); }
.tm-section::before { content: ""; position: absolute; width: 70vw; max-width: 900px; aspect-ratio: 1; left: -25vw; bottom: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(227,38,44,.14), transparent 65%); pointer-events: none; }
.tm-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; position: relative; }
.tm-views { --x: 0%; position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.tm-views button { position: relative; z-index: 1; border: 0; background: none; color: #bbbaba; font: 600 .9rem inherit; padding: 10px 22px; border-radius: 999px; cursor: pointer; transition: color .3s; }
.tm-views button[aria-pressed="true"] { color: #fff; }
.tm-vpill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--brand); box-shadow: 0 10px 30px -8px var(--glow); transform: translateX(var(--x)); transition: transform .5s var(--ease); }

.tm-spot { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; position: relative; }
.tm-spot[hidden], .tm-wall[hidden] { display: none; }
.tm-stage { --px: 0px; --py: 0px; --dir: 1; position: sticky; top: 100px; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; background: #2a2626; isolation: isolate; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.tm-photos { position: absolute; inset: 0; cursor: zoom-in; }
.tm-photos img { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); object-fit: cover; object-position: 50% 16%; opacity: 0; transform: translate(var(--px), var(--py)) scale(1.08); transition: opacity .8s var(--ease), transform 1.2s var(--ease), filter .8s; filter: saturate(.6); }
.tm-photos img.on { opacity: 1; transform: translate(var(--px), var(--py)) scale(1); filter: none; }
.tm-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 45%, rgba(27,26,26,.92)), radial-gradient(70% 50% at 0% 100%, rgba(227,38,44,.35), transparent 70%); }
.tm-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(22px, 3vw, 36px); color: #fff; display: grid; gap: 6px; pointer-events: none; }
.tm-count { font: 500 .9rem var(--f-display); color: rgba(255,255,255,.6); letter-spacing: .08em; }
.tm-count b { color: var(--brand); font-weight: 600; }
.tm-clip { display: block; overflow: hidden; }
.tm-name { display: block; font: 500 clamp(2rem, 4vw, 3.4rem)/1.02 var(--f-display); letter-spacing: -.02em; }
.tm-role { display: block; color: rgba(255,255,255,.82); font-size: clamp(.95rem, 1.4vw, 1.1rem); }
.tm-name.swap, .tm-role.swap { animation: tmUp .8s var(--ease) both; }
.tm-role.swap { animation-delay: .08s; }
@keyframes tmUp { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
.tm-looks { display: flex; gap: 8px; margin-top: 10px; pointer-events: auto; min-height: 4px; }
.tm-looks button { width: 28px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.3); cursor: pointer; transition: background .3s, width .4s var(--ease); }
.tm-looks button[aria-pressed="true"] { background: var(--brand); width: 44px; }

.tm-side { min-width: 0; }
.tm-nav { display: flex; justify-content: space-between; align-items: center; gap: 18px; color: #bbbaba; font-size: .92rem; }
.tm-nav p { max-width: 34ch; }
.tm-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.tm-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.tm-arrows button:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.tm-arrows svg { width: 20px; height: 20px; }
.tm-progress { height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; margin: 22px 0 8px; overflow: hidden; }
.tm-progress i { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); box-shadow: 0 0 12px var(--brand); }
.tm-roster { list-style: none; margin: 0; padding: 0; }
.tm-roster button { position: relative; width: 100%; display: grid; grid-template-columns: 56px 34px 1fr 22px; align-items: center; gap: 14px; padding: 12px 14px 12px 10px; border: 0; border-bottom: 1px solid rgba(255,255,255,.07); background: none; color: #fff; text-align: left; cursor: pointer; border-radius: 16px; transition: background .35s; font: inherit; }
.tm-roster button::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--brand); transform: scaleY(0); transition: transform .4s var(--ease); box-shadow: 0 0 12px var(--brand); }
.tm-roster button:hover { background: rgba(255,255,255,.04); }
.tm-roster button[aria-pressed="true"] { background: linear-gradient(90deg, rgba(227,38,44,.16), rgba(255,255,255,.02)); border-bottom-color: transparent; }
.tm-roster button[aria-pressed="true"]::before { transform: scaleY(1); }
.tm-thumb { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: #2a2626; border: 2px solid transparent; transition: border-color .4s, transform .4s var(--ease); }
.tm-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; filter: grayscale(.7); transition: filter .4s; }
.tm-roster button:hover .tm-thumb img, .tm-roster button[aria-pressed="true"] .tm-thumb img { filter: none; }
.tm-roster button[aria-pressed="true"] .tm-thumb { border-color: var(--brand); transform: scale(1.06); }
.tm-rn { font: 500 .85rem var(--f-display); color: rgba(255,255,255,.35); transition: color .3s; }
.tm-roster button[aria-pressed="true"] .tm-rn { color: var(--brand); }
.tm-rt { display: grid; gap: 2px; min-width: 0; }
.tm-rt b { font: 500 1.12rem/1.2 var(--f-display); }
.tm-rt small { color: #9d9b9b; font-size: .84rem; line-height: 1.35; }
.tm-ra { width: 20px; height: 20px; color: var(--brand); opacity: 0; transform: translateX(-8px); transition: .4s var(--ease); }
.tm-roster button:hover .tm-ra, .tm-roster button[aria-pressed="true"] .tm-ra { opacity: 1; transform: none; }

/* Wall view */
.tm-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; }
.tm-tile { --rx: 0deg; --ry: 0deg; position: relative; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: #2a2626; color: #fff; text-align: left; isolation: isolate; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .45s var(--ease), box-shadow .5s var(--ease); font: inherit; }
.tm-tile.reveal { transform: rotateX(var(--rx)) rotateY(var(--ry)); translate: 0 36px; transition: opacity 1s var(--ease) var(--d,0s), translate 1s var(--ease) var(--d,0s), transform .45s var(--ease), box-shadow .5s var(--ease); }
.tm-tile.reveal.in { translate: 0 0; }
.tm-tile.pop { animation: rcPop .6s var(--ease) var(--pd, 0s) both; }
.tm-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: opacity .6s var(--ease), transform 1s var(--ease); }
.tm-tile img.alt { opacity: 0; }
.tm-tile:hover img.alt, .tm-tile:focus-visible img.alt { opacity: 1; }
.tm-tile:hover img { transform: scale(1.05); }
.tm-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(27,26,26,.9)); }
.tm-tile:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(227,38,44,.5); }
.tm-tn { position: absolute; top: 18px; left: 20px; z-index: 2; font: 500 .85rem var(--f-display); padding: 6px 10px; border-radius: 999px; background: rgba(27,26,26,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tm-ti { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; display: grid; gap: 4px; transition: transform .5s var(--ease); }
.tm-ti b { font: 500 1.35rem/1.15 var(--f-display); }
.tm-ti small { color: rgba(255,255,255,.8); font-size: .88rem; }
.tm-tv { position: absolute; top: 18px; right: 18px; z-index: 2; font-size: .78rem; font-weight: 700; padding: 8px 12px; border-radius: 999px; background: var(--brand); opacity: 0; transform: translateY(-8px); transition: .4s var(--ease); }
.tm-tile:hover .tm-tv, .tm-tile:focus-visible .tm-tv { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .tm-spot { grid-template-columns: 1fr; }
  .tm-stage { position: relative; top: 0; aspect-ratio: 4/4.6; }
  .tm-side { display: flex; flex-direction: column; }
  .tm-roster { order: 1; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; margin: 0 calc(var(--gutter, 16px) * -1); padding-inline: var(--gutter, 16px); scrollbar-width: none; }
  .tm-roster::-webkit-scrollbar { display: none; }
  .tm-roster li { flex: 0 0 auto; scroll-snap-align: center; }
  .tm-roster button { width: auto; display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 0; text-align: center; }
  .tm-roster button::before, .tm-rn, .tm-rt small, .tm-ra { display: none; }
  .tm-thumb { width: 64px; height: 64px; }
  .tm-rt b { font-size: .8rem; max-width: 9ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tm-roster button[aria-pressed="true"] { background: rgba(227,38,44,.12); }
  .tm-nav { order: 2; margin-top: 6px; }
  .tm-progress { order: 0; margin: 18px 0 10px; }
  .tm-wall { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tm-wall { grid-template-columns: 1fr; }
  .tm-nav p { font-size: .85rem; }
  .tm-views button { padding: 9px 16px; }
}
@media (prefers-reduced-motion: reduce) { .tm-photos img, .tm-name.swap, .tm-role.swap, .tm-tile, .tm-tile.pop { animation: none; transition: opacity .2s; transform: none; } }

/* ---------- Dark theme ---------- */
:root[data-theme="dark"] {
  --paper: #0e0d0d; --paper-2: #151414; --paper-3: #1c1a1a; --surface: #1a1818;
  --line: rgba(255,255,255,.1); --fg: #ffffff; --body: #c4c2c2; --muted: #9a9898;
  color-scheme: dark;
}
:root[data-theme="dark"] .dark { background: #161515; }
:root[data-theme="dark"] .card { background: var(--surface); }
:root[data-theme="dark"] .form input, :root[data-theme="dark"] .form textarea, :root[data-theme="dark"] .form select { background: var(--paper-3); }
:root[data-theme="dark"] .eyebrow, .dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .site-footer .eyebrow { color: var(--brand-hi); }
:root[data-theme="dark"] .text-link, .dark .text-link, .cta-band .text-link { color: var(--brand-hi); }
:root[data-theme="dark"] .logo-tile, :root[data-theme="dark"] .logo-grid figure { border-color: transparent; }
:root[data-theme="dark"] .word-marquee { background: var(--paper); }
:root[data-theme="dark"] .tags li { background: var(--paper-3); }
html { transition: background-color .4s; }
body { transition: background-color .4s, color .4s; }

/* Theme toggle button */
.theme-btn { position: relative; overflow: hidden; }
.theme-btn svg { position: absolute; width: 20px; height: 20px; transition: transform .6s var(--ease), opacity .4s; }
.theme-btn .moon { transform: translateY(140%) rotate(-40deg); opacity: 0; }
:root[data-theme="dark"] .theme-btn .sun { transform: translateY(-140%) rotate(90deg); opacity: 0; }
:root[data-theme="dark"] .theme-btn .moon { transform: none; opacity: 1; }
.dark .form h3, .form h3 { color: var(--fg); }
@media (max-width: 640px) { [data-rate-word] { display: none; } .rc-tray-in { gap: 4px; } .rc-clear { padding: 8px 6px; } .rc-tray .btn { padding: 11px 14px; } }

/* ---------- Hero: "A word from the Lead Consultant" + video lightbox ---------- */
.showreel { display: inline-flex; align-items: center; gap: 16px; color: #fff; padding: 8px 22px 8px 8px; border-radius: 999px; background: rgba(27,26,26,.45); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.showreel:hover { background: rgba(27,26,26,.65); border-color: rgba(227,38,44,.6); transform: translateY(-2px); }
.sr-face { position: relative; width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.sr-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 14%; border: 2px solid var(--brand); transition: transform .5s var(--ease); }
.showreel:hover .sr-face img { transform: scale(1.06); }
.sr-face .ring { position: absolute; right: -4px; bottom: -4px; width: 30px; height: 30px; border: 2px solid var(--ink); }
.sr-txt { display: grid; gap: 2px; line-height: 1.25; }
.sr-txt small { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-hi); }
.sr-txt b { font: 500 1.08rem var(--f-display); }
.sr-txt > span { font-size: .82rem; color: rgba(255,255,255,.72); }

.vlb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(10,9,9,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; color: #fff; }
.vlb.show { opacity: 1; }
.vlb::backdrop { background: transparent; }
.vlb-in { width: min(1100px, 100%); transform: translateY(20px) scale(.97); transition: transform .5s var(--ease); }
.vlb.show .vlb-in { transform: none; }
.vlb-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.vlb-head p { margin: 0; font: 500 1.1rem var(--f-display); }
.vlb-head small { display: block; font: 700 .68rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--brand-hi); }
.vlb-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s, transform .4s var(--ease); flex-shrink: 0; }
.vlb-close:hover { background: var(--brand); transform: rotate(90deg); }
.vlb-close svg { width: 20px; height: 20px; }
.vlb-frame { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 40px 100px -30px rgba(227,38,44,.45); }
.vlb-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vlb-alt { margin: 12px 0 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.vlb-alt a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }
@media (max-width: 640px) { .sr-face { width: 54px; height: 54px; } .sr-txt b { font-size: 1rem; } .showreel { padding-right: 16px; } }

/* ---------- Partner logo plates (fixed plate colour so each logo reads in both themes) ---------- */
.partner-plate { display: flex; align-items: center; justify-content: center; height: 92px; border-radius: 16px; padding: 18px 26px; margin-bottom: 22px; border: 1px solid var(--line); transition: transform .5s var(--ease); }
.partner-plate.dark { background: #231f20; border-color: rgba(255,255,255,.08); }
.partner-plate.light { background: #fff; }
.partner-plate img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.partner-card:hover .partner-plate { transform: scale(1.02); }
.partner-plate.sm { display: inline-flex; vertical-align: middle; height: 40px; padding: 8px 12px; margin: 0 14px 0 0; border-radius: 10px; }
.partner-plate.sm img { max-height: 20px; max-width: 120px; }
@media (max-width: 560px) { .partner-plate.sm { display: flex; width: fit-content; margin: 0 0 10px; } }

/* =========================================================
   Mobile refinement (phones ≤ 640px): smaller type scale,
   tighter rhythm, compact header aligned to the content gutter
   ========================================================= */
@media (max-width: 640px) {
  body { font-size: 15px; line-height: 1.6; }
  h1 { font-size: clamp(1.8rem, 8vw, 2.2rem); line-height: 1.1; }
  h2 { font-size: clamp(1.45rem, 6.2vw, 1.8rem); line-height: 1.15; }
  h3 { font-size: 1.12rem; }
  .lead { font-size: 1rem; }
  .eyebrow { font-size: .66rem; letter-spacing: .14em; margin-bottom: 14px; gap: 8px; }
  .eyebrow::before { width: 6px; height: 6px; }
  .section { padding: 56px 0; }
  .section.tight { padding: 36px 0; }
  .mt-m { margin-top: 26px; } .mt-l { margin-top: 40px; } .mt-s { margin-top: 14px; }
  .btn { padding: 12px 20px; font-size: .92rem; gap: 10px; }
  .btn .arr { width: 16px; height: 16px; }
  .card { padding: 22px; }
  .card h3 { margin-top: 10px; }

  /* Header: sits on the same 16px gutter as the content, slimmer bar, smaller logo */
  .site-header { inset: 10px 0 auto; }
  .site-header .bar { width: calc(100% - 2 * var(--gutter)); padding: 6px 6px 6px 12px; border-radius: 14px; gap: 10px; }
  .logo > img { height: 26px; }
  .header-cta { gap: 6px; }
  .icon-btn { width: 38px; height: 38px; border-radius: 10px; }
  .icon-btn svg, .theme-btn svg { width: 17px; height: 17px; }
  .nav { padding-top: 80px; }
  .nav a, .nav .dd-toggle { font-size: 1.3rem; padding: 9px 4px; }
  .dropdown a { font-size: 1rem; }
  .nav-close { top: 16px; }

  /* Home hero */
  .hero-inner { padding-top: 110px; padding-bottom: 20px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.35rem); }
  .hero-side { gap: 14px; }
  .hero-side p { font-size: .95rem; }
  .slider-ui { margin-top: 26px; }
  .quick-links { margin-top: 24px; }
  .quick-links a { padding: 13px 4px; font-size: .8rem; }

  /* Inner page heroes */
  .page-hero { padding: 112px 0 44px; }
  .page-hero h1 { max-width: none; }
  .team-hero .wrap { padding-top: 110px; padding-bottom: 32px; }
  .crumbs { font-size: .76rem; margin-bottom: 16px; }

  /* Big display elements */
  .stat b { font-size: 2.1rem; }
  .stat > span { margin-top: 8px; font-size: .9rem; }
  .word-marquee { padding: 20px 0; }
  .word-marquee span { font-size: 1.9rem; }
  .awards .a { font-size: 1.05rem; }
  .awards .a small { font-size: .82rem; }
  .acc-btn .t { font-size: 1.02rem; }
  .cta-band { padding: 34px 22px; border-radius: 22px; }
  .cta-band h2 { font-size: 1.45rem; }
  .site-footer .tag { font-size: 1.2rem; }
  .step .big { font-size: 2rem; }
  .rc-card { padding: 22px; }
  .rc-card h3 { font-size: 1.15rem; }
  .rc-no { font-size: 1.9rem; }
  .tm-name { font-size: 1.7rem; }
  .tm-tile .tm-ti b, .tm-ti b { font-size: 1.15rem; }
  .partner-plate { height: 78px; padding: 14px 20px; margin-bottom: 18px; }
  .partner-plate img { max-height: 34px; }
}
@media (max-width: 360px) {
  .logo > img { height: 22px; }
  .icon-btn { width: 36px; height: 36px; }
  h1 { font-size: 1.7rem; }
}
@media (max-width: 640px) {
  /* larger touch targets without changing the look */
  .crumbs a { padding: 12px 2px; margin: -12px -2px; }
  .rc-more { padding-block: 10px; margin-block: -8px; }
  .text-link { position: relative; }
  .text-link::after { content: ""; position: absolute; inset: -12px -4px; }
  .quick-links { grid-template-columns: repeat(6, 1fr); }
  .quick-links a { grid-column: span 2; }
  .quick-links a:nth-child(n+4) { grid-column: span 3; }
  .quick-links a:nth-child(3) { border-right: 0; }
  .slider-ui button { overflow: visible; }
  .slider-ui button::before { content: ""; position: absolute; inset: -18px 0; }
  .slider-ui button span { border-radius: 3px; }
}
@media (max-width: 1080px) { .site-header .logo { position: relative; z-index: 3; } }
.partner-plate.light img { max-height: 54px; }
.partner-plate.light.sm img { max-height: 24px; }
@media (max-width: 640px) { .partner-plate.light img { max-height: 48px; } }

/* ---------- Official logo: layered, creatively animated ----------
   Layers (assets/img/brand/logo/): lockup (Media | Age), divider, ribbon (20), tagline.
   Sequence: slanted wipe of the lockup -> divider draws down -> the 20 ribbon unfurls
   -> a light sheen runs along the ribbon -> the tagline types in. Declared !important so
   the logo always animates (the site-wide reduced-motion reset does not apply to it). */
.brand-logo { position: relative; display: block; height: 46px; aspect-ratio: 1200 / 366; flex-shrink: 0; }
.brand-logo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.brand-logo .bl-sheen { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.75) 48%, rgba(255,230,230,.25) 54%, transparent 62%) 100% 0 / 300% 100% no-repeat;
  -webkit-mask: url("../img/brand/logo/ribbon.webp") center / 100% 100% no-repeat; mask: url("../img/brand/logo/ribbon.webp") center / 100% 100% no-repeat; }
.brand-logo.bl-footer { height: 78px; margin-bottom: 26px; }
.foot-logo { display: inline-block; }

.brand-logo.play .bl-lockup  { animation: bl-wipe .95s cubic-bezier(.7,0,.2,1) both !important; }
.brand-logo.play .bl-divider { animation: bl-draw .5s cubic-bezier(.6,0,.2,1) .75s both !important; transform-origin: 50% 0; }
.brand-logo.play .bl-ribbon  { animation: bl-unfurl 1.05s cubic-bezier(.2,1.25,.35,1) .95s both !important; transform-origin: 84% 46%; }
.brand-logo.play .bl-sheen   { animation: bl-sheen 1.1s ease-in-out 1.85s both !important; }
.brand-logo.play .bl-tagline { animation: bl-type .8s steps(24, end) 1.75s both !important; }

@keyframes bl-wipe {
  0%   { clip-path: polygon(0 0, 0 0, -14% 100%, -14% 100%); filter: blur(3px); transform: translateX(-3%); }
  55%  { filter: blur(0); }
  100% { clip-path: polygon(0 0, 114% 0, 100% 100%, -14% 100%); transform: none; }
}
@keyframes bl-draw { from { transform: scaleY(0); opacity: .2; } to { transform: scaleY(1); opacity: 1; } }
@keyframes bl-unfurl {
  0%   { opacity: 0; transform: scale(.55) rotate(-16deg); filter: blur(8px); clip-path: inset(100% 0 0 0); }
  45%  { opacity: 1; filter: blur(0); clip-path: inset(0 0 0 0); }
  100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes bl-sheen { 0% { opacity: 0; background-position: 100% 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 0 0; } }
@keyframes bl-type { from { clip-path: inset(0 100% 0 68%); opacity: .3; } to { clip-path: inset(0 0 0 68%); opacity: 1; } }

@media (max-width: 640px) { .brand-logo.bl-header { height: 36px; } .brand-logo.bl-footer { height: 64px; } }
@media (max-width: 360px) { .brand-logo.bl-header { height: 31px; } }
.more-stories .more-note { display: block; margin-top: 10px; font-size: .8rem; color: var(--muted); line-height: 1.45; }

/* ---------- Business Edge call-to-action card (Insights sidebar) ----------
   Uses the black + off-white Business Edge logo. The card "blinks" to draw the eye:
   a pulsing glow ring, a blinking live dot, and a nudging arrow. Always animates. */
.be-card { --be-ink: #1a1919; --be-cream: #f9f5d6;
  position: relative; display: grid; gap: 12px; margin-top: 4px; padding: 22px 20px 20px; border-radius: 18px;
  background: var(--be-ink); color: var(--be-cream); text-decoration: none; isolation: isolate; overflow: hidden;
  box-shadow: 0 0 0 0 rgba(249,245,214,.55); animation: be-pulse 2.2s ease-out infinite !important;
  transition: transform .35s var(--ease); }
.be-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120% 90% at 100% 0%, rgba(249,245,214,.12), transparent 55%); }
.be-card:hover { transform: translateY(-3px); }
.be-card:focus-visible { outline: 2px solid var(--be-cream); outline-offset: 3px; }
.be-live { display: inline-flex; align-items: center; gap: 8px; font: 700 .66rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--be-cream); opacity: .85; }
.be-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(227,38,44,.7); animation: be-blink 1.1s steps(2, jump-none) infinite, be-dot 1.6s ease-out infinite !important; }
.be-wordmark { width: 100%; max-width: 260px; height: auto; display: block; }
.be-title { font: 600 1.05rem/1.3 var(--f-display); color: var(--be-cream); }
.be-note { font-size: .78rem; line-height: 1.45; color: rgba(249,245,214,.72); }
.be-cta { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; padding: 10px 16px; border-radius: 999px;
  background: var(--be-cream); color: var(--be-ink); font: 700 .82rem var(--f-body); }
.be-cta svg { width: 15px; height: 15px; animation: be-nudge 1.4s ease-in-out infinite !important; }
.be-card:hover .be-cta { background: #fff; }
@keyframes be-pulse { 0% { box-shadow: 0 0 0 0 rgba(249,245,214,.55), 0 18px 40px -22px rgba(0,0,0,.6); } 70% { box-shadow: 0 0 0 12px rgba(249,245,214,0), 0 18px 40px -22px rgba(0,0,0,.6); } 100% { box-shadow: 0 0 0 0 rgba(249,245,214,0), 0 18px 40px -22px rgba(0,0,0,.6); } }
@keyframes be-blink { 0% { opacity: 1; } 50% { opacity: .25; } 100% { opacity: 1; } }
@keyframes be-dot { 0% { box-shadow: 0 0 0 0 rgba(227,38,44,.7); } 80% { box-shadow: 0 0 0 7px rgba(227,38,44,0); } 100% { box-shadow: 0 0 0 0 rgba(227,38,44,0); } }
@keyframes be-nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px); } }
