/* =========================================================
   INTERNATIONAL NEXUS — Family Office
   Dark, editorial, institutional
   ========================================================= */

:root {
  /* Palette — ink, warm off-whites, muted gold */
  --ink-0: #0b0c0e;          /* deepest */
  --ink-1: #101114;          /* page bg */
  --ink-2: #16181c;          /* elevated */
  --ink-3: #1d2026;          /* card */
  --ink-4: #262a31;          /* border */
  --ink-5: #353a44;          /* border hover */

  --bone-1: #f4efe6;         /* primary type */
  --bone-2: #d8d2c6;         /* secondary type */
  --bone-3: #8a867e;         /* tertiary / meta */
  --bone-4: #5a5751;         /* low contrast */

  --gold: oklch(0.78 0.09 78);     /* warm muted gold accent */
  --gold-dim: oklch(0.62 0.07 78);
  --gold-glow: oklch(0.78 0.09 78 / 0.15);

  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;

  --maxw: 1440px;
  --gutter: clamp(32px, 5vw, 80px);

  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-in-out: cubic-bezier(.6,.05,.3,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink-1);
  color: var(--bone-1);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--gold-glow); color: var(--bone-1); }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.02;
}

h1 { font-size: clamp(52px, 8.4vw, 148px); }
h2 { font-size: clamp(40px, 5.2vw, 84px); }
h3 { font-size: clamp(28px, 2.8vw, 44px); }
h4 { font-size: clamp(20px, 1.6vw, 28px); }

p { margin: 0; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-3);
}

.rule { height: 1px; background: var(--ink-4); width: 100%; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Top nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(16,17,20,.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--ink-4);
}
.nav-brand {
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
}
.nav-mark {
  width: 28px; height: 28px; position: relative;
  display: grid; place-items: center;
}
.nav-mark svg { width: 100%; height: 100%; }
.nav-brand-text {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .01em;
  line-height: 1;
}
.nav-brand-text small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--bone-3);
  margin-top: 4px;
  text-transform: uppercase;
}

.nav-links {
  display: flex; gap: 4px;
  background: rgba(29,32,38,.6);
  border: 1px solid var(--ink-4);
  border-radius: 999px;
  padding: 6px;
}
.nav-link {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--bone-2);
  cursor: pointer;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--bone-1); }
.nav-link.active {
  background: var(--ink-4);
  color: var(--bone-1);
}

.nav-cta {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  border: 1px solid var(--ink-4);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.nav-cta:hover { border-color: var(--gold-dim); color: var(--gold); }
.nav-cta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
}

/* Mobile nav button */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--ink-4);
  border-radius: 999px;
  background: rgba(29,32,38,.6);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 16px; height: 1px;
  background: var(--bone-1);
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink-0);
  padding: 96px 28px 40px;
  display: none;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.mobile-drawer.open {
  display: flex;
  opacity: 1;
  transform: none;
}
.mobile-drawer .m-link {
  padding: 20px 4px;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--bone-1);
  border-bottom: 1px solid var(--ink-4);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  cursor: pointer;
}
.mobile-drawer .m-link .m-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--bone-3);
}
.mobile-drawer .m-link.active { color: var(--gold); }
.mobile-drawer .m-cta {
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  color: var(--gold);
  font-size: 14px;
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.mobile-drawer .m-foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--bone-4);
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .nav { padding: 16px var(--gutter); }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-brand-text { font-size: 16px; }
  .nav-brand-text small { font-size: 8px; }
}

/* ---------- Page / sections ---------- */
.page {
  display: block;
  padding-top: 84px;
  min-height: 100vh;
  animation: pageIn .6s var(--ease-out);
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section {
  padding: clamp(72px, 10vh, 140px) var(--gutter);
  border-top: 1px solid var(--ink-4);
}
.section:first-of-type { border-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: baseline;
  margin-bottom: 64px;
}
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }

