:root {
  --bg: #f3f4f6;
  --bg-soft: #ffffff;
  --panel: #eceef1;
  --txt: #171717;
  --muted: #5f6368;
  --primary: #d61f26;
  --primary-2: #8f1116;
  --accent: #8a8f98;
  --card: rgba(255,255,255,.82);
  --border: rgba(23,23,23,.08);
  --shadow: 0 18px 50px rgba(0,0,0,.08);
}
body[data-theme="dark"] {
  --bg: #0d0f12;
  --bg-soft: #13161a;
  --panel: #171b20;
  --txt: #f4f5f7;
  --muted: #a7adb7;
  --accent: #8c939f;
  --card: rgba(255,255,255,.05);
  --border: rgba(255,255,255,.10);
  --shadow: 0 20px 50px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Be Vietnam Pro', sans-serif;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(214,31,38,.10), transparent),
    radial-gradient(700px 420px at 0% 20%, rgba(255,255,255,.8), transparent),
    linear-gradient(180deg, #fafafa, #eef1f4 60%, #f7f7f8);
  color: var(--txt);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body[data-theme="dark"] {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(214,31,38,.18), transparent),
    radial-gradient(700px 420px at 0% 20%, rgba(255,255,255,.04), transparent),
    linear-gradient(180deg, #0d0f12, #11151a 60%, #0f1216);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.35), transparent 30%, rgba(214,31,38,.02));
}
body[data-theme="dark"]::before {
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 30%, rgba(214,31,38,.06));
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(500px 220px at var(--mx, 50%) var(--my, 20%), rgba(225,38,47,.08), transparent 60%);
  opacity: .9;
  transition: opacity .3s ease;
}
a { color: inherit; text-decoration: none; }

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f8f9fb, #eef1f4);
  transition: opacity .45s ease, visibility .45s ease;
}
.site-loader.hide {
  opacity: 0;
  visibility: hidden;
}
.loader-core {
  display: grid;
  place-items: center;
  gap: 12px;
}
.loader-core img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(214,31,38,.2);
  animation: loader-bob 1.6s ease-in-out infinite;
}
.loader-core span {
  font-weight: 700;
  color: #a3181f;
  letter-spacing: .08em;
  font-size: 12px;
}
@keyframes loader-bob {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.04); }
}
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px; backdrop-filter: blur(14px);
  background: rgba(255,255,255,.78); border-bottom: 1px solid var(--border);
  transition: padding .25s ease, box-shadow .25s ease, background .25s ease;
}
.topbar.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.brand {
  font-weight: 800;
  letter-spacing: .4px;
  color: var(--primary);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(214,31,38,.14);
  box-shadow: 0 8px 18px rgba(214,31,38,.18);
}
.brand::after {
  content: "";
  position: absolute;
  left: 40px;
  bottom: -6px;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #ff7b80);
}
.menu { display: flex; gap: 14px; align-items: center; color: var(--muted); flex-wrap: wrap; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  font-size: 20px;
  line-height: 1;
}
.menu a {
  transition: color .25s ease, transform .25s ease, background .25s ease, border-color .25s ease;
  padding: 9px 12px; border-radius: 10px; border: 1px solid transparent;
}
.menu a:hover {
  color: var(--primary);
  transform: translateY(-1px);
  background: rgba(214,31,38,.08);
  border-color: rgba(214,31,38,.14);
}
.menu a.active {
  color: var(--primary);
  background: rgba(214,31,38,.11);
  border-color: rgba(214,31,38,.20);
  box-shadow: inset 0 0 0 1px rgba(214,31,38,.04);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px; border-radius: 12px; font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff;
  border: 1px solid rgba(255,255,255,.08); transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
  box-shadow: 0 10px 30px rgba(214,31,38,.25);
  cursor: pointer; font: inherit;
}
.btn:hover { transform: translateY(-2px); opacity: .98; box-shadow: 0 14px 34px rgba(214,31,38,.35); }
.btn-ghost { background: rgba(255,255,255,.7); border-color: var(--border); color: var(--txt); box-shadow: none; }
.btn-small { padding: 8px 12px; border-radius: 10px; }
.topbar-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.icon-toggle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.72);
  color: var(--txt);
  display: inline-grid;
  place-items: center;
  font-size: 17px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
