/* Diary Animation - site styles (dark, cinematic). Tokens first; everything else uses them. */
:root {
  --bg: #0a0a0c;
  --bg-2: #0f0f13;
  --surface: #15151a;
  --surface-2: #1c1c23;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f4f1ec;
  --text-2: #d9d5cf;
  --muted: #aaa6af;
  --dim: #807c87;
  --accent: #e0322a;
  --accent-hi: #ff5246;
  --accent-soft: rgba(224, 50, 42, .14);
  --gold: #f2c35b;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --head: "Kanit", "IBM Plex Sans Thai", system-ui, sans-serif;
  --body: "IBM Plex Sans Thai", "Kanit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
@media (max-width: 600px) { :root { --gutter: 16px; --header-h: 64px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; margin: 0; }
p { margin: 0; }
address { font-style: normal; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons, labels ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--head); font-size: 1rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .38); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--head); font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-hi);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .2s, gap .25s var(--ease); }
.text-link svg { width: 18px; height: 18px; }
.text-link:hover { border-color: var(--accent-hi); gap: 12px; }
.th { font-family: var(--head); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s;
}
.site-header.is-solid, .menu-open .site-header {
  background: rgba(10, 10, 12, .84); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; color: var(--text); }
.brand svg { width: 46px; height: auto; }
.brand-word { font-family: var(--head); font-weight: 600; font-size: .84rem; line-height: 1.04; letter-spacing: .08em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { position: relative; padding: 8px 14px; font-size: .97rem; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { color: var(--text); }
.nav a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent-hi); }
.nav .btn { margin-left: 10px; }
.menu-btn {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); cursor: pointer;
  position: relative;
}
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 20px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a { font-family: var(--head); font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 500; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.mobile-nav nav a[aria-current="page"] { color: var(--accent-hi); }
.mobile-nav-foot { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; color: var(--muted); }
.menu-open { overflow: hidden; }
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}

/* ---------- sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin-top: 16px; }
.section-head p { margin-top: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.row-between { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.row-between .section-head { margin-bottom: 0; }

/* ---------- home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 48px);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.08); animation: heroZoom 20s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 55% at 15% 85%, rgba(224, 50, 42, .22), transparent 70%),
    linear-gradient(180deg, rgba(10, 10, 12, .7) 0%, rgba(10, 10, 12, .2) 30%, rgba(10, 10, 12, .62) 62%, var(--bg) 100%);
}
.hero-content { max-width: 900px; padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(2.9rem, 7.4vw, 6rem); line-height: .98; letter-spacing: -.03em; margin: 20px 0 26px; }
.hero h1 em { font-style: normal; color: var(--accent-hi); }
.hero .lead { max-width: 640px; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.stat { padding: 26px 0 30px; }
.stat + .stat { padding-left: clamp(16px, 3vw, 32px); border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--head); font-weight: 600; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 10px; font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(72px, 11vw, 136px)) 0 clamp(56px, 7vw, 96px); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -240px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 50, 42, .16), transparent 65%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -.025em; margin: 18px 0 22px; max-width: 940px; }
.page-hero .lead { max-width: 700px; }
.page-hero .hero-actions { margin-top: 32px; }
.page-hero.has-bg { min-height: min(86vh, 820px); display: flex; align-items: flex-end; }
.page-hero.has-bg::after { display: none; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 12, .66) 0%, rgba(10, 10, 12, .28) 35%, rgba(10, 10, 12, .78) 75%, var(--bg) 100%),
              linear-gradient(90deg, rgba(10, 10, 12, .7) 0%, transparent 60%);
}

@media (max-width: 700px) {
  .page-hero.has-bg::before { background: linear-gradient(180deg, rgba(10, 10, 12, .5) 0%, rgba(10, 10, 12, .78) 45%, rgba(10, 10, 12, .9) 75%, var(--bg) 100%); }
  .page-hero .bg img { object-position: 22% 50%; }
}

/* ---------- brands marquee ---------- */
.brands { padding: 40px 0 44px; border-bottom: 1px solid var(--line); }
.brands-label { text-align: center; color: var(--dim); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--head); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: none; }
.marquee-group span { display: inline-flex; align-items: center; padding-right: 40px; }
/* brand logos: .jpg = logo on its own tile (rounded), .cut = transparent logo (a bit taller, it has no tile).
   max-height + max-width (not a fixed height) so wide tiles don't outweigh square ones */