.section-eyebrow { display: flex; align-items: center; gap: 14px; }
.section-eyebrow .num {
  font-family: var(--mono); font-size: 11px; color: var(--gold);
  letter-spacing: .18em;
}
.section-eyebrow .label {
  font-family: var(--mono); font-size: 11px; color: var(--bone-3);
  letter-spacing: .22em; text-transform: uppercase;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-chars .ch {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 20ms);
}
.reveal-chars.in .ch { transform: translateY(0); }

/* ========== HOME ========== */
.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 48px var(--gutter) 36px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 85% 20%, rgba(212,175,55,.07), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(212,175,55,.04), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  pointer-events: none;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  position: relative;
}
.hero-meta .col { display: flex; flex-direction: column; gap: 6px; }
.hero-meta .val { font-family: var(--serif); font-size: 18px; color: var(--bone-1); }

.hero-headline {
  margin-top: auto;
  position: relative;
}
.hero-headline h1 {
  font-size: clamp(56px, 10vw, 164px);
  line-height: .92;
  letter-spacing: -0.02em;
}
.hero-headline h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 48px;
  align-items: end;
}
.hero-sub p {
  max-width: 52ch;
  font-size: 17px;
  color: var(--bone-2);
  line-height: 1.55;
}
.hero-sub .stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.hero-sub .stats .k {
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 46px);
  color: var(--bone-1);
  line-height: 1;
  margin-bottom: 8px;
}
.hero-sub .stats .lb {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--bone-3);
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .hero-sub { grid-template-columns: 1fr; }
  .hero-sub .stats { grid-template-columns: repeat(3, 1fr); }
}

/* scrolling ticker */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--ink-4);
  border-bottom: 1px solid var(--ink-4);
  padding: 20px 0;
  background: var(--ink-0);
}
.ticker-track {
  display: flex; gap: 64px;
  animation: scroll 50s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--bone-2);
  white-space: nowrap;
  display: flex; align-items: center; gap: 64px;
}
.ticker-track span::after {
  content: "✦";
  color: var(--gold);
  font-size: 12px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* philosophy */
.phil {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
@media (max-width: 900px) { .phil { grid-template-columns: 1fr; } }
.phil h2 { max-width: 14ch; }
.phil-body p {
  font-size: 18px;
  color: var(--bone-2);
  line-height: 1.6;
}
.phil-body p + p { margin-top: 18px; }
.phil-list {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--ink-4);
}
.phil-list li {
  padding: 22px 0;
  display: grid; grid-template-columns: 60px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--ink-4);
  align-items: baseline;
}
.phil-list .n {
  font-family: var(--mono); font-size: 11px;
  color: var(--gold); letter-spacing: .2em;
}
.phil-list .t { font-family: var(--serif); font-size: 22px; }
.phil-list .d { grid-column: 2; color: var(--bone-3); font-size: 14px; margin-top: 6px; }

/* ========== SECTORS ========== */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-4);
  border: 1px solid var(--ink-4);
}
@media (max-width: 900px) { .sectors { grid-template-columns: 1fr; } }

.sector {
  background: var(--ink-1);
  padding: 40px 36px 44px;
  min-height: 440px;
  display: flex; flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: background .5s var(--ease-out);
  overflow: hidden;
}
.sector:hover { background: var(--ink-2); }
.sector-num {
  font-family: var(--mono); font-size: 11px;
  color: var(--gold); letter-spacing: .2em;
}
.sector-art {
  height: 220px;
  margin: 28px 0;
  border: 1px solid var(--ink-4);
  position: relative;
  background: var(--ink-0);
  overflow: hidden;
}
.sector-art svg { width: 100%; height: 100%; display: block; }
.sector-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) saturate(0.9);
  transition: transform .8s var(--ease-out), filter .5s var(--ease-out);
}
.sector:hover .sector-art img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}