body[data-theme="dark"] .icon-toggle,
body[data-theme="dark"] .btn-ghost,
body[data-theme="dark"] .nav-toggle {
  background: rgba(255,255,255,.06);
  color: var(--txt);
}
.icon-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(214,31,38,.25);
}
.icon-toggle.active {
  color: var(--primary);
  border-color: rgba(214,31,38,.24);
  background: rgba(214,31,38,.08);
}
main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px;
  width: 100%;
  flex: 1 0 auto;
}
img {
  max-width: 100%;
  display: block;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: var(--scroll-progress, 0%);
  background: linear-gradient(90deg, #ff6a72, var(--primary), var(--primary-2));
  z-index: 60;
  box-shadow: 0 6px 18px rgba(214,31,38,.22);
}
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; padding: 58px 0 42px; }
.hero-content, .card, .job-card, .quote, .alt, .cta, .apply-card, .case-card { opacity: 0; transform: translateY(26px); }
.hero h1 { font-size: clamp(34px, 4.7vw, 58px); line-height: 1.14; margin: 8px 0 16px; letter-spacing: 0; text-wrap: balance; }
.hero h1 span { color: #e1262f; }
.eyebrow { color: #6d7178; font-weight: 700; letter-spacing: .18em; font-size: 12px; opacity: .95; }
.lead { color: var(--muted); line-height: 1.8; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 10px;
  grid-template-areas:
    "large small1"
    "large small2";
  max-width: 500px;
  width: 100%;
  justify-self: end;
}
.hero-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  filter: saturate(1.02) contrast(1.01);
  transition: transform .45s ease, filter .35s ease, border-color .35s ease, box-shadow .35s ease, opacity .35s ease;
}
.hero-grid img:nth-child(1) { grid-area: large; aspect-ratio: .98 / 1.12; }
.hero-grid img:nth-child(2) { grid-area: small1; }
.hero-grid img:nth-child(3) { grid-area: small2; }
.hero-grid img:nth-child(4) { display: none; }
.hero-grid img:hover,
.hero-grid img.is-active {
  transform: translateY(-3px) scale(1.01);
  filter: saturate(1.05) contrast(1.03);
  border-color: rgba(214,31,38,.45);
  box-shadow: 0 20px 34px rgba(214,31,38,.12);
}
.hero-parallax-layer { will-change: transform; transition: transform .2s linear; }
.hero-content { transform-origin: center; transition: transform .35s ease, opacity .7s ease; }
.section { padding: 32px 0; }
.section h2 { font-size: 31px; margin-bottom: 18px; letter-spacing: -.02em; }
.section-head { max-width: 860px; margin-bottom: 18px; }
.alt { padding: 34px 20px; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(247,247,248,.95)); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); }
.cards { display: grid; gap: 14px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(246,247,248,.92)); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px; box-shadow: var(--shadow); transition: transform .35s ease, border-color .3s ease, background .3s ease, box-shadow .35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover, .job-card:hover { transform: translateY(-4px); border-color: rgba(214,31,38,.25); background: linear-gradient(180deg, rgba(255,255,255,1), rgba(244,245,246,.96)); }
.card::before, .job-card::before, .case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.45), transparent 38%, rgba(225,38,47,.06));
  opacity: 0;
  transition: opacity .3s ease;
}
.card:hover::before, .job-card:hover::before, .case-card:hover::before { opacity: 1; }
.card h3 { margin: 0 0 8px; color: #94171c; }
.card p { color: var(--muted); line-height: 1.7; margin: 0; }
.culture-wrap, .office-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 16px; align-items: stretch; }
.office-copy { display: grid; gap: 12px; }
.checklist { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.95; }
.luxury-list li::marker { color: #ff4d57; }
.quote {
  background: linear-gradient(145deg, rgba(214,31,38,.10), rgba(255,255,255,.88));
  border: 1px solid var(--border); border-radius: 16px; padding: 22px;
  display: flex; align-items: center; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.quote::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  right: -60px; top: -70px;
  background: radial-gradient(circle, rgba(225,38,47,.16), transparent 70%);
}
.quote p { margin: 0; font-size: 20px; line-height: 1.5; }
.hero-metrics {
  margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px;
}
.hero-metrics div {
  padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.86);
}
.hero-metrics strong { display: block; font-size: 22px; margin-bottom: 6px; color: #b61e24; }
.hero-metrics span { color: var(--muted); font-size: 13px; line-height: 1.5; display: block; }
.hero-luxury { padding-top: 66px; }
.hero-grid-tall img:nth-child(1), .hero-grid-tall img:nth-child(4) { transform: translateY(18px); }
.achievement-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.achievement-card { min-height: 220px; }
.stat { display: inline-block; margin-bottom: 14px; font-size: 28px; color: #b61e24; }
.platform-section {
  overflow: hidden;
  padding: 36px 24px;
}
.platform-showcase {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 18px;
  align-items: stretch;
}
.platform-panel {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(214,31,38,.10);
  background:
    radial-gradient(circle at top left, rgba(214,31,38,.12), transparent 38%),
    linear-gradient(160deg, rgba(255,255,255,.96), rgba(244,245,247,.92));
  box-shadow: 0 22px 48px rgba(18,22,28,.06);
  overflow: hidden;
}
.platform-panel::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(227,176,55,.22), transparent 66%);
  pointer-events: none;
}
.platform-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.platform-stats div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(17,17,17,.07);
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.platform-stats strong {
  font-size: 24px;
  color: #a01c22;
  letter-spacing: -.03em;
}
.platform-stats span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.platform-card {
  position: relative;
  min-height: 190px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(17,17,17,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(244,245,247,.92));
  box-shadow: 0 18px 38px rgba(20,25,31,.08);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.platform-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.26), transparent 40%, rgba(255,255,255,.06));
  opacity: .9;
  pointer-events: none;
}
.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(20,25,31,.12);
}
.platform-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(17,17,17,.06);
  color: #555c66;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.platform-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
}
.platform-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0,0,0,.14);
  flex: 0 0 auto;
  overflow: hidden;
}
.platform-mark svg {
  width: 68%;
  height: 68%;
  display: block;
}
.platform-mark .spotify-wave {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}
.platform-name {
  display: block;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -.04em;
}
.platform-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}
.platform-card.youtube .platform-mark {
  background: linear-gradient(135deg, #ff3329, #d70a16);
}
.platform-card.youtube .platform-name {
  color: #17191d;
}
.platform-card.facebook .platform-mark {
  background: linear-gradient(135deg, #3391ff, #0b62df);
}
.platform-card.facebook .platform-name {
  color: #1877f2;
}
.platform-card.tiktok .platform-mark {
  background: linear-gradient(135deg, #111111, #ff2d73 58%, #20dde0);
}
.platform-card.tiktok .platform-name {
  color: #111111;
}
.platform-card.spotify .platform-mark {
  background: linear-gradient(135deg, #30d862, #139a43);
}
.platform-card.spotify .platform-name {
  color: #1db954;
}
.platform-card.apple-music .platform-mark {
  background: linear-gradient(135deg, #ff5a7f, #a855f7 54%, #2cd4ff);
}
.platform-card.apple-music .platform-name {
  color: #1d2430;
}
.platform-card.zing .platform-mark {
  background: linear-gradient(135deg, #316bff, #8e3dff 45%, #ff8b21);
}
.platform-card.zing .platform-name {
  color: #7a1fc2;
}
.media-slider {
  position: relative;
  margin-top: 24px;
  padding: 0 44px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 6px 4px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pinch-zoom;
  cursor: grab;
  user-select: none;
}
.slider-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .45s ease, border-color .35s ease, box-shadow .35s ease, opacity .35s ease, filter .35s ease;
  scroll-snap-align: center;
  opacity: .78;
  transform: scale(.96);
  filter: saturate(.98) contrast(1.01);
  user-select: none;
  -webkit-user-drag: none;
}
.slider-track img:hover,
.slider-track img.is-active {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(214,31,38,.28);
  box-shadow: 0 18px 32px rgba(214,31,38,.10);
  opacity: 1;
  filter: saturate(1.04) contrast(1.02);
}
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px;
  border-radius: 999px; border: 1px solid var(--border); background: rgba(20,20,20,.92); color: #fff; cursor: pointer;
}
body[data-theme="dark"] .topbar,
body[data-theme="dark"] .menu,
body[data-theme="dark"] .alt,
body[data-theme="dark"] .card,
body[data-theme="dark"] .job-card,
body[data-theme="dark"] .platform-panel,
body[data-theme="dark"] .platform-card,
body[data-theme="dark"] .apply-card,
body[data-theme="dark"] .case-card,
body[data-theme="dark"] .contact-pill,
body[data-theme="dark"] .contact-item,
body[data-theme="dark"] .map-panel,
body[data-theme="dark"] .hero-metrics div,
body[data-theme="dark"] .quote,
body[data-theme="dark"] .cta {
  background-color: rgba(17,21,26,.88);
  background-image: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
body[data-theme="dark"] .slider-btn {
  background: rgba(255,255,255,.1);
}
body[data-theme="dark"] .platform-stats div {
  background-color: rgba(17,21,26,.88);
  background-image: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-color: rgba(255,255,255,.08);
}
body[data-theme="dark"] .platform-chip {
  background: rgba(255,255,255,.08);
  color: #d4d7dd;
}
body[data-theme="dark"] .platform-card.youtube .platform-name,
body[data-theme="dark"] .platform-card.tiktok .platform-name,
body[data-theme="dark"] .platform-card.apple-music .platform-name {
  color: #f3f5f7;
}
body[data-theme="dark"] .platform-stats strong {
  color: #ff6a72;
}
body[data-theme="dark"] .contact-pill strong,
body[data-theme="dark"] .card h3,
body[data-theme="dark"] .hero-metrics strong,
body[data-theme="dark"] .stat {
  color: #ff6a72;
}
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }
.case-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.case-card {
  background: linear-gradient(160deg, rgba(214,31,38,.12), rgba(255,255,255,.92));
  border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 45px rgba(214,31,38,.10);
  border-color: rgba(214,31,38,.24);
}
.case-card.subtle { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,245,246,.9)); }
.case-tag {
  display: inline-block; padding: 6px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .08em;
  color: #fff; background: linear-gradient(135deg, var(--primary), #ef4a52); margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(214,31,38,.18);
}
.case-card p { color: var(--muted); line-height: 1.75; }
.case-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 18px;
}
.case-meta div {
  border-top: 1px solid var(--border); padding-top: 10px;
}
.case-meta strong, .case-meta span { display: block; }
.case-meta span { color: var(--muted); margin-top: 4px; }
.luxury-cta { position: relative; overflow: hidden; }
.luxury-cta::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -50px; top: -50px;
  background: radial-gradient(circle, rgba(214,31,38,.22), transparent 70%);
}
.cta { text-align: center; padding: 52px 22px; background: linear-gradient(180deg, rgba(214,31,38,.08), rgba(255,255,255,.92)); border-radius: 22px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.cta p { color: var(--muted); }
.contact-strip {
  margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px;
}
.contact-pill {
  display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--border); background: rgba(255,255,255,.88); box-shadow: var(--shadow);
}
.contact-pill strong { color: #94171c; }
.contact-pill span, .contact-pill a { color: var(--muted); word-break: break-word; }
.map-section {
  padding-top: 10px;
}
.map-panel {
  overflow: hidden;
  min-height: 420px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.map-panel iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}
footer {
  text-align: center;
  color: var(--muted);
  padding: 32px 16px 56px;
  margin-top: auto;
  position: relative;
  z-index: 1;
  width: 100%;
}
footer p {
  margin: 0 auto;
  max-width: 720px;
}
footer p + p {
  margin-top: 8px;
}

body.page-enter {
  opacity: 0;
  animation: page-enter .45s ease forwards;
}
@keyframes page-enter {
  to { opacity: 1; }
}
body.page-leave {
  opacity: 0;
  transition: opacity .25s ease;
}

.masonry-grid {
  columns: 3 180px;
  column-gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.masonry-grid img {
  width: 100%; margin: 0 0 12px; border-radius: 16px; border: 1px solid var(--border);
  box-shadow: var(--shadow); break-inside: avoid;
  transition: transform .35s ease, filter .35s ease;
  filter: saturate(.9) contrast(1.02);
}
.masonry-grid img:hover { transform: translateY(-5px) scale(1.01); filter: saturate(1.08) contrast(1.08); }

.project-showcase {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  margin-bottom: 18px;
}
.project-showcase .large {
  grid-row: span 2;
}

.floating-contact {
  position: fixed !important;
  right: 12px !important;
  bottom: 12px !important;
  left: auto !important;
  top: auto !important;
  display: grid !important;
  gap: 10px;
  z-index: 9999 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  transform: none !important;
  transition: opacity .22s ease;
}
.floating-contact a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(23,23,23,.08);
  background: linear-gradient(135deg, #ffffff, #f2f3f5);
  color: var(--primary);
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
  font-size: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
  opacity: 1 !important;
  visibility: visible !important;
}
.floating-contact a:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 35px rgba(214,31,38,.45);
}
.floating-contact a.pulse {
  animation: pulse-ring 1.6s ease-in-out;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(214,31,38,.28); }
  100% { box-shadow: 0 0 0 16px rgba(214,31,38,0); }
}

