/* DataXquad preview site — local assets only */

:root {
  --ink: #222222;
  --paper: #f7f5f1;
  --white: #ffffff;
  --slate: #222222;
  --muted: #69655f;
  --accent: #C69048;
  --accent-hover: #d6a766;
  --accent-soft: rgba(198, 144, 72, 0.12);
  --line: #e5dfd5;
  --amber: #C69048;
  --hero-muted: #ccc6bc;
  --header-h: 86px;
  --radius: 8px;
  --max: 1160px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "PingFang TC",
    "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-cjk: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html[lang="zh-Hant-TW"] {
  font-family: var(--font-cjk);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

[hidden] {
  display: none !important;
}

html[lang="zh-Hant-TW"] body {
  font-family: var(--font-cjk);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--white);
  color: var(--slate);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.logo-link {
  display: inline-flex;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border-radius: 6px;
  padding: 6px 12px 6px 10px;
}

.logo-pill img {
  display: block;
  height: 28px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px 22px;
  margin-left: 28px;
}

.nav a {
  color: #eee9e1;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 0;
}

.nav a:hover {
  color: #ffffff;
}

.nav a.btn-primary,
.nav a.btn-primary:hover {
  color: #ffffff;
}

.nav .nav-cta {
  display: none;
}

.nav .btn-primary {
  color: #ffffff;
  padding: 10px 18px;
}

.nav .btn-primary:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.lang-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #eee9e1;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 40px;
  min-width: 52px;
  padding: 6px 12px;
  border-radius: var(--radius);
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.burger {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  width: 44px;
  height: 40px;
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #eee9e1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.hero a:focus-visible,
.footer a:focus-visible,
.site-footer a:focus-visible {
  outline-color: #dcc8aa;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.3;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: #eee9e1;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-ghost:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.btn-text {
  background: transparent;
  color: var(--accent);
  padding-left: 0;
  padding-right: 0;
  min-height: 0;
  border: 0;
  font-weight: 600;
}

.btn-text:hover {
  color: var(--accent-hover);
}

.hero {
  position: relative;
  background: var(--ink);
  color: #ffffff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 88px 0 104px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #ccc6bc;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0 0 20px;
  max-width: 18ch;
  font-size: clamp(2.125rem, 1.3rem + 2.6vw, 3.35rem);
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: #ffffff;
}

html[lang="zh-Hant-TW"] .hero h1,
html[lang="zh-Hant-TW"] h2,
html[lang="zh-Hant-TW"] h3 {
  letter-spacing: 0;
}

.hero-sub {
  margin: 0 0 32px;
  max-width: 42rem;
  color: var(--hero-muted);
  font-size: 1.0625rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: 88px 0;
}

.section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 1.2rem + 1.15vw, 2rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: var(--slate);
  max-width: 28ch;
}

.lead {
  margin: 0 0 40px;
  max-width: 46rem;
  color: var(--muted);
}

.section-head {
  margin-bottom: 40px;
}

.section-head .lead {
  margin-bottom: 0;
}

.band-white {
  background: var(--white);
}

.band-paper {
  background: var(--paper);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 650;
  color: var(--slate);
}

.card h3.venture-name {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card p + p {
  margin-top: 10px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.why-item {
  padding: 8px 0 8px;
  border-top: 1px solid var(--line);
}

.why-item h3 {
  margin: 16px 0 8px;
  font-size: 1.0625rem;
  font-weight: 650;
}

.why-item p {
  margin: 0;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 0 0 72px;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  position: relative;
  padding-bottom: 28px;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.step-n {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
}

.step-body h3 {
  margin: 10px 0 8px;
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 650;
}

.step-body p {
  margin: 0;
  color: var(--muted);
}

.principles-h {
  margin: 0 0 24px;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.venture-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.venture-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.venture-local {
  color: var(--muted);
  font-weight: 500;
  font-size: 1rem;
  margin-left: 0.45rem;
}

.card .pill {
  color: var(--accent);
}

.card .venture-t {
  color: var(--slate);
}

.card .tag {
  color: var(--muted);
}

.venture-local:empty {
  display: none;
}

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.5;
  margin: 0 0 12px;
}

.tag {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.venture-t {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 650;
  color: var(--slate);
  line-height: 1.4;
}

.venture-d {
  margin: 0 0 16px;
  color: var(--muted);
}

.ext-link {
  font-weight: 600;
  text-decoration: none;
}

.ext-link:hover {
  text-decoration: underline;
}

.ext-ico {
  display: inline-block;
  margin-left: 4px;
  font-style: normal;
}

.past {
  margin-top: 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.past-h {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--muted);
}

.past-name {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 650;
  color: var(--slate);
}

.past-t {
  margin: 0 0 6px;
  color: var(--slate);
  font-weight: 500;
}

.past-d {
  margin: 0;
  color: var(--muted);
}

.work-grid .card {
  display: flex;
  flex-direction: column;
}

.work-grid .card p {
  flex: 1;
  margin-bottom: 20px;
}

.work-grid .btn-text {
  align-self: flex-start;
}

.where-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.where-item h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 650;
}

.where-item p {
  margin: 0;
  color: var(--muted);
}

.where h2 {
  max-width: 38rem;
  margin-bottom: 40px;
}

.about-p {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
}

.person {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 28rem;
}

.person-name {
  margin: 0;
  font-weight: 650;
  color: var(--slate);
}

.person-role {
  margin: 4px 0 0;
  color: var(--muted);
}

.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 40rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--slate);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  width: 100%;
  min-height: 44px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #d6cec1;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--accent);
}

.form .btn {
  justify-self: start;
  margin-top: 4px;
}

.or-line {
  margin: 28px 0 0;
  max-width: 40rem;
  color: var(--muted);
}

.or-line a {
  font-weight: 600;
}

.site-footer {
  background: var(--ink);
  color: var(--hero-muted);
  padding: 48px 0 36px;
}

.footer-inner {
  display: grid;
  gap: 20px;
}

.footer-tag {
  margin: 4px 0 0;
  max-width: 28rem;
}

.footer-aqua {
  color: #d5a666;
  font-weight: 600;
  text-decoration: none;
}

.footer-aqua:hover {
  color: #ffffff;
}

.footer-meta {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 6px;
  font-size: 0.8125rem;
}

.footer-meta p {
  margin: 0;
}

.js .js-reveal {
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .js-reveal.is-waiting {
  opacity: 0;
  transform: translateY(14px);
}

.js .js-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 700px) {
  .wrap {
    width: min(100% - 48px, var(--max));
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .why-item {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 0 0 0 24px;
  }

  .why-item:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .why-item h3 {
    margin-top: 0;
  }

  .principles {
    grid-template-columns: repeat(2, 1fr);
  }

  .form {
    grid-template-columns: 1fr 1fr;
  }

  .field-span,
  .form .btn {
    grid-column: 1 / -1;
  }

  .where-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .where-item {
    padding: 0 28px;
    border-left: 1px solid var(--line);
  }

  .where-item:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

@media (min-width: 768px) {
  .card-grid.thirds {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-inner {
    padding: 112px 0 128px;
  }
}

@media (min-width: 1100px) {
  .principles {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
  }

  .steps li {
    display: block;
    padding-bottom: 0;
  }

  .steps li:not(:last-child)::before {
    display: none;
  }

  .step-head {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
  }

  .steps li:not(:last-child) .step-head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
    margin-left: 12px;
  }

  .step-body h3 {
    margin-top: 0;
  }
}

@media (max-width: 859.98px) {
  .burger {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .nav .nav-cta {
    display: inline-flex;
    margin-top: 12px;
    align-self: flex-start;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  html.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 32px, var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .hero-inner {
    padding: 64px 0 80px;
  }

  .hero h1 {
    max-width: none;
  }

  .logo-pill img {
    height: 24px;
  }

  .logo-pill {
    padding: 5px 10px 5px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .js-reveal.is-waiting {
    opacity: 1;
    transform: none;
  }
}

.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.page-404 main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.page-404 h1 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.page-404 p {
  margin: 0 0 8px;
  color: var(--muted);
}

.notfound {
  max-width: 36rem;
}

.notfound .logo-link {
  display: inline-block;
  margin-bottom: 2rem;
}

.notfound .code {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.home-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 650;
}

/* Venture studio narrative: shared mission, focused teams, and two ways in. */
.section-closing { max-width: 780px; margin-top: 28px; font-weight: 600; font-size: 1.15rem; }
.step-label { color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .08em; margin: 0 0 8px; }
.squad-roles { display: flex; flex-wrap: wrap; list-style: none; gap: 12px; padding: 0; margin: 32px 0; }
.squad-roles li { padding: 10px 18px; border: 1px solid #d7c9b6; border-radius: 999px; font-size: .9rem; }
.emerging-heading { margin-top: 44px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #76664f; }
.emerging-card { background: transparent; box-shadow: none; margin-top: 16px; }
.band-ink { background: var(--ink); color: #eee9e1; }
.band-ink h2 { color: #fff; }
.band-ink .lead { color: #c9c3b9; }
.manifesto-lines { border-left: 2px solid #C69048; padding-left: 24px; margin: 36px 0; font-size: clamp(1.1rem, 2vw, 1.55rem); }
.manifesto-lines p { margin: 10px 0; }
.manifesto-closing { max-width: 740px; color: #c9c3b9; }
.final-cta h2 { white-space: pre-line; max-width: 900px; margin-bottom: 32px; }
@media (min-width: 768px) { .card-grid.halves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Resilience in the field, supported by three complementary squad capabilities. */
.hero h1 { white-space: pre-line; max-width: 1050px; font-size: clamp(2.25rem, 5.1vw, 4.25rem); line-height: 1.12; }
html[lang="zh-Hant-TW"] .hero h1 { max-width: 1000px; }
.hero-inner { padding-block: 88px; }
.industry-grid { display: grid; gap: 24px; margin-top: 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.industry-card { margin: 0; min-width: 0; }
.industry-image { overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: #e7e0d5; }
.industry-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.industry-card h3 { font-size: 1.15rem; margin: 20px 0 10px; }
.industry-card p { color: var(--muted); margin: 0 0 16px; line-height: 1.7; }
.photo-credit { color: var(--muted); font-size: .7rem; text-underline-offset: 3px; }
.section-eyebrow { color: var(--accent); font-weight: 650; font-size: .8rem; letter-spacing: .1em; margin-bottom: 16px; }
#about { scroll-margin-top: 100px; }
.squad-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.squad-pillar { border-top: 2px solid var(--accent); padding-top: 24px; }
.pillar-number { font-size: 2.5rem; line-height: 1; color: #b7a58a; font-weight: 500; letter-spacing: -.05em; }
.pillar-label { color: var(--accent); font-weight: 650; font-size: .8rem; margin: 28px 0 12px; }
.squad-pillar h3 { font-size: 1.3rem; line-height: 1.4; margin: 0 0 16px; }
.squad-pillar > p:last-child { color: var(--muted); line-height: 1.85; margin: 0; }
.squad-summary { border-top: 1px solid var(--line); margin: 40px 0 0; padding-top: 24px; font-size: 1.1rem; font-weight: 550; max-width: 900px; }
@media (max-width: 767px) {
 .industry-grid, .squad-pillars { grid-template-columns: 1fr; gap: 36px; }
 .industry-image { aspect-ratio: 16 / 9; }
 .hero-inner { padding-block: 64px; }
 .hero h1 { font-size: clamp(1.8rem, 5.4vw, 2.7rem); }
 .squad-pillar h3 { max-width: 32ch; }
}

.squad-bridge { color: var(--accent); font-weight: 600; margin: 0 0 28px; }
.manifesto-context, .manifesto-connection { max-width: 820px; color: #c9c3b9; line-height: 1.85; }
.manifesto-context { margin: 24px 0; }
.manifesto-connection { margin-top: 28px; }
.manifesto-dna { max-width: 850px; color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.5; margin: 64px 0 32px; }
.manifesto-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.manifesto-value { padding: 28px; border: 1px solid #4b4237; border-radius: 8px; background: #2b2926; }
.value-label { color: #d5a666; font-size: .75rem; font-weight: 650; letter-spacing: .08em; margin: 0 0 20px; }
.manifesto-value h3 { color: #fff; font-size: 1.15rem; margin: 0 0 20px; }
.manifesto-value blockquote { color: #eee9e1; font-style: italic; font-size: 1rem; line-height: 1.75; margin: 0 0 16px; }
.value-attribution { color: #c6ad8b; font-size: .8rem; }
.value-description { color: #c9c3b9; line-height: 1.8; margin-bottom: 0; }
@media (max-width: 767px) { .manifesto-values { grid-template-columns: 1fr; } }

/* DataXquad brand: gold, charcoal, and warm paper. */
:root { --brand-gold: #C69048; --brand-charcoal: #222222; --accent-text: #875c28; --radius: 6px; }
::selection { background: #C69048; color: #222222; }
a { color: var(--accent-text); }
a:hover { color: #65441f; }
.site-header { background: rgba(34, 34, 34, .97); border-bottom-color: rgba(198,144,72,.22); backdrop-filter: blur(16px); }
.header-inner { min-height: 86px; }
.logo-pill { padding: 0; border-radius: 0; background: transparent; }
.logo-pill img { width: 224px; height: auto; }
.nav { margin-left: auto; gap: 20px; }
.nav a { font-size: .82rem; font-weight: 500; }
.nav a:hover, .nav a:focus-visible { color: #dfb67d; }
.lang-toggle, .burger { border-color: rgba(198,144,72,.3); border-radius: 4px; }
.lang-toggle:hover, .burger:hover { border-color: var(--brand-gold); }
.btn { border-radius: 4px; padding: 13px 22px; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.btn-primary { background: var(--brand-gold); color: #222222; border-color: var(--brand-gold); }
.btn-primary:hover { background: #d7aa6f; border-color: #d7aa6f; color: #222222; transform: translateY(-2px); }
.btn-ghost { color: #f7f5f1; border-color: rgba(235,223,203,.4); }
.btn-ghost:hover { background: rgba(198,144,72,.08); border-color: #C69048; color: #edc999; }
.btn-text, .ext-link { color: var(--accent-text); }
.hero { background: radial-gradient(ellipse at 90% 25%, rgba(198,144,72,.14), transparent 55%), #222222; }
.hero-inner { padding-top: 100px; padding-bottom: 104px; }
.hero-bg { opacity: .45; mask-image: linear-gradient(90deg, transparent, #000 85%); }
.eyebrow { color: #d7aa6f; font-size: .75rem; letter-spacing: .13em; margin-bottom: 26px; }
.hero h1 { font-weight: 550; letter-spacing: -.045em; margin-bottom: 30px; }
.hero-sub { max-width: 780px; color: #ccc6bc; line-height: 1.9; }
.hero-ctas { margin-top: 34px; gap: 16px; }
.section { padding-block: 96px; }
h2 { font-weight: 550; letter-spacing: -.035em; }
.lead { line-height: 1.9; }
#mission { background: #eee8df; border-block: 1px solid #e0d6c6; }
#mission h2 { max-width: 1000px; }
.section-closing { border-left: 2px solid var(--brand-gold); padding-left: 24px; font-weight: 500; }
.industry-image { border-radius: 3px; }
.industry-image img { transition: transform .7s ease; }
.industry-card:hover img { transform: scale(1.035); }
.industry-card h3 { font-weight: 600; }
.photo-credit, .photo-credit:hover { color: #72695d; }
.section-eyebrow, .squad-bridge, .pillar-label { color: var(--accent-text); }
.squad-pillar { border-top-color: var(--brand-gold); }
.pillar-number { color: #b69669; font-weight: 400; font-size: 3rem; }
.squad-pillar h3 { font-weight: 550; }
.card { border-color: #ded5c7; box-shadow: 0 8px 28px rgba(34,34,34,.025); border-radius: 6px; }
#ventures .card { display: flex; flex-direction: column; padding: 30px; }
#ventures .ext-link { margin-top: auto; padding-top: 24px; }
.pill { background: rgba(198,144,72,.12); color: #785223; border: 1px solid rgba(198,144,72,.2); align-self: flex-start; }
.tag { color: #8b6c41; }
.past { border-top-color: #d8c9b4; }
.manifesto-lines { border-left-color: var(--brand-gold); }
.manifesto-value { background: #2b2926; border-color: #4b4237; box-shadow: none; }
.value-label { color: #d7aa6f; }
.manifesto-dna { padding-top: 40px; border-top: 1px solid #4b4237; font-weight: 500; }
.final-cta { background: #222222; border-top: 1px solid rgba(198,144,72,.25); }
.final-cta h2 { font-weight: 500; }
.site-footer { background: #222222; border-top: 1px solid #423a2f; }
.footer-aqua { color: #d5a666; }
input:focus, select:focus, textarea:focus { border-color: var(--brand-gold); }
@media (max-width: 1099px) { .logo-pill img { width: 200px; } .nav { gap: 12px; margin-left: 12px; } }
@media (max-width: 767px) {
 .header-inner { min-height: 76px; }
 .logo-pill { padding: 0; }
 .logo-pill img { width: 192px; height: auto; }
 .hero-inner { padding-block: 72px; }
 .section { padding-block: 68px; }
 .hero h1 { letter-spacing: -.03em; }
}
@media (prefers-reduced-motion: reduce) { .btn, .industry-image img { transition: none; } .btn-primary:hover, .industry-card:hover img { transform: none; } }

.nav a.btn-primary, .nav a.btn-primary:hover { color: #222222; }

@media (max-width: 767px) { :root { --header-h: 76px; } }

/* People and venture evidence. */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.team-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid #ded5c7; border-radius: 6px; background: #fff; }
.team-card-open { border: 1px dashed #b19570; background: transparent; }
.team-monogram { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: #eee8df; color: #875c28; font-size: 1.5rem; letter-spacing: -.03em; margin-bottom: 24px; }
.team-outline { border: 1px dashed #b19570; background: transparent; }
.team-outline svg { width: 44px; height: 44px; }
.team-card h3 { margin: 0 0 5px; font-size: 1.35rem; font-weight: 600; }
.team-role { margin: 0; color: #875c28; font-size: .9rem; font-weight: 600; }
.team-focus { margin: 20px 0 10px; font-size: .78rem; color: #6d6458; }
.team-bio { color: var(--muted); font-size: .94rem; line-height: 1.9; margin: 0 0 24px; }
.team-link { margin-top: auto; font-size: .83rem; font-weight: 600; text-decoration: none; }
#ventures .venture-card { padding: 0; overflow: hidden; }
.venture-figure { margin: 0; background: #ede7de; }
.venture-figure img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.venture-figure figcaption { padding: 8px 16px; line-height: 1.5; }
.venture-figure a { color: #756858; font-size: .65rem; text-underline-offset: 3px; }
.venture-copy { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.venture-copy .tag { margin-top: 12px; margin-bottom: 16px; font-weight: 500; }
.venture-copy .venture-t { font-size: 1.1rem; color: #222; font-weight: 600; }
.venture-copy .venture-d { font-size: .92rem; line-height: 1.85; margin-top: 14px; }
.venture-capabilities { display: flex; flex-wrap: wrap; list-style: none; gap: 6px; padding: 0; margin: 20px 0 8px; }
.venture-capabilities li { color: #77572f; background: #f4eee5; font-size: .65rem; padding: 4px 8px; border-radius: 3px; }
.value-person { display: flex; gap: 14px; align-items: center; margin: 24px 0 12px; }
.value-person img { width: 64px; height: 64px; object-fit: cover; object-position: center 22%; border-radius: 50%; filter: grayscale(1); border: 1px solid #776044; }
.value-person .value-attribution { margin: 0; }
.portrait-credit { display: block; color: #c6ad8b; font-size: .62rem; line-height: 1.6; text-underline-offset: 3px; }
.portrait-credit:hover { color: #edc999; }
@media (max-width: 767px) { .team-grid { grid-template-columns: 1fr; } .team-card { padding: 26px; } }

.venture-figure figcaption { min-height: 58px; display: flex; align-items: center; }

section#about { scroll-margin-top: 0; }

/* Short venture summaries and a single DNA section. */
.venture-copy .venture-d { margin: 16px 0 24px; }
.dna-lead { margin-top: 24px; max-width: 860px; font-size: clamp(1.2rem, 2.2vw, 1.65rem); }
#manifesto .manifesto-values { margin-top: 40px; }
#about { background: #fff; }
img[src="/assets/ventures/water-site.webp"] { object-position: center 62%; }

.team-headshot { display: block; width: 96px; height: 96px; object-fit: cover; object-position: center 30%; border-radius: 50%; margin-bottom: 24px; border: 1px solid #ded5c7; }

.team-monogram { width: 96px; height: 96px; }

/* Portfolio detail and attribution placement. */
.past-card { display: grid; grid-template-columns: 190px 1fr; gap: 28px; max-width: 650px; padding: 20px; background: #fff; border: 1px solid #ded5c7; border-radius: 6px; margin-top: 32px; align-items: center; }
.past-card figure { margin: 0; }
.past-card img { width: 100%; height: 128px; object-fit: cover; border-radius: 3px; display: block; }
.past-card figcaption { margin-top: 8px; line-height: 1.4; }
.past-card .photo-credit { font-size: .6rem; }
.past-card .past-name { font-size: 1.2rem; margin-block: 8px; }
.manifesto-value { display: flex; flex-direction: column; }
.manifesto-value .portrait-credit { margin-top: auto; padding-top: 24px; }
@media (max-width: 480px) { .past-card { grid-template-columns: 1fr; gap: 16px; } .past-card img { height: 180px; } }

/* Keep previous exits subordinate to current ventures. */
.sold-solutions { margin-top: 40px; max-width: 650px; }
.sold-solutions > .past-h { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #706b63; margin-bottom: 12px; }
.past-card { display: block; margin-top: 0; padding: 20px 24px; background: transparent; border-color: #ded5c7; }
.past-card .past-name { margin-top: 0; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#form-status { margin: 0; font-size: .9rem; line-height: 1.6; }
button:disabled { cursor: wait; opacity: .6; }

.venture-rationale { display: grid; grid-template-columns: .85fr 1.25fr; gap: clamp(28px, 5vw, 72px); margin-top: 64px; padding: 36px 0 0; border-top: 1px solid #c69048; }
.venture-rationale h3 { max-width: 19ch; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.4; margin: 12px 0 0; }
.rationale-copy p { margin: 0; color: #625f59; line-height: 1.9; }
.rationale-copy p + p { margin-top: 20px; }
@media (max-width: 680px) { .venture-rationale { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; } .venture-rationale h3 { max-width: 25ch; } }

.lang-toggle { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* A consistent pill silhouette for every button. */
.btn, .lang-toggle, .burger, button { border-radius: 999px; }
.collaboration-actions { display: flex; flex-wrap: wrap; gap: 16px; }
#why-ventures .venture-rationale { margin-top: 0; padding-top: 0; border-top: 0; }
#mission h2 { margin-bottom: 0; font-size: clamp(1.6rem, 3vw, 2.65rem); line-height: 1.5; }
#work { scroll-margin-top: 100px; }
@media (max-width: 480px) { .collaboration-actions .btn { width: 100%; } }

/* Let section text use the same content width as the grids. */
.section h2, .section .lead, .section-head, .hero-sub,
.manifesto-context, .manifesto-connection, .manifesto-dna, .dna-lead,
.section-closing, .manifesto-closing, .squad-summary { max-width: none; width: 100%; }
#mission { background: linear-gradient(120deg, #ead7ba, #f3eadc); border-block: 1px solid #d6b481; padding-block: clamp(64px, 8vw, 120px); }
#mission h2 { position: relative; max-width: none; font-size: clamp(2rem, 4.5vw, 3.75rem); font-weight: 600; line-height: 1.28; letter-spacing: -.035em; padding-left: clamp(22px, 3vw, 42px); border-left: 4px solid #a66e2e; color: #222; }
.venture-cta { align-self: flex-start; margin-top: auto; font-size: .85rem; padding: 11px 18px; }
.squad-pillars { display: grid; grid-template-columns: 1fr; gap: 0; }
.squad-pillar { display: grid; grid-template-columns: 64px minmax(180px,.85fr) minmax(0,1.4fr); gap: 30px; padding: 30px 0; border-top: 1px solid #d6b481; align-items: center; }
.squad-pillar:last-child { border-bottom: 1px solid #d6b481; }
.pillar-number { color: #a66e2e; font-size: 1.6rem; }
.squad-pillar h3 { margin: 0 0 8px; font-size: 1.45rem; font-weight: 600; }
.pillar-partner { margin: 0; color: #875c28; font-size: .9rem; }
.squad-pillar .pillar-description { margin: 0; line-height: 1.8; }
@media (max-width: 680px) {
 .squad-pillar { grid-template-columns: 36px minmax(0,1fr); gap: 14px 18px; align-items: start; }
 .pillar-description { grid-column: 2; }
 .squad-pillar h3 { font-size: 1.25rem; max-width: none; }
}

/* Venture brands and outline calls to action. */
.venture-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#ventures .venture-name { display: flex; align-items: center; min-height: 88px; margin: 0; }
.venture-logo { display: block; max-width: 100%; object-fit: contain; object-position: left center; }
.venture-logo-aquaoptima { width: auto; height: 82px; }
.venture-logo-embuilded { width: 220px; height: auto; max-height: 68px; }
.btn-outline { background: transparent; border: 1px solid #a67538; color: #805823; }
.btn-outline:hover { background: #c69048; border-color: #c69048; color: #222; }
@media (max-width: 767px) { .venture-cards { grid-template-columns: 1fr; } }

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-bold.ttf') format('truetype'); }
.venture-logo-aquaoptima { height: 62px; }
.geokernel-wordmark { display: inline-flex; font-family: 'Poppins', sans-serif; font-size: clamp(1.3rem, 2.3vw, 1.8rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.2; color: #222; }
.geokernel-geo { color: #168b8c; }

.talk-cta h2 { margin-bottom: 20px; font-size: clamp(2.25rem, 5vw, 4.5rem); }
.talk-link { color: #f7f5f1; text-decoration: none; text-underline-offset: .18em; }
.talk-link:hover { color: #d7aa6f; text-decoration: underline; text-decoration-thickness: 2px; }
.talk-intro { margin: 0; color: #ccc6bc; font-size: clamp(1rem, 1.7vw, 1.3rem); line-height: 1.8; }

/* Separate the invitation from the dark DNA band. */
.talk-cta { background: #eee8df; border-top: 0; border-bottom: 1px solid #dfd4c3; }
.talk-cta .talk-link { color: #222; }
.talk-cta .talk-link:hover { color: #875c28; }
.talk-cta .talk-intro { color: #625f59; }
.footer-social { margin-top: 24px; }
.footer-linkedin { display: inline-flex; align-items: center; gap: 10px; color: #d7aa6f; text-decoration: none; font-size: .9rem; }
.footer-linkedin:hover { color: #f7f5f1; }

.regional-growth { border-top: 1px solid #e3dbcf; }
.growth-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.growth-copy p { margin: 8px 0 0; color: #625f59; line-height: 1.9; }
.growth-markets { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.growth-markets li { padding: 8px 15px; border-radius: 999px; border: 1px solid #d8cab6; color: #62533f; font-size: .85rem; }
.growth-markets li:first-child { background: #eee8df; border-color: #d4b78e; }
@media (max-width: 680px) { .growth-copy { grid-template-columns: 1fr; gap: 12px; } }

.growth-map { margin: 36px 0 0; }
.growth-map svg { display: block; width: 100%; height: auto; max-height: 460px; }
.growth-map figcaption { margin-top: 12px; font-size: .75rem; color: #807566; }
.map-connections path { stroke-dasharray: 7 9; animation: map-flow 9s linear infinite; }
.map-connections path:nth-child(2) { animation-delay: -2s; }
.map-connections path:nth-child(3) { animation-delay: -4s; }
.map-connections path:nth-child(4) { animation-delay: -6s; }
.map-dot { fill: #936426; stroke: #fff; stroke-width: 2; }
.map-pulse { fill: #c69048; opacity: .16; transform-box: fill-box; transform-origin: center; animation: map-pulse 4s ease-out infinite; }
.map-node-0 .map-dot { fill: #222; r: 7; }
.map-node-2 .map-pulse { animation-delay: 1s; }
.map-node-3 .map-pulse { animation-delay: 2s; }
.map-node-4 .map-pulse { animation-delay: 3s; }
.map-node text { fill: #514536; font-size: 16px; font-weight: 600; }
@keyframes map-flow { to { stroke-dashoffset: -160; } }
@keyframes map-pulse { 0% { transform: scale(.6); opacity: .3; } 75%,100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-connections path, .map-pulse { animation: none; } }
@media (max-width: 480px) { .map-node text { font-size: 20px; } }

.growth-map-real svg { max-height: 720px; }
.map-land { fill: #e4e1d8; stroke: #f5f3ed; stroke-width: 1; }
.map-land-target { fill: #d9cbb2; }
.map-land-base { fill: #c69048; }
.regional-connections path { stroke: #ad874f; stroke-width: 1.25; stroke-dasharray: 4 8; opacity: .4; animation: region-flow 24s linear infinite; }
.regional-connections .base-connection { stroke: #8b5f27; stroke-width: 2; opacity: .85; }
.regional-ring { fill: #c69048; opacity: .13; }
.regional-dot { fill: #a5793c; stroke: #fff; stroke-width: 2; }
.regional-base .regional-dot { fill: #222; }
.regional-base .regional-ring { fill: #222; opacity: .1; }
.regional-node text { fill: #4a4034; font-size: 17px; font-weight: 550; paint-order: stroke; stroke: #f5f3ed; stroke-width: 5; stroke-linejoin: round; }
.regional-base text { font-weight: 700; }
.map-label-line { stroke: #a99e8b; stroke-width: .8; fill: none; }
.team-skills { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; list-style: none; margin: 20px 0 18px; }
.team-skills li { padding: 5px 10px; border-radius: 999px; border: 1px solid #dfd2bd; background: #f7f3ec; color: #78603e; font-size: .72rem; line-height: 1.4; }
@keyframes region-flow { to { stroke-dashoffset: -144; } }
@media (prefers-reduced-motion: reduce) { .regional-connections path { animation: none; } }
@media (max-width: 480px) { .regional-node text { font-size: 22px; } }

/* Keep the regional map compact without distorting its geography. */
.growth-map-real svg { max-height: 520px; }
@media (max-width: 680px) { .growth-map-real svg { max-height: 420px; } }

/* Crop the map vertically rather than scaling the whole illustration down. */
.growth-map-real { overflow: hidden; }
.growth-map-real svg { width: 100%; height: auto; max-height: none; aspect-ratio: 900 / 660; }
#mission h2 { font-size: clamp(1.5rem, 2.8vw, 2.45rem); line-height: 1.45; font-weight: 550; letter-spacing: -.025em; }
@media (max-width: 680px) { .growth-map-real svg { max-height: none; } }

.geokernel-wordmark { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }

.venture-logo-geokernel { width: 240px; height: auto; max-height: 72px; }

.quote-event { font-size: .75rem; line-height: 1.6; color: #b7ae9f; margin: -8px 0 24px; }


/* Present each DNA value as its own full-width card. */
.manifesto-values { grid-template-columns: 1fr; }
.manifesto-value { width: 100%; }
.manifesto-value blockquote { max-width: none; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.85; }