.sector h3 { font-size: 34px; margin-bottom: 10px; }
.sector p { color: var(--bone-3); font-size: 14px; max-width: 36ch; }
.sector-meta {
  margin-top: auto;
  display: flex; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--ink-4);
  font-family: var(--mono); font-size: 10px;
  color: var(--bone-3); letter-spacing: .18em; text-transform: uppercase;
}
.sector-meta .v { color: var(--bone-1); }

/* ========== PORTFOLIO (anonymous) ========== */
.pf-head {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: end;
}
@media (max-width: 900px) { .pf-head { grid-template-columns: 1fr; } }

.pf-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pf-filter {
  padding: 8px 14px;
  border: 1px solid var(--ink-4);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: .08em;
  color: var(--bone-2);
  cursor: pointer;
  text-transform: uppercase;
  transition: all .2s;
}
.pf-filter:hover { border-color: var(--ink-5); color: var(--bone-1); }
.pf-filter.active {
  background: var(--bone-1); border-color: var(--bone-1); color: var(--ink-0);
}

.pf-table {
  border-top: 1px solid var(--ink-4);
}
.pf-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr 1fr 1fr 40px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--ink-4);
  cursor: pointer;
  transition: background .3s, padding .4s var(--ease-out);
  position: relative;
}
.pf-row.header {
  font-family: var(--mono); font-size: 10px;
  color: var(--bone-3); letter-spacing: .2em;
  text-transform: uppercase;
  cursor: default;
  padding: 14px 8px;
}
.pf-row.header:hover { background: transparent; padding-left: 8px; }
.pf-row:not(.header):hover { background: rgba(255,255,255,.02); padding-left: 18px; }

.pf-idx { font-family: var(--mono); font-size: 11px; color: var(--bone-4); }
.pf-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--bone-1);
}
.pf-name small {
  display: block;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .16em;
  color: var(--bone-3);
  text-transform: uppercase;
  margin-top: 4px;
}
.pf-sector, .pf-stage, .pf-year {
  font-size: 13px; color: var(--bone-2);
}
.pf-stage .tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--ink-4);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase;
}
.pf-arrow { color: var(--bone-4); transition: transform .3s, color .3s; }
.pf-row:hover .pf-arrow { color: var(--gold); transform: translateX(4px); }

/* ========== ABOUT ========== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .about-intro { grid-template-columns: 1fr; } }
.about-intro h2 { font-size: clamp(36px, 4.2vw, 68px); max-width: 14ch; }
.about-intro p { font-size: 17px; color: var(--bone-2); line-height: 1.65; max-width: 56ch; }
.about-intro p + p { margin-top: 16px; }

.about-portrait {
  margin-top: 80px;
  aspect-ratio: 21 / 9;
  border: 1px solid var(--ink-4);
  background: var(--ink-0);
  position: relative;
  overflow: hidden;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--ink-4);
  border-bottom: 1px solid var(--ink-4);
}
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }
.principle {
  padding: 32px 24px;
  border-right: 1px solid var(--ink-4);
  min-height: 220px;
  display: flex; flex-direction: column;
  position: relative;
}
.principle:last-child { border-right: 0; }
.principle .n { font-family: var(--mono); font-size: 10px; color: var(--gold); letter-spacing: .2em; }
.principle h4 { font-size: 22px; margin-top: 8px; margin-bottom: 12px; }
.principle p { color: var(--bone-3); font-size: 13px; line-height: 1.55; }

/* timeline */
.timeline {
  margin-top: 100px;
  position: relative;
}
.timeline-track {
  position: relative;
  padding-left: 24px;
  border-left: 1px solid var(--ink-4);
}
.tl-item {
  padding: 24px 0 24px 40px;
  position: relative;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -29px; top: 34px;
  width: 10px; height: 10px;
  background: var(--ink-1);
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.tl-year {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--bone-1);
  line-height: 1;
}
.tl-body {
  margin-top: 12px;
  display: grid; grid-template-columns: 200px 1fr;
  gap: 24px;
}
.tl-tag {
  font-family: var(--mono);
  font-size: 10px; color: var(--gold);
  letter-spacing: .2em; text-transform: uppercase;
}
.tl-desc { color: var(--bone-2); max-width: 60ch; font-size: 15px; }

