/* ─── Variables ─── */
:root {
  --paper: #ffffff;
  --paper-alt: #f7f7f7;
  --ink: #0a0a0a;
  --ink-2: #2d2d2d;
  --ink-3: #6b6b6b;
  --ink-4: #b8b8b8;
  --rule: #e0e0e0;
  --rule-soft: #efefef;
  --nav-h: 64px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1080px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  animation: pageFadeIn 0.4s ease both;
}
body.fading { opacity: 0; transition: opacity 0.25s ease; }
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
img { display: block; max-width: 100%; }
em { font-style: italic; font-family: 'Instrument Serif', serif; }
p + p { margin-top: 14px; }

/* ─── Container ─── */
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }

/* ─── Typography ─── */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.eyebrow-light { color: rgba(255,255,255,0.36); }
h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}
h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
p { font-size: 15px; color: var(--ink-2); line-height: 1.82; }

/* ─── Section ─── */
.section { padding: 110px 0; }
.section-rule { border-top: 1px solid var(--rule); }
.section-bottom-rule { border-bottom: 1px solid var(--rule); }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--ink); padding: 110px 0; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: background 0.2s, gap 0.2s;
}
.btn-primary:hover { background: var(--ink-2); gap: 12px; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: border-color 0.2s, gap 0.2s;
}
.btn-secondary:hover { border-color: var(--ink-3); gap: 12px; }
.btn-light-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, gap 0.2s;
}
.btn-light-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; gap: 12px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: gap 0.2s, border-color 0.2s;
  margin-top: 22px;
}
.text-link:hover { gap: 10px; border-color: var(--ink); }

/* ─── Navigation ─── */
.nav {
  position: fixed;
  inset: 0;
  bottom: auto;
  height: var(--nav-h);
  z-index: 200;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  transition: transform 0.35s var(--ease);
}
.nav.hidden { transform: translateY(-100%); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-mark { position: relative; display: inline-block; height: 24px; width: 24px; }
.nav-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nav-name { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta-link {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink);
  margin-left: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.nav-cta-link:hover { border-color: var(--ink-3); background: var(--paper-alt); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease); }
.nav-burger.open span:first-child { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-burger.open span:last-child { transform: rotate(-45deg) translate(4.5px, -4.5px); }
.nav-mobile { display: none; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 14px 5%; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--rule-soft); }
.nav-mobile a:last-child { border-bottom: none; }

/* ─── HOME: Hero ─── */
.home-hero {
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 72px;
  position: relative;
}
.home-hero-inner { display: grid; grid-template-columns: 1fr 180px; gap: 40px; align-items: end; }
.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.hero-label::before { content: ''; width: 24px; height: 1px; background: var(--ink-4); }
.home-hero-display {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(64px, 9vw, 108px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 42px;
}
.hero-mission { font-size: 16px; line-height: 1.78; color: var(--ink-3); max-width: 400px; margin-bottom: 44px; }
.hero-links { display: flex; align-items: center; gap: 28px; }
.h-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: gap 0.2s, border-color 0.2s;
}
.h-link:hover { gap: 9px; border-color: var(--ink); }
.h-link-soft { color: var(--ink-3); border-color: transparent; }
.h-link-soft:hover { color: var(--ink); border-color: var(--rule); }
.home-hero-meta { display: flex; flex-direction: column; gap: 22px; align-items: flex-end; padding-bottom: 6px; }
.hm-item { text-align: right; }
.hm-label { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 3px; }
.hm-val { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.home-hero-rule { position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--rule); }

/* ─── HOME: About Intro ─── */
.about-intro { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.two-col-left h2 { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.2; }

/* ─── HOME: Portfolio ─── */
.portfolio-home { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.portfolio-home .section-head { margin-bottom: 48px; }
.brand-card { border: 1px solid var(--rule); border-radius: 2px; padding: 48px; transition: border-color 0.3s; }
.brand-card:hover { border-color: var(--ink-3); }
.bc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule-soft);
}
.bc-name { font-family: 'Instrument Serif', serif; font-size: 34px; font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.bc-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.bc-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.bc-logo img { max-height: 96px; max-width: 280px; border-radius: 12px; box-shadow: 0 4px 18px rgba(20,20,24,0.08); }
.bc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.bc-desc { font-size: 15px; color: var(--ink-2); line-height: 1.82; margin-bottom: 20px; }
.bc-meta { display: flex; flex-direction: column; }
.bc-meta-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.bc-meta-row:first-child { border-top: 1px solid var(--rule-soft); }
.mk { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.mv { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.portfolio-note { margin-top: 24px; font-size: 13px; color: var(--ink-4); font-style: italic; }

/* ─── HOME: Philosophy (dark) ─── */
.philosophy-section { background: var(--ink); padding: 110px 0; }
.phil-header { margin-bottom: 60px; }
.phil-header h2 { font-family: 'Instrument Serif', serif; font-size: clamp(30px, 3.5vw, 46px); font-weight: 400; color: var(--paper); }
.phil-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-left: 1px solid rgba(255,255,255,0.08);
}
.phil-item { padding: 44px 36px; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); transition: background 0.25s; }
.phil-item:hover { background: rgba(255,255,255,0.03); }
.phil-num { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: rgba(255,255,255,0.22); margin-bottom: 22px; }
.phil-item h3 { font-size: 16px; font-weight: 500; color: var(--paper); margin-bottom: 12px; }
.phil-item p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.78; }

/* ─── HOME: Contact CTA ─── */
.home-cta { padding: 100px 0; }
.home-cta h2 { font-size: clamp(28px, 3.5vw, 44px); max-width: 460px; line-height: 1.18; margin-bottom: 32px; }
.home-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── INNER PAGE: Hero ─── */
.page-hero { padding: calc(var(--nav-h) + 40px) 0 64px; border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-family: 'Instrument Serif', serif; font-size: clamp(44px, 6vw, 76px); font-weight: 400; line-height: 1.0; color: var(--ink); margin-bottom: 22px; }
.page-hero-sub { font-size: 16px; color: var(--ink-3); max-width: 500px; line-height: 1.75; }

/* ─── ABOUT: Story ─── */
.about-story { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.story-body { max-width: 640px; }
.story-body p { font-size: 17px; line-height: 1.9; color: var(--ink-2); }

/* ─── ABOUT: Founder Quote ─── */
.founder-quote { padding: 90px 0; border-bottom: 1px solid var(--rule); }
.fq-inner { max-width: 660px; }
.fq-text { font-family: 'Instrument Serif', serif; font-size: clamp(20px, 2.5vw, 28px); font-style: italic; font-weight: 400; line-height: 1.55; color: var(--ink); margin-bottom: 28px; }
.fq-attr { display: flex; align-items: center; gap: 14px; }
.fq-line { width: 28px; height: 1px; background: var(--ink-4); }
.fq-name { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.06em; }

/* ─── ABOUT: Principles ─── */
.principles-section { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.principles-section h2 { margin-bottom: 48px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.principle-item { padding: 34px 28px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transition: background 0.2s; }
.principle-item:nth-child(3n) { border-right: none; }
.principle-item:nth-last-child(-n+3) { border-bottom: none; }
.principle-item:hover { background: var(--paper-alt); }
.p-num { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-4); margin-bottom: 14px; }
.principle-item h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 10px; }
.principle-item p { font-size: 13.5px; color: var(--ink-3); line-height: 1.72; }

/* ─── ABOUT: Structure ─── */
.structure-section { padding: 100px 0; }
.structure-section h2 { margin-bottom: 52px; }
.structure-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.structure-col { background: var(--paper); padding: 44px 40px; }
.structure-col-alt { background: var(--paper-alt); }
.sc-title { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 28px; }
.sc-list { display: flex; flex-direction: column; }
.sc-item { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); }
.sc-item:last-child { border-bottom: none; }
.sc-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-4); margin-top: 9px; flex-shrink: 0; }
.sc-text { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* ─── BRANDS: Full detail ─── */
.brand-full { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.bf-header { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; margin-bottom: 52px; padding-bottom: 48px; border-bottom: 1px solid var(--rule); }
.bf-name { font-family: 'Instrument Serif', serif; font-size: clamp(40px, 5.5vw, 62px); font-weight: 400; line-height: 1.0; color: var(--ink); margin-bottom: 12px; }
.bf-tagline { font-size: 16px; color: var(--ink-3); max-width: 400px; line-height: 1.72; }
.bf-logo img { max-height: 130px; max-width: 340px; border-radius: 14px; box-shadow: 0 6px 24px rgba(20,20,24,0.10); }
.bf-body { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.bf-desc p { font-size: 16px; line-height: 1.88; color: var(--ink-2); }
.bf-facts { border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.bf-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--rule-soft); }
.bf-row:last-child { border-bottom: none; }
.bf-key { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.bf-val { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.brands-dev { padding: 80px 0; }
.dev-box { border: 1px solid var(--rule-soft); border-radius: 2px; padding: 56px; text-align: center; }
.dev-box h3 { font-family: 'Instrument Serif', serif; font-size: 22px; font-weight: 400; color: var(--ink-3); margin-bottom: 12px; }
.dev-box p { font-size: 14px; color: var(--ink-4); max-width: 400px; margin: 0 auto; }

/* ─── CONTACT ─── */
.contact-section { padding: 80px 0 110px; }
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-left p { font-size: 15.5px; color: var(--ink-2); line-height: 1.82; margin-bottom: 28px; }
.contact-details { margin-bottom: 36px; }
.cd-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.cd-row:first-child { border-top: 1px solid var(--rule-soft); }
.cd-label { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }
.cd-val { font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: color 0.2s; }
a.cd-val:hover { color: var(--ink); }
.contact-note { background: var(--paper-alt); border: 1px solid var(--rule); border-radius: 2px; padding: 36px; }
.contact-note h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 14px; }
.contact-note p { font-size: 14px; color: var(--ink-3); line-height: 1.78; }

/* ─── Footer ─── */
.footer { background: var(--ink); padding: 80px 0 0; }
.footer-inner { display: grid; grid-template-columns: 220px 1fr; gap: 80px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-mark { display: inline-block; height: 26px; width: 26px; opacity: 0.55; margin-bottom: 10px; }
.footer-mark img { display: block; width: 100%; height: 100%; object-fit: contain; filter: invert(1); }
.footer-wordmark { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; color: rgba(255,255,255,0.42); margin-bottom: 6px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.24); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.fc-title { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.26); margin-bottom: 4px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.44); transition: color 0.2s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { padding: 22px 0; }
.fbot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.2); }

/* ─── Reveal Animations (v13 · deeper fade-up + blur-in, Outbox-style) ─── */
.rv { opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo), filter 0.8s var(--ease-expo); }
.rv.in { opacity: 1; transform: none; filter: blur(0); }
.rv.d1 { transition-delay: 0.08s; }
.rv.d2 { transition-delay: 0.16s; }
.rv.d3 { transition-delay: 0.24s; }
.rv.d4 { transition-delay: 0.32s; }
.lm { display: block; overflow: hidden; }
.ln { display: block; transform: translateY(110%); transition: transform 0.72s var(--ease-expo); }
.ln.in { transform: none; }

