:root {
  --ink: #11110f;
  --charcoal: #20201c;
  --muted: #6e716b;
  --paper: #f4f1e9;
  --surface: #fffdf7;
  --surface-soft: #ebe7dc;
  --line: rgba(17, 17, 15, 0.14);
  --line-strong: rgba(17, 17, 15, 0.3);
  --sage: #627264;
  --copper: #a7583d;
  --bluegreen: #315c64;
  --gold: #b89345;
  --shadow: 0 26px 80px rgba(17, 17, 15, 0.14);
  --container-max: 1440px;
  --container-wide: 1560px;
  --page-gutter: clamp(20px, 4.5vw, 64px);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

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

html {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: auto;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    linear-gradient(rgba(17, 17, 15, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, 0.026) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px, 44px 44px, auto;
  color: var(--ink);
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.62;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

img {
  max-width: 100%;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body,
  main {
    overflow-x: clip;
  }
}

section[id] {
  scroll-margin-top: 92px;
}

#top {
  scroll-margin-top: 92px;
}

.motion-ready .reveal-item {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(34px);
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0%;
  height: 3px;
  background: var(--copper);
  transform-origin: left center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
  padding-block: 14px;
  padding-inline: max(var(--page-gutter), calc((100vw - var(--container-wide)) / 2));
  background: rgba(244, 241, 233, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.brand {
  display: grid;
  flex: 0 0 auto;
  gap: 1px;
  min-width: 210px;
}

.brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.header-actions {
  display: flex;
  order: 3;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.72);
}

.lang-button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.78rem;
}

.lang-button.active {
  background: var(--ink);
  color: var(--surface);
}

.menu-button {
  display: none;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}

nav {
  display: flex;
  order: 2;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  margin-left: auto;
  color: var(--charcoal);
  font-size: 0.94rem;
}

nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

nav a:hover {
  color: var(--copper);
  border-color: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 0.68fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
  min-height: calc(100svh - 74px);
  padding-block: clamp(56px, 8vw, 108px) 52px;
  padding-inline: max(var(--page-gutter), calc((100vw - var(--container-max)) / 2));
}

.section-label {
  margin: 0 0 16px;
  color: var(--bluegreen);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  max-width: 100%;
  min-width: 0;
  text-wrap: balance;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  max-width: 920px;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 6vw, 6.6rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.45rem, 4.3vw, 5rem);
}

h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2;
}

.hero-copy p:not(.section-label),
.section-heading p:not(.section-label),
.about-grid p,
.venture-copy p,
.case-detail p,
.focus-grid p,
.note-card p,
.timeline-detail p {
  color: var(--muted);
}

.hero-copy p:not(.section-label) {
  max-width: 760px;
  font-size: 1.14rem;
}

.hero-actions,
.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.94rem;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--copper);
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.button-quiet {
  color: var(--muted);
}

.hero-board {
  position: relative;
  --board-x: 76%;
  --board-y: 68%;
  min-height: 640px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(17, 17, 15, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, 0.045) 1px, transparent 1px),
    rgba(255, 253, 247, 0.74);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-board::before {
  position: absolute;
  inset: 22px;
  content: "";
  border: 1px solid rgba(17, 17, 15, 0.1);
  border-radius: 8px;
  pointer-events: none;
}

.hero-board::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    radial-gradient(circle at var(--board-x) var(--board-y), rgba(184, 147, 69, 0.16), transparent 19%),
    radial-gradient(circle at 74% 70%, rgba(98, 114, 100, 0.12), transparent 28%);
  pointer-events: none;
  transition: background 260ms ease;
}

.board-line {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.8rem;
}

.orbital-map {
  position: absolute;
  inset: 76px 44px 86px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.18);
  overflow: hidden;
}