/* ========== INSIGHTS ========== */
.insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .insights { grid-template-columns: 1fr; } }

.insight {
  display: flex; flex-direction: column;
  gap: 16px;
  cursor: pointer;
  border-top: 1px solid var(--ink-4);
  padding-top: 24px;
  transition: border-color .3s;
}
.insight:hover { border-top-color: var(--gold-dim); }
.insight-cover {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ink-4);
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease-out);
}
.insight:hover .insight-cover { transform: translateY(-4px); }
.insight-cover svg { width: 100%; height: 100%; display: block; }
.insight-meta { display: flex; gap: 14px; font-family: var(--mono); font-size: 10px; color: var(--bone-3); letter-spacing: .16em; text-transform: uppercase; }
.insight-meta .cat { color: var(--gold); }
.insight h3 { font-size: 26px; line-height: 1.1; }
.insight p { color: var(--bone-3); font-size: 14px; }

/* feature insight */
.insight-feature {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  cursor: pointer;
}
@media (max-width: 900px) { .insight-feature { grid-template-columns: 1fr; } }
.insight-feature .cover {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ink-4);
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}
.insight-feature h2 {
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.05;
  margin: 16px 0 20px;
  max-width: 18ch;
}
.insight-feature .meta { display: flex; gap: 14px; font-family: var(--mono); font-size: 10px; color: var(--bone-3); letter-spacing: .16em; text-transform: uppercase; }
.insight-feature .meta .cat { color: var(--gold); }
.insight-feature p { color: var(--bone-2); font-size: 16px; max-width: 58ch; }

/* ========== CONTACT ========== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.contact-head h2 { font-size: clamp(40px, 5vw, 84px); line-height: 1; max-width: 12ch; }
.contact-head h2 em { font-style: italic; color: var(--gold); }
.contact-head p { margin-top: 24px; color: var(--bone-2); max-width: 42ch; font-size: 16px; }

.contact-details { margin-top: 48px; display: grid; gap: 28px; }
.cd-item {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-4);
}
.cd-item .k { font-family: var(--mono); font-size: 10px; color: var(--bone-3); letter-spacing: .2em; text-transform: uppercase; padding-top: 6px; }
.cd-item .v { font-family: var(--serif); font-size: 20px; color: var(--bone-1); line-height: 1.3; }
.cd-item .v small { display: block; font-family: var(--sans); font-size: 13px; color: var(--bone-3); margin-top: 6px; letter-spacing: normal; }

/* form */
.form {
  background: var(--ink-2);
  border: 1px solid var(--ink-4);
  padding: 40px;
}
.form h3 { font-size: 26px; margin-bottom: 28px; }
.form .row { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; margin-bottom: 22px; }
.form .row.full { grid-template-columns: 1fr; }
.form label {
  font-family: var(--mono); font-size: 10px; color: var(--bone-3);
  letter-spacing: .2em; text-transform: uppercase;
  display: block; margin-bottom: 10px;
}
.form input, .form textarea, .form select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-4);
  color: var(--bone-1);
  font-family: var(--sans);
  font-size: 15px;
  padding: 10px 0;
  outline: none;
  transition: border-color .3s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-bottom-color: var(--gold);
}
.form textarea { resize: vertical; min-height: 100px; }
.form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%238a867e' fill='none' stroke-width='1.2'/></svg>"); background-repeat: no-repeat; background-position: right center; padding-right: 20px; }
.form-submit {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  background: var(--bone-1);
  color: var(--ink-0);
  border: 0;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, transform .2s;
  font-weight: 500;
}
.form-submit:hover { background: var(--gold); transform: translateY(-1px); }

