/* =========================================================
   Badr Alshuaibi — personal site
   Palette: neutral paper + ink, with Snow accents (navy / ice)
   ========================================================= */
:root {
  --ink: #0d1424;
  --ink-2: #141d31;
  --ink-3: #1c2740;
  --paper: #f4f3ef;
  --paper-2: #eae8e2;
  --white: #fff;
  --muted: #5d6577;
  --line: rgba(13, 20, 36, .12);
  --line-light: rgba(255, 255, 255, .14);
  --navy: #384d82;
  --slate: #6a7aa1;
  --ice: #44c5e2;
  --ice-soft: #e3f6fb;

  --ff: "Almarai", sans-serif;
  --ff-serif: "Instrument Serif", Georgia, serif;

  --fs-body: clamp(1rem, .95rem + .2vw, 1.125rem);
  --fs-small: clamp(.8125rem, .78rem + .12vw, .9375rem);
  --fs-intro: clamp(1.0625rem, .98rem + .4vw, 1.3125rem);
  --fs-h4: clamp(1.125rem, 1.05rem + .35vw, 1.5rem);
  --fs-h3: clamp(1.3125rem, 1.1rem + .8vw, 2rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  --fs-hero: clamp(2.5rem, 1.2rem + 5vw, 5.25rem);

  --pad: clamp(20px, 4vw, 56px);
  --section: clamp(64px, 6vw + 30px, 140px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[dir="ltr"] body { line-height: 1.7; }
body.is-locked { overflow: hidden; }
img { 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; font-weight: 700; line-height: 1.3; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ice); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); position: relative; }
.skip-link { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.ic-out { transform: rotate(45deg); }
html[dir="ltr"] .ic-out { transform: rotate(-45deg); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-small); font-weight: 700; letter-spacing: .02em;
  color: var(--navy);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero .eyebrow::before { display: none; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 4px rgba(68,197,226,.2); }

.sec-head { position: relative; margin-bottom: clamp(40px, 5vw, 72px); max-width: 760px; }
.sec-head h2 { font-size: var(--fs-h2); margin-top: 14px; font-weight: 800; }
.sec-num {
  display: block; font-family: var(--ff-serif); font-style: italic; font-size: 1.1rem;
  color: var(--slate); margin-bottom: 4px;
}
.sec-head--light .eyebrow { color: var(--ice); }
.sec-head--light h2 { color: #fff; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sec-head__aside { max-width: 380px; color: var(--muted); font-size: var(--fs-intro); line-height: 1.8; }

/* split words */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --hover: var(--navy);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: clamp(.875rem, .85rem + .1vw, 1rem);
  background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
  min-height: 48px;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover);
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease);
}
html[dir="ltr"] .btn::before { transform-origin: left; }
.btn:hover::before { transform: scaleX(1); }
.btn i { font-size: .85em; transition: transform .45s var(--ease); }
.btn:hover i.fa-arrow-left { transform: translateX(-5px); }
html[dir="ltr"] .btn:hover i.fa-arrow-right { transform: translateX(5px); }
.btn:hover i.ic-out { transform: rotate(45deg) translateX(-4px); }
html[dir="ltr"] .btn:hover i.ic-out { transform: rotate(-45deg) translateX(4px); }
.btn--ink { --bg: var(--ink); --hover: var(--navy); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --hover: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--ice { --bg: var(--ice); --fg: var(--ink); --hover: #fff; }
.btn--sm { padding: 10px 18px; min-height: 42px; font-size: .9rem; }
.btn--lg { padding: 18px 32px; }
.btn--block { width: 100%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 500; background: var(--ink); color: #fff; clip-path: inset(0 0 0 0);
  display: grid; place-items: center;
}
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__mark { width: 84px; height: 84px; fill: none; stroke: var(--ice); stroke-width: 2; stroke-linecap: round; }
.preloader__mark .pl-ring { stroke: rgba(255,255,255,.15); stroke-width: 1.5; }
.preloader__name { overflow: hidden; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); font-weight: 800; }
.preloader__name span { display: block; }
.preloader__bar { width: 160px; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--ice); transform: scaleX(0); transform-origin: right; }
html[dir="ltr"] .preloader__bar i { transform-origin: left; }
.no-js .preloader, .preloader.is-done { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s;
}
.header.is-scrolled { background: rgba(244, 243, 239, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 1.35rem; position: relative; overflow: hidden;
}
.brand__mark::after { content: ""; position: absolute; inset-inline-end: -6px; bottom: -6px; width: 18px; height: 18px; background: var(--ice); transform: rotate(45deg); }
.brand__text { display: grid; line-height: 1.2; }
.brand__text strong { font-size: 1.05rem; font-weight: 800; }
.brand__text small { font-family: var(--ff-serif); font-style: italic; font-size: .95rem; color: var(--slate); }
.brand--light .brand__mark { background: #fff; color: var(--ink); }
.brand--light .brand__text strong { color: #fff; }

.nav ul { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.nav a {
  position: relative; font-weight: 700; font-size: clamp(.9rem, .85rem + .15vw, 1.0625rem); padding: 8px 0; color: var(--ink);
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--ice);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
html[dir="ltr"] .nav a::after { transform-origin: left; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--navy); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.lang {
  font-family: var(--ff-serif); font-size: 1.1rem; font-style: italic; width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line);
  transition: background .3s, color .3s;
}
html[dir="ltr"] .lang { font-family: var(--ff); font-style: normal; font-weight: 700; font-size: 1rem; }
.lang:hover { background: var(--ink); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; inset-inline-start: 13px; height: 2px; background: #fff; border-radius: 2px; transition: width .35s var(--ease); }
.burger span:first-child { top: 18px; width: 20px; }
.burger span:last-child { top: 26px; width: 13px; }
.burger:hover span:last-child { width: 20px; }

/* ---------- Off-canvas ---------- */
.offcanvas { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.offcanvas.is-open { visibility: visible; pointer-events: auto; }
.offcanvas__bg { position: absolute; inset: 0; background: rgba(13,20,36,.5); opacity: 0; transition: opacity .5s; }
.offcanvas.is-open .offcanvas__bg { opacity: 1; }
.offcanvas__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(100%, 520px);
  background: var(--ink); color: #fff; padding: 22px clamp(22px, 6vw, 48px) 32px;
  display: flex; flex-direction: column; overflow: hidden auto;
  clip-path: inset(0 0 0 100%); transition: clip-path .7s var(--ease);
}
html[dir="rtl"] .offcanvas__panel { inset-inline-end: auto; inset-inline-start: 0; clip-path: inset(0 100% 0 0); }
.offcanvas.is-open .offcanvas__panel { clip-path: inset(0 0 0 0); }
.offcanvas__top { display: flex; justify-content: space-between; align-items: center; }
.offcanvas__top .brand__mark { background: #fff; color: var(--ink); }
.offcanvas__close { width: 50px; height: 50px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1px var(--line-light); transition: transform .5s var(--ease), background .3s; }
.offcanvas__close span { position: absolute; left: 14px; top: 24px; width: 22px; height: 2px; background: #fff; transform: rotate(45deg); }
.offcanvas__close span:last-child { transform: rotate(-45deg); }
.offcanvas__close:hover { transform: rotate(90deg); background: var(--ice); }
.offcanvas__close:hover span { background: var(--ink); }
.offcanvas__menu { margin-block: auto; padding-block: 36px; }
.offcanvas__menu li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.offcanvas__menu a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0;
  font-size: clamp(1.5rem, 1.1rem + 2.4vw, 2.25rem); font-weight: 800;
  transform: translateY(105%); transition: transform .7s var(--ease), color .3s;
}
.offcanvas.is-open .offcanvas__menu a { transform: none; }
.offcanvas__menu li:nth-child(1) a { transition-delay: .18s; }
.offcanvas__menu li:nth-child(2) a { transition-delay: .23s; }
.offcanvas__menu li:nth-child(3) a { transition-delay: .28s; }
.offcanvas__menu li:nth-child(4) a { transition-delay: .33s; }
.offcanvas__menu li:nth-child(5) a { transition-delay: .38s; }
.offcanvas__menu li:nth-child(6) a { transition-delay: .43s; }
.offcanvas__menu a:hover { color: var(--ice); }
.offcanvas__menu em { font-family: var(--ff-serif); font-size: 1rem; color: var(--slate); font-weight: 400; }
.offcanvas__foot { display: grid; gap: 18px; opacity: 0; transform: translateY(14px); transition: opacity .5s .45s, transform .5s .45s var(--ease); }
.offcanvas.is-open .offcanvas__foot { opacity: 1; transform: none; }
.oc-mail { font-family: var(--ff-serif); font-size: 1.8rem; color: var(--ice); justify-self: start; }
.oc-lang { font-weight: 700; padding-inline: 16px; width: auto !important; }
.offcanvas__deco { position: absolute; width: 420px; inset-inline-start: -160px; bottom: -160px; fill: none; stroke: var(--line-light); pointer-events: none; z-index: -1; }
.offcanvas__panel > * { position: relative; z-index: 1; }

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-light); color: #fff; transition: background .3s, color .3s, transform .4s var(--ease);
}
.socials a:hover { background: var(--ice); color: var(--ink); transform: translateY(-3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding-top: calc(var(--header-h) + 20px);
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 25%,
    var(--paper);
}
.hero::before { /* faint vertical rules */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(13,20,36,.05) calc(25% - 1px) 25%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; flex: 1; }
.hero__text { position: relative; z-index: 2; padding-block: 20px; }
.hero__name { font-size: var(--fs-hero); font-weight: 800; line-height: 1.12; margin: 20px 0 26px; letter-spacing: -.01em; }
.hero__name .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__name .line + .line .hero-word { color: var(--navy); }
.hero-word { display: inline-block; }
.hero__quote { position: relative; margin: 0 0 34px; padding-inline-start: 22px; border-inline-start: 2px solid var(--ice); max-width: 520px; }
.hero__quote i { position: absolute; inset-inline-start: -10px; top: -22px; font-size: 1rem; color: var(--ice); background: var(--paper); padding: 4px; }
.hero__quote p { font-size: var(--fs-intro); line-height: 1.9; color: #2a3247; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__visual { position: relative; height: 100%; min-height: 520px; display: grid; place-items: end center; }
.hero__word {
  position: absolute; top: 4%; inset-inline: -5%; text-align: center; z-index: 0;
  font-family: var(--ff-serif); font-style: italic; font-size: clamp(8rem, 4rem + 14vw, 20rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(56,77,130,.35); user-select: none; pointer-events: none;
}
.hero__halo {
  position: absolute; width: min(78%, 520px); aspect-ratio: 1; border-radius: 50%; top: 14%;
  background: radial-gradient(circle at 50% 45%, rgba(68,197,226,.32), rgba(68,197,226,.08) 55%, transparent 70%);
}
.hero__halo::before, .hero__halo::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(56,77,130,.35);
  animation: spin 60s linear infinite;
}
.hero__halo::after { inset: 12%; border-style: solid; border-color: rgba(68,197,226,.4); border-width: 1px; animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__photo { position: relative; z-index: 1; margin: 0; mix-blend-mode: multiply; width: 100%; max-width: 560px; aspect-ratio: 4 / 4.6; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 10%; transform-origin: 50% 100%; }
.hero__photo::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 18%; background: linear-gradient(transparent, var(--paper)); }
.hero__tag {
  position: absolute; z-index: 3; inset-inline-end: 4%; top: 44%;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px;
  background: rgba(255,255,255,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(13,20,36,.35), inset 0 0 0 1px rgba(255,255,255,.8);
  animation: float 6s ease-in-out infinite;
}
.hero__tag i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--ice); }
.hero__tag span { display: grid; line-height: 1.2; font-weight: 800; font-size: 1.05rem; direction: ltr; text-align: start; }
.hero__tag small { font-weight: 400; color: var(--muted); font-size: .75rem; letter-spacing: .14em; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero__coords { position: absolute; z-index: 3; bottom: 16%; inset-inline-start: 0; font-family: var(--ff-serif); font-style: italic; font-size: .95rem; color: var(--slate); writing-mode: vertical-rl; transform: rotate(180deg); }

.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 8px; }
.stat { padding: 26px 0 30px; padding-inline-end: 24px; display: flex; align-items: center; gap: 18px; }
.stat + .stat { border-inline-start: 1px solid var(--line); padding-inline-start: 28px; }
.stat__num { font-family: var(--ff-serif); font-size: clamp(3rem, 2rem + 3vw, 4.75rem); line-height: 1; color: var(--ink); display: flex; align-items: flex-start; }
.stat__num sup { font-size: .45em; color: var(--ice); margin-top: .2em; }
.stat p { font-size: var(--fs-small); color: var(--muted); line-height: 1.7; }
.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: var(--fs-small); color: var(--muted); }
.sectors li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.sectors i { color: var(--navy); font-size: .85em; width: 14px; }
.scroll-cue { position: absolute; bottom: 26px; inset-inline-start: 50%; translate: 50% 0; width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--ink); z-index: 3; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- About (editorial split) ---------- */
.about { background: var(--paper); padding-bottom: 0; }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.about__media { position: relative; padding-bottom: 12%; }
.am { margin: 0; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.am img { width: 100%; height: 100%; object-fit: cover; }
.am--main { aspect-ratio: 4 / 5; }
.am--sub { position: absolute; width: 46%; aspect-ratio: 1; bottom: 0; inset-inline-end: -10%; border: 8px solid var(--paper); border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(13,20,36,.45); }
.about__stamp {
  position: absolute; top: 28px; inset-inline-start: -22px; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--ink); color: #fff; border-radius: 6px; box-shadow: 0 24px 50px -24px rgba(13,20,36,.6);
}
.about__stamp strong { font-family: var(--ff-serif); font-weight: 400; font-size: 3rem; line-height: 1; display: flex; }
.about__stamp sup { font-size: .45em; color: var(--ice); margin-top: .2em; }
.about__stamp span { font-size: var(--fs-small); line-height: 1.6; color: rgba(255,255,255,.75); }
.about__story .sec-head { margin-bottom: 28px; }
.about__lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem); line-height: 1.9; font-weight: 400; margin-bottom: 26px; }
html[dir="ltr"] .about__lead { line-height: 1.6; }
.about__lead mark {
  background: linear-gradient(var(--ice-soft), var(--ice-soft)) no-repeat right 88% / 0% 42%;
  color: inherit; font-weight: 700; transition: background-size 1.1s var(--ease);
}
html[dir="ltr"] .about__lead mark { background-position: left 88%; }
.about__lead.is-in mark { background-size: 100% 42%; }
.about__lead.is-in mark:nth-of-type(2) { transition-delay: .25s; }
.about__lead.is-in mark:nth-of-type(3) { transition-delay: .5s; }
.about__text { color: var(--muted); line-height: 1.95; }
html[dir="ltr"] .about__text { line-height: 1.75; }
.about__text strong { color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 28px; border-block: 1px solid var(--line); }
.values li { padding: 22px 0; font-size: var(--fs-h4); font-weight: 800; display: grid; gap: 4px; }
.values li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 20px; }
.values span { font-family: var(--ff-serif); font-weight: 400; font-size: 1rem; color: var(--ice); }