.marquee .logo { display: block; width: auto; height: auto; max-height: 56px; max-width: 168px; border-radius: 8px; }
.marquee .logo.cut { max-height: 66px; border-radius: 0; }
@media (max-width: 700px) { .marquee-group span { padding-right: 28px; } .marquee .logo { max-height: 44px; max-width: 128px; border-radius: 6px; } .marquee .logo.cut { max-height: 52px; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- split media / text ---------- */
.split { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.split h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin: 16px 0 20px; }
.split p + p { margin-top: 16px; }
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-tall { aspect-ratio: 4 / 5; }
.media-wide { aspect-ratio: 16 / 10; }
.media-badge {
  position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; background: rgba(10, 10, 12, .72); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .92rem;
}
.media-badge b { font-family: var(--head); font-size: 1.5rem; line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; }
.chip svg { width: 17px; height: 17px; color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.social { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .97rem; transition: background-color .2s, border-color .2s, transform .25s var(--ease); }
.social svg { width: 18px; height: 18px; }
.social:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .36); transform: translateY(-2px); }
.icon-link { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: color .2s, border-color .2s, background-color .2s; }
.icon-link svg { width: 18px; height: 18px; }
.icon-link:hover { color: var(--text); border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  position: relative; padding: clamp(24px, 3vw, 32px); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-hi); margin-bottom: 24px; }
.card .icon svg { width: 25px; height: 25px; }
.card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; }
.card .num { font-family: var(--head); font-size: .85rem; color: var(--dim); letter-spacing: .14em; position: absolute; top: 28px; right: 28px; }