/* ─── Scroll Progress ─── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--ink);
  z-index: 500;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ─── Custom Cursor ─── */
.c-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.c-ring {
  position: fixed;
  width: 30px; height: 30px;
  border: 1.5px solid rgba(10,10,10,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-expo), height 0.35s var(--ease-expo), border-color 0.25s, background 0.3s;
}
.c-ring.link-hov {
  width: 44px; height: 44px;
  border-color: rgba(10,10,10,0.5);
}
.c-ring.click-hov {
  width: 20px; height: 20px;
  background: rgba(10,10,10,0.08);
  border-color: transparent;
}
@media (hover: none) { .c-dot, .c-ring { display: none; } }
body.cursor-ready { cursor: none; }
body.cursor-ready a, body.cursor-ready button { cursor: none; }

/* ─── Nav logo: entrance + continuous idle ─── */
@keyframes logoLoad {
  0%   { opacity: 0; transform: scale(0.3) rotate(-90deg); }
  65%  { transform: scale(1.12) rotate(10deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes navLogoIdle {
  0%   { transform: translateY(0) scale(1) rotate(0deg); }
  10%  { transform: translateY(-2.5px) scale(1.08) rotate(0deg); }
  20%  { transform: translateY(0) scale(1) rotate(0deg); }
  68%  { transform: translateY(0) scale(1) rotate(0deg); }
  82%  { transform: translateY(-1px) scale(1.12) rotate(180deg); }
  96%  { transform: translateY(0) scale(1.04) rotate(360deg); }
  100% { transform: translateY(0) scale(1) rotate(360deg); }
}
.nav-mark {
  animation: logoLoad 0.7s var(--ease-expo) 0.1s both,
             navLogoIdle 8s ease-in-out 1s infinite;
  transform-origin: center;
  transition: transform 0.7s var(--ease-expo);
}
.nav-brand:hover .nav-mark {
  animation: none;
  transform: rotate(360deg) scale(1.18);
}

/* ─── Glassy glint (shape-masked shine sweep) ─── */
@keyframes logoGlint {
  0%   { background-position: 150% 0; }
  26%  { background-position: -60% 0; }
  100% { background-position: -60% 0; }
}
.nav-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.95) 50%, transparent 60%);
  background-size: 250% 100%;
  background-position: 150% 0;
  background-repeat: no-repeat;
  -webkit-mask: url('logo-mark.png') center / contain no-repeat;
          mask: url('logo-mark.png') center / contain no-repeat;
  animation: logoGlint 4.8s ease-in-out 1.2s infinite;
  pointer-events: none;
}
.bc-logo, .bf-logo { position: relative; }
.bc-logo::after, .bf-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.9) 50%, transparent 60%);
  background-size: 250% 100%;
  background-position: 150% 0;
  background-repeat: no-repeat;
  -webkit-mask: url('zavmark-banner.png') center / contain no-repeat;
          mask: url('zavmark-banner.png') center / contain no-repeat;
  animation: logoGlint 4.8s ease-in-out 1.8s infinite;
  pointer-events: none;
}

/* ─── Nav 3-dot button ─── */
.nav-menu-btn {
  display: flex;
  align-items: center;
  gap: 4.5px;
  padding: 8px 6px;
  margin-left: 8px;
  transition: gap 0.25s var(--ease);
}
.nm-d {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.3s var(--ease-expo), background 0.2s;
}
.nav-menu-btn:hover .nm-d:nth-child(1) { transform: translateY(-4px); }
.nav-menu-btn:hover .nm-d:nth-child(2) { transform: scale(1.4); }
.nav-menu-btn:hover .nm-d:nth-child(3) { transform: translateY(4px); }

