/* ============================================================
   CaeliCode homepage - layout on Uber Design System tokens.
   Hybrid palette (user-directed): deep evergreen/teal dark bands,
   pale mint section backgrounds, white cards, coral-orange CTAs,
   soft lime as a small supporting accent. Inter + DS pills/cards.
   ============================================================ */

:root {
  --accent: #FA5A28;          /* coral-orange - primary CTA + markers */
  --accent-press: #E0481C;
  --evergreen: #103029;       /* dark bands */
  --evergreen-2: #0D2922;     /* deepest - hero, footer */
  --evergreen-soft: #1C4138;  /* elevated dark surface */
  --mint: #EAF3EF;            /* pale mint section bg */
  --mint-2: #E0EDE7;
  --lime: #C7DC6F;            /* soft lime - small supporting accent only */
  --line-on-dark: rgba(255,255,255,0.12);
  --line-on-dark-2: rgba(255,255,255,0.22);
  --mute-on-dark: #8FA89F;
  --body-on-dark: #B9CEC6;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  color: var(--color-ink);
  background: var(--color-canvas);
  font-size: var(--type-body-md-size);
  line-height: var(--type-body-md-lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1288px; margin: 0 auto; padding: 0 var(--gutter-desktop); }
@media (max-width: 720px) { .wrap { padding: 0 var(--gutter-mobile); } }

.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
@media (max-width: 720px) { .section { padding: 68px 0; } .section--tight { padding: 48px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-text); font-weight: 600;
  font-size: 12.5px; line-height: 1; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px;
  background: var(--accent); transform: rotate(45deg);
}
.eyebrow.on-dark { color: var(--accent); }

.h-display { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; font-feature-settings: var(--font-display-features); color: var(--color-ink); }
.on-dark .h-display, .h-display.on-dark { color: #fff; }

.lead { color: var(--color-body); font-size: var(--type-body-lg-size); line-height: 28px; }
.lead.on-dark { color: var(--body-on-dark); }

.arrow { display: inline-block; transition: transform 140ms ease; }
.has-arrow:hover .arrow { transform: translateX(3px); }

/* ---------- Accent pill (tint DS Button via --color-primary override) ---------- */
.accent-cta { display: inline-block; }
.accent-cta { --color-primary: var(--accent); }
.accent-cta:hover { --color-primary: var(--accent-press); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.nav.scrolled { border-bottom-color: var(--color-hairline); background: rgba(255,255,255,0.95); box-shadow: rgba(16,48,41,0.05) 0 2px 14px; }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--color-ink); }
.brand .mk { width: 34px; height: 34px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 16px; font-weight: 500; color: var(--color-body); position: relative; padding: 6px 0; transition: color 140ms ease; }
.nav-links a:hover { color: var(--color-ink); }
.nav-links a.active { color: var(--color-ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }
@media (max-width: 920px) {
  .nav-links, .nav-search { display: none; }
  .nav-toggle { display: inline-grid; }
  .nav-inner { height: 64px; }
}

.mobile-menu { display: none; border-top: 1px solid var(--color-hairline); background: #fff; padding: 12px var(--gutter-mobile) 24px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--color-ink); border-bottom: 1px solid var(--color-hairline); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .m-cta { margin-top: 16px; }

/* ---------- HERO (deep evergreen polarity flip) ---------- */
.hero { position: relative; isolation: isolate; background: var(--evergreen-2); color: #fff; overflow: hidden; padding: 76px 0 80px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 100% at 82% 30%, #000, transparent 66%);
  mask-image: radial-gradient(120% 100% at 82% 30%, #000, transparent 66%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 52px 0 56px; } }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(33px, 4vw, 48px); line-height: 1.07; letter-spacing: -0.018em; margin: 22px 0 20px; color: #fff; max-width: 18ch; font-feature-settings: var(--font-display-features); text-wrap: balance; }
.hero .lead { color: var(--body-on-dark); max-width: 50ch; margin: 0 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line-on-dark); font-size: 13px; color: var(--mute-on-dark); }
.hero-meta b { color: #fff; font-weight: 600; margin-right: 7px; }

.hero-media { position: relative; }

/* ---------- MARQUEE (mint ribbon) ---------- */
.marquee { border-top: 1px solid var(--mint-2); border-bottom: 1px solid var(--mint-2); background: var(--mint); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; align-items: center; animation: mq 44s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--evergreen); padding: 0 34px; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); margin-left: 68px; transform: rotate(45deg); opacity: 0.8; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- SECTION HEADER ---------- */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.sec-head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: 18px; } }
.sec-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.012em; margin: 14px 0 0; color: var(--color-ink); max-width: 20ch; font-feature-settings: var(--font-display-features); }
.sec-head.center h2 { max-width: 24ch; }
.sec-head .sub { color: var(--color-body); font-size: var(--type-body-lg-size); line-height: 28px; max-width: 48ch; }

.bg-soft { background: var(--mint); }
.bg-ink { background: var(--evergreen); color: #fff; }

/* ---------- SERVICES GRID ---------- */
.card-link { display: block; text-decoration: none; color: inherit; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { position: relative; display: flex; flex-direction: column; min-height: 268px; cursor: pointer; overflow: hidden; transition: transform 200ms ease, filter 200ms ease, border-color 200ms ease; }
.card-link:hover .svc { transform: translateY(-6px); filter: drop-shadow(0 22px 40px rgba(16,48,41,0.14)); border-color: var(--accent); }
.svc .gl { width: 60px; height: 60px; border-radius: 17px; background: var(--mint); display: grid; place-items: center; color: var(--evergreen); margin-bottom: auto; transition: background 220ms ease, color 220ms ease, transform 220ms ease; }
.card-link:hover .svc .gl { background: var(--accent); color: #fff; transform: translateY(-2px) rotate(-3deg); }
.svc h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.008em; margin: 24px 0 9px; color: var(--color-ink); }
.svc p { font-size: 15px; line-height: 1.6; color: var(--color-body); margin: 0; }
.svc .more { margin-top: 20px; font-weight: 600; font-size: 13px; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; opacity: 0; transform: translateY(4px); transition: opacity 200ms ease, transform 200ms ease, gap 200ms ease; }
.card-link:hover .svc .more { opacity: 1; transform: none; gap: 10px; }
.svc.dark { background: var(--evergreen); border-color: var(--evergreen); color: #fff; }
.svc.dark .gl { background: var(--evergreen-soft); color: #fff; box-shadow: inset 0 0 0 1px var(--line-on-dark); }
.card-link:hover .svc.dark .gl { background: var(--accent); }
.svc.dark h3 { color: #fff; }
.svc.dark p { color: var(--body-on-dark); }

/* ---------- PROOF (credibility, non-numeric) ---------- */
.proof-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .proof-grid { grid-template-columns: 1fr; gap: 36px; } }
.proof-statement { max-width: 38ch; }
.proof-lede { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.9vw, 34px); line-height: 1.16; letter-spacing: -0.012em; color: var(--color-ink); margin: 16px 0 18px; }
.proof-sub { color: var(--color-body); font-size: 15.5px; line-height: 1.6; margin: 0 0 22px; }
.proof-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 460px) { .proof-tiles { grid-template-columns: 1fr; } }
.proof-tile { position: relative; display: flex; flex-direction: column; min-height: 178px; transition: transform 180ms ease, filter 180ms ease; }
.card-link:hover .proof-tile { transform: translateY(-3px); filter: drop-shadow(0 16px 30px rgba(16,48,41,0.10)); }
.proof-tile .pic { width: 46px; height: 46px; border-radius: 13px; background: var(--mint); display: grid; place-items: center; color: var(--evergreen); margin-bottom: auto; transition: background 180ms ease, color 180ms ease; }
.card-link:hover .proof-tile .pic { background: var(--accent); color: #fff; }
.proof-tile h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.008em; color: var(--color-ink); margin: 22px 0 7px; }
.proof-tile .pl { font-size: 13.5px; line-height: 1.5; color: var(--color-body); margin: 0; }
.proof-tile.dark { background: var(--evergreen); border-color: var(--evergreen); color: #fff; }
.proof-tile.dark .pic { background: var(--evergreen-soft); color: #fff; box-shadow: inset 0 0 0 1px var(--line-on-dark); }
.proof-tile.dark h3 { color: #fff; }
.proof-tile.dark .pl { color: var(--body-on-dark); }

/* ---------- PROCESS ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 28px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--mint-2); }
.step::after { content: ""; position: absolute; top: -3px; left: 0; width: 30px; height: 8px; background: var(--accent); border-radius: 2px; }
.step .sn { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--color-mute); letter-spacing: 0.06em; }
.step h4 { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.008em; margin: 11px 0 9px; color: var(--color-ink); }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--color-body); margin: 0; }

/* ---------- SHOWCASE (evergreen band, single infra panel) ---------- */
.showcase { position: relative; isolation: isolate; overflow: hidden; }
.showcase::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(120% 120% at 18% 30%, #000, transparent 72%);
  mask-image: radial-gradient(120% 120% at 18% 30%, #000, transparent 72%);
}
.showcase-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.06fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .showcase-grid { grid-template-columns: 1fr; gap: 36px; } }
.showcase h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.012em; margin: 16px 0 18px; color: #fff; max-width: 18ch; }
.showcase .lead { color: var(--body-on-dark); max-width: 46ch; }
.showcase ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 13px; }
.showcase li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #D6E4DE; }
.showcase li .ck { color: var(--lime); flex: none; margin-top: 1px; }

.infra-panel { background: var(--evergreen-2); border: 1px solid var(--line-on-dark); border-radius: var(--radius-xl); overflow: hidden; box-shadow: rgba(0,0,0,0.34) 0 30px 70px -34px; }
.infra-panel .ip-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line-on-dark); }
.infra-panel .ip-title { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--body-on-dark); letter-spacing: 0.02em; }
.infra-panel .ip-region { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: var(--mute-on-dark); letter-spacing: 0.04em; }
.infra-panel .ip-body { padding: 8px; }
.infra-panel .ip-foot { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-top: 1px solid var(--line-on-dark); font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: var(--mute-on-dark); letter-spacing: 0.02em; }

/* ---------- BLOG GRID ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; overflow: hidden; transition: transform 180ms ease, filter 180ms ease; }
.card-link:hover .post { transform: translateY(-5px); filter: drop-shadow(0 20px 36px rgba(16,48,41,0.13)); }
.post-vis { position: relative; aspect-ratio: 16/10; background: var(--evergreen); overflow: hidden; }
.post-vis.post-image { background-size: cover; background-position: center; }
.post-vis.post-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,41,34,0.03), rgba(13,41,34,0.18)); pointer-events: none; }
.post-cat { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-text); font-weight: 600; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--evergreen); background: #fff; padding: 6px 12px; border-radius: var(--radius-pill); }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post .meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--color-mute); font-weight: 500; }
.post h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: -0.008em; margin: 11px 0 0; color: var(--color-ink); transition: color 140ms ease; }
.card-link:hover .post h3 { color: var(--accent); }
.post .cont { margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.card-link:hover .post .cont .arrow { transform: translateX(3px); }

/* ---------- CTA BAND (accent) ---------- */
.cta-band-wrap { background: var(--evergreen-2); }
.cta-band { position: relative; overflow: hidden; background: var(--accent); border-radius: var(--radius-xl); padding: 48px 56px; display: grid; grid-template-columns: 1.2fr auto; gap: 36px; align-items: center; transform: translateY(50%); }
.cta-band .cta-copy { position: relative; z-index: 1; }
.cta-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -0.012em; color: #fff; margin: 0; max-width: 20ch; }
.cta-band .cta-copy p { margin: 10px 0 0; color: rgba(255,255,255,0.88); font-size: 15px; max-width: 42ch; }
.cta-band .mailto { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.cta-band .mailto .ic { width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; flex: none; }
.cta-band .mailto .l { color: rgba(255,255,255,0.85); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.cta-band .mailto .e { color: #fff; font-size: 20px; font-weight: 700; font-family: var(--font-display); letter-spacing: -0.01em; }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; padding: 32px 28px; transform: translateY(44%); gap: 24px; } .cta-band .mailto .ic { width: 50px; height: 50px; } }

/* ---------- FOOTER (deep evergreen) ---------- */
.footer { background: var(--evergreen-2); color: var(--body-on-dark); padding: 168px 0 32px; }
@media (max-width: 720px) { .footer { padding: 140px 0 32px; } }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.5fr; gap: 48px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }
.footer .fbrand { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.footer .fbrand .bit { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; letter-spacing: -0.01em; }
.footer .fdesc { color: var(--mute-on-dark); font-size: 14.5px; line-height: 1.65; max-width: 36ch; }
.footer h4 { font-family: var(--font-text); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin: 0 0 20px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer a { color: var(--body-on-dark); font-size: 15px; transition: color 140ms ease; }
.footer a:hover { color: var(--accent); }
.footer .news p { color: var(--mute-on-dark); font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; }
.footer .newsrow { display: flex; gap: 8px; align-items: stretch; max-width: 320px; }
.footer .soc { display: flex; gap: 10px; margin-top: 24px; }
.footer .soc a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.07); color: #DCEAE4; transition: background 140ms ease, color 140ms ease; }
.footer .soc a:hover { background: var(--accent); color: #fff; }
.footer-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-on-dark); font-size: 13px; color: var(--mute-on-dark); }
.footer-meta .lks { display: flex; gap: 24px; }
@media (max-width: 620px) { .footer-meta { flex-direction: column; gap: 12px; text-align: center; } }

/* ---------- reveal ---------- */
.reveal { opacity: 1; }
.reveal.in { animation: rise 640ms cubic-bezier(0.4,0,0.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- ABSTRACT VISUALS ---------- */
.cc-term { background: var(--evergreen-2); border: 1px solid var(--line-on-dark); border-radius: var(--radius-xl); overflow: hidden; box-shadow: rgba(0,0,0,0.38) 0 30px 70px -34px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.cc-term-bar { display: flex; align-items: center; gap: 10px; padding: 13px 17px; background: rgba(0,0,0,0.25); border-bottom: 1px solid var(--line-on-dark); }
.cc-dots { display: flex; gap: 7px; }
.cc-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.cc-dots i:first-child { background: rgba(250,90,40,0.7); }
.cc-term-title { font-size: 12px; color: var(--mute-on-dark); margin: 0 auto; padding-right: 64px; letter-spacing: 0.02em; }
.cc-term-body { padding: 22px 22px 24px; font-size: 14px; line-height: 1.95; }
.cc-term-body .l { display: flex; gap: 9px; white-space: nowrap; }
.cc-term-body .o { color: var(--body-on-dark); padding-left: 18px; display: block; }
.cc-term-body .p { color: var(--lime); font-weight: 600; }
.cc-term-body .c { color: #F1F6F3; }
.cc-term-body .ok { color: var(--lime); }
.cc-term-body .d { color: var(--mute-on-dark); }
.cc-term-body .accent { color: var(--accent); }
.cc-term-body .cur { display: inline-block; width: 9px; height: 16px; background: var(--lime); vertical-align: -3px; animation: ccblink 1s steps(2) infinite; }
@keyframes ccblink { 50% { opacity: 0; } }

.cc-topo { width: 100%; height: auto; background: transparent; display: block; }

/* ---------- blog visuals ---------- */
.cc-bv { width: 100%; height: 100%; position: absolute; inset: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .marquee-track { animation: none; }
  .cc-term-body .cur { animation: none; }
  html { scroll-behavior: auto; }
}

/* Live brand logo exception: keep the handoff layout, use the production logo. */
.brand-real,
.fbrand-real {
  display: inline-flex;
  align-items: center;
}
.cc-real-logo {
  display: block;
  width: 148px;
  height: auto;
  object-fit: contain;
}
.footer .cc-real-logo {
  width: 150px;
}
@media (max-width: 520px) {
  .cc-real-logo { width: 132px; }
  .hero-inner,
  .hero-inner > * {
    min-width: 0;
  }
  .hero h1 {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    font-size: clamp(30px, 8.7vw, 34px);
  }
  .hero .lead,
  .hero-meta {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }
}
