/* ============================================================
   HUBLOU STUDIO — design-to-market
   Palette:  #50a5c8 (Hublou Blue) · #000 · #fff · #f3f3f1 (paper)
   Type:     DM Mono (primary), DM Serif Display (accent)
   ============================================================ */

:root {
  --blue: #50a5c8;
  --blue-deep: #2b8aab;
  --ink: #0a0a0a;
  --paper: #f3f3f1;
  --paper-2: #e9e8e3;
  --white: #ffffff;
  --rule: rgba(10,10,10,0.12);
  --rule-strong: rgba(10,10,10,0.65);
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif: 'DM Serif Display', Georgia, serif;
  --pad-x: clamp(20px, 5vw, 88px);
  --maxw: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-deep); }
button { font: inherit; cursor: pointer; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad-x);
  background: rgba(243, 243, 241, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav__logo .logo-svg { width: 110px; height: auto; color: var(--ink); display: block; }
.logo-text { font-family: var(--mono); font-size: 32px; font-weight: 500; fill: currentColor; }
.nav__links {
  display: flex; gap: 28px;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
}
/* Vertical flip: the label slides up and out, a blue copy slides up to take its place. */
.nav__links a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  overflow: hidden;
  line-height: 1.2;
}
.nav__links a > span {
  display: inline-block;
  transition: transform .4s cubic-bezier(.7,0,.3,1);
}
.nav__links a::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
  color: var(--blue-deep);
  white-space: nowrap;
  transition: transform .4s cubic-bezier(.7,0,.3,1);
}
.nav__links a:hover > span { transform: translateY(-160%); }
.nav__links a:hover::before { transform: translateY(-100%); }

/* A short blue line that grows under the active link */
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 1.5px; width: 0; background: var(--blue);
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}
.nav__links a:hover::after { width: 100%; }

.nav__burger {
  display: none;
  background: none; border: none; padding: 8px;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: space-around;
}
.nav__burger span {
  display: block; height: 1.5px; background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 80px var(--pad-x) 0;
  overflow: hidden;
  background:
    linear-gradient(to bottom, var(--paper) 0%, var(--paper) 70%, var(--paper-2) 100%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(10,10,10,0.04) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(10,10,10,0.04) 39px 40px);
  background-blend-mode: multiply;
}
.hero__crosshair .ch {
  position: absolute; color: var(--rule-strong);
  font-family: var(--mono); font-size: 14px; opacity: .35;
}
.ch--tl { top: 24px; left: 24px; }
.ch--tr { top: 24px; right: 24px; }
.ch--bl { bottom: 60px; left: 24px; }
.ch--br { bottom: 60px; right: 24px; }
.hero__meta {
  position: absolute;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(10,10,10,0.5);
  line-height: 1.7;
}
.hero__meta--tl { top: 50px; left: var(--pad-x); }
.hero__meta--tr { top: 50px; right: var(--pad-x); text-align: right; }
.hero__meta--bl { bottom: 90px; left: var(--pad-x); animation: blink 2s ease-in-out infinite; }
.hero__meta--br { bottom: 90px; right: var(--pad-x); color: var(--blue-deep); font-weight: 500; }
@keyframes blink { 0%, 60%, 100% { opacity: 1; } 70%, 90% { opacity: .2; } }

.hero__center {
  display: flex; flex-direction: column; align-items: center;
  gap: 28px; max-width: 920px; width: 100%;
  z-index: 2;
}
.hero__logo {
  width: min(820px, 92vw);
  height: auto;
  color: var(--ink);
}
.hero__text {
  font-family: var(--mono);
  font-size: 170px;
  font-weight: 500;
  letter-spacing: 8px;
  fill: currentColor;
}
.hero__variants > g { opacity: 0; }
.hero__variants > g.is-active { opacity: 1; }

.hero__tagline {
  text-align: center; font-size: 17px; line-height: 1.6;
  max-width: 640px; margin: 0;
}
.hero__tagline em { color: var(--blue-deep); font-style: normal; font-weight: 500; }
.hero__cta {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  margin-top: 8px;
}