/* ─── Nav Overlay ─── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--ink);
  clip-path: circle(0% at calc(100% - 52px) 32px);
  transition: clip-path 0.7s var(--ease-expo);
  pointer-events: none;
}
.nav-overlay.open {
  clip-path: circle(180% at calc(100% - 52px) 32px);
  pointer-events: all;
}
.nav-ol-close {
  position: fixed;
  top: 18px; right: calc(5% - 4px);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  cursor: pointer;
  z-index: 410;
  opacity: 0;
  transition: opacity 0.3s 0.3s;
}
.nav-overlay.open .nav-ol-close { opacity: 1; }
.nav-ol-close::before, .nav-ol-close::after {
  content: '';
  position: absolute;
  width: 18px; height: 1.5px;
  background: rgba(255,255,255,0.55);
  transition: background 0.2s;
}
.nav-ol-close::before { transform: rotate(45deg); }
.nav-ol-close::after  { transform: rotate(-45deg); }
.nav-ol-close:hover::before, .nav-ol-close:hover::after { background: #fff; }
.nav-ol-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 0 60px;
  position: relative;
}
.nav-ol-links { display: flex; flex-direction: column; }
.nol-link {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  position: relative;
}
.nol-link:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.nol-n {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  padding-top: 6px;
  width: 24px;
}
.nol-t {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  transform: translateY(110%);
  display: block;
  transition: transform 0.65s var(--ease-expo), color 0.25s;
  line-height: 1.1;
}
.nav-overlay.open .nol-t { transform: translateY(0); }
.nol-link:nth-child(1) .nol-t { transition-delay: 0.08s; }
.nol-link:nth-child(2) .nol-t { transition-delay: 0.14s; }
.nol-link:nth-child(3) .nol-t { transition-delay: 0.20s; }
.nol-link:nth-child(4) .nol-t { transition-delay: 0.26s; }
.nol-link:nth-child(5) .nol-t { transition-delay: 0.32s; }
.nol-link:hover .nol-t { color: #fff; }
.nav-ol-bottom {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.nav-ol-legal {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.nav-ol-legal a { transition: color 0.2s; }
.nav-ol-legal a:hover { color: rgba(255,255,255,0.7); }
.nav-ol-copy { font-size: 11px; color: rgba(255,255,255,0.18); letter-spacing: 0.05em; }
.nav-ol-social { display: flex; align-items: center; gap: 14px; }
.nav-ol-social a {
  color: rgba(255,255,255,0.4);
  display: inline-flex;
  transition: color 0.2s var(--ease), transform 0.3s var(--ease-expo);
}
.nav-ol-social a:hover { color: #fff; transform: translateY(-3px); }

/* ─── Footer social ─── */
.footer-social { display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.footer-social a {
  color: rgba(255,255,255,0.38);
  display: inline-flex;
  transition: color 0.2s var(--ease), transform 0.3s var(--ease-expo);
}
.footer-social a:hover { color: #fff; transform: translateY(-3px); }

/* ─── Newsletter page ─── */
.nl-hero { padding: calc(var(--nav-h) + 44px) 0 0; }
.nl-wrap { max-width: 640px; }
.nl-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 22px;
}
.nl-sub { font-size: 17px; color: var(--ink-3); line-height: 1.7; max-width: 520px; }
.nl-form { display: flex; gap: 10px; margin-top: 38px; max-width: 500px; }
.nl-input {
  flex: 1;
  padding: 15px 18px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nl-input::placeholder { color: var(--ink-4); }
.nl-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,0.04); }
.nl-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-4); }
.nl-success {
  margin-top: 38px;
  padding: 28px 30px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper-alt);
  max-width: 500px;
  animation: pageFadeIn 0.5s var(--ease-expo) both;
}
.nl-success strong { font-family: 'Instrument Serif', serif; font-size: 22px; font-weight: 400; display: block; margin-bottom: 8px; color: var(--ink); }
.nl-success span { font-size: 14px; color: var(--ink-3); line-height: 1.7; }
.nl-expect { padding: 96px 0 110px; }
.nl-expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 44px;
}
.nl-card { padding: 38px 32px; border-right: 1px solid var(--rule); transition: background 0.25s; }
.nl-card:last-child { border-right: none; }
.nl-card:hover { background: var(--paper-alt); }
.nl-card .nc-num { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-4); margin-bottom: 16px; }
.nl-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.nl-card p { font-size: 13.5px; color: var(--ink-3); line-height: 1.74; }

/* ─── Zavmark logo: entrance + continuous idle ─── */
@keyframes brandLogoIn {
  0%   { opacity: 0; transform: scale(0.65) translateY(10px); }
  65%  { transform: scale(1.06) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes brandLogoBob {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50%      { transform: translateY(-6px) rotate(6deg) scale(1.06); }
}
.bc-logo img, .bf-logo img {
  animation: brandLogoIn 0.9s var(--ease-expo) 0.4s both,
             brandLogoBob 3.6s ease-in-out 1.4s infinite;
  transition: transform 0.5s var(--ease-expo), filter 0.35s;
  transform-origin: center;
}
.brand-card:hover .bc-logo img {
  animation: none;
  transform: scale(1.05);
}
.bf-header:hover .bf-logo img {
  animation: none;
  transform: scale(1.04);
}

/* ─── Footer mark: entrance + continuous idle ─── */
@keyframes footerMarkIn {
  from { opacity: 0; transform: rotate(-20deg) scale(0.5); }
  to   { opacity: 0.55; transform: rotate(0deg) scale(1); }
}
@keyframes footerMarkBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.footer-mark.in-view {
  animation: footerMarkIn 0.7s var(--ease-expo) both,
             footerMarkBreathe 5.5s ease-in-out 0.9s infinite;
}

/* ─── Additional hover animations ─── */
.brand-card {
  transition: border-color 0.3s, transform 0.4s var(--ease-expo), box-shadow 0.4s var(--ease-expo);
}
.brand-card:hover {
  border-color: var(--ink-3);
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.07);
}
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .btn-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-expo);
}
.btn-primary:hover::after, .btn-secondary:hover::after { transform: scaleX(1); }

/* ─── Page load shimmer (nav border) ─── */
@keyframes navShimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}
.nav {
  border-bottom: 1px solid var(--rule);
  transition: transform 0.35s var(--ease), box-shadow 0.3s;
}
.nav:not(.hidden) { box-shadow: 0 1px 0 var(--rule); }

/* ─── Floating eyebrow ─── */
@keyframes eyebrowFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-2px); }
}
.hero-label { animation: eyebrowFloat 4s ease-in-out infinite 1.5s; }

/* ─── Legal pages ─── */
.legal-hero {
  padding: calc(var(--nav-h) + 40px) 0 60px;
  border-bottom: 1px solid var(--rule);
}
.legal-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 16px;
}
.legal-meta { font-size: 13px; color: var(--ink-4); letter-spacing: 0.02em; }
.legal-body { padding: 80px 0 110px; }
.legal-content { max-width: 720px; }
.legal-section { margin-bottom: 52px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
}
.legal-section p { font-size: 15px; color: var(--ink-2); line-height: 1.88; }
.legal-section p + p { margin-top: 13px; }
.legal-section ul { margin: 14px 0; }
.legal-section ul li {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.72;
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid var(--rule-soft);
}
.legal-section ul li:last-child { border-bottom: none; }
.legal-section ul li::before { content: '—'; position: absolute; left: 0; color: var(--ink-4); }

