/* ============================================
   Who-next Corporate Site
   Aesthetic: Dynamic / Modern, White-first, #0f4eb0 accent
   Typography: Noto Sans JP + Inter
   ============================================ */

:root {
  --brand: #0f4eb0;
  --brand-soft: #3b72c9;
  --brand-ink: #082c66;
  --brand-50: #eef4fd;
  --brand-100: #d9e6fa;
  --ink: #0a0f1c;
  --ink-2: #1e2436;
  --muted: #5c6578;
  --muted-2: #8a92a4;
  --line: #e6e8ee;
  --line-2: #f0f2f6;
  --bg: #ffffff;
  --bg-tint: #fafbfd;
  --bg-invert: #0a0f1c;

  --ff-jp: 'Noto Sans JP', system-ui, sans-serif;
  --ff-en: 'Inter', system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 15, 28, 0.04), 0 0 0 1px rgba(10, 15, 28, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 15, 28, 0.06), 0 1px 2px rgba(10, 15, 28, 0.04);
  --shadow-lg: 0 24px 64px rgba(10, 15, 28, 0.08);

  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--ff-jp);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

.mono { font-family: var(--ff-mono); letter-spacing: 0.04em; }
.en { font-family: var(--ff-en); letter-spacing: 0.01em; }
.jp { font-family: var(--ff-jp); }

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

/* ===========================
   Nav
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid transparent;
  transition: background 260ms ease, border-color 260ms ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 20px;
  text-transform: none;
}
.logo .who { color: var(--ink); }
.logo .sep { color: var(--muted-2); font-weight: 600; margin: 0 -1px; }
.logo .next { color: var(--brand); }
.logo .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  display: inline-block;
  align-self: center;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 13px;
  font-family: var(--ff-en);
  font-weight: 500;
  color: var(--muted);
}
.nav-links a { position: relative; padding: 8px 0; transition: color 200ms; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--ff-en);
  font-size: 13px; font-weight: 600;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 200ms, transform 200ms;
}
.nav-cta:hover { background: var(--brand); transform: translateY(-1px); }
.nav-cta .arrow { transition: transform 200ms; }
.nav-cta:hover .arrow { transform: translate(2px, -2px); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner { padding: 12px var(--pad); }
  .logo { font-size: 18px; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
}

/* ===========================
   Hero shared
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 84px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero-bg canvas { width: 100%; height: 100%; display: block; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-en);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 6px 14px;
  background: var(--brand-50);
  border-radius: 999px;
}
.hero-eyebrow .bead {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.4s infinite;
}

.hero-title {
  font-size: clamp(40px, 7.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 24px 0 0;
}
.hero-title .brand-word {
  color: var(--brand);
  font-style: normal;
}
.hero-title .outline {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}

.hero-sub {
  margin-top: 28px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 40px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand);
  color: #fff;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 200ms, transform 200ms, box-shadow 200ms;
  box-shadow: 0 10px 30px rgba(15, 78, 176, 0.25);
}
.btn-primary:hover { background: var(--brand-ink); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(15,78,176,0.35); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--ink);
  padding: 15px 25px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line);
  transition: border-color 200ms, background 200ms;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-tint); }

/* Hero A — Network full screen */
.hero-a .hero-inner {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex; flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 100px;
}
.hero-a .hero-meta {
  position: absolute;
  bottom: 40px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}
.hero-a .hero-meta .meta-label { display: block; color: var(--muted-2); margin-bottom: 4px; font-size: 10px; }
.hero-a .hero-meta .meta-value { color: var(--ink); font-size: 13px; font-weight: 500; font-family: var(--ff-en); letter-spacing: 0.02em; }