.orbital-map::before,
.orbital-map::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(49, 92, 100, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.orbital-map::before {
  top: 16%;
  left: -10%;
  width: 108%;
  height: 54%;
  transform: rotate(8deg);
}

.orbital-map::after {
  right: -22%;
  bottom: 12%;
  width: 90%;
  height: 42%;
  transform: rotate(-14deg);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(49, 92, 100, 0.22);
  border-radius: 50%;
  animation: rotateOrbital 28s linear infinite;
}

.orbit-one {
  inset: 20% 16%;
  transform: rotate(-7deg);
}

.orbit-two {
  inset: 36% 4% 10%;
  animation-duration: 36s;
  animation-direction: reverse;
}

.map-pin {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  box-shadow:
    0 0 0 6px rgba(255, 253, 247, 0.82),
    0 0 0 7px rgba(17, 17, 15, 0.12);
}

.pin-one {
  top: 34%;
  left: 31%;
  background: var(--sage);
}

.pin-two {
  right: 27%;
  bottom: 31%;
  background: var(--copper);
}

.board-card {
  position: absolute;
  z-index: 6;
  display: grid;
  gap: 7px;
  width: 260px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 16px 38px rgba(17, 17, 15, 0.08);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(16px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.board-card:hover,
.board-card.active {
  transform: translateY(-4px);
  border-color: var(--copper);
  background: var(--surface);
}

.board-card span {
  color: var(--bluegreen);
  font-size: 0.78rem;
  font-weight: 700;
}

.board-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.board-card small {
  color: var(--muted);
  font-size: 0.88rem;
}

.board-card:nth-of-type(1) {
  top: 88px;
  left: 34px;
}

.board-card:nth-of-type(2) {
  right: 28px;
  top: 238px;
}

.board-card:nth-of-type(3) {
  left: 82px;
  bottom: 64px;
}

.board-image {
  position: absolute;
  right: 36px;
  bottom: 36px;
  z-index: 5;
  width: min(46%, 430px);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(17, 17, 15, 0.12);
  opacity: 0.94;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    opacity 260ms ease;
}

.hero-board:hover .board-image {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(17, 17, 15, 0.14);
}

.board-image img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.board-image figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.82);
  color: var(--bluegreen);
  font-size: 0.72rem;
  backdrop-filter: blur(14px);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--surface);
}

.marquee div {
  display: flex;
  width: max-content;
  animation: slideMarquee 34s linear infinite;
}

.marquee span {
  padding: 18px 26px;
  color: rgba(255, 253, 247, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  white-space: nowrap;
}

.about-section,
.work-section,
.capabilities-section,
.notes-section,
.timeline-section,
.venture-section,
.contact-section,
.admin-section {
  width: 100%;
  max-width: 100%;
  padding-block: clamp(76px, 9vw, 128px);
  padding-inline: max(var(--page-gutter), calc((100vw - var(--container-max)) / 2));
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  width: 100%;
  max-width: var(--container-max);
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: 44px;
  margin-inline: auto;
}

.section-heading.compact {
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  align-items: end;
}

.section-heading.compact .section-label {
  grid-column: 1 / -1;
}

.section-heading.compact h2 {
  grid-column: 1;
  max-width: 12ch;
}

.section-heading.compact p:not(.section-label),
.section-heading.compact .text-link {
  grid-column: 2;
}

.section-heading p:not(.section-label) {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.64fr);
  gap: clamp(24px, 6vw, 88px);
  width: 100%;
  max-width: min(1180px, var(--container-max));
  margin-inline: auto;
}

.about-grid p {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.work-controls,
.timeline-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: var(--container-max);
  margin-bottom: 18px;
  margin-inline: auto;
}

.pill {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  font-size: 0.9rem;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.pill:hover {
  transform: translateY(-1px);
  border-color: var(--copper);
}

.pill.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.work-grid {
  display: grid;
  width: 100%;
  max-width: var(--container-max);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-inline: auto;
}

.work-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.72);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--copper);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(17, 17, 15, 0.08);
}

.work-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  color: var(--bluegreen);
}

.work-card-top span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.work-card-top small {
  max-width: 220px;
  text-align: right;
  color: var(--muted);
  font-size: 0.78rem;
}

.work-card h3 {
  max-width: 620px;
  font-size: 2rem;
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
}

.work-card:hover .tag-row span {
  border-color: rgba(167, 88, 61, 0.28);
  color: var(--copper);
}

.case-stage {
  display: grid;
  grid-template-columns: minmax(290px, 0.38fr) minmax(0, 0.72fr);
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.64);
  overflow: hidden;
}

.case-list {
  border-right: 1px solid var(--line);
}

.case-item:hover,
.case-item.active {
  background: var(--ink);
  color: var(--surface);
}

.case-item small {
  color: var(--bluegreen);
  font-size: 0.78rem;
  font-weight: 700;
}

.case-item:hover small,
.case-item.active small {
  color: #d7c48e;
}