.btn {
  position: relative;
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s ease, border-color .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--blue);
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  z-index: -1;
}
.btn:hover { color: var(--white); border-color: var(--blue); transform: translateY(-2px); }
.btn:hover::before { transform: translateX(0); }
/* Secondary button — white-filled with an ink border, distinct from the primary
   black .btn but still clearly a button at rest. */
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); border-color: var(--ink); }
/* .btn--inverse — always a SOLID FILLED button at rest:
     - on light / blue sections: black fill, white text
     - on dark sections: brand-blue fill, white text (since black would vanish)
   Hover state inverts: fills with white, text turns dark. */
.btn--inverse {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn--inverse::before { background: var(--white); }
.btn--inverse:hover { color: var(--ink); border-color: var(--ink); }

.section--dark .btn--inverse,
.section--contact .btn--inverse {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.section--dark .btn--inverse::before,
.section--contact .btn--inverse::before { background: var(--white); }
.section--dark .btn--inverse:hover,
.section--contact .btn--inverse:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* ticker */
.ticker {
  position: absolute; bottom: 0; left: 0; right: 0;
  overflow: hidden; border-top: 1px solid var(--rule);
  padding: 14px 0; background: var(--ink); color: var(--paper);
}
.ticker__track {
  display: inline-flex; gap: 32px;
  white-space: nowrap;
  font-size: 12px; letter-spacing: 4px;
  animation: marquee 30s linear infinite;
}
.ticker__track span { display: inline-block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section {
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.section--dark { background: var(--ink); color: var(--paper); max-width: none; }
.section--dark a { color: var(--paper); }
.section--dark a:hover { color: var(--blue); }
.section--blue { background: var(--blue); color: var(--white); max-width: none; }
.section--blue a { color: var(--white); }
.section--blue a:hover { opacity: .8; }
.section--contact { background: var(--ink); color: var(--paper); max-width: none; }

.section__head {
  margin-bottom: 56px;
  border-top: 1px solid currentColor;
  padding-top: 24px;
  opacity: .96;
  position: relative;
  display: flex; flex-direction: column;
}
.section__head::before {
  content: '';
  position: absolute; top: -1px; left: 0;
  width: 0; height: 3px; background: var(--blue);
  transition: width 1.2s cubic-bezier(.2,.7,.2,1) .2s;
}
.section__head.is-in::before { width: 80px; }

.section__num {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  opacity: .65;
  display: inline-flex; align-items: center; gap: 10px;
}
.section__num::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border: 1.5px solid currentColor; border-radius: 50%;
}

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1; margin: 16px 0 0; letter-spacing: -1px;
}
.section__sub {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  margin: 14px 0 0; opacity: .7;
}

/* ---------- ABOUT ---------- */
.about__grid {
  display: grid; gap: 48px;
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 96px;
  align-items: start;
}
.about__lead {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.25; margin: 0;
}
.about__body p + p { margin-top: 16px; }
.about__body em { color: var(--blue-deep); font-style: normal; }

.about__story h3, .about__story p { max-width: 720px; }
.about__story h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; margin: 0 0 24px;
}
.about__pillars {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; margin: 32px 0; max-width: none;
  border-top: 1px solid var(--rule);
}
.about__pillars li {
  padding: 24px 18px 24px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px; line-height: 1.4;
  display: grid; grid-template-rows: auto 1fr; gap: 12px;
  border-right: 1px solid var(--rule);
}
.about__pillars li:last-child { border-right: none; }
.about__pillars span {
  display: inline-block;
  font-size: 11px; letter-spacing: 2px;
  color: var(--blue-deep);
}

.quote {
  margin: 40px 0; padding: 0;
  border-left: 3px solid var(--blue);
  padding-left: 24px;
  font-family: var(--serif); font-size: 22px; line-height: 1.35;
  max-width: 720px;
}
.about__sign { color: var(--blue-deep); font-size: 13px; letter-spacing: 1.5px; }

/* ---------- BOARD ---------- */
.board__intro {
  max-width: 780px;
  font-family: var(--serif);
  font-size: 22px; line-height: 1.4;
  margin: 0 0 56px;
}
.board__grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.member {
  background: var(--ink);
  padding: 32px;
  display: grid; grid-template-columns: 200px 1fr; gap: 28px;
  position: relative;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.member:hover { transform: translateY(-4px); }
.member::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.member:hover::after { transform: scaleX(1); }
.member__photo {
  position: relative; aspect-ratio: 1 / 1;
  overflow: hidden; background: #1a1a1a;
}
.member__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter .5s, transform .8s cubic-bezier(.2,.7,.2,1);
}
.member:hover .member__photo img { filter: grayscale(0) contrast(1); transform: scale(1.06); }
.member__body h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; margin: 0;
}
.member__role { margin: 6px 0 0; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .7; }
.member__board { margin: 12px 0 16px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }
.member__bio { font-size: 14px; line-height: 1.5; margin: 0 0 18px; max-width: 460px; }
.kw {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.kw li {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 10px; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px;
}

.board__team { margin-top: 80px; }
.board__team h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; margin: 0 0 24px;
}
.team-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.team-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start;
}
.team-card .member__photo { width: 200px; }
.team-card__name { font-family: var(--serif); font-size: 22px; margin: 0; }
.team-card__role { margin: 6px 0 16px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }
.team-card__bio { margin: 0; font-size: 13px; line-height: 1.5; }