.job-card, .card, .case-card, .apply-card, .contact-item {
  position: relative;
}

/* Careers */
.careers-hero { grid-template-columns: 1fr; }
.job-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  background: rgba(255,255,255,.02); color: var(--txt); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: .25s ease;
}
.chip.active, .chip:hover { background: rgba(214,31,38,.15); border-color: rgba(214,31,38,.35); color: #8f1116; }
.jobs-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.job-card {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,245,246,.92)); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px; box-shadow: var(--shadow); transition: .3s ease;
}
.job-card h3 { margin: 0 0 8px; }
.job-card .muted { color: var(--muted); }
.job-detail-link { margin-top: 14px; }
.muted {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-item p,
.contact-item a,
.apply-card p,
.apply-card a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.job-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.apply-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; align-items: start;
}
.apply-card {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,245,246,.92));
  border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: var(--shadow);
}
.form-stack { display: grid; gap: 12px; }
.form-stack input, .form-stack select, .form-stack textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(23,23,23,.08);
  background: #fff; color: #17191d; outline: none; transition: border-color .25s ease, box-shadow .25s ease;
}
.form-stack input::placeholder, .form-stack textarea::placeholder {
  color: #666d78;
  opacity: 1;
}
.form-stack select option {
  background: #fff;
  color: #17191d;
}
.form-stack select option[value=""] {
  color: #555c66;
  font-weight: 600;
}
.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus {
  border-color: rgba(214,31,38,.6); box-shadow: 0 0 0 4px rgba(214,31,38,.12);
}
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity .7s ease, transform .7s ease;
}