.case-item strong {
  font-size: 1.06rem;
}

.case-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.case-item:hover span,
.case-item.active span {
  color: rgba(255, 253, 247, 0.74);
}

.case-detail {
  display: grid;
  align-content: start;
  gap: 26px;
  padding: clamp(24px, 4vw, 40px);
}

.case-detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--bluegreen);
  font-size: 0.82rem;
  font-weight: 700;
}

.case-detail h3 {
  margin-top: 12px;
  font-size: 3.2rem;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.case-meta div,
.impact-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.case-meta span,
.impact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.case-meta strong,
.impact-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 1.28rem;
  line-height: 1.2;
}

.case-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-columns h4 {
  margin: 0 0 8px;
  color: var(--copper);
}

.capabilities-section,
.notes-section {
  background: #ecebe4;
}

.text-link {
  align-self: end;
  width: fit-content;
  border-bottom: 1px solid currentColor;
  color: var(--copper);
}

.capability-grid {
  display: grid;
  width: 100%;
  max-width: var(--container-max);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.capability-grid article {
  min-height: 270px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background 180ms ease,
    color 180ms ease;
}

.capability-grid article:nth-child(2n) {
  border-right: 0;
}

.capability-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.capability-grid article:hover {
  background: var(--ink);
  color: var(--surface);
}

.capability-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--copper);
  font-weight: 700;
}

.capability-grid article:hover p {
  color: rgba(255, 253, 247, 0.74);
}

.notes-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.42fr) minmax(0, 0.72fr);
  gap: 24px;
}

.note-editor,
.contact-form {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.note-editor label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 700;
}

.note-editor input,
.note-editor textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
  color: var(--ink);
  font-size: 1rem;
}

.note-editor input,
.contact-form input {
  min-height: 44px;
  padding: 0 12px;
}

.note-editor textarea,
.contact-form textarea {
  resize: vertical;
  min-height: 150px;
  padding: 12px;
}

.note-editor input:focus,
.note-editor textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(167, 88, 61, 0.22);
  border-color: var(--copper);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.published-notes {
  display: grid;
  width: 100%;
  max-width: var(--container-max);
  gap: 14px;
  margin-inline: auto;
}

.note-card {
  display: grid;
  gap: 10px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.note-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(17, 17, 15, 0.08);
}

.note-card time,
.note-card span {
  color: var(--bluegreen);
  font-size: 0.8rem;
  font-weight: 700;
}

.note-card h3 {
  margin-bottom: 0;
}

.timeline-board {
  display: grid;
  width: 100%;
  max-width: var(--container-max);
  grid-template-columns: minmax(0, 0.68fr) minmax(300px, 0.36fr);
  gap: 24px;
  margin-inline: auto;
}

.timeline-track {
  display: grid;
  gap: 16px;
  padding-left: 22px;
  border-left: 2px solid var(--line-strong);
}

.milestone {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.72);
  cursor: pointer;
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.milestone::before {
  position: absolute;
  top: 24px;
  left: -30px;
  width: 13px;
  height: 13px;
  content: "";
  border: 2px solid var(--paper);
  border-radius: 4px;
  background: var(--bluegreen);
  box-shadow: 0 0 0 1px rgba(17, 17, 15, 0.24);
}

.milestone:hover,
.milestone.active {
  transform: translateX(4px);
  border-color: var(--copper);
  background: var(--surface);
}

.milestone time {
  color: var(--copper);
  font-weight: 700;
}

.milestone strong {
  display: block;
  margin-bottom: 6px;
}

.milestone span {
  color: var(--muted);
}

.timeline-detail {
  position: sticky;
  top: 96px;
  align-self: start;
  min-height: 310px;
  padding: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
}

.timeline-detail p {
  color: rgba(255, 253, 247, 0.76);
}

.timeline-detail ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-detail li {
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  color: rgba(255, 253, 247, 0.84);
}

.venture-section {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: minmax(300px, 0.64fr) minmax(300px, 0.48fr);
  gap: clamp(28px, 6vw, 72px);
  background: #e6e9e2;
}

.venture-section > * {
  max-width: 100%;
}

.venture-copy p:not(.section-label) {
  max-width: 680px;
  font-size: 1.08rem;
}

.venture-panel {
  display: grid;
  gap: 12px;
  align-content: center;
}

.venture-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.venture-visual {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(17, 17, 15, 0.1);
}