/* ---------- CATEGORIES ---------- */
.cat__intro {
  max-width: 720px;
  font-family: var(--serif); font-size: 22px; line-height: 1.4;
  margin: 0 0 56px;
}
.cat__intro em { color: var(--blue-deep); font-style: normal; }

.cat__grid {
  display: grid; gap: 0;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.cat {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 48px 40px;
  position: relative;
  background: var(--paper);
  overflow: hidden;
  transition: background .45s cubic-bezier(.2,.7,.2,1);
  cursor: default;
}
/* A blue panel slides up from the bottom on hover */
.cat::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--blue);
  transform: translateY(100%);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
  z-index: 0;
}
.cat:hover::before { transform: translateY(0); }
.cat > * { position: relative; z-index: 1; transition: color .45s ease; }
.cat:hover { color: var(--white); }
.cat:hover .cat__num { color: var(--white); opacity: .85; }

.cat header {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 24px;
}
.cat__num {
  font-size: 11px; letter-spacing: 2px;
  color: var(--blue-deep);
  transition: color .35s, opacity .35s;
}
.cat header h3 {
  font-family: var(--mono); font-weight: 500;
  font-size: 38px; letter-spacing: 4px;
  margin: 0;
  position: relative;
  display: inline-block;
}
.cat header h3::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: currentColor;
  transition: width .5s cubic-bezier(.2,.7,.2,1);
}
.cat:hover header h3::after { width: 100%; }

.cat__icon {
  width: 42px; height: 42px; margin-left: auto;
  color: var(--ink);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), color .35s;
}
.cat:hover .cat__icon {
  color: var(--white);
  transform: rotate(180deg) scale(1.1);
}
.cat p { margin: 0 0 22px; font-size: 14px; line-height: 1.6; }
.cat p em { color: var(--blue-deep); font-style: normal; font-weight: 500; transition: color .35s; }
.cat:hover p em { color: var(--white); }