.work { display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.work:hover { border-color: var(--line-2); transform: translateY(-4px); }
.work .thumb { aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.work .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover .thumb img { transform: scale(1.05); }
.work .meta { padding: 18px 20px 22px; }
.tag { font-family: var(--head); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.work h3 { font-size: 1.22rem; margin-top: 6px; }
.work p { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.work .thumb.wide { aspect-ratio: 16 / 9; }
@media (max-width: 620px) {
  .grid-4.works { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .works .meta { padding: 12px 12px 14px; }
  .works h3 { font-size: 1rem; }
  .works p { font-size: .88rem; }
}

/* ---------- stores ---------- */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.stores a { display: block; border-radius: 10px; transition: transform .25s var(--ease), opacity .2s; }
.stores a:hover { transform: translateY(-2px); }
.stores img { height: 52px; width: auto; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; border: 1px solid var(--line);
  padding: clamp(40px, 7vw, 96px);
  background: radial-gradient(110% 140% at 0% 0%, rgba(224, 50, 42, .38), transparent 55%), linear-gradient(135deg, #1b1013, #0f0f13 60%);
}
.cta::after { content: ""; position: absolute; z-index: -1; right: -6%; bottom: -30%; width: 46%; aspect-ratio: 166 / 126; opacity: .06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 166 126'%3E%3Cpath fill='%23fff' d='M0 0H48C60 0 71 9 76.73 16.5L68.26 38.8C63 28 54 22 42 22H26V102.5H50.55L89.5 0H118L165.88 126H141.44L129.66 95H84.24L91.46 76H122.44L104.2 28L66.96 126H0Z'/%3E%3C/svg%3E") no-repeat center / contain; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 780px; line-height: 1.02; }
.cta p { max-width: 560px; margin-top: 20px; }
.cta .hero-actions { margin-top: 34px; }

/* ---------- team ---------- */
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .leaders { grid-template-columns: 1fr; } }
.leader { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.leader img { width: 150px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.leader h3 { font-size: 1.55rem; }
.leader .role { margin-top: 8px; font-family: var(--head); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); }
/* flex + centered wrap: any team size ends on a centered last row, never a stray left-aligned card */
.team { --cols: 6; --gap: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
@media (max-width: 1040px) { .team { --cols: 4; } }
@media (max-width: 700px) { .team { --cols: 3; --gap: 10px; } }
@media (max-width: 440px) { .team { --cols: 2; } }
.team > .member { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.member { border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.member .ph { aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.member img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.02); transition: filter .4s, transform .8s var(--ease); }
.member:hover img { filter: none; transform: scale(1.05); }
.member .mono { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--head); font-size: 2.6rem; font-weight: 500; color: var(--muted); background: radial-gradient(circle at 30% 20%, rgba(224, 50, 42, .25), transparent 60%), var(--surface-2); }
.member .nm { padding: 12px 16px 14px; font-family: var(--head); font-weight: 500; font-size: 1.02rem; }

/* ---------- facts list ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 40px; }
.facts div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--head); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 6px 0 0; font-size: 1.05rem; }
dl { margin: 0; }

/* ---------- timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }
.tl { padding: 26px 24px 28px; border-radius: 0 0 var(--radius) var(--radius); border: 1px solid var(--line); border-top: 2px solid var(--accent); background: var(--surface); }
.tl .yr { font-family: var(--head); font-size: 1.7rem; font-weight: 600; }
.tl p { margin-top: 10px; color: var(--muted); font-size: 1rem; }

/* ---------- brand wall ---------- */
/* logo cloud: every logo the same height, rows wrap and center (any number of brands) */
.brand-wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.brand-wall li { display: flex; }
.brand-wall .logo { display: block; width: auto; height: auto; max-height: 100px; max-width: 236px; border-radius: 12px; box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .8); transition: transform .35s var(--ease); }
.brand-wall .logo.cut { max-height: 116px; border-radius: 0; box-shadow: none; }
.brand-wall li:hover .logo { transform: translateY(-4px); }
@media (max-width: 560px) { .brand-wall { gap: 12px; } .brand-wall .logo { max-height: 66px; max-width: 150px; border-radius: 8px; } .brand-wall .logo.cut { max-height: 76px; } }

/* ---------- video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.video button { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .8s var(--ease); }
.video button:hover img { opacity: 1; transform: scale(1.02); }
.video .play { position: relative; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); box-shadow: 0 12px 48px rgba(224, 50, 42, .55); transition: transform .3s var(--ease); }
.video .play svg { width: 34px; height: 34px; margin-left: 4px; }
.video button:hover .play { transform: scale(1.08); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: .95rem; }
.video-cap svg { width: 18px; height: 18px; flex: none; color: var(--accent-hi); }

/* ---------- gallery + lightbox ---------- */
.gallery { columns: 3 300px; column-gap: 14px; }
.gallery a { position: relative; display: block; margin: 0 0 14px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); break-inside: avoid; }
.gallery img { width: 100%; transition: transform .8s var(--ease), opacity .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; font-family: var(--head); font-size: .95rem; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 64px 16px; background: rgba(5, 5, 7, .95); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1500px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 10px; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(20, 20, 24, .8); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .12); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; margin-top: -25px; }
.lb-next { right: 14px; top: 50%; margin-top: -25px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--muted); font-size: .95rem; padding: 0 70px; }
.lb-open { overflow: hidden; }

/* ---------- contact ---------- */
.contact-card { display: flex; flex-direction: column; }
.contact-card .grow { flex: 1; }
.contact-card .btn { margin-top: 26px; align-self: flex-start; }
.contact-card ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--muted); }
.contact-card li + li { margin-top: 6px; }
.contact-card a.inline { color: var(--text); border-bottom: 1px solid var(--line-2); }
.contact-card a.inline:hover { border-color: var(--accent-hi); }
.company { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
@media (max-width: 860px) { .company { grid-template-columns: 1fr; } }
.info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info dt { font-family: var(--head); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-top: 3px; }
.info dd { margin: 0; }
.info a { border-bottom: 1px solid var(--line-2); }
.info a:hover { border-color: var(--accent-hi); }
@media (max-width: 520px) { .info > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- long text (privacy, careers) ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin: 2.2em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--text-2); line-height: 1.8; }
.prose p + p { margin-top: 1em; }
.prose ul { margin: 1em 0; padding-left: 1.2em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--accent-hi); }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.prose a:hover { color: var(--accent-hi); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3.5em 0; }
.prose .muted { color: var(--dim); }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.4fr; gap: 40px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand p { margin-top: 18px; max-width: 330px; color: var(--muted); font-size: .97rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.footer-col h2 { font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: var(--muted); font-size: .97rem; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-col address { color: var(--muted); font-size: .97rem; line-height: 1.75; }
.footer-col address strong { color: var(--text); font-weight: 500; }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--dim); font-size: .9rem; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- reveal on scroll (content stays visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-group[aria-hidden] { display: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
}
