/* ==========================================================
   arsalanahmed.online
   Theme: black & grey, poster typography (Anton),
   one serif italic accent (Instrument Serif)
   ========================================================== */

:root {
  --black: #0b0b0b;
  --coal: #121212;
  --panel: #171717;
  --line: #2a2a2a;
  --grey: #8c8c8c;
  --silver: #bdbdbd;
  --white: #efefec;

  --display: 'Anton', 'Impact', sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  --pad: max(5vw, 18px);
  --ease: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 16px/1.6 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--white); color: var(--black); }

/* scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 8px; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--silver); }

/* ---------- grain + cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--white); mix-blend-mode: difference; opacity: 0;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease);
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 90px; height: 90px; margin: -45px 0 0 -45px; mix-blend-mode: normal; }
.cursor-label { font-size: 12px; font-weight: 700; color: var(--black); opacity: 0; white-space: nowrap; transition: opacity .2s; }
.cursor.is-big .cursor-label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--coal);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--pad);
}
.loader-words { display: flex; gap: 2vw; flex-wrap: wrap; font: clamp(40px, 9vw, 150px)/.9 var(--display); text-transform: uppercase; }
.loader-words span { color: #2c2c2c; }
.loader-count { position: absolute; top: var(--pad); right: var(--pad); font: clamp(28px, 4vw, 56px)/1 var(--display); color: var(--grey); }
.loader-bar { height: 2px; background: #262626; margin-top: 28px; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--white); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px var(--pad);
  transition: transform .5s var(--ease), background .4s;
}
.nav.is-scrolled { background: rgba(11, 11, 11, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-110%); }
.nav-logo { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 13px; color: var(--grey); }
.logo-img { height: 26px; width: auto; }
.logo-text { padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.2; }
@media (max-width: 520px) { .logo-text { display: none; } }
.logo-mark {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; font: 16px/1 var(--display); letter-spacing: .04em;
}
.nav-links { display: flex; gap: 34px; }
.nav-links a { position: relative; color: var(--grey); font-weight: 600; font-size: 15px; transition: color .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px; border-radius: 50%; background: var(--white); transform: translateX(-50%); }
.nav-cta { padding: 12px 22px; border: 1px solid var(--line); border-radius: 50px; font-weight: 600; font-size: 14px; transition: background .3s, color .3s; }
.nav-cta:hover { background: var(--white); color: var(--black); }
.nav-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; position: relative; z-index: 2; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-burger span:first-child { top: 18px; } .nav-burger span:last-child { top: 26px; }
.menu-open .nav-burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .nav-burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 79; background: var(--coal);
  display: flex; flex-direction: column; justify-content: center; padding: var(--pad);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu-links a { display: block; overflow: hidden; font: clamp(52px, 14vw, 110px)/1 var(--display); text-transform: uppercase; }
.menu-links a span { display: block; transform: translateY(100%); transition: transform .8s var(--ease); }
.menu-open .menu-links a span { transform: none; }
.menu-links a:nth-child(2) span { transition-delay: .05s; } .menu-links a:nth-child(3) span { transition-delay: .1s; } .menu-links a:nth-child(4) span { transition-delay: .15s; }
.menu-mail { margin-top: 40px; color: var(--grey); }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
}

/* ---------- buttons + links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px;
  padding: 0 30px; border-radius: 60px; font: 600 15px/1 var(--body); cursor: pointer; border: 1px solid transparent;
  transition: background .3s, color .3s, border-color .3s;
}
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--silver); }
.btn-ghost { border-color: #444; color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.link-line { position: relative; display: inline-block; }
.link-line::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ---------- shared section bits ---------- */
section { position: relative; }
.section-label { color: var(--grey); font-size: 14px; font-weight: 600; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--grey); }
.section-title { font: clamp(40px, 6.4vw, 96px)/.98 var(--display); text-transform: uppercase; text-wrap: balance; }
.section-title .serif { display: inline-block; font-size: 1.02em; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  height: 100svh; min-height: 640px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: end;
  padding: 0 var(--pad) 48px;
  background: radial-gradient(ellipse 60% 70% at 50% 60%, #1f1f1f 0%, var(--black) 70%);
}
.hero-name {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center;
  font: clamp(90px, min(21vw, 36vh), 360px)/.82 var(--display); text-transform: uppercase; letter-spacing: -.01em;
  pointer-events: none; padding-bottom: 8vh;
}
.hero-name .hn-line { display: block; color: #1d1d1d; }
.hero-name .hn-2 { color: #242424; }
.hero-name--outline { z-index: 2; }
.hero-name--outline .hn-line { color: transparent; -webkit-text-stroke: 1px rgba(239, 239, 236, .22); }

.hero-photo {
  position: absolute; left: 50%; bottom: 0; z-index: 1;
  width: min(60vh, 640px); transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 70%, transparent 100%);
}
.hero-photo img { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }

.hero-left, .hero-right { position: relative; z-index: 3; }
.hero-role { font-weight: 600; color: var(--silver); margin-bottom: 14px; font-size: 15px; }
.hero-title { font: clamp(34px, 4.4vw, 68px)/1 var(--display); text-transform: uppercase; }
.hero-title .ht-word { display: block; }
.hero-title .ht-word:nth-child(even) { font-family: var(--serif); font-style: italic; text-transform: none; color: var(--silver); font-size: 1.05em; line-height: .95; }
.hero-right { justify-self: end; max-width: 360px; }
.hero-intro { color: var(--silver); margin-bottom: 26px; font-size: 16px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--grey); }
.hero-scroll i { width: 1px; height: 38px; background: linear-gradient(var(--white), transparent); animation: drop 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 900px) {
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; align-items: stretch; padding: 96px var(--pad) 64px; gap: 0; }
  .hero-name { inset: 86px 0 auto 0; padding: 0; justify-content: flex-start; font-size: 25vw; }
  .hero-photo { position: relative; left: auto; bottom: auto; transform: none; width: 100%; max-width: 480px; margin: 18vw auto 0; }
  .hero-left { margin-top: -6vw; }
  .hero-right { justify-self: start; margin-top: 22px; }
  .hero-scroll { display: none; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); color: var(--black); padding: 20px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; align-items: center; font: clamp(28px, 4vw, 56px)/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.marquee-track b { font-size: .5em; font-weight: 400; }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(100px, 16vw, 220px) var(--pad); max-width: 1300px; margin: 0 auto; }