.cat ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cat ul li {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 11px; border: 1px solid var(--rule); background: transparent;
  transition: border-color .35s, transform .45s cubic-bezier(.2,.7,.2,1),
              background .35s, color .35s;
  transition-delay: 0ms;
}
.cat:hover ul li {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
/* stagger the chip lift on hover */
.cat:hover ul li:nth-child(1) { transition-delay: 0ms;  transform: translateY(-2px); }
.cat:hover ul li:nth-child(2) { transition-delay: 40ms; transform: translateY(-2px); }
.cat:hover ul li:nth-child(3) { transition-delay: 80ms; transform: translateY(-2px); }
.cat:hover ul li:nth-child(4) { transition-delay: 120ms; transform: translateY(-2px); }
.cat:hover ul li:nth-child(5) { transition-delay: 160ms; transform: translateY(-2px); }
.cat:hover ul li:nth-child(6) { transition-delay: 200ms; transform: translateY(-2px); }

/* a tiny corner arrow that animates in */
.cat::after {
  content: '↗';
  position: absolute; right: 24px; top: 24px;
  font-size: 22px;
  color: var(--ink);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1), color .35s;
  z-index: 2;
}
.cat:hover::after {
  opacity: 1;
  color: var(--white);
  transform: translate(0, 0);
}

/* ---------- CALL (blue) ---------- */
.call__hero {
  display: grid; gap: 56px;
  grid-template-columns: 200px 1fr;
  align-items: center;
  margin-bottom: 72px;
}
.call__svg svg { width: 160px; height: 160px; color: var(--white); }
.call__intro .lead {
  font-family: var(--serif); font-size: 26px; line-height: 1.3; margin: 0 0 14px;
}
.call__intro em { color: var(--ink); font-style: normal; }
.call__intro p + p { margin-top: 14px; }

.call__split {
  display: grid; gap: 56px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 56px;
}
.call__split h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; margin: 0 0 16px;
}
.dash { list-style: none; padding: 0; margin: 16px 0 0; }
.dash li {
  padding-left: 24px; position: relative; margin-bottom: 8px; font-size: 14px;
}
.dash li::before {
  content: '—'; position: absolute; left: 0; top: 0; color: var(--ink);
}

.call__apply {
  border-top: 1px solid rgba(255,255,255,0.4);
  padding-top: 40px;
}
.call__apply h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; margin: 0 0 16px;
}
.call__apply a:not(.btn) { text-decoration: underline; text-underline-offset: 4px; }
.ol { padding-left: 24px; margin: 16px 0 32px; }
.ol li { padding: 4px 0; }

/* ---------- DIR ---------- */
.dir__lead p {
  max-width: 800px; font-size: 16px; line-height: 1.65;
}
.dir__lead p + p { margin-top: 16px; }

.dir__criteria, .dir__steps, .dir__timeline, .dir__exchange, .dir__why {
  margin-top: 80px;
}
.dir__criteria h3, .dir__steps h3, .dir__timeline h3,
.dir__exchange h3, .dir__why h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; margin: 0 0 24px;
}