/* ─── Brand values section (Privacy page) ─── */
.brand-values { background: var(--ink); padding: 110px 0; }
.bv-header { margin-bottom: 56px; }
.bv-header h2 { font-family: 'Instrument Serif', serif; font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; color: var(--paper); }
.bv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-left: 1px solid rgba(255,255,255,0.08);
}
.bv-item {
  padding: 48px 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.25s;
}
.bv-item:hover { background: rgba(255,255,255,0.03); }
.bv-word {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 18px;
}
.bv-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 16px;
  line-height: 1.1;
}
.bv-desc { font-size: 14px; color: rgba(255,255,255,0.46); line-height: 1.82; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-meta { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .bc-body { grid-template-columns: 1fr; }
  .bc-top { flex-direction: column; gap: 16px; }
  .phil-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .principle-item:nth-child(3n) { border-right: 1px solid var(--rule); }
  .principle-item:nth-child(2n) { border-right: none; }
  .structure-cols { grid-template-columns: 1fr; }
  .bf-header { grid-template-columns: 1fr; }
  .bf-body { grid-template-columns: 1fr; }
  .contact-cols { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .bv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta-link { display: none; }
  .nav-burger { display: none; }
  .section { padding: 72px 0; }
  .philosophy-section { padding: 72px 0; }
  .brand-values { padding: 72px 0; }
  .home-hero { padding-top: calc(var(--nav-h) + 40px); }
  .home-hero-display { font-size: 56px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle-item:nth-child(3n) { border-right: none; }
  .principle-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .principle-item:last-child { border-bottom: none; }
  .brand-card { padding: 28px; }
  .dev-box { padding: 36px 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .fbot { flex-direction: column; gap: 6px; text-align: center; }
  .nol-t { font-size: 30px; }
  .nav-ol-inner { padding: 100px 0 80px; }
  .bv-item { padding: 36px 24px; }
  .nl-form { flex-direction: column; }
  .nl-expect-grid { grid-template-columns: 1fr; }
  .nl-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .nl-card:last-child { border-bottom: none; }
  .nav-ol-bottom { gap: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   APPLE-INSPIRED GLASS LAYER  ·  frosted, translucent, neutral
   ═══════════════════════════════════════════════════════════════ */
:root {
  --glass-bg: rgba(255,255,255,0.48);
  --glass-bg-strong: rgba(255,255,255,0.66);
  --glass-border: rgba(255,255,255,0.72);
  --glass-blur: blur(22px) saturate(140%);
  --glass-shadow: 0 14px 44px rgba(20,20,24,0.10), 0 3px 10px rgba(20,20,24,0.05);
  --glass-hi: inset 0 1px 0 rgba(255,255,255,0.85);
  --glass-radius: 18px;
}

/* ── Ambient light canvas (gives glass something to refract) ── */
html { background: #e7e9ec; }
body { background: transparent; }
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(42% 46% at 16% 14%, rgba(255,255,255,0.95), transparent 72%),
    radial-gradient(44% 50% at 84% 18%, rgba(140,140,146,0.16), transparent 70%),
    radial-gradient(50% 54% at 74% 92%, rgba(115,115,122,0.15), transparent 72%),
    radial-gradient(42% 48% at 26% 88%, rgba(255,255,255,0.85), transparent 70%),
    linear-gradient(180deg, #f5f6f7 0%, #eaecef 55%, #e5e7ea 100%);
}
body::after {
  content: '';
  position: fixed; z-index: -2; pointer-events: none;
  width: 56vmax; height: 56vmax; left: -10vmax; top: -14vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 62%);
  filter: blur(22px);
  animation: ambientDrift 32s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(48vw, 38vh) scale(1.18); }
}

/* ── Glass navigation bar ── */
.nav {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 8px 30px rgba(20,20,24,0.07), inset 0 1px 0 rgba(255,255,255,0.85);
}
.nav:not(.hidden) { box-shadow: 0 8px 30px rgba(20,20,24,0.07), inset 0 1px 0 rgba(255,255,255,0.85); }

/* ── Floating glass logo badge (hero) ── */
.hero-glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 9px 20px 9px 9px;
  margin-bottom: 30px;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: var(--glass-shadow), var(--glass-hi);
  transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
}
.hero-glass-badge:hover { transform: translateY(-2px); box-shadow: 0 22px 60px rgba(20,20,24,0.16), var(--glass-hi); }
.hgb-logo {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  overflow: hidden;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.95), inset 0 -2px 6px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.08);
}
.hgb-logo img { width: 22px; height: 22px; object-fit: contain; display: block; }
.hgb-logo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.85) 50%, transparent 60%);
  background-size: 250% 100%;
  background-position: 150% 0;
  background-repeat: no-repeat;
  animation: logoGlint 4.8s ease-in-out 1s infinite;
  pointer-events: none;
}
.hgb-text { display: flex; flex-direction: column; line-height: 1.25; }
.hgb-text b { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--ink); }
.hgb-text i { font-style: normal; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

/* ── Hero meta becomes a glass panel ── */
.home-hero-inner { grid-template-columns: 1fr 230px; }
.home-hero-meta {
  align-items: stretch;
  gap: 0;
  padding: 8px 26px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow), var(--glass-hi);
}
.home-hero-meta .hm-item {
  text-align: left;
  padding: 17px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.home-hero-meta .hm-item:last-child { border-bottom: none; }

/* ── Glass cards (refined, rounded, layered) ── */
.brand-card,
.contact-note,
.bf-facts,
.dev-box,
.nl-success,
.nl-expect-grid,
.principles-grid,
.structure-cols {
  background: var(--glass-bg) !important;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow), var(--glass-hi);
  border-radius: var(--glass-radius) !important;
}

/* grid cells inside glass containers go subtly translucent */
.structure-col { background: rgba(255,255,255,0.30); }
.structure-col-alt { background: rgba(255,255,255,0.16); }
.principle-item:hover,
.nl-card:hover { background: rgba(255,255,255,0.45); }
.bf-row, .cd-row, .bc-meta-row { border-color: rgba(0,0,0,0.06) !important; }

/* brand card lift */
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(20,20,24,0.15), var(--glass-hi);
  border-color: rgba(255,255,255,0.95) !important;
}

/* ── Glass inputs ── */
.nl-input {
  background: rgba(255,255,255,0.5);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}
.nl-input:focus { border-color: rgba(255,255,255,0.95); box-shadow: 0 0 0 4px rgba(255,255,255,0.4), var(--glass-shadow); }
.nl-success { border-radius: 16px; }

/* ── Glass buttons ── */
.btn-secondary {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: var(--glass-hi);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.95); box-shadow: var(--glass-shadow), var(--glass-hi); }
.btn-primary { border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 6px 20px rgba(20,20,24,0.18); }
.nl-form .btn-primary { border-radius: 12px; }
.contact-left .btn-primary, .home-cta .btn-primary { border-radius: 999px; }

/* ── Dark sections: subtle glass tiles ── */
.phil-item, .bv-item { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.phil-item:hover, .bv-item:hover { background: rgba(255,255,255,0.06); }

/* ── Newsletter expect cards: dividers softer on glass ── */
.nl-card { border-right-color: rgba(0,0,0,0.07); }

/* ── Reduce motion preference ── */
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .nav-mark, .bc-logo img, .bf-logo img, .footer-mark.in-view { animation: none !important; }
}

@media (max-width: 900px) {
  .home-hero-inner { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   EXTRA SHINE  ·  specular sweeps, glossy highlights, light catches
   ═══════════════════════════════════════════════════════════════ */

/* brighter edge highlights on all glass */
:root {
  --glass-hi: inset 0 1px 0 rgba(255,255,255,0.98), inset 1px 0 0 rgba(255,255,255,0.55);
}

/* ── Specular sheen sweep across glass panels ── */
@keyframes panelSheen {
  0%   { transform: translateX(-160%) skewX(-18deg); opacity: 0; }
  8%   { opacity: 1; }
  26%  { transform: translateX(320%) skewX(-18deg); opacity: 1; }
  30%  { opacity: 0; }
  100% { transform: translateX(320%) skewX(-18deg); opacity: 0; }
}
.brand-card, .contact-note, .bf-facts, .dev-box, .nl-success,
.nl-expect-grid, .home-hero-meta, .hero-glass-badge {
  position: relative;
  overflow: hidden;
}
.brand-card::before, .contact-note::before, .bf-facts::before, .dev-box::before,
.nl-success::before, .nl-expect-grid::before, .home-hero-meta::before, .hero-glass-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 38%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  pointer-events: none;
  z-index: 3;
  animation: panelSheen 8s ease-in-out infinite;
}
/* stagger the catches so they don't all flash at once */
.hero-glass-badge::before { animation-duration: 6.5s; animation-delay: 0.4s; }
.home-hero-meta::before   { animation-duration: 7.5s; animation-delay: 1.6s; }
.brand-card::before       { animation-duration: 9s;   animation-delay: 2.4s; }
.bf-facts::before         { animation-duration: 8.5s; animation-delay: 1.1s; }
.contact-note::before     { animation-duration: 9.5s; animation-delay: 0.8s; }
.dev-box::before          { animation-duration: 10s;  animation-delay: 3s; }
.nl-success::before       { animation-duration: 7s;   animation-delay: 0.6s; }
.nl-expect-grid::before   { animation-duration: 9s;   animation-delay: 2s; }

/* ── Glossy top reflection on glass surfaces ── */
.brand-card, .contact-note, .bf-facts, .home-hero-meta,
.hero-glass-badge, .nl-success, .nl-expect-grid, .dev-box {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 38%),
    linear-gradient(0deg, var(--glass-bg), var(--glass-bg)) !important;
  background-blend-mode: normal;
}

/* ── Glossy bubble highlight on the hero logo badge ── */
.hgb-logo::before {
  content: '';
  position: absolute;
  top: 5px; left: 8px;
  width: 14px; height: 9px;
  background: radial-gradient(closest-side, rgba(255,255,255,0.95), transparent);
  border-radius: 50%;
  filter: blur(0.5px);
  pointer-events: none;
  z-index: 3;
}

