/*
  distributor-okean: styles for an FMCG distributor one-pager.
  Mobile first (works at 360px), edge-to-edge sections, one gutter that grows with the screen.
  Colours come from the client's logo: blue #0f4fa0, yellow #f2b23f, sky #30a0d0.
  No CSS animation hides content: reveals only run when JS is on (html.js), see js-flag.js.
*/

:root {
  --blue: #0f4fa0;
  --blue-deep: #0a2d66;
  --navy: #071a3d;
  --navy-deep: #04112a;
  --sky: #30a0d0;
  --yellow: #f2b23f;
  --yellow-hot: #ffcc55;
  --paper: #f3f6fb;
  --paper-2: #e8eef8;
  --ink: #0b1630;
  --ink-soft: #3a4763;
  --line: rgba(11, 22, 48, 0.1);
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(16px, 4vw);
  --radius: 22px;
  --shadow: 0 18px 50px rgba(7, 26, 61, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body {
  margin: 0; font: 400 1rem/1.6 var(--sans); color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }

.wide { padding-left: var(--gutter); padding-right: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--yellow); color: var(--ink); font-weight: 700; border-radius: 10px; }
.skip-link:focus { top: 16px; }

/* ---------- Type ---------- */

.eyebrow { font: 700 0.78rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow-light { color: var(--yellow); }
.eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.section-title { font: 700 clamp(1.65rem, 4.2vw, 3rem)/1.1 var(--display); letter-spacing: -0.02em; text-wrap: balance; max-width: 18ch; }
.section-text { margin-top: 18px; max-width: 56ch; font-size: 1.05rem; color: var(--ink-soft); }
.section-head { margin-bottom: clamp(28px, 5vw, 56px); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; border: 0;
  font: 700 0.98rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; min-height: 44px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 30px rgba(242, 178, 63, 0.35); }
.btn-yellow:hover { background: var(--yellow-hot); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px rgba(15, 79, 160, 0.3); }
.btn-blue:hover { background: #1560c2; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, 0.08); }

/* ---------- Nav ---------- */

.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 0.3s, box-shadow 0.3s; }
.nav.is-scrolled { background: rgba(7, 26, 61, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.nav-inner { display: flex; align-items: center; gap: 20px; padding: 12px var(--gutter); }
.nav-logo { background: #fff; border-radius: 14px; padding: 7px 12px; flex: none; }
.nav-logo img { width: 104px; height: auto; }
.nav-links { display: none; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 600; opacity: 0.88; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: none; margin-left: auto; }
.nav-burger {
  margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.nav-burger .icon { width: 26px; height: 26px; }
.burger-close, .menu-open .burger-open { display: none; }
.menu-open .burger-close { display: block; }
.menu-open .nav { background: var(--navy); }
.menu-open .nav-links {
  display: flex; flex-direction: column; gap: 6px; position: fixed; left: 0; right: 0; top: 70px; bottom: 0; padding: 20px var(--gutter) 40px;
  background: var(--navy); font-size: 1.35rem; font-family: var(--display); font-weight: 500;
}
.menu-open .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.menu-open { overflow: hidden; }
.nav-cta-mobile { margin-top: 24px; align-self: flex-start; font-family: var(--sans); }
.menu-open .nav-cta-mobile { border-bottom: 0; }

@media (min-width: 1040px) {
  .nav-links { display: flex; gap: 28px; margin-left: 12px; }
  .nav-cta, .nav-cta-mobile.btn { display: inline-flex; }
  .nav-cta-mobile { display: none !important; }
  .nav-burger { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: clip; color: #fff;
  background: radial-gradient(120% 90% at 85% 10%, #113f8f 0%, var(--navy) 48%, var(--navy-deep) 100%);
  padding-top: 104px;
}
.hero-arc {
  position: absolute; z-index: -1; left: -30vw; bottom: -46vw; width: 110vw; height: 110vw; border-radius: 50%;
  background: radial-gradient(closest-side, transparent 78%, rgba(242, 178, 63, 0.9) 78.6%, rgba(242, 178, 63, 0.9) 82%, transparent 82.6%);
  opacity: 0.55; pointer-events: none;
}
.hero-grid {
  position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 30%, #000 20%, transparent 100%); mask-image: radial-gradient(70% 60% at 60% 30%, #000 20%, transparent 100%);
}
.hero-inner { display: grid; gap: 24px; padding-bottom: 24px; }
.hero-copy { padding-top: 16px; }
.hero-title { font: 800 clamp(2.35rem, 7.4vw, 5.6rem)/1.02 var(--display); letter-spacing: -0.03em; }
.hero-line { display: block; }
.hero-line.is-accent { color: var(--yellow); }
.hero-text { margin-top: 22px; max-width: 46ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-stage { position: relative; aspect-ratio: 1 / 0.86; max-width: 560px; width: 100%; margin: 8px auto 0; }
.stage-glow {
  position: absolute; inset: 10% 5% 0; border-radius: 50%; filter: blur(40px); z-index: 0;
  background: radial-gradient(closest-side, rgba(48, 160, 208, 0.55), rgba(242, 178, 63, 0.18) 55%, transparent 75%);
}
.float { position: absolute; will-change: transform; transition: transform 0.6s var(--ease); }
.float-img { width: 100%; height: auto; filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.5)); animation: bob 6s ease-in-out infinite; }
/* Positions as % of the stage (aspect 1/0.86). Tubes are tall and narrow, bags are wide. */
.float-a { left: 37%; top: 4%; width: 26%; z-index: 5; }
.float-b { left: 12%; top: 22%; width: 25%; z-index: 6; transform: rotate(-10deg); }
.float-b .float-img { animation-duration: 7.2s; animation-delay: -1.6s; }
.float-c { left: 61%; top: 20%; width: 25%; z-index: 6; transform: rotate(10deg); }
.float-c .float-img { animation-duration: 6.6s; animation-delay: -3.1s; }
.float-d { left: -6%; top: 4%; width: 40%; z-index: 2; transform: rotate(-12deg); }
.float-d .float-img { animation-duration: 8s; animation-delay: -0.7s; }
.float-e { left: 84%; top: -2%; width: 13%; z-index: 3; transform: rotate(14deg); }
.float-e .float-img { animation-duration: 5.4s; animation-delay: -2.2s; }
.float-f { left: 64%; top: 44%; width: 38%; z-index: 1; transform: rotate(12deg); }
.float-f .float-img { animation-duration: 7.6s; animation-delay: -4s; }
.float-g { left: 2%; top: 56%; width: 26%; z-index: 1; transform: rotate(-6deg); opacity: 0.92; }
.float-g .float-img { animation-duration: 8.4s; animation-delay: -2.9s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float-img { animation: none; } }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 16px; }
.stat { display: grid; gap: 2px; }
.stat-num { font: 700 clamp(1.7rem, 3.4vw, 2.6rem)/1 var(--display); color: var(--yellow); letter-spacing: -0.02em; }
.stat-label { font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); }

@media (min-width: 760px) {
  .hero { padding-top: 130px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; }
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; padding-bottom: 0; flex: 1; }
  .hero-stage { max-width: none; margin: 0; aspect-ratio: 1 / 0.9; }
  .float-img { filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55)); }
  .stats { margin-top: 36px; }
}

/* ---------- Marquee ---------- */

.marquee-band { background: #fff; padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.marquee-title { text-align: center; font: 700 0.78rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; padding: 0 var(--gutter); }
.marquee { display: flex; overflow: hidden; gap: 64px; -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; align-items: center; gap: 64px; flex: none; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; }
.marquee-track img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: 0.72; transition: filter 0.3s, opacity 0.3s; }
.marquee-track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-100% - 64px)); } }
@media (prefers-reduced-motion: reduce) { .marquee { flex-wrap: wrap; justify-content: center; mask-image: none; -webkit-mask-image: none; padding: 0 var(--gutter); } .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 28px 40px; } .marquee-track[aria-hidden] { display: none; } }

/* ---------- What we do ---------- */

.what { background: var(--paper); padding: clamp(64px, 9vw, 120px) 0; }
.what-list { display: grid; gap: 16px; counter-reset: what; }
.what-card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 28px 26px 30px; box-shadow: 0 1px 0 var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.what-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.what-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--blue); color: #fff; margin-bottom: 22px; }
.what-icon .icon { width: 26px; height: 26px; }
.what-num { position: absolute; right: 22px; top: 18px; font: 700 2.4rem/1 var(--display); color: var(--paper-2); letter-spacing: -0.04em; }
.what-card h3 { font: 600 1.15rem/1.25 var(--display); margin-bottom: 10px; }
.what-card p { color: var(--ink-soft); font-size: 0.98rem; }
@media (min-width: 760px) { .what-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .what-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

/* ---------- Products strip ---------- */

.products { background: var(--navy); color: #fff; padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); overflow: clip; }
.products .section-text { color: rgba(255, 255, 255, 0.78); }
.strip-nav { display: none; gap: 10px; flex: none; }
.strip-btn { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.4); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color 0.25s, border-color 0.25s; }
.strip-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.strip-btn .icon { width: 22px; height: 22px; }
[data-strip-prev] .icon { transform: scaleX(-1); }
.strip {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 28px;
  scroll-padding-left: var(--gutter); scrollbar-width: none; cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip-card { flex: none; width: clamp(250px, 74vw, 380px); scroll-snap-align: start; }
.strip-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--blue-deep); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }
.strip-card figcaption { display: grid; gap: 6px; padding: 18px 6px 0; }
.strip-card strong { font: 600 1.05rem/1.3 var(--display); }
.strip-card figcaption span:last-child { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }
.tag { justify-self: start; font: 800 0.7rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: 7px 10px; border-radius: 999px; }
@media (min-width: 760px) { .strip-nav { display: flex; } .strip { gap: 24px; } }