.manifesto { padding-block: clamp(70px, 8vw, 140px); background: var(--paper-2); margin-top: var(--section); position: relative; overflow: hidden; }
.manifesto::before { content: "”"; position: absolute; font-family: var(--ff-serif); font-size: 28rem; line-height: 1; color: rgba(56,77,130,.07); top: -60px; inset-inline-end: 2%; }
html[dir="rtl"] .manifesto::before { content: "“"; }
.manifesto__text { position: relative; font-size: clamp(1.5rem, 1rem + 2.1vw, 2.9rem); font-weight: 800; line-height: 1.6; max-width: 1080px; }
.manifesto__text .mw { opacity: .14; transition: opacity .2s; }
.manifesto__sign { display: block; margin-top: 26px; font-family: var(--ff-serif); font-style: italic; font-size: 1.6rem; color: var(--navy); }

/* ---------- Snow ---------- */
.snow { background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.snow__bg { position: absolute; inset: 0; z-index: -2; }
.snow__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(1); }
.snow__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(13,20,36,.6) 30%, var(--ink) 75%); }
.snow__flakes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.snow__problem { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; padding-bottom: clamp(50px, 6vw, 90px); border-bottom: 1px solid var(--line-light); }
.snow__lead { font-size: var(--fs-intro); color: rgba(255,255,255,.75); line-height: 1.9; }
.pains li { padding: 16px 0; border-top: 1px solid var(--line-light); font-size: var(--fs-h3); font-weight: 700; color: rgba(255,255,255,.88); }
.pains li:first-child { border-top: 0; padding-top: 0; }
.strike {
  --s: 0;
  background: linear-gradient(var(--ice), var(--ice)) no-repeat right 60% / calc(var(--s) * 100%) 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
html[dir="ltr"] .strike { background-position: left 60%; }

.snow__way { padding-block: clamp(50px, 6vw, 90px); }
.snow__way h3 { font-size: var(--fs-h3); margin-bottom: 36px; color: var(--ice); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 8px clamp(18px, 2.5vw, 40px) 8px 0; padding-inline: 0 clamp(18px, 2.5vw, 40px); }
.pillar + .pillar { border-inline-start: 1px solid var(--line-light); padding-inline-start: clamp(18px, 2.5vw, 40px); }
.pillar i { font-size: 1.5rem; color: var(--ice); margin-bottom: 22px; display: block; }
.pillar h4 { font-size: var(--fs-h4); margin-bottom: 10px; }
.pillar p { color: rgba(255,255,255,.7); font-size: var(--fs-body); }

.case { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--ink-3); border-radius: 6px; overflow: hidden; }
.case__img { clip-path: inset(0 0 0 0); margin: 0; position: relative; min-height: 420px; overflow: hidden; }
.case__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: clamp(28px, 4vw, 60px); }
.case__body .eyebrow { color: var(--ice); }
.case__body h3 { font-size: var(--fs-h3); margin: 12px 0 28px; }
.case__steps { margin: 0 0 30px; display: grid; gap: 18px; }
.case__steps div { display: grid; grid-template-columns: 76px 1fr; gap: 16px; }
.case__steps dt { font-weight: 800; color: var(--ice); font-size: var(--fs-small); padding-top: 3px; }
.case__steps dd { margin: 0; color: rgba(255,255,255,.75); font-size: var(--fs-body); line-height: 1.8; }
.compare { display: grid; gap: 14px; margin-bottom: 30px; }
.compare__row { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center; font-size: var(--fs-small); }
.compare__row span { color: rgba(255,255,255,.7); }
.compare__row b { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 400; white-space: nowrap; }
.compare__row b span { color: #fff; }
.bar { height: 10px; border-radius: 10px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; transform: scaleX(0); transform-origin: right; }
html[dir="ltr"] .bar i { transform-origin: left; }
.bar--old i { background: var(--slate); }
.bar--new i { background: var(--ice); }
.case__result { display: flex; align-items: center; gap: 22px; padding-top: 26px; border-top: 1px solid var(--line-light); }
.ring { position: relative; width: 104px; height: 104px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 8; }
.ring circle { stroke: rgba(255,255,255,.1); }
.ring .ring__fill { stroke: var(--ice); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; }
.ring strong { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--ff-serif); font-size: 1.9rem; font-weight: 400; direction: ltr; }
.case__result p { color: rgba(255,255,255,.8); }
.case__result p strong { color: var(--ice); }
.snow__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 70px); }
.snow__cta p { font-size: var(--fs-intro); color: rgba(255,255,255,.8); max-width: 520px; }