/* ── Hover light-sweep on buttons ── */
.btn-primary::before, .btn-secondary::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 2;
  transition: left 0.65s var(--ease-expo);
}
.btn-primary:hover::before, .btn-secondary:hover::before { left: 140%; }

/* ── Slow ambient sheen drifting across the nav ── */
.nav { overflow: hidden; }
.nav::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.6), transparent);
  pointer-events: none;
  z-index: 0;
  animation: navSheen 9s ease-in-out infinite;
}
.nav-inner { position: relative; z-index: 1; }
@keyframes navSheen {
  0%   { transform: translateX(-150%) skewX(-16deg); }
  40%  { transform: translateX(450%) skewX(-16deg); }
  100% { transform: translateX(450%) skewX(-16deg); }
}

/* ── Card hover gets an immediate bright catch ── */
.brand-card:hover::before { animation: panelSheen 1.1s ease-out; }

/* ── Brighter, glassier hover on glass buttons ── */
.btn-secondary:hover { box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,1); }

@media (prefers-reduced-motion: reduce) {
  .brand-card::before, .contact-note::before, .bf-facts::before, .dev-box::before,
  .nl-success::before, .nl-expect-grid::before, .home-hero-meta::before,
  .hero-glass-badge::before, .nav::before { animation: none; opacity: 0; }
}

/* ── Cursor visibility over the dark 3-dot menu (white, small, soft) ── */
body.nav-open .c-dot {
  background: #ffffff;
  width: 5px; height: 5px;
}
body.nav-open .c-ring {
  width: 22px; height: 22px;
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
}
body.nav-open .c-ring.link-hov {
  width: 34px; height: 34px;
  border-color: rgba(255,255,255,0.85);
}
body.nav-open .c-ring.click-hov {
  width: 16px; height: 16px;
  background: rgba(255,255,255,0.12);
  border-color: transparent;
}

/* ── Cursor visibility over dark sections (philosophy, brand-values, footer) ── */
body.on-dark .c-dot { background: #ffffff; }
body.on-dark .c-ring { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); }
body.on-dark .c-ring.link-hov { border-color: rgba(255,255,255,0.85); }
body.on-dark .c-ring.click-hov { background: rgba(255,255,255,0.12); border-color: transparent; }

/* ═══════════════════════════════════════════════════════════════
   LIGHT GLASS DROPDOWN MENU  (replaces the black full-screen overlay)
   ═══════════════════════════════════════════════════════════════ */
.nav-overlay {
  clip-path: none !important;
  background: rgba(22,22,28,0.16);
  -webkit-backdrop-filter: blur(3px) saturate(115%);
  backdrop-filter: blur(3px) saturate(115%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.nav-overlay.open { clip-path: none !important; opacity: 1; }

/* the panel: light frosted glass, slides down from the top */
.nav-ol-inner {
  position: absolute;
  top: 0; left: 0; right: 0;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 78px 0 34px;
  display: block;
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 26px 64px rgba(20,20,24,0.18), inset 0 1px 0 rgba(255,255,255,0.95);
  transform: translateY(-101%);
  transition: transform 0.55s var(--ease-expo);
}
.nav-overlay.open .nav-ol-inner { transform: translateY(0); }
.nav-ol-inner { max-height: 100vh; overflow-y: auto; }

/* constrain inner content to the site container width */
.nav-ol-links, .nav-ol-bottom {
  width: 90%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* links — dark ink on the light panel */
.nol-link { border-bottom-color: rgba(0,0,0,0.07); }
.nol-link:first-child { border-top-color: rgba(0,0,0,0.07); }
.nol-n { color: var(--ink-4); }
.nol-t { color: var(--ink-3); }
.nol-link:hover .nol-t { color: var(--ink); }

/* close button — dark on light panel */
.nav-ol-close::before, .nav-ol-close::after { background: rgba(10,10,10,0.55); }
.nav-ol-close:hover::before, .nav-ol-close:hover::after { background: var(--ink); }

/* bottom row flows after the links (no longer pinned to viewport bottom) */
.nav-ol-bottom {
  position: static;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.nav-ol-legal { color: var(--ink-3); }
.nav-ol-legal a { color: var(--ink-3); }
.nav-ol-legal a:hover { color: var(--ink); }
.nav-ol-copy { color: var(--ink-4); }
.nav-ol-social a { color: var(--ink-3); }
.nav-ol-social a:hover { color: var(--ink); }

/* menu is light now -> keep the cursor dark/default while it's open */
body.nav-open .c-dot { background: var(--ink); width: 6px; height: 6px; }
body.nav-open .c-ring { width: 30px; height: 30px; border-color: rgba(10,10,10,0.3); background: transparent; }
body.nav-open .c-ring.link-hov { width: 44px; height: 44px; border-color: rgba(10,10,10,0.5); }
body.nav-open .c-ring.click-hov { width: 20px; height: 20px; background: rgba(10,10,10,0.08); border-color: transparent; }

@media (max-width: 640px) {
  .nav-ol-inner { padding: 70px 0 30px; }
}

/* hide the 01–05 numbers in the dropdown menu */
.nol-n { display: none; }

/* ═══════════════════════════════════════════════════════════════
   v7 UPGRADE  ·  new sections, simplicity, composition, a11y
   ═══════════════════════════════════════════════════════════════ */

/* ── Accessibility: stronger muted text + keyboard focus rings ── */
:root { --ink-4: #8c8c8c; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
.philosophy-section :focus-visible, .brand-values :focus-visible, .footer :focus-visible,
.statement-section :focus-visible, .nav-overlay :focus-visible { outline-color: #fff; }

/* ── Simplified hero (single column, no meta panel) ── */
/* hero: two columns on desktop (content + orbit visual), one on mobile */
.home-hero-inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }

/* ── Hero orbit visual — Grovistra holding its ventures ── */
.hero-orbit {
  position: relative;
  width: 100%; max-width: 440px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  justify-self: center;
  display: grid; place-items: center;
}
.orbit-glow {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.9), rgba(255,255,255,0.35) 45%, transparent 72%);
  filter: blur(6px);
  animation: orbitGlowPulse 7s ease-in-out infinite;
}
@keyframes orbitGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}
.orbit-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--rule);
  display: grid; place-items: start center;
}
.orbit-ring-1 { width: 64%;  height: 64%; animation: orbitSpin 18s linear infinite; }
.orbit-ring-2 { width: 88%;  height: 88%; border-style: dashed; border-color: rgba(20,20,24,0.14); animation: orbitSpin 26s linear infinite reverse; }
.orbit-ring-3 { width: 108%; height: 108%; border-color: rgba(20,20,24,0.07); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.orbit-node {
  width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 2px 8px rgba(20,20,24,0.3), inset 0 1px 0 rgba(255,255,255,0.5);
}
.orbit-node-2 {
  width: 10px; height: 10px; margin-top: -5px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--rule);
  box-shadow: var(--glass-hi);
}
.orbit-core {
  position: relative; z-index: 2;
  width: 38%; height: 38%; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-hi);
  animation: orbitCoreFloat 6s ease-in-out infinite;
}
.orbit-core img { width: 46%; height: 46%; object-fit: contain; }
@keyframes orbitCoreFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-8px) scale(1.03); }
}
/* keep the orbit BESIDE the headline on narrower screens — just shrink it to fit */
@media (max-width: 860px) {
  .home-hero-inner { grid-template-columns: 1fr 0.8fr; gap: 28px; }
  .hero-orbit { max-width: 260px; }
}
@media (max-width: 600px) {
  .home-hero-inner { grid-template-columns: 1fr 0.7fr; gap: 18px; }
  .hero-orbit { max-width: 200px; }
}
/* only on very small phones: stack it below, centered */
@media (max-width: 440px) {
  .home-hero-inner { grid-template-columns: 1fr; }
  .hero-orbit { max-width: 220px; margin: 14px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-ring-1, .orbit-ring-2, .orbit-glow, .orbit-core { animation: none; }
}
.hero-links { gap: 22px; }

/* ── Quiet fact strip ── */
.factstrip { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: rgba(255,255,255,0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.factstrip-inner { display: flex; flex-wrap: wrap; }
.fs-item { flex: 1 1 0; min-width: 150px; padding: 26px 30px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 7px; }
.fs-item:last-child { border-right: none; }
.fs-k { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.fs-v { font-family: 'Instrument Serif', serif; font-size: 23px; line-height: 1; color: var(--ink); }

/* ── Dark editorial statement / pull-quote ── */
.statement-section { background: var(--ink); padding: 124px 0; }
.statement { font-family: 'Instrument Serif', serif; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.16; color: #fff; max-width: 900px; margin: 0 auto; text-align: center; letter-spacing: -0.01em; }
.statement em { color: rgba(255,255,255,0.5); }

/* ── Brand architecture diagram ── */
.arch-section { padding: 96px 0; border-bottom: 1px solid var(--rule); }
.arch-section h2 { margin-bottom: 50px; }
.arch { display: flex; flex-direction: column; align-items: center; }
.arch-parent {
  text-align: center; padding: 24px 44px; border-radius: var(--glass-radius);
  background: var(--glass-bg-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow), var(--glass-hi);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.arch-mark { width: 36px; height: 36px; display: grid; place-items: center; }
.arch-mark img { width: 30px; height: 30px; object-fit: contain; }
.arch-name { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; }
.arch-role { font-size: 11px; color: var(--ink-3); letter-spacing: 0.05em; }
.arch-connector { width: 1px; height: 46px; background: var(--rule); }
.arch-children { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; padding-top: 24px; position: relative; }
.arch-children::before { content: ''; position: absolute; top: 0; left: 24%; right: 24%; height: 1px; background: var(--rule); }
.arch-child {
  position: relative; min-width: 190px; text-align: center; padding: 22px 34px; border-radius: 14px;
  background: rgba(255,255,255,0.5); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-hi);
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s var(--ease-expo);
}
.arch-child:hover { transform: translateY(-3px); box-shadow: var(--glass-shadow), var(--glass-hi); }
.arch-child::before { content: ''; position: absolute; top: -24px; left: 50%; transform: translateX(-50%); width: 1px; height: 24px; background: var(--rule); }
.arch-child-name { font-family: 'Instrument Serif', serif; font-size: 23px; color: var(--ink); }
.arch-child-role { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); margin-top: 5px; }
.arch-child-future { border-style: dashed; background: transparent; box-shadow: none; }
.arch-child-future .arch-child-name { color: var(--ink-3); }

/* ── Approach: 3 steps ── */
.approach-section { padding: 96px 0; border-bottom: 1px solid var(--rule); }
.approach-section h2 { margin-bottom: 46px; }
.approach-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border-radius: var(--glass-radius);
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow), var(--glass-hi);
}
.step { padding: 40px 34px; border-right: 1px solid rgba(0,0,0,0.07); }
.step:last-child { border-right: none; }
.step-n { font-family: 'Instrument Serif', serif; font-size: 32px; color: var(--ink-4); margin-bottom: 16px; }
.step h3 { font-size: 15px; font-weight: 600; margin-bottom: 9px; }
.step p { font-size: 13.5px; color: var(--ink-3); line-height: 1.74; }

/* ── FAQ (native accordion) ── */
.faq-section { padding: 84px 0 110px; border-top: 1px solid var(--rule); }
.faq-section h2 { margin-bottom: 34px; }
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 16px; font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 300; color: var(--ink-3); transition: transform 0.3s var(--ease-expo); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; padding: 0 0 24px; max-width: 660px; }

/* ── Newsletter: simplified three-word line ── */
.nl-words { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.nl-words span { font-family: 'Instrument Serif', serif; font-size: clamp(34px, 6vw, 64px); line-height: 1; }
.nl-words span:nth-child(1) { color: var(--ink); }
.nl-words span:nth-child(2) { color: var(--ink-3); }
.nl-words span:nth-child(3) { color: var(--ink-4); }
.nl-expect-note { margin-top: 26px; font-size: 14px; color: var(--ink-3); max-width: 460px; }

@media (max-width: 760px) {
  .arch-children { flex-direction: column; padding-top: 0; gap: 18px; }
  .arch-children::before { display: none; }
  .arch-child::before { display: none; }
  .approach-steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); }
  .step:last-child { border-bottom: none; }
  .fs-item { flex-basis: 50%; }
}