.manifesto-label { color: var(--grey); margin-bottom: 28px; font-weight: 600; }
.manifesto-text { font: 500 clamp(26px, 3.6vw, 54px)/1.2 var(--body); letter-spacing: -.02em; }
.manifesto-text .word { color: #333; }

/* ==========================================================
   CHAPTERS (horizontal)
   ========================================================== */
.chapters-head { padding: 0 var(--pad) 60px; }
.chapters-pin { overflow: hidden; }
.chapters-track { display: flex; width: max-content; }
.chapter {
  width: 100vw; height: 100svh; min-height: 620px; flex: none;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 5vw;
  padding: 0 var(--pad); border-left: 1px solid var(--line);
}
.chapter:nth-child(even) { background: var(--coal); }
.chapter-word { font: clamp(90px, 15vw, 260px)/.85 var(--display); text-transform: uppercase; color: var(--white); }
.chapter-word span { display: block; font-family: var(--serif); font-style: italic; text-transform: none; color: var(--grey); font-size: .55em; line-height: 1; margin-top: .1em; }
.chapter-body { max-width: 480px; }
.chapter-art { width: 100%; max-width: 300px; height: auto; margin-bottom: 26px; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chapter-body h3 { font: clamp(26px, 2.6vw, 38px)/1.05 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.chapter-body p { color: var(--silver); margin-bottom: 22px; }
.chapter-body li { padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; display: flex; gap: 12px; }
.chapter-body li::before { content: '→'; color: var(--grey); }

@media (max-width: 900px) {
  .chapters-track { flex-direction: column; width: 100%; }
  .chapter { width: 100%; height: auto; min-height: 0; grid-template-columns: 1fr; padding: 70px var(--pad); border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- routes ---------- */
.routes { padding: clamp(100px, 12vw, 180px) var(--pad); }
.routes-head { margin-bottom: 50px; }
.routes-map { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--coal); }
.routes-map svg { width: 100%; height: auto; display: block; }
.route { stroke: var(--white); stroke-width: 1.2; opacity: .45; }
.ship-dot { fill: var(--white); }
.pin circle { fill: var(--white); }
.pin-origin circle { fill: var(--white); }
.pin .pulse { fill: none; stroke: var(--white); stroke-width: 1.5; transform-origin: 720px 270px; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.map-label { fill: var(--grey); font: 500 15px var(--body); }
.map-label.strong { fill: var(--white); font-weight: 700; }
@media (max-width: 600px) { .map-label { font-size: 24px; } .routes-map { border-radius: 12px; } }

/* ---------- process ---------- */
.process { padding: 0 var(--pad) clamp(100px, 12vw, 180px); }
.process-head { margin-bottom: 60px; }
.process-line { height: 1px; background: var(--line); margin-bottom: 40px; }
.process-line i { display: block; height: 100%; width: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }
.process-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.process-list li { counter-increment: step; }
.process-list li::before { content: counter(step, decimal-leading-zero); display: block; font: 15px var(--display); color: var(--grey); margin-bottom: 18px; }
.process-list h3 { font: 24px/1.05 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.process-list p { color: var(--silver); font-size: 15px; }
@media (max-width: 900px) { .process-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

/* ---------- compare ---------- */
.compare { padding: 0 var(--pad) clamp(100px, 12vw, 180px); }
.compare-head { margin-bottom: 50px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border-radius: 20px; padding: clamp(28px, 4vw, 52px); }
.compare-col h3 { font: clamp(28px, 3vw, 44px)/1 var(--display); text-transform: uppercase; margin-bottom: 26px; }
.compare-col li { padding: 16px 0; border-top: 1px solid; font-weight: 600; }
.compare-old { background: var(--panel); color: var(--grey); }
.compare-old li { border-color: #262626; text-decoration: line-through; text-decoration-color: #555; }
.compare-new { background: var(--white); color: var(--black); }
.compare-new li { border-color: #cfcfcb; }
@media (max-width: 760px) { .compare-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   INNER PAGES
   ========================================================== */
.page-hero { padding: clamp(150px, 20vw, 240px) var(--pad) clamp(60px, 8vw, 110px); max-width: 1400px; }
.page-title { font: clamp(46px, 7.4vw, 120px)/.95 var(--display); text-transform: uppercase; text-wrap: balance; }
.page-intro { color: var(--silver); max-width: 560px; margin-top: 30px; font-size: 17px; }
.nf .btn { margin-top: 36px; }

/* services */
.svc-list { padding: 0 var(--pad) 60px; }
.svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 5vw; padding: 70px 0; border-top: 1px solid var(--line); }
.svc-word { font: clamp(70px, 11vw, 180px)/.85 var(--display); text-transform: uppercase; color: #262626; position: sticky; top: 120px; align-self: start; transition: color .5s; }
.svc.is-active .svc-word { color: var(--white); }
.svc-main h2 { font: clamp(32px, 3.6vw, 54px)/1 var(--display); text-transform: uppercase; margin-bottom: 18px; }
.svc-lead { color: var(--silver); font-size: 18px; max-width: 620px; margin-bottom: 34px; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.svc-cols li { padding: 14px 0; border-top: 1px solid var(--line); font-weight: 600; }
@media (max-width: 800px) { .svc, .svc-cols { grid-template-columns: 1fr; } .svc-word { position: static; color: var(--white); } }

.markets { padding: 60px var(--pad) clamp(100px, 12vw, 160px); }
.markets-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.market { border: 1px solid var(--line); border-radius: 18px; padding: 40px 24px; min-height: 180px; display: flex; align-items: flex-end; background: var(--coal); transition: background .4s, color .4s; }
.market:hover { background: var(--white); color: var(--black); }
.market-name { font: clamp(24px, 2.4vw, 36px)/1 var(--display); text-transform: uppercase; }
.markets-note { margin-top: 28px; color: var(--grey); }
@media (max-width: 800px) { .markets-grid { grid-template-columns: 1fr 1fr; } }

/* about */
.about-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 5vw; align-items: center; padding: clamp(140px, 16vw, 200px) var(--pad) 100px; }
.about-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--coal); }
.about-photo-inner { width: 100%; height: 118%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.about-text .page-title { font-size: clamp(42px, 5.6vw, 92px); }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }

.story { padding: 0 var(--pad) 60px; }
.story-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 5vw; padding: 56px 0; border-top: 1px solid var(--line); }
.story-row h2 { font: clamp(28px, 3vw, 44px)/1 var(--display); text-transform: uppercase; }
.story-row p { color: var(--silver); font-size: clamp(17px, 1.5vw, 21px); max-width: 680px; }
@media (max-width: 760px) { .story-row { grid-template-columns: 1fr; gap: 16px; } }

.values { padding: 60px var(--pad) clamp(100px, 12vw, 160px); }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.value { background: var(--coal); border: 1px solid var(--line); border-radius: 20px; padding: 36px 28px; }
.value h3 { font: 28px/1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.value p { color: var(--silver); }
@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; padding: clamp(140px, 16vw, 200px) var(--pad) clamp(100px, 12vw, 160px); }
.contact .page-title { font-size: clamp(44px, 5.6vw, 92px); }
.contact-info { display: grid; gap: 26px; margin-top: 50px; }
.contact-info h4, .footer-grid h4 { font-size: 13px; color: var(--grey); font-weight: 600; margin-bottom: 8px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; align-content: start; background: var(--coal); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3.4vw, 44px); }
.field { display: grid; gap: 8px; }
.field-full, .chips, .contact-form .btn, .form-status { grid-column: 1 / -1; }
.field label, .chips legend { font-size: 14px; font-weight: 600; color: var(--silver); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--black); color: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font: 16px var(--body); transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--white); outline: none; }
.field textarea { resize: vertical; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { margin-bottom: 10px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 40px; font-size: 14px; font-weight: 600; transition: all .3s; }
.chips input:checked + span { background: var(--white); color: var(--black); border-color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 24px; color: var(--silver); font-weight: 600; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-form { grid-template-columns: 1fr; } }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--coal); border-top: 1px solid var(--line); padding: clamp(80px, 10vw, 140px) var(--pad) 28px; overflow: hidden; }
.footer-kicker { color: var(--grey); font-weight: 600; margin-bottom: 18px; }
.footer-big { display: inline-block; font: clamp(48px, 9vw, 150px)/.9 var(--display); text-transform: uppercase; }
.footer-big span { display: block; transition: transform .6s var(--ease); }
.footer-big:hover span:last-child { transform: translateX(3vw); }
.footer-big .serif { font-size: .92em; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 90px 0 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.footer-grid a, .footer-grid p { display: block; color: var(--white); margin-bottom: 6px; font-weight: 500; overflow-wrap: anywhere; }
.footer-grid .link-line { display: table; }
.footer-name { font: 15.6vw/.8 var(--display); color: #1c1c1c; white-space: nowrap; text-align: center; margin: 0 calc(var(--pad) * -1); user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: var(--grey); font-size: 14px; }
.to-top { background: none; border: 0; color: var(--white); font: 600 14px var(--body); cursor: pointer; min-height: 44px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loader { display: none; }
}