/* ---------- Journey ---------- */
.journey { background: var(--paper); position: relative; overflow: hidden; }
.journey__pin { padding-block: var(--section); min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.journey__head { margin-bottom: clamp(30px, 4vw, 56px); }
.journey__viewport { overflow: hidden; }
.journey__track { display: flex; gap: clamp(20px, 2.5vw, 40px); padding-inline: var(--pad); width: max-content; }
.station { width: clamp(280px, 24vw, 360px); position: relative; flex: none; }
.station__idx { position: absolute; top: -26px; inset-inline-end: 0; font-family: var(--ff-serif); font-size: 4.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--slate); z-index: 2; }
.station__img { clip-path: inset(0 0 0 0); aspect-ratio: 4 / 3.1; overflow: hidden; border-radius: 4px; margin-bottom: 22px; background: var(--paper-2); }
.station__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.04); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.station:hover .station__img img, .station.is-in .station__img img { filter: none; transform: scale(1); }
.station__when { display: inline-block; font-size: var(--fs-small); font-weight: 700; color: var(--navy); padding: 4px 12px; border-radius: 999px; background: var(--ice-soft); margin-bottom: 12px; }
.station h3 { font-size: var(--fs-h4); margin-bottom: 8px; }
.station p { color: var(--muted); font-size: var(--fs-body); line-height: 1.8; }
.station::before { content: ""; position: absolute; top: calc((clamp(280px, 24vw, 360px)) * .775 + 10px); inset-inline-start: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); display: none; }
.station--now .station__when { background: var(--ink); color: var(--ice); }
.journey__line { margin-top: 44px; }
.journey__line i { display: block; height: 2px; background: var(--line); position: relative; }
.journey__line i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 100%; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: right; }
html[dir="ltr"] .journey__line i::after { transform-origin: left; }