/* ── Standardized vertical rhythm (content 100 / feature 112 / mobile 72) ── */
.about-intro, .portfolio-home, .home-cta, .about-story, .founder-quote,
.principles-section, .structure-section, .brand-full, .brands-dev,
.contact-section, .arch-section, .approach-section, .faq-section, .nl-expect {
  padding-top: 100px;
  padding-bottom: 100px;
}
.statement-section, .philosophy-section, .brand-values {
  padding-top: 112px;
  padding-bottom: 112px;
}
@media (max-width: 640px) {
  .about-intro, .portfolio-home, .home-cta, .about-story, .founder-quote,
  .principles-section, .structure-section, .brand-full, .brands-dev,
  .contact-section, .arch-section, .approach-section, .faq-section, .nl-expect,
  .statement-section, .philosophy-section, .brand-values {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

/* ── Glass legibility: slightly more opaque menu panel ── */
.nav-ol-inner { background: rgba(255,255,255,0.88); }

/* ═══════════════════════════════════════════════════════════════
   v12 · CONVICTION UPGRADE — Control-Center glass, new sections
   ═══════════════════════════════════════════════════════════════ */

/* ── Control-Center glass tokens: clearer, blurrier, rounder ── */
:root {
  --glass-bg: rgba(255,255,255,0.40);
  --glass-bg-strong: rgba(255,255,255,0.55);
  --glass-border: rgba(255,255,255,0.80);
  --glass-blur: blur(30px) saturate(180%);
  --glass-radius: 24px;
  --glass-shadow: 0 18px 50px rgba(20,20,24,0.12), 0 4px 12px rgba(20,20,24,0.06);
}
/* stronger ambient orb so the blur has something to refract */
body::after { opacity: 0.9; }

/* ── Hero: two-line claim ── */
.home-hero-display { font-size: clamp(46px, 7vw, 92px); line-height: 1.04; }
.home-hero-display em { color: var(--ink-3); }
.hero-mission { max-width: 480px; }

/* ── Thesis: frosted pill-grid ── */
.thesis-section { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.thesis-section h2 { margin-bottom: 46px; }
.thesis-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.th-item {
  position: relative; overflow: hidden;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow), var(--glass-hi);
  padding: 32px 26px;
  transition: transform 0.4s var(--ease-expo), background 0.3s;
}
.th-item:hover { transform: translateY(-4px); background: var(--glass-bg-strong); }
.th-item::before {
  content: ''; position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  pointer-events: none; animation: panelSheen 9s ease-in-out infinite;
}
.th-item:nth-child(2)::before { animation-delay: 1.2s; }
.th-item:nth-child(3)::before { animation-delay: 2.4s; }
.th-item:nth-child(4)::before { animation-delay: 3.6s; }
.th-item h3 { font-family: 'Instrument Serif', serif; font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.th-item p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

/* ── Portfolio grid: one live brand + future slots ── */
.portfolio-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 18px; align-items: stretch; }
.pg-card {
  position: relative; overflow: hidden;
  border-radius: var(--glass-radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), var(--glass-hi);
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease-expo), box-shadow 0.45s var(--ease-expo);
}
a.pg-card:hover { transform: translateY(-5px); box-shadow: 0 26px 64px rgba(20,20,24,0.16), var(--glass-hi); }
a.pg-card::after {
  content: ''; position: absolute; top: 0; left: 0; width: 38%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  pointer-events: none; animation: panelSheen 8s ease-in-out 1s infinite;
}
.pg-banner { padding: 24px 24px 0; }
.pg-banner img { width: 100%; max-width: 340px; border-radius: 14px; box-shadow: 0 6px 22px rgba(20,20,24,0.10); }
.pg-body { padding: 20px 26px 26px; display: flex; flex-direction: column; gap: 12px; }
.pg-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pg-name { font-family: 'Instrument Serif', serif; font-size: 27px; color: var(--ink); }
.pg-status { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.pg-body p { font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.pg-link { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.pg-future {
  border-style: dashed; background: rgba(255,255,255,0.22); box-shadow: none;
  padding: 26px; justify-content: flex-end; gap: 6px;
}
.pg-num { font-family: 'Instrument Serif', serif; font-size: 30px; color: var(--ink-4); }
.pg-future-name { font-family: 'Instrument Serif', serif; font-size: 21px; color: var(--ink-3); }
.pg-future-role { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }

/* ── Route tiles: who are you? ── */
.route-section { padding: 100px 0; border-top: 1px solid var(--rule); }
.route-section h2 { margin-bottom: 46px; }
.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.route-card {
  position: relative; overflow: hidden;
  border-radius: var(--glass-radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-hi);
  padding: 28px 24px 56px;
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s var(--ease-expo), background 0.3s;
}
.route-card:hover { transform: translateY(-4px); background: var(--glass-bg-strong); box-shadow: var(--glass-shadow), var(--glass-hi); }
.route-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.route-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.route-arrow { position: absolute; left: 24px; bottom: 20px; font-size: 17px; color: var(--ink); transition: transform 0.3s var(--ease-expo); }
.route-card:hover .route-arrow { transform: translateX(6px); }

/* ── Final CTA band (dark) ── */
.final-cta { background: var(--ink); padding: 120px 0; text-align: center; }
.final-cta h2 { font-size: clamp(34px, 5vw, 60px); color: #fff; line-height: 1.12; margin-bottom: 18px; }
.final-cta h2 em { color: rgba(255,255,255,0.5); }
.fc-sub { font-size: 15px; color: rgba(255,255,255,0.55); margin-bottom: 36px; }
.fc-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.btn-light-solid {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; padding: 13px 28px;
  background: rgba(255,255,255,0.92); color: var(--ink);
  border: 1px solid rgba(255,255,255,0.95); border-radius: 999px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 #fff, 0 8px 24px rgba(0,0,0,0.25);
  transition: gap 0.2s, background 0.2s;
}
.btn-light-solid:hover { gap: 12px; background: #fff; }
.final-cta .btn-light-outline {
  border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}
.fc-email { font-family: 'Instrument Serif', serif; font-size: 19px; color: rgba(255,255,255,0.75); border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 2px; }
.fc-email:hover { color: #fff; }
.final-cta :focus-visible { outline-color: #fff; }

/* ── Timeline (about) ── */
.timeline-section { padding: 100px 0; border-top: 1px solid var(--rule); }
.timeline-section h2 { margin-bottom: 50px; }
.timeline { position: relative; max-width: 720px; }
.timeline::before { content: ''; position: absolute; left: 86px; top: 8px; bottom: 8px; width: 1px; background: var(--rule); }
.tl-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 44px; padding: 22px 0; }
.tl-item::before { content: ''; position: absolute; left: 82.5px; top: 31px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(255,255,255,0.7); }
.tl-year { font-family: 'Instrument Serif', serif; font-size: 21px; color: var(--ink-3); text-align: right; }
.tl-body h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.tl-body p { font-size: 13.5px; color: var(--ink-3); line-height: 1.72; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .thesis-grid, .route-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pg-future { min-height: 130px; }
}
@media (max-width: 640px) {
  .thesis-grid, .route-grid { grid-template-columns: 1fr; }
  .thesis-section, .route-section, .timeline-section { padding-top: 72px; padding-bottom: 72px; }
  .final-cta { padding: 88px 0; }
  .home-hero-display { font-size: 42px; }
  .timeline::before { left: 64px; }
  .tl-item { grid-template-columns: 48px 1fr; gap: 34px; }
  .tl-item::before { left: 60.5px; }
}

/* ── Newsletter dispatch modal ── */
.dispatch-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease-expo);
}
.dispatch-modal.open {
  pointer-events: all;
  opacity: 1;
}
.dm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dm-panel {
  position: relative;
  z-index: 1;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-hi), 0 32px 80px rgba(10,10,10,0.18);
  border-radius: 24px;
  padding: 52px 48px 44px;
  max-width: 500px;
  width: 100%;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.45s var(--ease-expo);
}
.dispatch-modal.open .dm-panel {
  transform: translateY(0) scale(1);
}
.dm-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  border: 1px solid var(--rule);
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-3);
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}
.dm-close:hover { background: rgba(0,0,0,0.1); color: var(--ink); }
.dm-logo { width: 28px; height: 28px; margin-bottom: 18px; }
.dm-logo img { width: 100%; height: 100%; object-fit: contain; }
.dm-panel .eyebrow { display: block; margin-bottom: 10px; }
.dm-panel h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 14px; line-height: 1.18; }
.dm-sub { font-size: 14px; color: var(--ink-3); line-height: 1.75; margin-bottom: 28px; max-width: 380px; }
.dm-form { display: flex; flex-direction: column; gap: 12px; }
.dm-note { margin-top: 12px; font-size: 12px; color: var(--ink-4); }
@media (max-width: 640px) {
  .dm-panel { padding: 40px 26px 36px; border-radius: 18px; }
}

/* ── Mobile tap targets: 44px min on buttons and nav links ── */
@media (max-width: 760px) {
  .btn-primary, .btn-secondary, .btn-light-outline { min-height: 44px; }
  .nol-link { min-height: 52px; }
}

/* ── Comprehensive reduced-motion: disable ALL animation and transition ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body { animation: none; }
  .arch-child:hover { transform: none; }
  .rv { opacity: 1; transform: none; }
  .ln { clip-path: inset(0 0 0 0) !important; }
}

/* ═══════════════════════════════════════════════════════════════
   v13 · MOTION LAYER — Outbox-inspired scroll choreography
   ═══════════════════════════════════════════════════════════════ */

/* ── Statement band: word-by-word reveal + light sweep + ambient glow ── */
.statement-section { position: relative; overflow: hidden; }

/* ambient glow orbs drifting behind the words */
.statement-glow {
  position: absolute; inset: -20% -10%;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(420px 280px at 30% 40%, rgba(255,255,255,0.10), transparent 70%),
    radial-gradient(360px 300px at 72% 62%, rgba(255,255,255,0.07), transparent 72%);
  animation: statementGlow 14s ease-in-out infinite alternate;
}
@keyframes statementGlow {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1);    opacity: 0.8; }
  50%  { opacity: 1; }
  100% { transform: translate3d(4%, 3%, 0) scale(1.12);   opacity: 0.85; }
}
.statement-section .container { position: relative; z-index: 1; }