/* footer */
.foot {
  background: var(--ink-0);
  border-top: 1px solid var(--ink-4);
  padding: 64px var(--gutter) 36px;
  margin-top: 0;
}
.foot-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ink-4);
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot h5 { font-family: var(--mono); font-size: 10px; color: var(--bone-3); letter-spacing: .22em; text-transform: uppercase; margin: 0 0 18px; }
.foot a { display: block; color: var(--bone-2); font-size: 14px; padding: 6px 0; transition: color .2s; }
.foot a:hover { color: var(--gold); }
.foot-brand .name { font-family: var(--serif); font-size: 24px; color: var(--bone-1); }
.foot-brand p { color: var(--bone-3); font-size: 13px; max-width: 36ch; margin-top: 14px; }
.foot-bottom {
  max-width: var(--maxw); margin: 32px auto 0;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; color: var(--bone-4); letter-spacing: .2em; text-transform: uppercase;
}

/* Cursor ornament */
.cursor-orb {
  position: fixed;
  width: 12px; height: 12px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s;
  z-index: 200;
  mix-blend-mode: difference;
  opacity: 0;
}
@media (hover: hover) { .cursor-orb { opacity: 1; } }
.cursor-orb.big { width: 40px; height: 40px; background: var(--gold-glow); }

/* ================================================
   MOBILE RESPONSIVE — ≤760px
   ================================================ */