.check {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.check li {
  padding: 16px 18px 16px 44px;
  position: relative;
  border: 1px solid var(--rule);
  font-size: 14px; line-height: 1.45;
}
.check li::before {
  content: '✓';
  position: absolute; left: 16px; top: 16px;
  color: var(--blue-deep); font-weight: 600;
}
.check--inverse li { border-color: rgba(255,255,255,0.18); }
.check--inverse li::before { color: var(--blue); }

.steps {
  list-style: none; padding: 0; margin: 0;
  counter-reset: s;
  border-top: 1px solid var(--rule);
}
.steps li {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0 18px 80px;
  position: relative; font-size: 15px; line-height: 1.55;
}
.steps li span {
  position: absolute; left: 0; top: 18px;
  font-size: 11px; letter-spacing: 2px;
  color: var(--blue-deep);
}
.steps--inverse { border-top-color: rgba(255,255,255,0.18); }
.steps--inverse li { border-bottom-color: rgba(255,255,255,0.18); }
.steps--inverse li span { color: var(--blue); }

.timeline {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.tl {
  border: 1px solid var(--rule);
  padding: 28px;
  background: var(--white);
}
.tl__h {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-deep); margin: 0 0 8px;
}
.tl__t {
  font-family: var(--serif); font-size: 22px;
  margin: 0 0 20px; line-height: 1.2;
}
.tl ul { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.tl li {
  padding: 8px 0;
  border-top: 1px solid var(--rule);
}
.tl li:last-child { border-bottom: 1px solid var(--rule); }

.dir__exchange {
  display: grid; gap: 40px;
  grid-template-columns: 1fr 1fr;
}
.dot { list-style: none; padding: 0; margin: 0; }
.dot li {
  padding: 10px 0 10px 22px;
  position: relative;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.dot li::before {
  content: '●';
  position: absolute; left: 0; top: 10px;
  color: var(--blue-deep); font-size: 8px;
}

.why__grid {
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.why__grid > div {
  padding: 20px 24px 20px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative; font-size: 14px; line-height: 1.45;
}
.why__grid > div span {
  position: absolute; left: 18px; top: 18px;
  color: var(--blue-deep); font-size: 18px;
}

/* ---------- DESIGNER MATE (dark) ---------- */
.mate__lead p {
  max-width: 800px; font-size: 16px; line-height: 1.65;
}
.mate__lead p + p { margin-top: 16px; }

.mate__how, .mate__profile { margin-top: 80px; }
.mate__how h3, .mate__profile h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; margin: 0 0 24px;
}
.mate__profile .btn { margin-top: 32px; }

/* ---------- CONTACT ---------- */
.contact__grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 64px;
}
.contact__card {
  padding: 28px;
  background: var(--ink);
}
.contact__label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue); margin: 0 0 12px;
}
.contact__card p { margin: 0; font-size: 14px; line-height: 1.65; }
.muted { opacity: .6; }

.contact__quick {
  max-width: 720px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 40px;
}
.contact__quick-lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 24px;
  line-height: 1.25;
}
.contact__quick-cta {
  display: flex; flex-wrap: wrap; gap: 14px;
}

/* ---------- FOOTER ---------- */
.foot {
  background: var(--ink); color: var(--paper);
  padding: 80px var(--pad-x) 24px;
}
.foot__cols {
  display: grid; gap: 48px;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  max-width: var(--maxw); margin: 0 auto 56px;
}
.foot .logo-svg--foot { width: 140px; height: auto; color: var(--paper); display: block; }
.foot__tag {
  margin: 16px 0 0;
  font-family: var(--serif); font-size: 20px; color: var(--blue);
}
.foot__label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  margin: 0 0 16px; opacity: .6;
}
.foot ul { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.foot li { padding: 4px 0; }
.foot__base {
  max-width: var(--maxw); margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  opacity: .6;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 24px var(--pad-x); gap: 16px;
    background: var(--paper); border-bottom: 1px solid var(--rule);
  }

  .hero__meta--tl, .hero__meta--tr, .hero__meta--bl, .hero__meta--br { font-size: 9px; }
  /* Don't change .hero__text font-size on small screens — the SVG already
     scales uniformly; overriding makes letters tiny vs. the variant shapes. */

  .about__grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .about__lead { font-size: 22px; }

  .board__grid { grid-template-columns: 1fr; }
  .member { grid-template-columns: 1fr; }
  .member__photo { aspect-ratio: 4/3; }
  .team-card { grid-template-columns: 1fr; gap: 18px; }
  .team-card .member__photo { width: 100%; aspect-ratio: 4/3; }

  .cat__grid { grid-template-columns: 1fr; }
  .cat { padding: 28px; }
  .cat header h3 { font-size: 28px; }

  .call__hero { grid-template-columns: 1fr; gap: 24px; }
  .call__split { grid-template-columns: 1fr; gap: 32px; }

  .timeline { grid-template-columns: 1fr; }
  .dir__exchange { grid-template-columns: 1fr; }

  .contact__grid { grid-template-columns: 1fr 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  /* Hero logo letters scale uniformly with the SVG; no font-size override needed.
     The variant shapes also use scaled groups (transform=scale(28)), so don't
     override stroke-width here either. */
  .section__title { font-size: 44px; }
  .contact__grid { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr; }
  .contact__quick { padding: 24px; }
  .check li { padding-left: 40px; }
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* -------- Custom cursor (desktop only) -------- */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: none; }
  a, button, .btn, .cat, .member, .team-card, .contact__card,
  input, textarea, select, label { cursor: none; }
  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    will-change: transform;
  }
  .cursor-dot {
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--ink);
    border-radius: 50%;
    transition: opacity .2s, background .2s, transform .15s ease-out;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    margin: -18px 0 0 -18px;
    border: 1px solid rgba(10,10,10,0.4);
    border-radius: 50%;
    transition: width .25s cubic-bezier(.2,.7,.2,1),
                height .25s cubic-bezier(.2,.7,.2,1),
                margin .25s cubic-bezier(.2,.7,.2,1),
                border-color .25s, background .25s;
  }
  .cursor-ring__label {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font: 500 9px/1 var(--mono);
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
  }
  body.cursor--label .cursor-ring {
    width: 96px; height: 96px;
    margin: -48px 0 0 -48px;
    background: var(--blue);
    border-color: var(--blue);
  }
  body.cursor--label .cursor-ring__label { opacity: 1; }
  body.cursor--label .cursor-dot { opacity: 0; }
  /* Expanded state when hovering interactive elements */
  body.cursor--hover .cursor-ring {
    width: 64px; height: 64px;
    margin: -32px 0 0 -32px;
    border-color: var(--blue);
    background: rgba(80,165,200,0.08);
  }
  body.cursor--hover .cursor-dot { background: var(--blue-deep); }
  /* Inverted (dark sections) */
  body.cursor--dark .cursor-dot { background: var(--paper); }
  body.cursor--dark .cursor-ring { border-color: rgba(255,255,255,0.5); }
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* -------- Scroll progress -------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 100;
  background: transparent;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .12s linear;
}