@media (max-width: 980px) {
  .topbar {
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
  .topbar-tools { align-self: flex-end; }
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-grid { order: -1; }
  .cards-3, .cards-4, .jobs-grid, .culture-wrap, .office-grid, .apply-grid, .achievement-grid, .hero-metrics, .case-grid, .case-meta, .contact-strip, .project-showcase, .platform-showcase { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .menu { width: 100%; }
  .floating-contact {
    position: fixed !important;
    right: 10px !important;
    bottom: 12px !important;
    left: auto !important;
    top: auto !important;
    display: grid !important;
    gap: 8px;
    margin: 0 !important;
    z-index: 9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}
@media (max-width: 980px), (max-height: 720px) {
  .hero h1 {
    font-size: clamp(32px, 6vw, 46px);
    line-height: 1.16;
  }
}
@media (max-width: 680px) {
  body::after { opacity: .55; }
  .topbar {
    padding: 10px 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: sticky;
  }
  .brand {
    font-size: 13px;
    gap: 8px;
    max-width: calc(100% - 52px);
    line-height: 1.2;
  }
  .brand-logo { width: 28px; height: 28px; border-radius: 8px; flex: 0 0 auto; }
  .brand::after { left: 32px; width: 24px; bottom: -4px; }
  .topbar-tools {
    margin-left: auto;
    gap: 6px;
  }
  .icon-toggle,
  .nav-toggle {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .nav-toggle { display: inline-grid; place-items: center; flex: 0 0 auto; }
  .menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: grid;
    gap: 6px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 36px rgba(0,0,0,.08);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .topbar.menu-open .menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .menu a {
    padding: 10px 12px;
    white-space: nowrap;
    min-height: 42px;
    display: flex;
    align-items: center;
  }
  .btn, .btn-small {
    min-height: 44px;
    border-radius: 12px;
  }
  main { padding: 14px; }
  .hero {
    padding-top: 24px;
    gap: 18px;
  }
  .hero h1 {
    font-size: clamp(28px, 8.5vw, 38px);
    line-height: 1.08;
    margin-bottom: 12px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: .14em;
  }
  .lead {
    font-size: 14px;
    line-height: 1.7;
  }
  .section { padding: 22px 0; }
  .section h2 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 14px;
  }
  .section-head { margin-bottom: 14px; }
  .hero-actions, .form-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .form-actions .btn { width: 100%; }
  .hero-grid,
  .hero-metrics,
  .contact-strip,
  .jobs-grid,
  .cards-3,
  .cards-4,
  .achievement-grid,
  .case-grid,
  .project-showcase,
  .apply-grid,
  .office-grid,
  .platform-showcase,
  .platform-grid,
  .platform-stats,
  .culture-wrap { grid-template-columns: 1fr; }
  .platform-section {
    padding: 24px 16px;
  }
  .map-panel,
  .map-panel iframe {
    min-height: 320px;
  }
  .platform-panel,
  .platform-card {
    padding: 16px;
    border-radius: 18px;
  }
  .platform-head {
    margin: 16px 0 12px;
  }
  .platform-name {
    font-size: 25px;
  }
  .platform-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 24px;
  }
  .hero-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 74vw;
    grid-template-areas: none;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    max-width: none;
    justify-self: stretch;
  }
  .hero-grid img,
  .slider-track img {
    border-radius: 16px;
    scroll-snap-align: center;
  }
  .hero-grid img {
    aspect-ratio: 1 / 1.08;
    grid-area: auto !important;
    display: block !important;
    opacity: .95;
    transform: none;
  }
  .hero-metrics {
    gap: 10px;
    margin-top: 18px;
  }
  .hero-metrics div,
  .contact-pill,
  .card,
  .job-card,
  .apply-card,
  .case-card,
  .contact-item,
  .alt,
  .quote {
    padding: 16px;
    border-radius: 16px;
  }
  .quote p { font-size: 17px; }
  .case-meta { grid-template-columns: 1fr; gap: 8px; }
  .job-card ul,
  .checklist { line-height: 1.7; padding-left: 16px; }
  .masonry-grid {
    columns: 2 148px;
    column-gap: 10px;
    max-width: 100%;
  }
  .masonry-grid img { margin-bottom: 10px; border-radius: 14px; }
  .media-slider {
    padding: 0;
    margin-top: 18px;
    overflow: hidden;
    max-width: 100%;
  }
  .slider-track {
    grid-auto-columns: minmax(74vw, 1fr);
    gap: 10px;
    padding-bottom: 4px;
  }
  .slider-btn { display: none; }
  .floating-contact a {
    width: 42px;
    height: 42px;
    font-size: 17px;
    box-shadow: 0 10px 24px rgba(0,0,0,.14);
  }
  footer {
    padding: 26px 14px 104px;
    font-size: 13px;
    line-height: 1.7;
    margin-top: 20px;
  }
}
body.performance-mode *,
body.performance-mode *::before,
body.performance-mode *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .12s !important;
  scroll-behavior: auto !important;
}
body.performance-mode .hero-parallax-layer,
body.performance-mode .hero-content,
body.performance-mode .card,
body.performance-mode .job-card,
body.performance-mode .case-card,
body.performance-mode .floating-contact a,
body.performance-mode body::after {
  transform: none !important;
}
body.performance-mode .site-loader { display: none; }

@media (max-width: 480px) {
  main { padding: 12px; }
  .topbar { padding: 10px 10px; }
  .brand {
    font-size: 12.5px;
    gap: 7px;
  }
  .brand-logo { width: 26px; height: 26px; border-radius: 7px; }
  .brand::after { left: 30px; width: 22px; }
  .hero {
    padding-top: 18px;
    gap: 16px;
  }
  .hero h1 {
    font-size: clamp(25px, 8.5vw, 31px);
    line-height: 1.18;
  }
  .section h2 { font-size: 20px; }
  .lead,
  .card p,
  .case-card p,
  .contact-pill span,
  .contact-pill a,
  .job-card .muted { font-size: 13.5px; }
  .menu {
    left: 10px;
    right: 10px;
    padding: 8px;
  }
  .menu a { min-height: 40px; font-size: 13px; }
  .hero-metrics strong,
  .stat { font-size: 24px; }
  .quote p { font-size: 16px; }
  .hero-grid { grid-auto-columns: 76vw; gap: 8px; }
  .slider-track { grid-auto-columns: minmax(76vw, 1fr); }
  .platform-name {
    font-size: 22px;
  }
  .platform-card {
    min-height: auto;
  }
  .masonry-grid {
    columns: 1;
    max-width: 320px;
  }
  .floating-contact {
    position: fixed !important;
    display: grid !important;
    right: 8px !important;
    bottom: 10px !important;
    left: auto !important;
    top: auto !important;
    margin: 0 !important;
    gap: 7px;
    z-index: 9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .floating-contact a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