@media (max-width: 760px) {
  :root { --gutter: 28px; }

  /* Hide custom cursor on touch */
  .cursor-orb { display: none !important; }

  body { font-size: 15px; }

  h1 { font-size: clamp(44px, 13vw, 64px); }
  h2 { font-size: clamp(32px, 8vw, 44px); }
  h3 { font-size: clamp(22px, 6vw, 28px); }

  .section { padding: 56px var(--gutter); }
  .section-head { margin-bottom: 40px; gap: 12px; }

  /* HERO */
  .hero { padding: 24px var(--gutter) 28px; min-height: calc(100vh - 72px); }
  .hero-headline h1 { font-size: clamp(52px, 15vw, 84px); line-height: .95; }
  .hero-meta { flex-direction: column; gap: 12px; }
  .hero-meta .col { align-items: flex-start !important; text-align: left !important; }
  .hero-sub { grid-template-columns: 1fr !important; padding-top: 32px; gap: 32px; }
  .hero-sub p { font-size: 15px; }
  .hero-sub .stats { grid-template-columns: 1fr; gap: 20px; }
  .hero-sub .stats .k { font-size: 34px; }

  .ticker-track span { font-size: 15px; gap: 40px; }
  .ticker-track { gap: 40px; }

  /* Philosophy */
  .phil { grid-template-columns: 1fr; gap: 24px; }
  .phil-body p { font-size: 16px; }
  .phil-list .t { font-size: 18px; }
  .phil-list li { grid-template-columns: 44px 1fr; padding: 18px 0; }

  /* Sectors */
  .sectors { grid-template-columns: 1fr; }
  .sector { min-height: auto; padding: 28px 24px 32px; }
  .sector h3 { font-size: 26px; }
  .sector-art { height: 200px; margin: 20px 0; }
  .sector-meta { flex-wrap: wrap; gap: 12px; font-size: 9px; }

  /* About */
  .about-intro { grid-template-columns: 1fr; gap: 28px; }
  .about-intro p { font-size: 15px; }
  .about-portrait { margin-top: 48px; aspect-ratio: 4 / 3; }
  .principles { grid-template-columns: 1fr; margin-top: 48px; }
  .principle {
    border-right: 0;
    border-bottom: 1px solid var(--ink-4);
    min-height: auto;
    padding: 24px 20px;
  }
  .principle:last-child { border-bottom: 0; }
  .timeline { margin-top: 64px; }
  .tl-year { font-size: 30px; }
  .tl-body { grid-template-columns: 1fr; gap: 8px; }
  .tl-desc { font-size: 14px; }

  /* Portfolio table — card layout */
  .pf-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .pf-filters { gap: 6px; }
  .pf-filter { padding: 10px 14px; font-size: 11px; }

  .pf-row.header { display: none; }
  .pf-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "idx  name  arrow"
      "idx  meta  arrow";
    gap: 4px 14px;
    padding: 18px 4px;
    align-items: start;
  }
  .pf-row:hover { padding-left: 4px; background: transparent; }
  .pf-idx { grid-area: idx; padding-top: 6px; }
  .pf-name { grid-area: name; font-size: 17px; line-height: 1.2; }
  .pf-sector { display: none; }
  .pf-stage { grid-area: meta; margin-top: 2px; }
  .pf-year { display: none; }
  .pf-arrow { grid-area: arrow; align-self: center; }

  /* Insights */
  .insight-feature { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .insight-feature h2 { font-size: clamp(28px, 7vw, 38px); margin: 12px 0 14px; }
  .insight-feature p { font-size: 15px; }
  .insights { grid-template-columns: 1fr; gap: 28px; }
  .insight h3 { font-size: 22px; }
  .insight-cover { aspect-ratio: 3 / 2; }

  /* Contact */
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .contact-head h2 { font-size: clamp(38px, 11vw, 56px); }
  .contact-details { margin-top: 32px; gap: 20px; }
  .cd-item { grid-template-columns: 1fr; gap: 8px; padding-bottom: 18px; }
  .cd-item .v { font-size: 17px; }

  .form { padding: 24px 20px; }
  .form .row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
  .form input, .form textarea, .form select { font-size: 16px; /* prevents iOS zoom */ }
  .form-submit { width: 100%; justify-content: center; padding: 16px 24px; font-size: 14px; }

  /* Footer */
  .foot { padding: 48px var(--gutter) 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .foot-brand p { max-width: none; }
  .foot-bottom { flex-direction: column; gap: 10px; font-size: 9px; }

  /* Page padding smaller top spacer */
  .page { padding-top: 72px; }
}

@media (max-width: 420px) {
  .hero-headline h1 { font-size: clamp(46px, 14vw, 64px); }
  .nav-brand-text small { display: none; }
}

/* Memorandum pages */
.memo-content {
  max-width: 72ch;
  margin: 4rem auto;
  padding: 0 2rem;
}
.memo-content .lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--bone-1);
  margin-bottom: 3rem;
  font-family: var(--serif);
}
.memo-content h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 2.5rem 0 1rem;
  color: var(--bone-1);
}
.memo-content p {
  color: var(--bone-2);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.memo-content ol, .memo-content ul {
  color: var(--bone-2);
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}
.memo-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.memo-content strong {
  color: var(--bone-1);
  font-weight: 500;
}
.memo-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bone-3);
  color: var(--bone-3);
  font-size: 0.875rem;
}

/* Nav memo links */
.nav-memos {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-left: 2rem;
}
.nav-memo-link {
  font-size: 0.75rem;
  color: var(--bone-2);
  cursor: pointer;
  transition: color 0.2s;
}
.nav-memo-link:hover, .nav-memo-link.active {
  color: var(--gold);
}
.nav-memo-more {
  font-size: 0.75rem;
  color: var(--bone-3);
}

@media (max-width: 1024px) {
  .nav-memos { display: none; }
}


/* ==================== LANGUAGE TOGGLE ==================== */
.lang-toggle {
  font-family: var(--mono, monospace);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-3, #9a9590);
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid rgba(154,149,144,0.3);
  border-radius: 3px;
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-left: 12px;
}
.lang-toggle:hover {
  color: var(--bone-1, #f4f3ef);
  border-color: rgba(154,149,144,0.6);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 48px;
}


/* Chinese text should not be italic */
/* Chinese text: no italic on em elements */
html[lang="zh"] em,
html[lang="zh"] .hero-headline h1 em,
html[lang="zh"] .contact-head h2 em {
  font-style: normal !important;
}