/* ---------- Stories ---------- */
.stories { background: #fff; }
.stories__grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: clamp(20px, 2.5vw, 36px); }
.post { position: relative; display: grid; border-radius: 6px; overflow: hidden; background: var(--paper); }
.post--feature { grid-row: span 2; grid-template-rows: 1fr auto; min-height: 640px; color: #fff; background: var(--ink); }
.post--feature .post__img { position: absolute; inset: 0; }
.post--feature .post__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,20,36,.05) 20%, rgba(13,20,36,.92) 85%); }
.post__img { margin: 0; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { position: relative; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; align-self: end; }
.post--feature .post__body { grid-row: 2; }
.post__cat { font-size: var(--fs-small); font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.post__cat::before { content: ""; width: 8px; height: 8px; background: var(--ice); transform: rotate(45deg); }
.post--feature .post__cat { color: var(--ice); }
.post h3 { font-size: var(--fs-h3); }
.post--feature h3 { font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.post p { color: var(--muted); }
.post--feature p { color: rgba(255,255,255,.8); max-width: 520px; }
.post:not(.post--feature):not(.post--quote) { grid-template-columns: 42% 1fr; }
.post:not(.post--feature):not(.post--quote) .post__img { min-height: 260px; }
.post__more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; margin-top: 6px; padding: 6px 0; border-bottom: 2px solid var(--ice); }
.post__more i { font-size: .8em; transition: transform .4s var(--ease); }
.post__more:hover i { transform: translateX(-5px); }
html[dir="ltr"] .post__more:hover i { transform: translateX(5px); }
.post--quote { background: var(--ice-soft); }
.post__big { position: absolute; inset-inline-end: 20px; top: -6px; font-family: var(--ff-serif); font-size: 13rem; line-height: 1; color: rgba(56,77,130,.12); pointer-events: none; }
.post::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }

.reader {
  border: 0; padding: 0; margin: 0; margin-inline-start: auto; height: 100dvh; max-height: 100dvh;
  width: min(100%, 680px); background: var(--paper); color: var(--ink); overflow: auto;
}
.reader::backdrop { background: rgba(13,20,36,.55); backdrop-filter: blur(4px); }
.reader[open] { animation: readerIn .6s var(--ease); }
@keyframes readerIn { from { transform: translateX(-40px); opacity: 0; } }
html[dir="ltr"] .reader[open] { animation-name: readerInLtr; }
@keyframes readerInLtr { from { transform: translateX(40px); opacity: 0; } }
html[dir="rtl"] .reader { margin-inline-start: 0; margin-inline-end: auto; }
.reader__close { position: sticky; top: 20px; float: inline-end; margin: 20px; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); transition: transform .5s var(--ease); z-index: 2; }
.reader__close span { position: absolute; left: 14px; top: 24px; width: 22px; height: 2px; background: #fff; transform: rotate(45deg); }
.reader__close span:last-child { transform: rotate(-45deg); }
.reader__close:hover { transform: rotate(90deg); }
.reader__content { padding: 90px clamp(22px, 6vw, 64px) 60px; display: grid; gap: 22px; justify-items: start; }
.reader__content h2 { font-size: var(--fs-h2); font-weight: 800; }
.reader__content p { font-size: var(--fs-intro); line-height: 2; color: #2a3247; }
html[dir="ltr"] .reader__content p { line-height: 1.8; }
.reader__content blockquote { margin: 6px 0; padding: 22px 26px; border-inline-start: 3px solid var(--ice); background: #fff; font-size: var(--fs-h4); font-weight: 700; line-height: 1.8; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 30%, rgba(13,20,36,.75)); }
html[dir="ltr"] .contact__bg::after { background: linear-gradient(-90deg, var(--ink) 30%, rgba(13,20,36,.75)); }
.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.contact .eyebrow { color: var(--ice); margin-top: 0; }
.contact h2 { font-size: var(--fs-h2); font-weight: 800; margin: 14px 0 36px; }
.mail-big { display: grid; justify-items: start; gap: 6px; text-align: start; }
.mail-big > span { font-family: var(--ff-serif); font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); line-height: 1; color: #fff; background: linear-gradient(var(--ice), var(--ice)) no-repeat left 100% / 0% 2px; transition: background-size .7s var(--ease), color .3s; padding-bottom: 6px; }
.mail-big:hover > span { background-size: 100% 2px; color: var(--ice); }
.mail-big small { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: var(--fs-small); }
.mail-big small em { font-style: normal; }
.contact__links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.clink { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-light); font-weight: 700; font-size: .95rem; transition: background .3s, color .3s; min-height: 46px; }
.clink:hover { background: #fff; color: var(--ink); }
.clink i { color: var(--ice); }
.clink:hover i { color: var(--navy); }

.cform { background: rgba(255,255,255,.04); border: 1px solid var(--line-light); border-radius: 8px; padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 8px; backdrop-filter: blur(8px); }
.field { position: relative; padding-top: 20px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); color: #fff;
  font: inherit; font-size: var(--fs-body); padding: 10px 0 12px; outline: none; resize: vertical; border-radius: 0;
}
.field label { position: absolute; inset-inline-start: 0; top: 30px; color: rgba(255,255,255,.55); pointer-events: none; transition: transform .35s var(--ease), color .3s, font-size .35s; transform-origin: right top; }
html[dir="ltr"] .field label { transform-origin: left top; }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label { transform: translateY(-26px) scale(.82); color: var(--ice); }
.field::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--ice); transform: scaleX(0); transition: transform .5s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field textarea + label { top: 30px; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #ff7b7b; }
.cform .btn { margin-top: 22px; }
.cform__note { min-height: 1.6em; font-size: var(--fs-small); color: var(--ice); }

/* ---------- Footer ---------- */
.footer { position: relative; background: #090f1c; color: rgba(255,255,255,.7); padding-top: clamp(60px, 7vw, 110px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-light); }
.footer::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--ice), var(--navy), transparent); }
.footer::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; top: -260px; inset-inline-start: -160px; background: radial-gradient(circle, rgba(68,197,226,.12), transparent 65%); pointer-events: none; }
.footer > .container { position: relative; z-index: 1; }
.footer__brand p { margin: 18px 0 26px; max-width: 420px; line-height: 1.9; }
.footer__snow {
  display: inline-flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border-radius: 14px;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-light); max-width: 100%;
  transition: background .35s, box-shadow .35s, transform .45s var(--ease);
}
html[dir="rtl"] .footer__snow { padding: 12px 12px 12px 18px; }
.footer__snow:hover { background: rgba(68,197,226,.08); box-shadow: inset 0 0 0 1px rgba(68,197,226,.5); transform: translateY(-3px); }
.footer__snow-logo { flex: none; display: grid; place-items: center; width: 84px; height: 56px; border-radius: 10px; background: #fff; }
.footer__snow-logo img { width: 66px; height: auto; }
.footer__snow-txt { display: grid; line-height: 1.5; }
.footer__snow-txt small { font-size: .8rem; color: rgba(255,255,255,.55); }
.footer__snow-txt b { color: #fff; font-size: .98rem; }
.footer__snow > i { color: var(--ice); font-size: .85rem; }
.footer__col { display: grid; align-content: start; gap: 14px; }
.footer__col h4 { color: #fff; font-size: var(--fs-h4); margin-bottom: 6px; }
.footer__col a, .footer__col > span { display: inline-flex; align-items: center; gap: 12px; width: fit-content; transition: color .3s, transform .4s var(--ease); }
.footer__col a:hover { color: var(--ice); transform: translateX(-4px); }
html[dir="ltr"] .footer__col a:hover { transform: translateX(4px); }
.footer__col i { color: var(--ice); width: 16px; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; padding-block: 24px; font-size: var(--fs-small); flex-wrap: wrap; }
.totop { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.totop i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-light); transition: background .3s, color .3s, transform .4s var(--ease); }
.totop:hover i { background: var(--ice); color: var(--ink); transform: translateY(-3px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 1440px) {
  .hero__photo { max-width: 600px; }
}
@media (max-width: 1100px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: block; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  :root { --header-h: 70px; }
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hero__visual { min-height: 440px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat--sectors { grid-column: 1 / -1; border-inline-start: 0 !important; padding-inline-start: 0 !important; border-top: 1px solid var(--line); }
  .snow__problem { grid-template-columns: 1fr; gap: 24px; }
  .case { grid-template-columns: 1fr; }
  .case__img { min-height: 300px; }
  .stories__grid { grid-template-columns: 1fr 1fr; }
  .post--feature { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  .post:not(.post--feature):not(.post--quote) { grid-template-columns: 1fr; }
  .post:not(.post--feature):not(.post--quote) .post__img { min-height: 220px; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hero { padding-top: calc(var(--header-h) + 8px); min-height: auto; }
  .hero::before { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__text { order: 2; padding-top: 0; margin-top: -16px; }
  .hero__visual { order: 1; min-height: 0; height: auto; }
  .hero__photo { max-width: 420px; aspect-ratio: 1 / 1.02; }
  .hero__word { font-size: 9.5rem; top: 2%; }
  .hero__halo { width: 82%; top: 8%; }
  .hero__tag { top: auto; bottom: 22%; inset-inline-end: 0; padding: 8px 14px 8px 10px; }
  .hero__tag i { width: 34px; height: 34px; }
  .hero__coords { display: none; }
  .hero__name { margin: 14px 0 20px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 26px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 0; padding-inline-end: 12px; }
  .stat + .stat { padding-inline-start: 16px; }
  .stat--sectors { flex-direction: row; align-items: center; gap: 18px; }
  .sectors { grid-template-columns: 1fr 1fr; }

  .manifesto::before { font-size: 16rem; }

  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .pillar, .pillar + .pillar { border: 0; padding: 0; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .pillar i { grid-row: span 2; margin: 4px 0 0; }
  .compare__row { grid-template-columns: 1fr auto; }
  .compare__row .bar { grid-column: 1 / -1; grid-row: 2; }
  .case__steps div { grid-template-columns: 1fr; gap: 4px; }
  .snow__cta .btn { width: 100%; }

  .journey__pin { min-height: 0; }
  .journey__viewport { overflow: visible; }
  .journey__track { flex-direction: column; width: auto; gap: 44px; padding-inline: var(--pad); position: relative; }
  .journey__track::before { content: ""; position: absolute; inset-block: 10px; inset-inline-start: var(--pad); width: 1px; background: var(--line); }
  .station { width: auto; padding-inline-start: 26px; }
  .station::after { content: ""; position: absolute; top: 6px; inset-inline-start: -5px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
  .station--now::after { background: var(--ice); box-shadow: 0 0 0 5px rgba(68,197,226,.25); }
  .station__idx { display: none; }
  .station__img { aspect-ratio: 16 / 10; }
  .journey__line { display: none; }

  .stories__grid { grid-template-columns: 1fr; }
  .post--feature { min-height: 480px; }
  .sec-head--row { flex-direction: column; align-items: flex-start; }

  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bar { justify-content: center; text-align: center; }
  .reader__close { margin: 14px; }
}
@media (max-width: 380px) {
  .stat__num { font-size: 2.6rem; }
  .sectors { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .manifesto__text .mw { opacity: 1; }
  .strike { --s: 1; }
  .bar i { transform: none; }
}

/* Journey — fit pinned layout to short viewports */
@media (min-width: 768px) {
  .journey__pin { padding-block: clamp(40px, 9vh, 110px); }
  .journey__head { margin-bottom: clamp(18px, 4vh, 48px); }
  .journey__head h2 { font-size: clamp(1.6rem, 1rem + 1.8vw + 1vh, 3rem); }
  .station { padding-top: 34px; }
  .station__idx { top: 0; font-size: 3rem; line-height: .9; }
  .station__img { aspect-ratio: auto; height: clamp(150px, 30vh, 280px); margin-bottom: clamp(12px, 2vh, 22px); }
  .journey__line { margin-top: clamp(18px, 4vh, 44px); }
}

/* ---------- Revisions: wordmark brand, Snow logo tag, simpler preloader ---------- */
.brand { gap: 0; position: relative; padding-inline-start: 16px; }
.brand::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(var(--ice), var(--navy)); transition: transform .5s var(--ease); transform-origin: top; }
.brand:hover::before { transform: scaleY(.6); }
.brand__text { gap: 2px; }
.brand__text strong { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem); font-weight: 800; letter-spacing: -.01em; }
.brand__text small { font-size: 1rem; letter-spacing: .01em; }
html[dir="ltr"] .brand__text small { font-family: var(--ff); font-style: normal; font-size: .9rem; }
.brand--light .brand__text small { color: rgba(255,255,255,.55); }
.oc-name { font-weight: 800; font-size: 1.25rem; padding-inline-start: 14px; border-inline-start: 3px solid var(--ice); line-height: 1.3; }

.hero__tag { padding: 12px 18px; gap: 14px; color: var(--ink); transition: box-shadow .4s var(--ease); }
.hero__tag:hover { box-shadow: 0 24px 48px -20px rgba(13,20,36,.45), inset 0 0 0 1px rgba(68,197,226,.6); }
.hero__tag img { width: 78px; height: auto; }
.hero__tag span { direction: inherit; padding-inline-start: 14px; border-inline-start: 1px solid var(--line); font-size: .95rem; }
.hero__tag small { letter-spacing: .14em; direction: ltr; text-align: start; }

.preloader__inner { gap: 18px; }
.preloader__name { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); padding-bottom: .1em; }
.preloader__bar { width: 200px; }
@media (max-width: 767px) {
  .hero__tag { padding: 8px 12px; gap: 10px; }
  .hero__tag img { width: 62px; }
  .hero__tag span { padding-inline-start: 10px; font-size: .8rem; }
}

/* ---------- About responsive ---------- */
@media (max-width: 1023px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; width: 100%; margin-inline: auto; }
  .am--sub { inset-inline-end: -4%; }
  .about__stamp { inset-inline-start: -8px; }
}
@media (max-width: 767px) {
  .about__media { padding-bottom: 0; }
  .am--main { aspect-ratio: 4 / 3.2; }
  .am--sub { display: none; }
  .about__stamp { top: auto; bottom: -22px; inset-inline-start: 14px; padding: 12px 16px; }
  .about__stamp strong { font-size: 2.3rem; }
  .about__story { padding-top: 22px; }
  .values { grid-template-columns: 1fr; }
  .values li { grid-template-columns: 34px 1fr; align-items: baseline; padding: 14px 0; }
  .values li + li { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
  .footer__snow { width: 100%; }
  .footer__bar { flex-direction: column; }
}

/* ---------- Performance: phones & touch devices ---------- */
@media (max-width: 767px), (pointer: coarse) {
  .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(244,243,239,.97); }
  .hero__halo::before, .hero__halo::after, .hero__tag { animation: none; }
  .hero__tag, .cform, .frame figcaption { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero__tag { background: #fff; }
  .snow__bg, .snow__flakes, .contact__bg { display: none; }
  .reader::backdrop { backdrop-filter: none; }
}
@media (max-width: 767px) {
  .hero { background: #fff; }
  .hero__halo { display: none; }
  .hero__photo { mix-blend-mode: normal; }
  .hero__photo::after { background: linear-gradient(transparent, #fff); }
  .hero__quote i { background: #fff; }
}
@media (max-width: 767px) {
  .footer__top { grid-template-columns: .8fr 1.2fr; gap: 36px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col { font-size: .92rem; }
}