.venture-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.venture-visual figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.84);
  color: var(--bluegreen);
  font-size: 0.76rem;
  backdrop-filter: blur(14px);
}

.venture-node-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.venture-node {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  font-size: 1rem;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.venture-node:hover {
  transform: translateY(-2px);
}

.venture-node.active {
  background: var(--ink);
  color: var(--surface);
}

.venture-panel p {
  min-height: 136px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 1.85rem;
  line-height: 1.3;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.64fr) minmax(300px, 0.42fr);
  gap: clamp(28px, 6vw, 72px);
}

.contact-section > * {
  max-width: 100%;
}

.contact-email {
  display: inline-block;
  margin-top: 26px;
  border-bottom: 1px solid currentColor;
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.site-footer {
  display: grid;
  gap: clamp(38px, 6vw, 88px);
  padding-block: clamp(58px, 8vw, 112px) 32px;
  padding-inline: max(var(--page-gutter), calc((100vw - var(--container-wide)) / 2));
  background: var(--ink);
  color: var(--surface);
}

.footer-statement {
  display: grid;
  max-width: 1180px;
  gap: 16px;
}

.footer-kicker {
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.56);
  font-size: 0.86rem;
}

.footer-line {
  max-width: 980px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 6.8rem);
  line-height: 0.98;
  text-wrap: balance;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 253, 247, 0.14);
  color: rgba(255, 253, 247, 0.74);
}

.footer-meta span {
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(255, 253, 247, 0.9);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  margin-left: 0;
  color: rgba(255, 253, 247, 0.72);
}

.footer-nav a {
  border-bottom: 1px solid transparent;
}

.footer-nav a:hover {
  color: var(--surface);
  border-color: currentColor;
}

@keyframes rotateOrbital {
  to {
    transform: rotate(360deg);
  }
}

@keyframes slideMarquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .hero,
  .about-grid,
  .venture-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-board {
    min-height: 560px;
  }

  h1 {
    font-size: clamp(3.2rem, 8vw, 5rem);
  }

  h2 {
    font-size: clamp(2.45rem, 6.8vw, 4rem);
  }

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

  .capability-grid article:nth-child(2) {
    border-right: 0;
  }

  .capability-grid article:nth-child(1),
  .capability-grid article:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: center;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  nav {
    position: fixed;
    inset: 74px 16px auto 16px;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  body.menu-open nav {
    display: flex;
  }

  nav a {
    padding: 10px 0;
  }

  .section-heading,
  .section-heading.compact,
  .case-stage,
  .work-grid,
  .notes-layout,
  .timeline-board {
    grid-template-columns: 1fr;
  }

  .section-heading.compact .section-label,
  .section-heading.compact h2,
  .section-heading.compact p:not(.section-label),
  .section-heading.compact .text-link {
    grid-column: 1;
  }

  .case-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-meta,
  .case-columns {
    grid-template-columns: 1fr;
  }

  .timeline-detail {
    position: static;
  }

  h1 {
    font-size: clamp(3rem, 8vw, 3.8rem);
  }

  h2 {
    font-size: clamp(2.2rem, 6.4vw, 3rem);
  }

  .case-detail h3 {
    font-size: 2.4rem;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 44px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .header-actions {
    margin-left: 0;
  }

  h1 {
    font-size: clamp(2.45rem, 11vw, 2.82rem);
  }

  h2 {
    font-size: clamp(2rem, 8vw, 2.12rem);
  }

  .hero-copy p:not(.section-label) {
    font-size: 1rem;
  }

  .hero-actions .button,
  .editor-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .hero-board {
    display: grid;
    gap: 12px;
    min-height: auto;
  }

  .orbital-map,
  .board-image,
  .board-card {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .orbital-map {
    min-height: 240px;
    order: 2;
  }

  .board-card:nth-of-type(1),
  .board-card:nth-of-type(2),
  .board-card:nth-of-type(3) {
    inset: auto;
  }

  .board-image {
    order: 6;
  }

  .board-image figcaption {
    left: 10px;
    bottom: 10px;
  }

  .capability-grid,
  .venture-node-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid article,
  .capability-grid article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-grid article:last-child {
    border-bottom: 0;
  }

  .milestone,
  .case-detail-header {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 34px;
  }

  .footer-meta,
  .footer-nav {
    justify-content: flex-start;
  }
}