/* ---------- Brands ---------- */

.brands { background: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.own-list { display: grid; gap: 16px; margin-bottom: clamp(48px, 7vw, 88px); }
.own-card { background: var(--paper); border-radius: var(--radius); padding: 26px 24px 28px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.own-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.own-logo { height: 84px; display: grid; place-items: center; background: #fff; border-radius: 16px; padding: 12px; margin-bottom: 20px; }
.own-logo img { max-height: 60px; width: auto; max-width: 100%; object-fit: contain; }
.own-card h3 { font: 600 1.15rem/1.25 var(--display); margin-bottom: 8px; }
.own-card p { color: var(--ink-soft); font-size: 0.96rem; }
.partners-title, .regions-title { font: 700 0.78rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.partner-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.partner-tile { display: grid; place-items: center; aspect-ratio: 5 / 3; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; transition: box-shadow 0.3s var(--ease), border-color 0.3s; }
.partner-tile:hover { border-color: transparent; box-shadow: var(--shadow); }
.partner-tile img { max-height: 46px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.3s, opacity 0.3s; }
.partner-tile:hover img { filter: none; opacity: 1; }
@media (min-width: 760px) { .own-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .own-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .partner-wall { gap: 14px; } }

/* ---------- Story ---------- */

.story { background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); padding: clamp(64px, 9vw, 120px) 0; }
.story-quote { position: relative; max-width: 60ch; padding-left: 22px; border-left: 4px solid var(--yellow); margin-bottom: clamp(40px, 6vw, 72px); }
.story-quote p { font: 500 clamp(1.1rem, 1.8vw, 1.4rem)/1.45 var(--display); color: var(--blue-deep); }
.timeline { display: grid; gap: 22px; position: relative; margin-bottom: clamp(48px, 7vw, 88px); }
.tl-item { position: relative; padding-left: 22px; border-left: 2px solid var(--paper-2); }
.tl-item::before { content: ""; position: absolute; left: -7px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px #fff; }
.tl-year { display: block; font: 800 clamp(2rem, 3.6vw, 2.8rem)/1 var(--display); color: var(--blue); letter-spacing: -0.03em; margin-bottom: 10px; }
.tl-item p { color: var(--ink-soft); font-size: 0.98rem; max-width: 34ch; }
.regions { display: grid; gap: 14px; }
.region a { display: grid; gap: 14px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.region a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.region-country { font: 700 0.78rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.region-logo { height: 64px; display: grid; place-items: start; }
.region-logo img { max-height: 56px; width: auto; max-width: 70%; object-fit: contain; }
.region-company { display: flex; align-items: center; gap: 8px; font: 600 1rem/1.2 var(--display); color: var(--blue); }
.region-company .icon { width: 1em; height: 1em; }
@media (min-width: 760px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .tl-item { padding-left: 0; padding-top: 26px; border-left: 0; border-top: 2px solid var(--paper-2); }
  .tl-item::before { left: 0; top: -7px; }
  .regions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Partner form ---------- */

.partner { background: var(--yellow); padding: clamp(64px, 9vw, 120px) 0; }
.partner .eyebrow { color: var(--blue-deep); }
.partner .section-text { color: rgba(11, 22, 48, 0.78); }
.partner-inner { display: grid; gap: 36px; }
.partner-points { display: grid; gap: 10px; margin-top: 28px; font-weight: 600; }
.partner-points li { display: flex; align-items: center; gap: 10px; }
.partner-points .icon { color: var(--blue); }
.partner-form { background: #fff; border-radius: 28px; padding: 26px 22px; box-shadow: 0 30px 70px rgba(120, 80, 0, 0.18); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; }
.field label { font-weight: 700; font-size: 0.9rem; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #cfd8ea; border-radius: 12px; font: inherit; color: var(--ink); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(15, 79, 160, 0.15); }
.partner-form .btn { justify-self: start; margin-top: 4px; }
.demo-note { font-size: 0.9rem; color: var(--blue-deep); background: var(--paper); border-radius: 12px; padding: 12px 14px; }
@media (min-width: 760px) { .field-row { grid-template-columns: 1fr 1fr; } .partner-form { padding: 34px 32px; } }
@media (min-width: 1040px) { .partner-inner { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }

/* ---------- Contact ---------- */

.contact { background: var(--navy); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list > li > .icon { width: 28px; height: 28px; color: var(--yellow); margin-top: 2px; }
.contact-list li div { display: grid; gap: 4px; }
.c-label { font: 700 0.74rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.c-value { font: 600 1.08rem/1.4 var(--display); color: #fff; text-decoration: none; }
a.c-value:hover { color: var(--yellow); }
.c-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--yellow); font-weight: 700; text-decoration: none; }
.c-link .icon { width: 1em; height: 1em; }
.socials { display: flex; gap: 8px; margin-top: 4px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); color: #fff; transition: background-color 0.25s, color 0.25s; }
.socials a:hover { background: var(--yellow); color: var(--ink); }
.socials .icon { width: 22px; height: 22px; }
@media (min-width: 760px) { .contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .contact-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */

.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); padding: 48px 0 32px; font-size: 0.92rem; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand { display: grid; gap: 14px; justify-items: start; }
.footer-brand > img:first-child { background: #fff; border-radius: 14px; padding: 8px 12px; width: 150px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--yellow); }
.footer-copy, .footer-demo { font-size: 0.85rem; }
.footer-demo { color: rgba(255, 255, 255, 0.45); max-width: 70ch; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-copy, .footer-demo { grid-column: 1 / -1; } }

/* ---------- Placeholders, reveal, 404 ---------- */

.ph { display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--paper-2) 0 12px, var(--paper) 12px 24px); color: var(--ink-soft); border-radius: var(--radius); min-height: 120px; }
.ph-label { font-size: 0.85rem; font-weight: 700; padding: 8px; text-align: center; }
.float .ph { aspect-ratio: 1 / 2; border-radius: 40px; }
.strip-img.ph { aspect-ratio: 4 / 5; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.page-404 { background: var(--navy); color: #fff; min-height: 100svh; display: grid; place-items: center; padding: 40px var(--gutter); }
.not-found { max-width: 520px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.not-found h1 { font: 800 clamp(2rem, 6vw, 3.4rem)/1.05 var(--display); letter-spacing: -0.03em; }
.not-found p { color: rgba(255, 255, 255, 0.78); }