/* Hero B — Kinetic marquee */
.hero-b {
  background: var(--bg);
  min-height: auto;
  padding-top: 64px;
  overflow: hidden;
}
.hero-b .kinetic-row {
  white-space: nowrap;
  font-size: clamp(64px, 14vw, 240px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  padding: 10px 0;
  display: flex;
  gap: 56px;
}
.hero-b .kinetic-row.dir-right { animation: marqueeR 40s linear infinite; }
.hero-b .kinetic-row.dir-left  { animation: marqueeL 50s linear infinite; }
.hero-b .kinetic-row .word { display: inline-block; padding-right: 56px; }
.hero-b .kinetic-row .word.brand { color: var(--brand); }
.hero-b .kinetic-row .word.outline { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }
.hero-b .kinetic-row .word.ink { color: var(--ink); }
.hero-b .kinetic-row .sep { color: var(--brand); font-weight: 400; }
@keyframes marqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes marqueeL { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-b .hero-inner {
  padding-top: 24px;
  padding-bottom: 96px;
  position: relative;
}
.hero-b .kinetic-stack {
  width: 100vw;
  margin: 0 0 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-b .hero-copy { max-width: 720px; padding: 0 var(--pad); }

/* Hero B — Mobile adjustments */
@media (max-width: 760px) {
  .hero-b {
    padding-top: 80px;
  }
  .hero-b .kinetic-row {
    font-size: clamp(38px, 12vw, 68px);
    gap: 28px;
    padding: 6px 0;
  }
  .hero-b .kinetic-row .word { padding-right: 28px; }
  .hero-b .kinetic-stack {
    margin: 0 0 48px;
    padding: 14px 0;
  }
  .hero-b .hero-inner {
    padding-top: 20px;
    padding-bottom: 64px;
  }
  .hero-b .hero-copy { padding: 0 var(--pad); }
}

/* Hero title override for mobile (beats inline fontSize/nowrap via !important) */
@media (max-width: 760px) {
  .hero-b .hero-title {
    font-size: clamp(32px, 10vw, 48px) !important;
    white-space: normal !important;
    line-height: 1.15;
  }
  .hero-sub {
    font-size: 14px;
    line-height: 1.85;
  }
  .hero-actions { gap: 10px; }
  .btn-primary, .btn-ghost {
    padding: 14px 20px;
    font-size: 13px;
  }
}

/* Hero C — Split / dot grid */
.hero-c .hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 920px) {
  .hero-c .hero-inner { grid-template-columns: 1fr; }
}
.hero-c .hero-art {
  position: relative;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 1px) 0 0/ 20px 20px,
    linear-gradient(180deg, var(--bg-tint), var(--bg));
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-c .hero-art canvas { width: 100%; height: 100%; display: block; }
.hero-c .hero-art .tag {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hero-c .hero-art .tag .dot-in { color: var(--brand); margin-right: 6px; }

/* ===========================
   Section scaffolding
   =========================== */
section { padding: 120px 0; position: relative; }
@media (max-width: 760px) { section { padding: 80px 0; } }

.sec-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: start;
}
@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
}
.sec-num {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 10px;
}
.sec-num::before {
  content: "";
  width: 8px; height: 8px; background: var(--brand);
  border-radius: 50%;
}
.sec-eyebrow {
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sec-title {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
}
.sec-title .brand-word { color: var(--brand); }
.sec-lede {
  margin-top: 24px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
  max-width: 680px;
  line-height: 1.9;
}

/* ===========================
   About / Mission / Vision
   =========================== */
.about {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  border-top: 1px solid var(--line);
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms;
}
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mv-card .mv-label {
  font-family: var(--ff-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
.mv-card .mv-label::before {
  content: ""; width: 24px; height: 1px; background: var(--brand);
}
.mv-card h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  font-weight: 700;
}
.mv-card h3 .accent { color: var(--brand); }
.mv-card p {
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
  font-size: 15px;
}
.mv-card .mv-id {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--muted-2);
}
@media (max-width: 760px) {
  .mv-card { padding: 28px 24px; }
  .mv-card h3 { font-size: 22px; }
}

/* ===========================
   Services — business domains and offerings
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service {
  background: #fff;
  padding: 44px;
  position: relative;
  transition: background 260ms;
  cursor: default;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  column-gap: clamp(40px, 6vw, 84px);
  align-items: start;
}
.service:hover { background: var(--brand-50); }
.service .svc-num {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 1;
}
.service .svc-num .dash { width: 20px; height: 1px; background: currentColor; }
.service h3 {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  font-weight: 700;
  grid-column: 1;
}
.service .svc-en {
  font-family: var(--ff-en);
  font-size: 12px;
  color: var(--brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  grid-column: 1;
}
.service p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0;
}
.service > p { grid-column: 1; }
.service .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  grid-column: 1;
}
.service .tags span {
  font-size: 11px;
  font-family: var(--ff-mono);
  color: var(--ink-2);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 200ms, border-color 200ms;
}
.service:hover .tags span { background: #fff; border-color: var(--brand-100); }
.service .offerings {
  grid-column: 2;
  grid-row: 1 / span 5;
  border-left: 1px solid var(--line);
  padding-left: clamp(28px, 4vw, 52px);
}
.service .offering {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.service .offering-link {
  grid-template-columns: 30px minmax(0, 1fr) 28px;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 10px 10px 0 0;
  transition: background 180ms ease, color 180ms ease;
}
.service .offering-link:hover,
.service .offering-link:focus-visible {
  background: #fff;
  color: var(--brand);
  outline: none;
}
.service .offering-link:focus-visible {
  box-shadow: 0 0 0 2px var(--brand);
}
.service .offering-arrow {
  align-self: center;
  justify-self: end;
  color: var(--brand);
  font-size: 14px;
}
.service .offering:first-child { padding-top: 2px; }
.service .offering:last-child { padding-bottom: 2px; border-bottom: 0; }
.service .offering-num {
  font-family: var(--ff-mono);
  color: var(--brand);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding-top: 5px;
}
.service .offering h4 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}
.service .offering p {
  font-size: 13.5px;
  line-height: 1.75;
}
.service .corner {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  transition: background 200ms, color 200ms, transform 200ms;
}
.service:hover .corner { background: var(--brand); color: #fff; transform: rotate(45deg); }

@media (max-width: 760px) {
  .service {
    padding: 28px 24px;
    grid-template-columns: 1fr;
  }
  .service h3 { font-size: 19px; }
  .service .offerings {
    grid-column: 1;
    grid-row: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
    margin-top: 26px;
  }
}

/* ===========================
   Members
   =========================== */
.members {
  background: var(--bg-invert);
  color: #fff;
  border-radius: 32px 32px 0 0;
  margin-top: 40px;
}
.members .sec-num { color: rgba(255,255,255,0.5); }
.members .sec-num::before { background: #fff; }
.members .sec-eyebrow { color: var(--brand-soft); }
.members .sec-lede { color: rgba(255,255,255,0.7); }

/* About section (blue bg) head overrides */
.about { background: rgb(15, 78, 176) !important; border-top: 0 !important; }
.about .sec-head { margin-bottom: 56px; }
.about .sec-num { color: rgba(255,255,255,0.6); }
.about .sec-num::before { background: #fff; }
.about .sec-eyebrow { color: rgba(255,255,255,0.85); }
.about .sec-title { color: #fff; }
.about .sec-lede { color: rgba(255,255,255,0.82); max-width: 56ch; }

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .members-grid { grid-template-columns: 1fr; } }
.member {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
  transition: background 260ms, border-color 260ms, transform 260ms;
}
.member:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}
.member .portrait {
  aspect-ratio: 4/5;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: block;
}
.member .portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.member .role {
  margin-top: 20px;
  font-family: var(--ff-en);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.member .role-jp {
  font-family: var(--ff-jp);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.member h3 {
  margin: 10px 0 4px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.member .name-en {
  font-family: var(--ff-en);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}
.member p {
  color: rgba(255,255,255,0.65);
  font-size: 13.5px;
  line-height: 1.85;
  margin: 16px 0 0;
}
.member .tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 18px;
}
.member .tags span {
  font-size: 10.5px;
  font-family: var(--ff-mono);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 3px 9px;
  border-radius: 999px;
}
@media (max-width: 760px) {
  .members { padding: 80px 0; border-radius: 24px 24px 0 0; }
  .member { padding: 20px; }
  .member h3 { font-size: 22px; }
}

/* ===========================
   Company profile
   =========================== */
.profile-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
}
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-table {
  width: 100%;
  border-collapse: collapse;
}
.profile-table th, .profile-table td {
  padding: 20px 4px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 15px;
}
.profile-table th {
  font-family: var(--ff-en);
  font-weight: 600;
  color: var(--muted);
  width: 180px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.profile-table td { color: var(--ink); font-weight: 500; }
.profile-table td .jp-sub { display: block; font-size: 12px; color: var(--muted-2); font-weight: 400; margin-top: 2px; }
@media (max-width: 760px) {
  .profile-table th, .profile-table td { padding: 16px 4px; font-size: 14px; }
  .profile-table th { width: 90px; font-size: 10.5px; }
}

.profile-side {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: sticky; top: 100px;
  height: fit-content;
}
@media (max-width: 900px) {
  .profile-side { position: static; padding: 20px; }
}
.profile-side .marker-map {
  aspect-ratio: 4/3;
  background:
    radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 1px) 0 0/ 16px 16px,
    #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
  margin-bottom: 24px;
  overflow: hidden;
}
.profile-side .marker-map.stylized-map {
  background: #fff;
}
.profile-side .marker-map svg {
  width: 100%; height: 100%; display: block;
  border-radius: 10px;
}
.profile-side .marker-map .pin {
  position: absolute;
  top: 50%; left: 58%;
  width: 16px; height: 16px;
  background: var(--brand);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(15,78,176,0.15), 0 0 0 14px rgba(15,78,176,0.08);
  animation: pulse 2.4s infinite;
}
.profile-side .marker-map .coord {
  position: absolute;
  bottom: 10px; right: 10px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.9);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.profile-side .marker-map .map-title {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 9.5px;
  color: var(--muted-2);
  letter-spacing: 0.18em;
  background: rgba(255,255,255,0.9);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

/* ===========================
   News
   =========================== */
.news-list {
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 140px 140px 1fr 40px;
  gap: 32px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 260ms, background 260ms;
  cursor: pointer;
}
.news-item:hover {
  padding-left: 16px;
  padding-right: 16px;
  background: var(--bg-tint);
}
@media (max-width: 760px) {
  .news-item { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
}
.news-item .date {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--muted);
}
.news-item .tag {
  font-family: var(--ff-en);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  justify-self: start;
}
.news-item h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.news-item .arrow {
  color: var(--muted-2);
  transition: color 200ms, transform 200ms;
}
.news-item:hover .arrow { color: var(--brand); transform: translate(4px, 0); }

/* ===========================
   Contact CTA
   =========================== */
.cta {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
@media (max-width: 760px) {
  .cta { padding: 80px 0; }
  .cta-inner { padding: 48px 28px; border-radius: 24px; }
  .cta-inner h2 .cta-line-1 { white-space: normal !important; }
}
.cta-inner {
  background: var(--brand);
  color: #fff;
  border-radius: 32px;
  padding: clamp(48px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.cta-inner .grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}
.cta-inner canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.45; }
.cta-inner .content { position: relative; z-index: 2; }
.cta-inner .eyebrow {
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.cta-inner h2 {
  font-size: clamp(28px, 5.4vw, 72px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
  max-width: 14ch;
}
.cta-inner h2 .outline-light {
  -webkit-text-stroke: 1.5px #fff;
  color: transparent;
}
.cta-inner p {
  margin-top: 24px;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  max-width: 560px;
  line-height: 1.9;
}
.cta-inner .btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  color: var(--brand);
  padding: 18px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 40px;
  transition: transform 200ms, box-shadow 200ms;
}
.cta-inner .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ===========================
   Footer
   =========================== */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h5 {
  font-family: var(--ff-en);
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 600;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a:hover { color: var(--brand); }
.foot-copy {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ===========================
   Tweaks panel
   =========================== */
.tweaks {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  width: 280px;
  font-size: 13px;
}
.tweaks h4 {
  margin: 0 0 14px;
  font-size: 11px;
  font-family: var(--ff-en);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tweaks .row { margin-bottom: 14px; }
.tweaks .row:last-child { margin-bottom: 0; }
.tweaks .row label {
  display: block;
  font-size: 11px;
  font-family: var(--ff-en);
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tweaks .seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.tweaks .seg button {
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  color: var(--muted);
  transition: background 160ms, color 160ms;
}
.tweaks .seg button.on {
  background: var(--ink);
  color: #fff;
}
.tweaks .color-row { display: flex; gap: 8px; }
.tweaks .color-row input[type="color"] { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); padding: 2px; }
.tweaks .color-row input[type="text"] {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
}

/* ===========================
   Reveal animation
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms cubic-bezier(.2,.8,.2,1), transform 800ms cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }
