/* =========================================================
   RAJ PAIK — Personal Brand
   ========================================================= */
:root {
  --bg: #08090B;
  --bg-2: #111214;
  --card: #18191C;
  --charcoal: #343538;
  --ink: #F2F0EA;
  --muted: #A5A5A5;
  --line: #303034;

  --font-head: "Sora", "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.display { font-size: clamp(44px, 7.2vw, 96px); font-weight: 700; letter-spacing: -0.035em; line-height: .98; }
.h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 600; letter-spacing: -0.03em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 60ch; }
p { margin: 0 0 1.1em; }
.muted { color: var(--muted); }

.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--muted); }
.label.no-rule::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 26px;
  font-family: var(--font-head); font-size: 14px; font-weight: 500; letter-spacing: .02em;
  border: 1px solid var(--b); border-radius: var(--radius);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform .35s var(--ease); display: inline-block; }
.btn:hover .arr { transform: translate(3px, -3px); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: transparent; color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 13px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 14px; font-weight: 500;
  padding-bottom: 4px; border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: 14px; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { height: 38px; width: auto; }
.brand-word {
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .28em;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(17, 18, 20, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  height: 72px;
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 8px; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 60; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.nav.open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav.open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--nav-h) var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.nav.open + .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu ol { list-style: none; margin: 0 0 40px; padding: 0; counter-reset: m; }
.mobile-menu li { counter-increment: m; border-bottom: 1px solid var(--line); }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 18px; padding: 16px 0;
  font-family: var(--font-head); font-size: clamp(28px, 8vw, 40px); font-weight: 600; letter-spacing: -0.02em;
}
.mobile-menu li a::before { content: "0" counter(m); font-size: 12px; color: var(--muted); letter-spacing: .1em; font-weight: 500; }
.mobile-menu .mm-foot { color: var(--muted); font-size: 14px; }

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

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 13vw, 168px) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.section-head .label { margin-bottom: 22px; }

/* ---------- Image slots (swap-in photography) ---------- */
.slot {
  position: relative; overflow: hidden; background: var(--card);
  background-image:
    linear-gradient(135deg, transparent 0 49.6%, rgba(242,240,234,.05) 49.6% 50.4%, transparent 50.4%),
    radial-gradient(120% 80% at 70% 20%, #232427 0%, var(--card) 60%, #0e0f11 100%);
}
.slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.slot-note {
  position: absolute; left: 18px; bottom: 16px; z-index: 0;
  font-family: var(--font-head); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #6b6b6e;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 72px;
  background: radial-gradient(90% 70% at 78% 40%, #1b1c1f 0%, var(--bg) 62%);
  overflow: hidden;
}
.hero-geo { position: absolute; inset: 0; pointer-events: none; }
.hero-geo span { position: absolute; display: block; background: linear-gradient(90deg, transparent, rgba(242,240,234,.09), transparent); height: 1px; width: 160%; left: -30%; transform-origin: center; }
.hero-geo span:nth-child(1) { top: 30%; transform: rotate(-24deg); }
.hero-geo span:nth-child(2) { top: 62%; transform: rotate(-24deg); opacity: .6; }
.hero-geo span:nth-child(3) { top: 88%; transform: rotate(-24deg); opacity: .35; }
.hero-geo .plane {
  position: absolute; right: -8%; top: -10%; width: 62%; height: 130%;
  background: linear-gradient(160deg, rgba(52,53,56,.42), rgba(17,18,20,0) 70%);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-eyebrow { display: block; margin: 28px 0 34px; font-family: var(--font-head); font-size: 13px; letter-spacing: .3em; color: var(--muted); font-weight: 500; }
.hero-tag { font-family: var(--font-head); font-size: clamp(20px, 2vw, 26px); font-weight: 400; line-height: 1.38; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 44px; }
.hero-tag > span { display: block; }
.hero-tag > span:nth-child(2) { color: #cfcdc7; }
.hero-tag > span:nth-child(3) { color: var(--muted); }
.focus { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-bottom: 44px; max-width: 600px; }
.focus li { list-style: none; padding: 20px 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.focus li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.focus svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.2; }
.focus small { font-family: var(--font-head); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.focus b { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.focus ul, ul.focus { padding: 0; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-portrait { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 520px; justify-self: end; }
.hero-portrait .slot { position: absolute; inset: 0; border-radius: var(--radius); }
.hero-portrait .slot::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 55%, rgba(8,9,11,.75)); pointer-events: none; }
.hero-portrait .frame { position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.hero-portrait .caption { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 11px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }

.scroll-cue { position: absolute; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .24em; color: var(--muted); font-family: var(--font-head); }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--muted), transparent); }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 16px); }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; max-width: 420px; justify-self: start; aspect-ratio: 4 / 4.6; width: calc(100% - 18px); }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .focus { grid-template-columns: 1fr; }
  .focus li { flex-direction: row; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .focus li + li { padding-left: 0; border-left: 0; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-photo { aspect-ratio: 3 / 4; border-radius: var(--radius); position: sticky; top: 110px; }
.about-copy .h2 { margin: 22px 0 36px; }
.about-copy p { color: var(--muted); font-size: 17px; max-width: 58ch; }
.about-copy p:first-of-type { color: var(--ink); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; font-family: var(--font-head); font-weight: 400; letter-spacing: -0.01em; }

.timeline { list-style: none; margin: 56px 0 48px; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline .yr { font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.timeline .yr.dim { color: var(--muted); font-weight: 400; }
.timeline .ev { color: #d6d4ce; }
.timeline li.now .ev::after { content: "Now"; margin-left: 12px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); vertical-align: 2px; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: relative; top: 0; aspect-ratio: 4 / 3.6; }
}
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Ventures ---------- */
.ventures { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.venture {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .4s var(--ease);
}
.venture:hover { border-color: #4a4b4f; }
.venture .slot { aspect-ratio: 16 / 11; }
.venture .slot > img { transition: transform 1.2s var(--ease); }
.venture:hover .slot > img { transform: scale(1.04); }
.venture .num { position: absolute; z-index: 3; top: 20px; left: 22px; font-family: var(--font-head); font-size: 12px; letter-spacing: .2em; color: var(--ink); }
.venture-body { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.venture-cat { font-family: var(--font-head); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.venture h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; }
.venture .legal { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.venture p.desc { color: #cfcdc7; max-width: 48ch; margin-bottom: 32px; }
.venture .link-arrow { margin-top: auto; align-self: flex-start; }
.venture.v-admire .slot { background-image:
  repeating-linear-gradient(90deg, rgba(242,240,234,.025) 0 2px, transparent 2px 22px),
  radial-gradient(110% 90% at 30% 30%, #2a2622 0%, #17181a 65%); }
.venture.v-dm .slot { background-image:
  linear-gradient(rgba(242,240,234,.04) 1px, transparent 1px),
  linear-gradient(90deg, rgba(242,240,234,.04) 1px, transparent 1px),
  radial-gradient(110% 90% at 70% 30%, #1f2228 0%, #151619 65%);
  background-size: 36px 36px, 36px 36px, auto; }
@media (max-width: 860px) { .ventures { grid-template-columns: 1fr; } }

/* ---------- Insights ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.filter {
  height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px;
  font-size: 13px; color: var(--muted); transition: all .3s var(--ease);
}
.filter:hover { color: var(--ink); border-color: #4a4b4f; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 22px; }
.post[hidden] { display: none; }
.post .slot { aspect-ratio: 3 / 2; border-radius: var(--radius); margin-bottom: 22px; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.post-meta .cat { font-family: var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); font-size: 11px; }
.draft-badge { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; border: 1px dashed #5a5a5e; color: var(--muted); padding: 2px 8px; border-radius: 99px; }
.post h3 { font-size: 21px; line-height: 1.3; margin-bottom: 12px; font-weight: 600; }
.post p { color: var(--muted); font-size: 15px; }
.post .link-arrow { margin-top: auto; align-self: flex-start; font-size: 13px; }
.post .link-arrow[aria-disabled="true"] { color: var(--muted); pointer-events: none; }
.draft-note { margin-top: 40px; font-size: 13px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 16px; }
.empty-state { color: var(--muted); padding: 40px 0; display: none; }
@media (max-width: 1000px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Bigger picture ---------- */
.bigger {
  position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden;
  padding: 140px 0;
}
.bigger .slot { position: absolute; inset: 0; background-image:
  linear-gradient(115deg, transparent 0 60%, rgba(242,240,234,.04) 60% 60.15%, transparent 60.15%),
  linear-gradient(115deg, transparent 0 72%, rgba(242,240,234,.03) 72% 72.1%, transparent 72.1%),
  radial-gradient(80% 90% at 75% 50%, #26272a 0%, #0c0d0f 70%); }
.bigger .slot::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(8,9,11,.92) 0%, rgba(8,9,11,.55) 60%, rgba(8,9,11,.35) 100%); }
.bigger .wrap { position: relative; z-index: 3; }
.bigger .display { font-size: clamp(42px, 6.4vw, 88px); max-width: 13ch; margin: 24px 0 32px; }
.bigger .lead { color: #cfcdc7; margin-bottom: 44px; }

/* ---------- Media ---------- */
.media-empty { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); }
.media-empty div { padding: 36px 32px; }
.media-empty div + div { border-left: 1px solid var(--line); }
.media-empty b { display: block; font-family: var(--font-head); font-weight: 600; margin-bottom: 8px; }
.media-empty span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .media-empty { grid-template-columns: 1fr; }
  .media-empty div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Contact ---------- */
.contact .display { font-size: clamp(40px, 6.2vw, 84px); max-width: 14ch; margin: 24px 0 32px; }
.contact-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.email-big {
  display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-head); font-size: clamp(26px, 4vw, 52px); font-weight: 600; letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line); padding-bottom: 8px; transition: border-color .3s var(--ease);
  word-break: break-word;
}
.email-big:hover { border-color: var(--ink); }
.contact-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.copy-btn[data-copied="true"] { border-color: var(--ink); }
@media (max-width: 860px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-actions { justify-content: flex-start; }
}

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer .brand img { height: 46px; }
.footer-tag { color: var(--muted); margin-top: 22px; max-width: 32ch; font-size: 15px; }
.footer h4 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer ul a { color: #cfcdc7; transition: color .3s; }
.footer ul a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Sub-page hero ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(60px, 10vw, 120px)) 0 clamp(60px, 8vw, 100px); border-bottom: 1px solid var(--line);
  background: radial-gradient(80% 90% at 85% 0%, #1a1b1e 0%, var(--bg) 60%); position: relative; overflow: hidden; }
.page-hero .display { margin: 24px 0 28px; max-width: 16ch; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 30px; display: flex; gap: 10px; }
.crumbs a:hover { color: var(--ink); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 56px 0 0; }
.facts div { padding: 26px 24px 26px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-family: var(--font-head); }
.facts span { font-family: var(--font-head); font-size: 17px; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.pillar small { font-family: var(--font-head); color: var(--muted); letter-spacing: .18em; font-size: 11px; }
.pillar h3 { font-size: 20px; margin: 18px 0 12px; }
.pillar p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: clamp(420px, 56vw, 640px); }
.gallery .slot { border-radius: var(--radius); }
.gallery .slot:first-child { grid-row: span 2; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; grid-template-rows: none; height: auto; } .gallery .slot { aspect-ratio: 4/3; } .gallery .slot:first-child { grid-row: auto; } }

.prose { max-width: 68ch; }
.prose p { color: #cfcdc7; font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 64px 0 22px; }
.prose blockquote { margin: 48px 0; padding: 0 0 0 28px; border-left: 1px solid var(--ink); font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }

.next-venture { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 56px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.next-venture small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; font-family: var(--font-head); }
.next-venture b { font-family: var(--font-head); font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -0.02em; }

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

/* ---------- Refinements ---------- */
.hero-portrait .slot-note { top: 22px; bottom: auto; }
@media (max-height: 820px) { .scroll-cue { display: none; } }
@media (max-width: 520px) { .hero-eyebrow { letter-spacing: .18em; font-size: 12px; margin: 20px 0 26px; } }

/* Logo — supplied RP monogram shown unaltered on a white tile for contrast */
.logo-tile { display: inline-flex; align-items: center; justify-content: center; background: #FFFFFF; border-radius: 3px; height: 42px; padding: 0 9px; }
.logo-tile img, .brand .logo-tile img { height: 26px; width: auto; }
.logo-tile-lg { height: 48px; padding: 0 10px; }
.footer .brand .logo-tile img { height: 28px; }
@media (max-width: 520px) { .logo-tile { height: 34px; padding: 0 7px; } .brand .logo-tile img { height: 19px; } .brand-word { font-size: 14px; letter-spacing: .24em; } }

/* Hero portrait — keep face in frame at every crop */
.hero-portrait .slot > img { object-position: 52% 22%; }

/* =========================================================
   MOTION LAYER (js/motion.js) — only active with .motion
   ========================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 1px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); z-index: 70; pointer-events: none; opacity: .7; }

/* Headline word-mask rise */
.motion .wsplit .w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.motion .wsplit .w { display: inline-block; transform: translate3d(0, 105%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--wi) * 55ms); }
.motion .wsplit.is-in .w { transform: none; }

/* Slanted wipe on imagery — echoes the hero's diagonal geometry */
.motion .wipe { clip-path: polygon(0 0, 0 0, -30% 100%, 0 100%); transition: clip-path 1.5s cubic-bezier(.77, 0, .18, 1); }
.motion .wipe.is-in { clip-path: polygon(0 0, 130% 0, 100% 100%, 0 100%); }

/* Image parallax inside frames */
.motion .slot > img { transform: translate3d(0, var(--py, 0), 0) scale(1.12); transition: transform .9s cubic-bezier(.2, .7, .1, 1); will-change: transform; }
.motion .venture:hover .slot > img { transform: translate3d(0, var(--py, 0), 0) scale(1.17); }
.motion .hero-portrait .slot > img { transform: scale(1.04); transition: transform 2.4s cubic-bezier(.16, 1, .3, 1); }
.motion .hero-portrait .slot:not(.is-in) > img { transform: scale(1.2); }
.motion .bigger .slot { transform: scale(var(--bz, 1.18)); transform-origin: 60% 50%; will-change: transform; }

/* Staggered lists */
.motion .stagger { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--si) * 80ms); }
.motion .stagger.is-in { opacity: 1; transform: none; }
.motion .timeline li.stagger { transform: translate3d(-16px, 0, 0); }
.motion .timeline li.stagger.is-in { transform: none; }

/* Hero on load */
.motion .hero-eyebrow, .motion .hero-ctas, .motion .scroll-cue { animation: rp-fade 1.2s var(--ease) both; }
.motion .hero-eyebrow { animation-delay: .35s; }
.motion .hero-ctas { animation-delay: .9s; }
.motion .scroll-cue { animation-delay: 1.4s; }
.motion .scroll-cue i { animation: rp-cue 2.2s cubic-bezier(.65, 0, .35, 1) infinite; }
.motion .hero-portrait .frame { animation: rp-frame 1.6s cubic-bezier(.16, 1, .3, 1) .5s both; }
@keyframes rp-fade { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes rp-cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes rp-frame { from { opacity: 0; transform: translate3d(-18px, -18px, 0); } to { opacity: 1; transform: none; } }

/* Card tilt + soft spotlight following the pointer */
.motion .tilt.reveal.in, .motion .tilt.stagger.is-in { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s cubic-bezier(.2, .7, .1, 1), opacity .9s var(--ease), border-color .4s var(--ease); }
.motion .tilt::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4; border-radius: inherit; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 240, 234, .07), transparent 60%); }
.motion .tilt:hover::after { opacity: 1; }

/* Magnetic elements */
.magnetic { transition: transform .5s cubic-bezier(.2, .7, .1, 1), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }

/* ---------- Custom cursor ---------- */
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); }
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
.cursor-dot::before { content: ""; position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease); }
.cursor-ring { mix-blend-mode: difference; }
.cursor-ring::before { content: ""; position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(242, 240, 234, .55);
  transform: scale(var(--cs, 1)); transition: transform .45s cubic-bezier(.2, .7, .1, 1), background .35s var(--ease), border-color .35s var(--ease); }
.cursor-label { position: absolute; transform: translate(-50%, -50%) scale(.6); opacity: 0; white-space: nowrap; font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #08090B; transition: opacity .3s var(--ease), transform .45s cubic-bezier(.2, .7, .1, 1); }
.cursor-link .cursor-ring { --cs: 1.5; }
.cursor-link .cursor-ring::before { background: var(--ink); border-color: var(--ink); }
.cursor-link .cursor-dot::before { transform: scale(0); }
.cursor-text .cursor-ring { --cs: .55; }
.cursor-label-on .cursor-ring { mix-blend-mode: normal; --cs: 2.4; }
.cursor-label-on .cursor-ring::before { background: var(--ink); border-color: var(--ink); }
.cursor-label-on .cursor-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor-label-on .cursor-dot::before { transform: scale(0); }
.cursor-down .cursor-ring::before { transform: scale(calc(var(--cs, 1) * .8)); }

/* ---------- Stock photography grade (unifies colour with the dark palette) ---------- */
.slot > img.stock { filter: grayscale(.35) brightness(.82) contrast(1.06); transition: filter .8s var(--ease), transform .9s cubic-bezier(.2, .7, .1, 1); }
.venture:hover .slot > img.stock, .post:hover .slot > img.stock, .gallery .slot:hover > img.stock { filter: grayscale(0) brightness(.95) contrast(1.04); }
.bigger .slot > img.stock { filter: grayscale(.4) brightness(.7); }
.about-photo > img.stock { filter: grayscale(.3) brightness(.78) contrast(1.08); }

/* ---------- Flying cursors (js/cursors.js) ---------- */
.fly-layer { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.flyer { position: absolute; left: 0; top: 0; color: var(--ink); opacity: 0; will-change: transform; transition: opacity .8s var(--ease); }
.flyer.born { opacity: 1; }
.flyer svg { display: block; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); transform: rotate(var(--tilt, 0deg)); transform-origin: 2px 2px; }
.flyer-tag {
  position: absolute; left: 16px; top: 20px; white-space: nowrap;
  font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: .06em;
  padding: 5px 10px 5px 9px; border-radius: 2px 10px 10px 10px;
  background: var(--ink); color: #08090B; box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.flyer-alt { color: #8f8f93; }
.flyer-alt .flyer-tag { background: #343538; color: var(--ink); border: 1px solid #4a4b4f; }
.flyer-ghost { color: #F2F0EA; }
.flyer-ghost .flyer-tag { background: rgba(17, 18, 20, .7); color: var(--ink); border: 1px solid rgba(242, 240, 234, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.flyer-ping { position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; }
.flyer.clicking svg { animation: fly-press .35s var(--ease); }
.flyer.clicking .flyer-ping { animation: fly-ping .7s cubic-bezier(.2, .7, .1, 1); }
@keyframes fly-press { 50% { transform: rotate(var(--tilt, 0deg)) scale(.78); } }
@keyframes fly-ping { from { opacity: .8; transform: scale(.3); } to { opacity: 0; transform: scale(2.2); } }
.bigger .fly-layer { z-index: 4; }
@media (max-width: 700px) { .flyer-tag { font-size: 10px; padding: 4px 8px; } }

/* Logo v2 — supplied RP monogram on its own black background */
.logo-tile { background: #000; height: auto; padding: 0; border: 0; border-radius: 4px; overflow: hidden; }
.logo-tile img, .brand .logo-tile img { height: 42px; width: auto; }
.footer .brand .logo-tile img { height: 56px; }
@media (max-width: 520px) { .brand .logo-tile img { height: 36px; } }

/* =========================================================
   THE BUILD SEQUENCE (js/build.js) — pinned, scroll-scrubbed
   ========================================================= */
.build { position: relative; height: 420vh; background: var(--bg); }
.build-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center; perspective: 1100px;
  background: radial-gradient(70% 60% at 50% 55%, #15161a 0%, var(--bg) 70%);
}
.build-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.gl { stroke: rgba(242, 240, 234, .07); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.gl-major { stroke: rgba(242, 240, 234, .14); }
.gl-diag { stroke: rgba(242, 240, 234, .26); }

.build-hud { position: absolute; top: calc(var(--nav-h) + 12px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between;
  font-family: var(--font-head); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.build-phase { color: var(--ink); }
.build-phase::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); margin-right: 10px; vertical-align: 1px; animation: build-blink 1.4s steps(2) infinite; }
.build.is-complete .build-phase::before { animation: none; }
@keyframes build-blink { 50% { opacity: .15; } }

.build-intro { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; margin: 0; transform: translateY(-50%); text-align: center;
  font-family: var(--font-head); font-size: clamp(24px, 3vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; pointer-events: none; }
.build-intro .label { font-size: 11px; margin-bottom: 18px; }
.build-intro em { font-style: normal; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: inline-block; margin-top: 22px; font-family: var(--font-body); }

.build-core { position: relative; display: flex; flex-direction: column; align-items: center; transform-style: preserve-3d; margin-top: -4vh; }
.build-word { display: flex; transform-style: preserve-3d; font-size: clamp(96px, 21vw, 330px); font-weight: 700; letter-spacing: -0.045em; line-height: .82; margin: 0; }
.bl { display: inline-block; will-change: transform, opacity; color: transparent; -webkit-text-stroke: 1px rgba(242, 240, 234, .7); transition: color .6s var(--ease), -webkit-text-stroke-color .6s var(--ease); }
.bl.locked { color: var(--ink); -webkit-text-stroke-color: transparent; }

.floors { list-style: none; margin: clamp(18px, 3vh, 34px) 0 0; padding: 0; width: min(760px, 88vw); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.floor { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: clamp(10px, 1.6vh, 16px) 20px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; opacity: 0; transform-origin: 50% 100%; will-change: transform, opacity; transition: border-color .5s var(--ease), background .5s var(--ease); }
.floor small { font-family: var(--font-head); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.floor b { font-family: var(--font-head); font-size: clamp(15px, 1.6vw, 20px); font-weight: 600; letter-spacing: -0.01em; }
.f1 { width: 100%; } .f2 { width: 90%; } .f3 { width: 80%; }
.floor.set { border-color: #4a4b4f; }
.build.is-complete .floor { background: #1c1d20; }

.build-outro { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 15vh; margin: 0; text-align: center; opacity: 0;
  font-family: var(--font-head); font-size: clamp(17px, 2vw, 24px); color: #cfcdc7; }
.build-outro span { color: var(--muted); }

.build-meter { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; align-items: baseline; gap: 10px; padding-bottom: 12px;
  font-family: var(--font-head); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.build-meter b { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.02em; color: #8a8a8e; margin-left: auto; font-variant-numeric: tabular-nums; transition: color .4s; }
.build.is-complete .build-meter b { color: var(--ink); }
.build-meter i { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.build-meter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); z-index: -1; }

/* Static fallback (reduced motion / no JS): show the finished building */
.build-static, .no-js .build { height: auto; }
.build-static .build-stage, .no-js .build-stage { position: relative; height: auto; min-height: 100vh; padding: 140px 0 120px; }
.build-static .gl, .no-js .gl { stroke-dashoffset: 0; }
.build-static .bl, .no-js .bl { color: var(--ink); -webkit-text-stroke-color: transparent; }
.build-static .floor, .no-js .floor, .build-static .build-outro, .no-js .build-outro { opacity: 1; }
.build-static .build-intro, .no-js .build-intro, .build-static .build-hud, .no-js .build-hud, .build-static .build-meter, .no-js .build-meter { display: none; }
.build-static .build-outro, .no-js .build-outro { position: relative; bottom: auto; margin-top: 40px; }

@media (max-width: 700px) {
  .build { height: 360vh; }
  .build-word { font-size: 27vw; }
  .floor { padding: 10px 14px; }
  .floor small { font-size: 9px; letter-spacing: .12em; }
  .build-outro { bottom: 13vh; }
}

/* Bigger Picture aperture */
.bigger.aperture { will-change: clip-path; }
.bigger.aperture .wrap { opacity: calc(.15 + var(--ap, 1) * .85); }
.build-word { font-size: min(21vw, 30vh, 330px); }
.build-core { margin-top: 2vh; }
@media (max-width: 700px) { .build-word { font-size: min(27vw, 24vh); } }

/* ---------- Build Sequence: image mosaic backdrop ---------- */
.build-mosaic { position: absolute; inset: -2px; display: grid; gap: 3px; padding: 3px; perspective: 1200px; transform-style: preserve-3d; }
.tile { position: relative; overflow: hidden; border: 1px solid rgba(242, 240, 234, .07); border-radius: 2px; transform-style: preserve-3d; will-change: transform, opacity;
  background: linear-gradient(135deg, transparent 0 49.4%, rgba(242, 240, 234, .05) 49.4% 50.6%, transparent 50.6%); }
.face { position: absolute; inset: 0; opacity: 0; background-repeat: no-repeat; transform-origin: 0 50%; backface-visibility: hidden; will-change: transform, opacity;
  filter: grayscale(1) contrast(1.12) brightness(.62); }
.face-4 { filter: grayscale(.85) contrast(1.15) brightness(.7); }
/* vignette + legibility veil over the photographs */
.build-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 52%, rgba(8, 9, 11, .72) 0%, rgba(8, 9, 11, .45) 55%, rgba(8, 9, 11, .2) 100%),
    linear-gradient(180deg, rgba(8, 9, 11, .85) 0%, rgba(8, 9, 11, 0) 22%, rgba(8, 9, 11, 0) 72%, rgba(8, 9, 11, .9) 100%); }
.build-hud, .build-intro, .build-core, .build-outro, .build-meter { z-index: 2; }
.build-word .bl.locked { text-shadow: 0 10px 60px rgba(0, 0, 0, .55); }
.floor { background: rgba(24, 25, 28, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.build.is-complete .floor { background: rgba(28, 29, 32, .86); }
/* still fallback: the finished image, no tiles */
.build-static .build-mosaic, .no-js .build-mosaic { background-size: cover; background-position: center; filter: grayscale(.85) brightness(.55); }

/* ---------- No geometric background patterns (plain, photographic surfaces only) ---------- */
.hero-geo { display: none !important; }
.slot,
.venture.v-admire .slot,
.venture.v-dm .slot,
.bigger .slot { background-image: none; background-color: var(--card); }
.bigger .slot { background-color: #0c0d0f; }
.tile { background: none; border: 0; }
.build-stage { background: var(--bg); }

/* ---------- Build Sequence finale: the finished building ---------- */
.build-final { position: absolute; inset: 0; opacity: 0; overflow: hidden; pointer-events: none; }
.build-final-img { position: absolute; inset: 0; background-size: cover; background-position: center 40%; transform-origin: 50% 60%; will-change: transform;
  filter: grayscale(.85) contrast(1.15) brightness(.62); }
/* a soft light sweep crossing the glass as the build completes */
.build-final::after { content: ""; position: absolute; inset: -20% -40%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent calc(var(--sweep, -30%) - 14%), rgba(242, 240, 234, .16) var(--sweep, -30%), transparent calc(var(--sweep, -30%) + 14%)); }
/* the last letter flips as BUILD becomes BUILT */
.bl.swap { animation: bl-swap .6s cubic-bezier(.2, .7, .1, 1); }
@keyframes bl-swap { 0% { opacity: .2; filter: blur(6px); } 100% { opacity: 1; filter: none; } }
.build.is-complete .build-outro { color: var(--ink); }
.build-static .build-final, .no-js .build-final { opacity: 1; }
/* layering: final photo (0) < mosaic tiles flying toward you (1) < legibility shade (1, later) < content (2) */
.build-final { z-index: 0; }
.build-mosaic { z-index: 1; }
.build-shade { z-index: 1; }

/* Blueprint stage keeps a muted cyanotype-navy tone so it reads as a real blueprint */
.face-1 { filter: saturate(.55) contrast(1.18) brightness(.62); }

/* Blueprint stage is now a white architectural model: monochrome, pulled down so the white card doesn't glare */
.face-1 { filter: grayscale(1) contrast(1.1) brightness(.5); }

/* =========================================================
   DAY / NIGHT (js/theme.js) — night is the default brand look
   ========================================================= */
:root { --soft: #cfcdc7; --navglass: rgba(17, 18, 20, .86); --hover-line: #4a4b4f; --hero-glow: #1b1c1f; --page-glow: #1a1b1e; color-scheme: dark; }
html[data-theme="light"] {
  --bg: #F2F0EA;
  --bg-2: #E8E5DD;
  --card: #FBFAF6;
  --charcoal: #D3D0C8;
  --ink: #111214;
  --muted: #62625F;
  --line: #D6D2C8;
  --soft: #34353A;
  --navglass: rgba(242, 240, 234, .86);
  --hover-line: #9B988F;
  --hero-glow: #FFFFFF;
  --page-glow: #FBFAF6;
  color-scheme: light;
}
/* route the old hard-coded tones through tokens */
.nav.scrolled { background: var(--navglass); }
.hero { background: radial-gradient(90% 70% at 78% 40%, var(--hero-glow) 0%, var(--bg) 62%); }
.page-hero { background: radial-gradient(80% 90% at 85% 0%, var(--page-glow) 0%, var(--bg) 60%); }
.hero-tag > span:nth-child(2), .venture p.desc, .footer ul a, .prose p { color: var(--soft); }
.timeline .ev { color: var(--soft); }
.venture:hover, .filter:hover { border-color: var(--hover-line); }
.cursor-label { color: var(--bg); }
html[data-theme="light"] .draft-badge { border-color: #A9A59C; }
html[data-theme="light"] .slot-note { color: #8d8a83; }
html[data-theme="light"] .slot > img.stock { filter: grayscale(.25) brightness(.95) contrast(1.04); }
html[data-theme="light"] .hero-portrait .slot { box-shadow: 0 30px 80px -30px rgba(17, 18, 20, .45); }
html[data-theme="light"] .venture, html[data-theme="light"] .pillar { box-shadow: 0 1px 0 rgba(17, 18, 20, .03), 0 20px 50px -35px rgba(17, 18, 20, .35); }
html[data-theme="light"] .motion .tilt::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(17, 18, 20, .05), transparent 60%); }

/* flying cursors: tags readable in both modes */
.flyer-tag { color: var(--bg); }
html[data-theme="light"] .flyer-alt { color: #8d8a83; }
html[data-theme="light"] .flyer-alt .flyer-tag { background: #E1DED6; color: var(--ink); border-color: #CFCBC1; }
html[data-theme="light"] .flyer-ghost { color: var(--ink); }
html[data-theme="light"] .flyer-ghost .flyer-tag { background: rgba(251, 250, 246, .75); color: var(--ink); border-color: rgba(17, 18, 20, .25); }
html[data-theme="light"] .flyer svg path { stroke: #F2F0EA; }

/* photo-backed sections stay night-toned in day mode, like windows into the evening */
html[data-theme="light"] .build,
html[data-theme="light"] .bigger {
  --bg: #08090B; --bg-2: #111214; --card: #18191C; --charcoal: #343538;
  --ink: #F2F0EA; --muted: #A5A5A5; --line: #303034; --soft: #cfcdc7; --hover-line: #4a4b4f;
  color: var(--ink);
}
html[data-theme="light"] .build .flyer-tag, html[data-theme="light"] .bigger .flyer-tag { color: #08090B; }
html[data-theme="light"] .bigger .flyer-alt .flyer-tag { background: #343538; color: #F2F0EA; border-color: #4a4b4f; }
html[data-theme="light"] .bigger .flyer-ghost .flyer-tag { background: rgba(17, 18, 20, .7); color: #F2F0EA; border-color: rgba(242, 240, 234, .35); }
html[data-theme="light"] .bigger .flyer-ghost, html[data-theme="light"] .bigger .flyer { color: #F2F0EA; }
html[data-theme="light"] .bigger .flyer svg path { stroke: #08090B; }

/* ---------- Sun / moon toggle ---------- */
.theme-toggle {
  position: relative; width: 62px; height: 32px; border-radius: 99px; flex: none;
  border: 1px solid var(--line); background: var(--bg-2); overflow: hidden;
  transition: border-color .4s var(--ease), background .6s var(--ease);
}
.theme-toggle:hover { border-color: var(--hover-line); }
.theme-toggle .tt-sky { position: absolute; inset: 0; border-radius: inherit; transition: opacity .6s var(--ease);
  background: radial-gradient(circle at 70% 40%, #20222a 0%, #0c0d10 70%); }
.theme-toggle .tt-stars { position: absolute; inset: 0; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.theme-toggle .tt-stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #F2F0EA; opacity: .8; }
.theme-toggle .tt-stars i:nth-child(1) { left: 12px; top: 9px; } .theme-toggle .tt-stars i:nth-child(2) { left: 20px; top: 19px; width: 1.5px; height: 1.5px; }
.theme-toggle .tt-stars i:nth-child(3) { left: 27px; top: 8px; width: 1.5px; height: 1.5px; } .theme-toggle .tt-stars i:nth-child(4) { left: 9px; top: 21px; width: 1px; height: 1px; }
.theme-toggle .tt-orb {
  position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%;
  transform: translateX(30px); transition: transform .7s cubic-bezier(.68, -.35, .27, 1.35), background .6s var(--ease), box-shadow .6s var(--ease);
  background: #E9E6DD; box-shadow: inset -6px -3px 0 0 #B9B5AB; /* moon with a crescent shade */
}
.theme-toggle .tt-orb::before, .theme-toggle .tt-orb::after { content: ""; position: absolute; border-radius: 50%; background: #CFCBC1; transition: opacity .4s; }
.theme-toggle .tt-orb::before { width: 5px; height: 5px; left: 5px; top: 5px; } /* craters */
.theme-toggle .tt-orb::after { width: 3px; height: 3px; left: 11px; top: 13px; }
html[data-theme="light"] .theme-toggle .tt-sky { opacity: 0; }
html[data-theme="light"] .theme-toggle { background: linear-gradient(180deg, #F7F3E8, #E8E2D2); }
html[data-theme="light"] .theme-toggle .tt-stars { opacity: 0; transform: translateY(8px); }
html[data-theme="light"] .theme-toggle .tt-orb { transform: translateX(0); background: #111214; box-shadow: 0 0 0 4px rgba(17, 18, 20, .08), 0 0 0 8px rgba(17, 18, 20, .04); }
html[data-theme="light"] .theme-toggle .tt-orb::before, html[data-theme="light"] .theme-toggle .tt-orb::after { opacity: 0; }
.nav .theme-toggle { margin-left: 4px; }
@media (max-width: 1020px) { .nav .wrap > .theme-toggle { margin-left: auto; margin-right: 4px; } }

/* ---------- Switch transition: a circular reveal from the toggle (View Transitions) ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.theme-fallback, html.theme-fallback * { transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease) !important; }
.brand-word { white-space: nowrap; }
@media (max-width: 520px) {
  .nav .wrap { gap: 12px; }
  .brand { gap: 10px; }
  .brand-word { font-size: 13px; letter-spacing: .2em; }
  .theme-toggle { width: 54px; height: 28px; }
  .theme-toggle .tt-orb { width: 18px; height: 18px; transform: translateX(26px); }
  html[data-theme="light"] .theme-toggle .tt-orb { transform: translateX(0); }
  .theme-toggle .tt-orb::before { width: 4px; height: 4px; left: 4px; top: 4px; }
  .theme-toggle .tt-orb::after { left: 9px; top: 11px; }
}

/* =========================================================
   INTERACTIVE HERO TYPE (js/hero-type.js)
   ========================================================= */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Heading letters: weight + lean driven by cursor distance */
.type-live .hl { display: inline-block; transform: translate3d(var(--lx, 0), var(--ly, 0), 0); will-change: transform, font-weight; }
.hero h1.type-live { cursor: pointer; -webkit-user-select: none; user-select: none; }
.hl.hop { animation: hl-hop .7s cubic-bezier(.3, 1.5, .5, 1) var(--hd, 0ms) both; }
@keyframes hl-hop {
  0%   { transform: translate3d(var(--lx, 0), var(--ly, 0), 0); }
  35%  { transform: translate3d(var(--lx, 0), calc(var(--ly, 0px) - .16em), 0) scaleY(1.06); }
  65%  { transform: translate3d(var(--lx, 0), calc(var(--ly, 0px) + .02em), 0) scaleY(.97); }
  100% { transform: translate3d(var(--lx, 0), var(--ly, 0), 0); }
}

/* Tagline lines: rolling letters + underline sweep */
.hero-tag.type-live > .tl { width: fit-content; position: relative; cursor: default; transition: transform .55s var(--ease); }
.hero-tag.type-live > .tl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.7, 0, .2, 1); }
.hero-tag.type-live > .tl:hover, .hero-tag.type-live > .tl.is-on { transform: translateX(10px); }
.hero-tag.type-live > .tl:hover::after, .hero-tag.type-live > .tl.is-on::after { transform: scaleX(1); }
.rc { display: inline-block; position: relative; overflow: hidden; vertical-align: top; }
.rc-a, .rc-b { display: block; transition: transform .6s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--ci, 0) * 16ms); }
.rc-b { position: absolute; left: 0; top: 0; transform: translateY(105%); color: var(--ink); }
.tl:hover .rc-a, .tl.is-on .rc-a { transform: translateY(-105%); }
.tl:hover .rc-b, .tl.is-on .rc-b { transform: translateY(0); }

/* =========================================================
   ALL DEVICES & SCREEN SIZES
   ========================================================= */

/* --- Performance: don't pin 200 mosaic layers + every photo to the GPU.
       The browser promotes them only while they actually animate. --- */
.tile, .face, .motion .slot > img { will-change: auto; }

/* --- Notches & home indicators (iPhone/Android, portrait and landscape) --- */
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.mobile-menu { padding-bottom: max(40px, env(safe-area-inset-bottom)); padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.footer { padding-bottom: max(36px, env(safe-area-inset-bottom)); }
.build-meter { bottom: max(26px, calc(env(safe-area-inset-bottom) + 10px)); }

/* --- Text never overflows on tiny screens --- */
h1, h2, h3, .email-big { overflow-wrap: anywhere; }
.display, .h2 { overflow-wrap: normal; }
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .brand-word { font-size: 12px; letter-spacing: .16em; }
  .brand .logo-tile img { height: 32px; }
  .hero-ctas .btn, .contact-actions .btn { padding: 0 18px; }
  .display { font-size: 40px; }
}

/* --- Tablets in portrait (721–900px): keep text and portrait side by side --- */
@media (min-width: 721px) and (max-width: 900px) and (orientation: portrait) {
  .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 32px; }
  .hero-portrait { order: 0; justify-self: end; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; }
  .focus { grid-template-columns: 1fr; }
  .focus li { flex-direction: row; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .focus li + li { padding-left: 0; border-left: 0; }
}

/* --- Phones in landscape & other short screens --- */
@media (orientation: landscape) and (max-height: 520px) {
  :root { --nav-h: 60px; }
  .nav.scrolled { height: 56px; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 18px) 0 36px; }
  .hero .wrap { grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
  .hero-portrait { order: 0; justify-self: end; aspect-ratio: 4 / 5; max-width: 300px; width: 100%; }
  .hero h1.display { font-size: min(9vw, 19vh); }
  .hero-eyebrow { margin: 14px 0 16px; }
  .hero-tag { font-size: 18px; margin-bottom: 20px; }
  .focus { margin-bottom: 22px; }
  .section { padding: 72px 0; }
  .mobile-menu { justify-content: flex-start; padding-top: calc(var(--nav-h) + 12px); overflow-y: auto; }
  .mobile-menu li a { padding: 8px 0; font-size: 24px; }
  /* Build Sequence: everything fits within ~390px of height */
  .build-hud { top: calc(var(--nav-h) + 6px); }
  .build-core { margin-top: calc(var(--nav-h) * .55); }
  .build-word, .build-word.build-word { font-size: min(14vw, 23vh); }
  .floors { margin-top: 8px; gap: 4px; width: min(560px, 70vw); }
  .floor { padding: 5px 14px; }
  .floor small { font-size: 9px; letter-spacing: .12em; }
  .floor b { font-size: 14px; }
  .build-outro { display: none; }
  .build-intro { font-size: 22px; }
  .build-meter { bottom: max(8px, env(safe-area-inset-bottom)); padding-bottom: 6px; }
  .build-meter b { font-size: 22px; }
  .bigger { min-height: auto; padding: 90px 0 60px; }
  .bigger .display { font-size: min(7vw, 14vh); margin: 14px 0 16px; }
  .page-hero { padding-top: calc(var(--nav-h) + 40px); }
}

/* --- Large desktops & ultra-wide (1800px+, 2400px+): scale the layout up, not just stretch the margins --- */
@media (min-width: 1800px) {
  :root { --wrap: 1640px; --gutter: 64px; --nav-h: 96px; }
  body { font-size: 18px; }
  .display { font-size: clamp(96px, 6.4vw, 150px); }
  .h2 { font-size: clamp(60px, 3.6vw, 84px); }
  .lead { font-size: 21px; }
  .hero-tag { font-size: 30px; }
  .hero-portrait { max-width: 640px; }
  .focus { max-width: 720px; }
  .nav-links { gap: 42px; }
  .nav-links a { font-size: 15px; }
  .label, .venture-cat, .hero-eyebrow { font-size: 14px; }
  .btn { height: 58px; padding: 0 30px; font-size: 15px; }
  .post h3 { font-size: 24px; }
  .venture h3 { font-size: 46px; }
  .build-word, .build-word.build-word { font-size: min(18vw, 30vh, 420px); }
  .floors { width: min(960px, 60vw); }
  .floor b { font-size: 24px; }
}
@media (min-width: 2400px) {
  :root { --wrap: 2080px; --gutter: 80px; --nav-h: 110px; }
  body { font-size: 20px; }
  .display { font-size: clamp(150px, 6.4vw, 190px); }
  .h2 { font-size: clamp(84px, 3.6vw, 108px); }
  .lead { font-size: 24px; }
  .hero-tag { font-size: 36px; }
  .hero-portrait { max-width: 820px; }
  .focus { max-width: 900px; }
  .nav-links a { font-size: 17px; }
  .brand-word { font-size: 18px; }
  .brand .logo-tile img { height: 52px; }
  .label, .venture-cat, .hero-eyebrow { font-size: 16px; }
  .btn { height: 64px; padding: 0 34px; font-size: 17px; }
  .post h3 { font-size: 28px; }
  .venture h3 { font-size: 56px; }
}

/* --- Touch screens: comfortable 44px tap targets, no sticky hover states --- */
.theme-toggle { overflow: visible; }
.theme-toggle::after { content: ""; position: absolute; inset: -8px -4px; }
@media (pointer: coarse) {
  .nav-links a, .footer ul a, .crumbs a, .footer-bottom a { display: inline-block; padding: 10px 0; }
  .footer ul { gap: 0; }
  .link-arrow { padding-top: 10px; padding-bottom: 10px; }
  .filter { height: 44px; }
  .brand { min-height: 44px; }
}
@media (hover: none) {
  .hero-tag.type-live > .tl:hover:not(.is-on) { transform: none; }
  .hero-tag.type-live > .tl:hover:not(.is-on)::after { transform: scaleX(0); }
  .tl:hover:not(.is-on) .rc-a, .tl:hover:not(.is-on) .rc-b { transform: none; }
  .tl:hover:not(.is-on) .rc-b { transform: translateY(105%); }
  .venture:hover .slot > img.stock, .post:hover .slot > img.stock { transform: translate3d(0, var(--py, 0), 0) scale(1.12); }
}

/* --- Render below-the-fold sections lazily (big win on long pages / slow phones) --- */
#insights, #media, #contact, .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* =========================================================
   LIGHTHOUSE FIXES
   ========================================================= */
/* <picture> wrappers (AVIF + fallback) behave exactly like the plain <img> did */
.slot > picture, .logo-tile picture { display: contents; }
.slot > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-portrait .slot > picture > img { object-position: 52% 22%; }

/* Hero portrait: visible from the first frame (fast LCP) — a GPU-only settle-in zoom
   replaces the clip-path wipe, which repainted on the main thread every frame */
.motion .hero-portrait .slot > picture > img { animation: hero-settle 2.2s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes hero-settle { from { transform: scale(1.14); } to { transform: scale(1.04); } }

/* Footer headings are h3 now (sequential heading order) — same look as before */
.footer h3.foot-h { font-family: var(--font-head); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 18px; line-height: 1.1; }
@media (min-width: 2400px) { .footer h3.foot-h { font-size: 13px; } }

/* Metric-matched fallback fonts: while Sora/Inter load in the background, Arial is scaled to
   their width so text wraps the same way and nothing jumps when the real fonts swap in (CLS). */
@font-face { font-family: "Sora Fallback"; font-weight: 100 549; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"); size-adjust: 112%; ascent-override: 89%; descent-override: 23%; line-gap-override: 0%; }
@font-face { font-family: "Sora Fallback"; font-weight: 550 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Liberation Sans Bold"); size-adjust: 107%; ascent-override: 93%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-weight: 100 549; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"); size-adjust: 105.8%; ascent-override: 92%; descent-override: 23%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-weight: 550 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Liberation Sans Bold"); size-adjust: 103%; ascent-override: 94%; descent-override: 23%; line-gap-override: 0%; }
:root { --font-head: "Sora", "Sora Fallback", "Manrope", system-ui, sans-serif; --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, sans-serif; }

/* More sections rendered lazily — less layout work right after load */
#about, #ventures, #vision, #media { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
/* Page titles: a little more room so all-caps venture names never sit on the wrap point
   (which made them re-wrap when the web font swapped in) */
.page-hero .display[style*="uppercase"] { max-width: 22ch; }

/* "Back to top" target — a real element at the top of the page (the nav is fixed, so it can't be scrolled to) */
.top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* ---------- Profile details: 4-up venture facts, footer Follow column, contact social links ---------- */
.facts { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 701px) and (max-width: 980px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.social-row { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.social-row .label { margin: 0; }
.social-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Social links: icons + interaction ----------
   Contact pills: icon strokes draw in on reveal and redraw on hover, an ink fill rises from below,
   each network's icon has its own micro-motion, the arrow loops out and back in. */
.social-links a.sl {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 12px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink);
  font-family: var(--font-head); font-size: 14px; letter-spacing: .01em;
  transition: transform .5s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.social-links a.sl::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--ink);
  border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease);
}
.sl-ic { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); transition: background .45s var(--ease), transform .55s var(--ease); }
.sl-svg, .fs-svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.sl-svg .f, .fs-svg .f { fill: currentColor; stroke: none; }
.sl-arr { position: relative; display: inline-block; width: 1em; height: 1em; overflow: hidden; color: var(--muted); transition: color .45s var(--ease); }
.sl-arr i { position: absolute; inset: 0; font-style: normal; line-height: 1; transition: transform .45s var(--ease); }
.sl-arr i + i { transform: translate(-110%, 110%); }

/* entrance: pills rise in sequence, icons draw themselves */
.motion .social-links li { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion .reveal.in .social-links li { opacity: 1; transform: none; }
.social-links li:nth-child(2) { transition-delay: .08s; }
.social-links li:nth-child(3) { transition-delay: .16s; }
.social-links li:nth-child(4) { transition-delay: .24s; }
.motion .sl-svg .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion .sl-svg .f { opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; }
.motion .social-row.draw .sl-svg .d { animation: sl-draw 1.1s var(--ease) var(--d, .25s) both; }
.motion .social-row.draw .sl-svg .f { animation: sl-pop .55s var(--ease) var(--df, 1s) both; }
.motion .social-row.drawn .sl-svg .d { animation: none; stroke-dashoffset: 0; }
.motion .social-row.drawn .sl-svg .f { animation: none; opacity: 1; transform: none; }
.social-links li:nth-child(2) .sl-svg { --d: .33s; --df: 1.08s; }
.social-links li:nth-child(3) .sl-svg { --d: .41s; --df: 1.16s; }
.social-links li:nth-child(4) .sl-svg { --d: .49s; --df: 1.24s; }
@keyframes sl-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sl-pop { 0% { opacity: 0; transform: scale(0); } 70% { opacity: 1; transform: scale(1.35); } 100% { opacity: 1; transform: scale(1); } }

/* hover / keyboard focus / touch press */
.social-links a.sl:is(:hover, :focus-visible, :active) { color: var(--bg); border-color: var(--ink); }
.social-links a.sl:is(:hover, :focus-visible, :active)::before { transform: none; }
.social-links a.sl:is(:hover, :focus-visible, :active) .sl-ic { background: color-mix(in srgb, var(--bg) 12%, transparent); transform: rotate(-8deg) scale(1.08); }
.social-links a.sl:is(:hover, :focus-visible, :active) .sl-arr { color: var(--bg); }
.social-links a.sl:is(:hover, :focus-visible) .sl-arr i:first-child { transform: translate(110%, -110%); }
.social-links a.sl:is(:hover, :focus-visible) .sl-arr i + i { transform: none; }
.motion .social-row.drawn a.sl:is(:hover, :focus-visible) .sl-svg .d { animation: sl-redraw .8s var(--ease) both; }
@keyframes sl-redraw { 0% { stroke-dashoffset: 0; } 45% { stroke-dashoffset: -1; } 46% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
/* per-network micro-motion */
.sl-svg .f { transform-box: fill-box; transform-origin: center; }
.sl-youtube:is(:hover, :focus-visible) .sl-svg .f { animation: sl-play 1s var(--ease) infinite !important; opacity: 1; }
@keyframes sl-play { 0%, 100% { transform: translateX(0) scale(1); } 40% { transform: translateX(1.6px) scale(1.15); } }
.sl-instagram:is(:hover, :focus-visible) .sl-svg .f { animation: sl-flash 1.2s ease-in-out infinite !important; opacity: 1; }
@keyframes sl-flash { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.8); opacity: .35; } }
.sl-linkedin:is(:hover, :focus-visible) .sl-svg .f { animation: sl-bounce .7s var(--ease) both !important; opacity: 1; }
@keyframes sl-bounce { 0% { transform: translateY(0); } 40% { transform: translateY(-3px); } 70% { transform: translateY(.5px); } 100% { transform: none; } }
.social-links a.sl-x:is(:hover, :focus-visible) .sl-ic { transform: rotate(90deg) scale(1.08); }
.social-links a.sl:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Footer: small icon beside each name; icon spins up and the label slides on hover */
.footer ul.foot-social a.fs { display: inline-flex; align-items: center; gap: 10px; }
.fs-svg { width: 15px; height: 15px; opacity: .7; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.fs span { transition: transform .45s var(--ease); }
.footer ul.foot-social a.fs:is(:hover, :focus-visible) .fs-svg { opacity: 1; transform: translateY(-2px) rotate(-10deg) scale(1.18); }
.footer ul.foot-social a.fs:is(:hover, :focus-visible) span { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .social-links li, .sl-svg *, .sl-ic, .sl-arr i, .fs-svg, .fs span, .social-links a.sl::before { animation: none !important; transition: none !important; }
  .motion .social-links li { opacity: 1; transform: none; }
  .motion .sl-svg .d { stroke-dashoffset: 0; }
  .motion .sl-svg .f { opacity: 1; transform: none; }
}
@media (max-width: 420px) { .social-links { gap: 8px; } .social-links a.sl { padding: 0 14px 0 10px; } }