/* each word rises, un-blurs, and settles — staggered */
.statement .sw { display: inline-block; opacity: 0; transform: translateY(34px) rotate(3deg); filter: blur(10px); transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo), filter 0.7s var(--ease-expo); }
.statement.in .sw { opacity: 1; transform: none; filter: blur(0); }
.statement.in .sw:nth-of-type(1) { transition-delay: 0.05s; }
.statement.in .sw:nth-of-type(2) { transition-delay: 0.15s; }
.statement.in .sw:nth-of-type(3) { transition-delay: 0.25s; }
.statement.in .sw:nth-of-type(4) { transition-delay: 0.35s; }
.statement.in .sw:nth-of-type(5) { transition-delay: 0.50s; }
.statement.in .sw:nth-of-type(6) { transition-delay: 0.60s; }
.statement.in .sw:nth-of-type(7) { transition-delay: 0.70s; }
.statement.in .sw:nth-of-type(8) { transition-delay: 0.82s; }

/* the highlighted word keeps a soft glowing pulse once revealed */
.statement em { color: #fff; font-style: italic; }
.statement.in .sw:last-child em {
  background: linear-gradient(100deg, rgba(255,255,255,0.55), #fff 50%, rgba(255,255,255,0.55));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: togetherGlow 4.5s ease-in-out 1s infinite;
}
@keyframes togetherGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); opacity: 0.85; }
  50%      { filter: drop-shadow(0 0 14px rgba(255,255,255,0.45)); opacity: 1; }
}

