/* =========================================================
   Askandar Investment Company
   Palette from the 2023 company profile: navy, gold, lion purple
   ========================================================= */
:root {
  --navy-900: #0a0f24;
  --navy-800: #0e1430;
  --navy-700: #161e42;
  --navy-600: #232c58;
  --gold: #c9a24a;
  --gold-light: #e2c47c;
  --purple: #90277d;
  --purple-soft: #f4e8f1;
  --cream: #f7f4ee;
  --paper: #ffffff;
  --ink: #141a33;
  --ink-soft: #4a5070;
  --line: rgba(20, 26, 51, .1);
  --line-dark: rgba(255, 255, 255, .12);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 15, 36, .04), 0 12px 32px -12px rgba(10, 15, 36, .18);
  --shadow-lg: 0 30px 80px -20px rgba(10, 15, 36, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--gold); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 140px); }
.dark { background: var(--navy-800); color: #e9ebf5; }

/* ---------- Type helpers ---------- */
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.dark .kicker { color: var(--gold-light); }
h2 { font-size: clamp(34px, 5vw, 60px); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .kicker { justify-content: center; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section-head.split > p { color: var(--ink-soft); margin: 0; max-width: 460px; justify-self: end; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: .01em;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(201, 162, 74, .7); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--purple); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 52px; width: auto; filter: brightness(0) invert(1); transition: filter .45s var(--ease), height .45s var(--ease); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  position: relative; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .88);
  transition: color .3s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a:not(.btn):hover { color: #fff; }

.site-header.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .brand img { filter: none; height: 46px; }
.site-header.scrolled .nav a:not(.btn) { color: var(--ink); }
.site-header.hide { transform: translateY(-100%); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; z-index: 60; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease), background-color .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.site-header.scrolled .burger span { background: var(--ink); }
.burger[aria-expanded="true"] span { background: #fff !important; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 45; background: var(--navy-900); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 30px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  animation: fadeIn .4s var(--ease);
}
.mobile-nav nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav nav a { font-size: 34px; font-weight: 700; letter-spacing: -.02em; padding: 6px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-nav-foot { display: flex; flex-direction: column; gap: 6px; color: var(--gold-light); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; background: var(--navy-900);
  padding-top: calc(var(--header-h) + 40px);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 36, .55) 0%, rgba(10, 15, 36, .25) 35%, rgba(10, 15, 36, .85) 78%, var(--navy-900) 100%),
    linear-gradient(90deg, rgba(10, 15, 36, .7) 0%, rgba(10, 15, 36, 0) 70%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 56px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { font-size: clamp(44px, 7.4vw, 98px); font-weight: 800; letter-spacing: -.035em; max-width: 13ch; line-height: 1.02; }
.hero h1 em { color: var(--gold-light); }
.hero-lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .8); max-width: 600px; margin: 26px 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.stats {
  position: relative; z-index: 2; margin: 0 0 56px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.stats > div { padding: 26px 24px 0 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stats dt { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1; }
.stats dd { margin: 10px 0 0; font-size: 14px; color: rgba(255, 255, 255, .65); }

.scroll-cue { position: absolute; z-index: 2; right: var(--gutter); bottom: 64px; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold-light); border-radius: 2px; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; gap: clamp(40px, 6vw, 80px); padding-right: clamp(40px, 6vw, 80px); }
.marquee img { height: 100px; width: 160px; object-fit: contain; filter: grayscale(1) brightness(.8) contrast(1.3); opacity: .8; transition: filter .4s, opacity .4s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute; right: -24px; bottom: 40px;
  display: flex; align-items: center; gap: 14px;
  background: var(--paper); padding: 16px 22px 16px 16px; border-radius: 16px; box-shadow: var(--shadow);
}
.about-badge img { width: 52px; height: 52px; }
.about-badge strong { display: block; font-size: 17px; }
.about-badge span { font-size: 13px; color: var(--ink-soft); }
.about-copy > p { color: var(--ink-soft); }
.about-copy h2 { margin-bottom: 28px; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.vm article { background: var(--paper); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.vm article:last-child { border-top-color: var(--purple); }
.vm h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--purple); margin-bottom: 10px; }
.vm p { margin: 0; font-size: 15.5px; line-height: 1.6; }

/* ---------- Sectors ---------- */
.sectors { position: relative; overflow: hidden; }
.sectors::after {
  content: ""; position: absolute; right: -120px; top: 50%; width: 560px; height: 560px; transform: translateY(-50%);
  background: url("../img/logos/askandar-lion.png") center / contain no-repeat; opacity: .05; filter: brightness(0) invert(1); pointer-events: none;
}
.sector-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-top: 1px solid var(--line-dark); position: relative; z-index: 1; }
.sector-list li {
  display: flex; align-items: baseline; gap: 18px;
  padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line-dark);
  font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -.01em;
  transition: color .35s, padding-left .45s var(--ease);
}
.sector-list li:hover { color: var(--gold-light); padding-left: 10px; }
.sector-list span { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .1em; }

/* ---------- Companies ---------- */
.company-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.company {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.company:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(10, 15, 36, .35); }
.company-logo { aspect-ratio: 16 / 10; display: grid; place-items: center; background: #fff; border-bottom: 1px solid var(--line); padding: 8% 10%; overflow: hidden; }
.company-logo img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.company:hover .company-logo img { transform: scale(1.06); }
.company-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.company-sector { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin-bottom: 8px; }
.company h3 { font-size: 22px; margin-bottom: 10px; }
.company-body > p:not(.company-sector) { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.link-more { margin-top: auto; align-self: flex-start; font-weight: 700; font-size: 14.5px; color: var(--navy-800); display: inline-flex; gap: 8px; align-items: center; }
.link-more span { transition: transform .4s var(--ease); }
.link-more:hover { color: var(--purple); }
.link-more:hover span, .company:hover .link-more span { transform: translateX(5px); }
.company { cursor: pointer; }
.company-affiliates { background: var(--navy-800); color: #fff; cursor: default; }
.company-affiliates .company-sector { color: var(--gold-light); }
.company-affiliates:hover { transform: none; }
.affiliates { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: auto; padding-top: 16px; }
.affiliates > * { background: #fff; border-radius: 12px; aspect-ratio: 16 / 9; min-width: 0; display: grid; place-items: center; padding: 12px; transition: transform .4s var(--ease); }
.affiliates a:hover { transform: translateY(-3px); }
.affiliates img { width: 100%; height: 100%; object-fit: contain; }
.company-affiliates .company-body > p:last-of-type { margin-bottom: 0; }

/* ---------- Showcase ---------- */
.showcase { padding-bottom: clamp(80px, 11vw, 140px); }
.showcase-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 20px;
  padding-inline: var(--gutter); max-width: 1240px; margin: 0 auto;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.showcase-rail::-webkit-scrollbar { display: none; }
.showcase-rail figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; scroll-snap-align: start; background: var(--navy-700); }
.showcase-rail img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.showcase-rail figure:hover img { transform: scale(1.06); }
.showcase-rail figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 22px 22px;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 36, .9));
  color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -.01em;
}
.showcase-rail figcaption span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }

/* ---------- Values ---------- */
.values { background: var(--paper); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--paper); padding: clamp(28px, 3.5vw, 44px); transition: background-color .45s var(--ease); }
.value:hover { background: var(--purple-soft); }
.value img { width: 56px; height: 56px; margin-bottom: 22px; transition: transform .6s var(--ease); }
.value:hover img { transform: translateY(-4px) rotate(-4deg); }
.value h3 { font-size: 22px; margin-bottom: 8px; }
.value p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Team / structure ---------- */
.tree { text-align: center; }
.tree-root {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--navy-900); font-weight: 800; padding: 12px 26px 12px 14px; border-radius: 999px;
  position: relative; box-shadow: 0 0 0 6px rgba(201, 162, 74, .25);
}
.tree-root img { width: 40px; height: 40px; }
.tree-branches { list-style: none; padding: 40px 0 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; position: relative; }
.tree-branches::before { content: ""; position: absolute; left: 50%; top: 0; height: 22px; width: 1.5px; background: var(--gold); }
.tree-branches::after { content: ""; position: absolute; left: 7%; right: 7%; top: 22px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent); }
.tree-branches li { border: 1px solid var(--line-dark); border-radius: 14px; padding: 18px 14px; background: var(--navy-700); transition: border-color .4s, transform .4s var(--ease); }
.tree-branches li:hover { border-color: var(--gold); transform: translateY(-4px); }
.tree-branches strong { display: block; font-size: 16px; color: #fff; }
.tree-branches small { display: block; margin-top: 6px; font-size: 12.5px; color: rgba(233, 235, 245, .6); line-height: 1.5; }


/* ---------- Future ---------- */
.future-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.future-copy h2 { margin-bottom: 26px; }
.future-copy > p { color: var(--ink-soft); }
.future-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.future-points li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 15.5px; padding: 14px 16px; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); }
.future-points li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 3px; background: var(--gold); transform: rotate(45deg); }
.future-media { position: relative; }
.future-media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius); background: var(--purple); opacity: .9; }
.future-media img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* ---------- Film ---------- */
.film { padding-inline: var(--gutter); max-width: 1320px; margin: 0 auto; }
.film-card { position: relative; display: block; width: 100%; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 21 / 9; background: var(--navy-900); text-align: left; }
.film-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.film-card:hover img { transform: scale(1.04); }
.film-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 22px; padding: clamp(22px, 4vw, 48px); background: linear-gradient(90deg, rgba(10, 15, 36, .85), rgba(10, 15, 36, .1) 70%); color: #fff; }
.play { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(201, 162, 74, .6); animation: pulse 2.4s infinite; transition: transform .4s var(--ease); }
.film-card:hover .play { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 162, 74, .55); } 70% { box-shadow: 0 0 0 22px rgba(201, 162, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 162, 74, 0); } }
.film-text { font-size: clamp(22px, 3vw, 38px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.film-text small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.info-card { display: flex; align-items: center; gap: 18px; background: var(--paper); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.info-card:hover { transform: translateX(4px); }
.info-card svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--purple-soft); color: var(--purple); }
.info-card small { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.info-card span { font-weight: 600; line-height: 1.4; }

.contact-form { background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(233, 235, 245, .75); }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 16px; color: #fff; background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark); border-radius: 10px; padding: 12px 14px; resize: vertical;
  transition: border-color .3s, background-color .3s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .1); }
.contact-form .invalid { border-color: #e57373; }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: 14px; color: var(--gold-light); min-height: 1.4em; }

.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; box-shadow: var(--shadow-lg); background: #e5e3df; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); transition: filter .6s; }
.map:hover iframe { filter: none; }
.map-card {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-radius: 14px; padding: 14px 14px 14px 16px; box-shadow: var(--shadow);
}
.map-card img { width: 40px; height: 40px; }
.map-card div { flex: 1; min-width: 0; }
.map-card strong { display: block; font-size: 15px; }
.map-card span { font-size: 13px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(233, 235, 245, .7); padding: 80px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { width: 72px; height: 72px; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.site-footer a { display: block; padding: 4px 0; transition: color .3s; }
.site-footer a:hover { color: var(--gold-light); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 14px; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 15, 36, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s var(--ease); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100%);
  background: var(--cream); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .6s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-close {
  position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--navy-900);
  font-size: 28px; line-height: 1; display: grid; place-items: center; box-shadow: var(--shadow);
  transition: transform .4s var(--ease);
}
.drawer-close:hover { transform: rotate(90deg); }
.drawer-banner { aspect-ratio: 16 / 7; overflow: hidden; background: var(--navy-700); flex: none; }
.drawer-banner img { width: 100%; height: 100%; object-fit: cover; }
.drawer-head { display: flex; align-items: flex-start; gap: 18px; padding: 0 32px; margin-top: -44px; position: relative; }
.drawer-head > div:last-child { padding-top: 56px; min-width: 0; }
.drawer-logo { flex: none; width: 140px; height: 112px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; padding: 10px; }
.drawer-logo img { width: 100%; height: 100%; object-fit: contain; }
.drawer-head h2 { font-size: clamp(28px, 4vw, 38px); }
.drawer-head .company-sector { margin-bottom: 4px; }
.drawer-content { padding: 28px 32px 8px; color: var(--ink-soft); }
.drawer-content strong { color: var(--ink); }
.chips { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--purple-soft); color: var(--purple); }
.detail-brands { display: grid; gap: 18px; margin: 26px 0; }
.detail-brands.two { grid-template-columns: 1fr 1fr; }
.detail-brands figure { margin: 0; background: var(--paper); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.detail-brands img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.detail-brands figcaption { padding: 16px 18px 18px; font-size: 14.5px; line-height: 1.55; }
.detail-brands figcaption strong { display: block; font-size: 16px; margin-bottom: 4px; }
.detail-list { display: grid; gap: 14px; margin: 24px 0; }
.detail-list > div { background: var(--paper); border-radius: 14px; padding: 18px 20px; border-left: 3px solid var(--gold); box-shadow: var(--shadow); }
.detail-list p { margin: 6px 0 0; font-size: 14.5px; }
.drawer-nav { margin-top: auto; display: flex; justify-content: space-between; padding: 20px 32px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.drawer-nav button { font-weight: 700; font-size: 14.5px; color: var(--navy-800); padding: 8px 0; }
.drawer-nav button:hover { color: var(--purple); }

/* ---------- Film modal ---------- */
.film-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: var(--gutter); }
.film-backdrop { position: absolute; inset: 0; background: rgba(5, 8, 20, .92); opacity: 0; transition: opacity .45s var(--ease); }
.film-frame { position: relative; width: min(1200px, 100%); opacity: 0; transform: scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.film-frame video { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; box-shadow: var(--shadow-lg); }
.film-frame .drawer-close { top: -56px; right: 0; }
.film-modal.open .film-backdrop, .film-modal.open .film-frame { opacity: 1; transform: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .company-grid { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 24px; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .burger { display: block; }
  .brand img { height: 44px; }
  .site-header.scrolled .brand img { height: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats > div { padding-bottom: 20px; }
  .about-grid, .future-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media > img { aspect-ratio: 4 / 3; }
  .about-badge { right: 16px; bottom: 16px; }
  .section-head.split { grid-template-columns: 1fr; gap: 16px; }
  .section-head.split > p { justify-self: start; }
  .company-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .film-card { aspect-ratio: 16 / 10; }
  .map { min-height: 420px; }
  .scroll-cue { display: none; }
  .future-media { order: -1; margin-right: 24px; }
  .tree-branches::after { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero h1 { max-width: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stats dt { font-size: 28px; }
  .vm, .field-row, .future-points, .detail-brands.two { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .marquee img { height: 72px; width: 115px; }
  .showcase-rail { grid-auto-columns: 78%; }
  .drawer-head { padding: 0 20px; }
  .drawer-logo { width: 110px; height: 88px; }
  .drawer-content { padding: 22px 20px 4px; }
  .drawer-nav { padding-inline: 20px; }
  .map-card { flex-wrap: wrap; }
  .map-card .btn { width: 100%; }
  .film-overlay { flex-direction: column; align-items: flex-start; }
  .play { width: 60px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