/* -------- Noise / grain overlay -------- */
.noise {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.8 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* -------- Hero logo paint rules -------- */
/* Belt-and-braces: ensure every SVG shape in the hero logo is outline-only,
   except the small filled dots that explicitly opt in via [fill="currentColor"]. */
.hero__logo path,
.hero__logo circle,
.hero__logo polygon,
.hero__logo polyline,
.hero__logo line {
  fill: none;
}
.hero__logo [fill="currentColor"] { fill: currentColor; }

/* -------- Logo fade-in on first load (no stroke draw — keeps iOS happy) -------- */
@keyframes fadeOnly {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero__logo > text {
  opacity: 0;
  animation: fadeOnly .5s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__logo > text:nth-of-type(1) { animation-delay: 0ms; }
.hero__logo > text:nth-of-type(2) { animation-delay: 70ms; }
.hero__logo > text:nth-of-type(3) { animation-delay: 140ms; }
.hero__logo > text:nth-of-type(4) { animation-delay: 210ms; }
.hero__logo > text:nth-of-type(5) { animation-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .hero__logo > text { animation: none; opacity: 1; }
}

/* -------- Magnetic CTAs -------- */
.hero__cta .btn {
  transition: transform .35s cubic-bezier(.2,.7,.2,1),
              color .35s ease, border-color .35s ease;
}

/* -------- Letter-by-letter title reveal -------- */
.section__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
}
.section__head.is-in .section__title .char {
  opacity: 1;
  transform: none;
}
.section__title .char--space { width: .25em; }

/* Subtle floating accents that drift across the page */
.float-accent {
  position: fixed; pointer-events: none;
  opacity: .06;
  z-index: -1;
}
.float-accent svg { width: 100%; height: 100%; }
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(20px, -30px) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}
.float-accent--1 { top: 12vh; right: 6vw; width: 120px; height: 120px; animation: drift 22s ease-in-out infinite; }
.float-accent--2 { top: 60vh; left: 4vw;  width: 80px;  height: 80px;  animation: drift 28s ease-in-out infinite reverse; }

/* Hover-arrow micro-interaction for links */
a.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  position: relative;
}
a.arrow-link::after {
  content: '→';
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
a.arrow-link:hover::after { transform: translateX(6px); }

/* Hover lift on team cards & contact cards */
.team-card, .contact__card { transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .45s, background .45s; }
.team-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.contact__card:hover { background: #111; }

/* Smooth color cycle hint on the hero variants */
.hero__variants > g { transition: opacity .6s ease; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { transition: none; transform: none; opacity: 1; }
  .ticker__track, .hero__meta--bl { animation: none; }
}

/* ---------- PROCESS section ---------- */
.section--process {
  background: var(--paper-2);
  max-width: none;
}
.section--process .section__head,
.section--process .section__num,
.section--process .section__title,
.section--process .section__sub { color: var(--ink); }
.section--process .section__head::before { background: var(--blue); }
.section--process > .section__head,
.section--process > .process__lead,
.section--process > .process__steps,
.section--process > .process__cta {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.section--process > .section__head { max-width: var(--maxw); }

.process__lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  max-width: 760px;
  margin: 0 0 72px;
  opacity: .85;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin-bottom: 72px;
}

.process__step {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 40px 32px;
  position: relative;
  background: var(--paper-2);
  transition: background .45s cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
}
.process__step::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
  z-index: 0;
}
.process__step:hover::before { transform: translateY(0); }
.process__step > * { position: relative; z-index: 1; transition: color .4s ease; }
.process__step:hover { color: var(--paper); }

.process__step-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.process__n {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--blue-deep);
  transition: color .4s;
  padding-top: 4px;
}
.process__step:hover .process__n { color: var(--blue); }