/* slow specular light sweep across the whole line, looping */
.statement-section::after {
  content: ''; position: absolute; top: 0; left: 0; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.07) 45%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.07) 55%, transparent 100%);
  pointer-events: none; z-index: 1;
  animation: statementSweep 7s ease-in-out 1.2s infinite;
}
@keyframes statementSweep {
  0%   { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
  20%  { opacity: 1; }
  55%  { transform: translateX(360%) skewX(-12deg); opacity: 1; }
  60%, 100% { transform: translateX(360%) skewX(-12deg); opacity: 0; }
}

/* ── Hero logo mark: animated, sits above the headline ── */
.hero-logo { position: relative; width: 62px; height: 62px; margin-bottom: 28px; }
.hero-logo img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  transform-origin: center;
  animation: heroLogoIn 0.95s var(--ease-expo) 0.2s both,
             heroLogoIdle 8s ease-in-out 1.2s infinite;
}
@keyframes heroLogoIn {
  0%   { opacity: 0; transform: scale(0.3) rotate(-130deg); }
  60%  { transform: scale(1.16) rotate(12deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes heroLogoIdle {
  0%   { transform: translateY(0) scale(1) rotate(0deg); }
  11%  { transform: translateY(-5px) scale(1.07) rotate(0deg); }
  24%  { transform: translateY(0) scale(1) rotate(0deg); }
  70%  { transform: translateY(0) scale(1) rotate(0deg); }
  84%  { transform: translateY(-1px) scale(1.12) rotate(180deg); }
  97%  { transform: translateY(0) scale(1.04) rotate(360deg); }
  100% { transform: translateY(0) scale(1) rotate(360deg); }
}
/* glassy glint sweep masked to the logo shape */
.hero-logo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.95) 50%, transparent 60%);
  background-size: 250% 100%; background-position: 150% 0; background-repeat: no-repeat;
  -webkit-mask: url('logo-mark.png') center / contain no-repeat;
          mask: url('logo-mark.png') center / contain no-repeat;
  animation: logoGlint 4.8s ease-in-out 1.4s infinite;
  pointer-events: none;
}
@media (max-width: 640px) { .hero-logo { width: 50px; height: 50px; margin-bottom: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-logo img { animation: none; opacity: 1; }
  .hero-logo::after { animation: none; opacity: 0; }
}

/* ── Arrow nudge on all hover links (consistent micro-interaction) ── */
.text-link, .pg-link { display: inline-block; transition: transform 0.3s var(--ease-expo), color 0.2s; }
.text-link:hover, a.pg-card:hover .pg-link { transform: translateX(5px); }

/* ── Reduced motion: kill the new layer too ── */
@media (prefers-reduced-motion: reduce) {
  .statement .sw { opacity: 1; transform: none; filter: none; transition: none; }
  .statement-glow, .statement-section::after { animation: none; }
  .statement.in .sw:last-child em { animation: none; -webkit-text-fill-color: #fff; }
}

/* ═══════════════════════════════════════════════════════════════
   v20 · MIRROR GLASS — polished, reflective, high-shine
   ═══════════════════════════════════════════════════════════════ */

/* brighter, more saturated glass + crisp mirror rim */
:root {
  --glass-bg: rgba(255,255,255,0.46);
  --glass-bg-strong: rgba(255,255,255,0.62);
  --glass-border: rgba(255,255,255,0.92);
  --glass-blur: blur(34px) saturate(200%) brightness(1.06);
  --glass-hi:
    inset 0 1.5px 0 rgba(255,255,255,1),
    inset 1px 0 0 rgba(255,255,255,0.7),
    inset -1px 0 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(255,255,255,0.3);
}

/* glossy diagonal reflection laid over every glass surface (mirror look) */
.th-item, .route-card, .pg-card, .arch-parent, .arch-child,
.dm-panel, .contact-note, .bf-facts, .dev-box, .approach-steps {
  background-image:
    linear-gradient(133deg,
      rgba(255,255,255,0.70) 0%,
      rgba(255,255,255,0.22) 18%,
      rgba(255,255,255,0.04) 38%,
      rgba(255,255,255,0) 52%);
  background-repeat: no-repeat;
}

/* the orbit core becomes a polished glass mirror-ball */
.orbit-core {
  background-image:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.35) 30%, rgba(255,255,255,0) 55%),
    linear-gradient(150deg, rgba(255,255,255,0.6), rgba(255,255,255,0.05) 60%);
  box-shadow:
    var(--glass-shadow),
    inset 0 2px 4px rgba(255,255,255,1),
    inset 0 -10px 20px rgba(255,255,255,0.4),
    inset 8px -8px 24px rgba(20,20,24,0.04);
}

/* brighter specular sweep across glass panels */
.brand-card::before, .contact-note::before, .bf-facts::before, .dev-box::before,
.nl-success::before, .nl-expect-grid::before, .hero-glass-badge::before,
.th-item::before, a.pg-card::after {
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.85) 50%, transparent 100%) !important;
}

/* a slow, looping mirror glint that travels across the big cards */
.pg-card::before {
  content: ''; position: absolute; top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: rotate(8deg);
  animation: mirrorGlint 7s ease-in-out 0.5s infinite;
  pointer-events: none; z-index: 4;
}
.th-item, .route-card { position: relative; }
@keyframes mirrorGlint {
  0%   { left: -60%; opacity: 0; }
  15%  { opacity: 1; }
  50%  { left: 130%; opacity: 1; }
  60%, 100% { left: 130%; opacity: 0; }
}

/* crisper, brighter borders on the headline glass elements */
.th-item, .route-card, .pg-card, .arch-parent, .dm-panel, .orbit-core, .nav-ol-inner {
  border-color: rgba(255,255,255,0.95);
}

@media (prefers-reduced-motion: reduce) {
  .pg-card::before { animation: none; opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   v21 · DARK DEEP MIRROR ORBIT — glossy obsidian-glass sphere
   ═══════════════════════════════════════════════════════════════ */
.orbit-core {
  background:
    radial-gradient(circle at 33% 26%, rgba(255,255,255,0.98), rgba(255,255,255,0.22) 14%, transparent 34%),
    radial-gradient(circle at 64% 72%, rgba(90,90,105,0.55), transparent 46%),
    radial-gradient(circle at 50% 50%, #36363d 0%, #18181c 58%, #07070a 100%);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow:
    0 26px 64px rgba(6,6,10,0.5),
    0 8px 20px rgba(6,6,10,0.35),
    inset 0 2px 6px rgba(255,255,255,0.75),
    inset -10px -14px 30px rgba(0,0,0,0.7),
    inset 8px 12px 26px rgba(255,255,255,0.14);
  overflow: hidden;
  animation: orbitCoreFloat 5.5s ease-in-out infinite;
}
/* rotating specular light sweeping around the sphere — clearly visible motion */
.orbit-core::before {
  content: ''; position: absolute; inset: -30%; z-index: 1;
  background: conic-gradient(from 0deg,
    transparent 0deg, rgba(255,255,255,0.30) 36deg, rgba(255,255,255,0.06) 82deg,
    transparent 132deg, transparent 360deg);
  animation: orbitShineSpin 6s linear infinite;
  pointer-events: none;
}
@keyframes orbitShineSpin { to { transform: rotate(360deg); } }
/* logo inverted to white so it reads on the dark mirror */
.orbit-core img {
  position: relative; z-index: 2;
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.4));
  opacity: 0.95;
}
/* faster, more visible ring motion + glowing pulsing nodes */
.orbit-ring-1 { animation-duration: 13s; }
.orbit-ring-2 { animation-duration: 19s; }
.orbit-node {
  background: var(--ink);
  box-shadow: 0 0 12px rgba(20,20,24,0.5), 0 2px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.6);
  animation: orbitNodePulse 3s ease-in-out infinite;
}
.orbit-node-2 {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 10px rgba(255,255,255,0.9), var(--glass-hi);
  animation: orbitNodePulse 3.8s ease-in-out infinite;
}
@keyframes orbitNodePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }
/* brighter halo behind the dark sphere (rim light) */
.orbit-glow {
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,1), rgba(255,255,255,0.4) 42%, transparent 70%);
}
@media (prefers-reduced-motion: reduce) {
  .orbit-core::before, .orbit-node, .orbit-node-2 { animation: none; }
}