.process__icon {
  width: 48px; height: 48px;
  color: var(--ink);
  transition: color .4s, transform .6s cubic-bezier(.2,.7,.2,1);
}
.process__step:hover .process__icon {
  color: var(--paper);
  transform: rotate(15deg) scale(1.1);
}

.process__step h3 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.process__step p {
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 24px;
  opacity: .85;
}

.process__tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.process__tags li {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--rule);
  transition: border-color .4s, color .4s;
}
.process__step:hover .process__tags li {
  border-color: rgba(255,255,255,0.25);
  color: var(--paper);
}

.process__cta {
  display: flex; gap: 16px; flex-wrap: wrap;
}

@media (max-width: 960px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process__steps { grid-template-columns: 1fr; }
  .process__step { padding: 28px 24px; }
}

/* ---------- Visual polish improvements ---------- */

/* Stronger section number indicator */
.section__num::before {
  width: 10px; height: 10px;
}

/* Better about pillars hover */
.about__pillars li {
  transition: border-color .35s, padding-left .35s;
}
.about__pillars li:hover {
  padding-left: 8px;
  border-color: var(--blue);
}

/* Hero tagline stronger */
.hero__tagline {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  opacity: .9;
}

/* Quote block — slightly larger */
.quote {
  font-size: clamp(20px, 2.4vw, 26px);
}

/* Smooth step list hover */
.steps li {
  transition: padding-left .3s cubic-bezier(.2,.7,.2,1), border-color .3s;
}
.steps li:hover {
  padding-left: 88px;
  border-color: var(--blue-deep);
}

/* Contact quick block — more breathing room */
.contact__quick {
  padding: 48px;
}

/* Footer tag larger */
.foot__tag {
  font-size: 22px;
}

/* ---------- hero DTM label ---------- */
.hero__dtm {
  font-family: var(--mono);
  font-size: inherit;
  font-weight: 400;
  color: var(--blue-deep);
  letter-spacing: 0.5px;
  text-transform: none;
}

/* ---------- hero motto ---------- */
.hero__motto {
  text-align: center;
  margin: 0 0 32px;
  line-height: 1;
}
.hero__motto .hero__dtm {
  font-size: clamp(22px, 3.5vw, 42px);
  letter-spacing: 2px;
}
