:root {
  --ink: #17211d;
  --muted: #66706b;
  --paper: #f4f1e8;
  --paper-deep: #e9e4d8;
  --acid: #c7f65b;
  --orange: #ff6b3d;
  --line: rgba(23, 33, 29, 0.16);
  --shadow: 0 22px 60px rgba(23, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  font-size: 16px;
}

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

button {
  font: inherit;
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 33, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 29, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.section-shell,
.site-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  transition: opacity 180ms ease;
}

.site-nav a:hover {
  opacity: 0.56;
}

.site-nav .nav-contact {
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
}

.menu-button {
  display: none;
  padding: 8px 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.7fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 72px 0 96px;
}

.eyebrow,
.section-index,
.project-type {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 32px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  max-width: 820px;
  margin: 28px 0 30px;
  font-size: clamp(52px, 5.25vw, 80px);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.hero h1 em {
  color: var(--orange);
  font-family: Georgia, "Noto Serif SC", serif;
  font-weight: 400;
}

.hero-description {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(23, 33, 29, 0.14);
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
}

.button-ghost {
  background: rgba(244, 241, 232, 0.68);
}

.hero-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  background: var(--acid);
  border: 1px solid var(--ink);
  border-radius: 26px;
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(2deg);
}

.portrait-shape {
  position: relative;
  display: grid;
  min-height: 350px;
  overflow: hidden;
  place-items: center;
  background: var(--ink);
  border-radius: 18px;
}

.portrait-shape > span {
  z-index: 2;
  color: var(--acid);
  font-family: Georgia, serif;
  font-size: 172px;
  font-style: italic;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(199, 246, 91, 0.46);
  border-radius: 50%;
}

.orbit-one {
  width: 290px;
  height: 120px;
  transform: rotate(32deg);
}

.orbit-two {
  width: 120px;
  height: 290px;
  transform: rotate(32deg);
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.availability i {
  width: 9px;
  height: 9px;
  background: var(--orange);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 33, 29, 0.4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.statement {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  gap: 44px;
  padding: 128px 0;
  border-top: 1px solid var(--line);
}

.section-index {
  color: var(--muted);
}

.statement-content h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.statement-content p {
  max-width: 830px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.7;
}

.quota,
.projects,
.focus {
  padding: 120px 0;
}

.quota,
.projects {
  border-top: 1px solid var(--line);
}

.quota-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 26px;
  box-shadow: 14px 14px 0 var(--acid);
}

.quota-main {
  display: flex;
  min-height: 440px;
  padding: clamp(30px, 5vw, 64px);
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 86% 18%, rgba(199, 246, 91, 0.18), transparent 28%),
    var(--ink);
}

.quota-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.quota-kicker {
  margin: 0;
  color: rgba(244, 241, 232, 0.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.quota-stage {
  padding: 8px 12px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.quota-value {
  display: flex;
  align-items: flex-start;
  margin: auto 0 0;
  color: var(--acid);
  font-size: clamp(64px, 9vw, 126px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.quota-value small {
  margin: 0.08em 0 0 0.12em;
  color: var(--paper);
  font-size: 0.28em;
  letter-spacing: 0;
}

.quota-label {
  margin: 18px 0 34px;
  color: rgba(244, 241, 232, 0.64);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.quota-progress {
  height: 12px;
  overflow: hidden;
  background: rgba(244, 241, 232, 0.16);
  border: 1px solid rgba(244, 241, 232, 0.22);
  border-radius: 999px;
}

.quota-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  border-radius: inherit;
  transition: width 250ms linear;
}

.quota-meta {
  display: flex;
  padding: clamp(28px, 4vw, 46px);
  color: var(--ink);
  background: var(--acid);
  flex-direction: column;
}

.quota-meta-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(23, 33, 29, 0.34);
}

.quota-meta-item:first-child {
  padding-top: 0;
}

.quota-meta-item span,
.quota-meta-item strong,
.quota-meta-item em {
  display: block;
}

.quota-meta-item span {
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.quota-meta-item strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.quota-meta-item em {
  margin-top: 8px;
  color: rgba(23, 33, 29, 0.68);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.quota-actions {
  display: grid;
  gap: 10px;
  padding-top: 24px;
  margin-top: auto;
}

.quota-action-button {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.quota-flow-button {
  color: var(--paper);
  background: var(--ink);
}

.quota-reset-button {
  color: var(--ink);
  background: transparent;
}

.quota-action-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(23, 33, 29, 0.22);
}

.quota-action-button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.quota-action-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.quota-note {
  margin: 14px 0 0;
  color: rgba(23, 33, 29, 0.66);
  font-size: 12px;
  line-height: 1.6;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 62px;
}

.section-heading h2 {
  text-align: right;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  position: relative;
  min-height: 400px;
  padding: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 220ms ease, background 220ms ease;
}

.project-card:hover {
  z-index: 1;
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-6px);
}

.project-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 60px 1fr 0.8fr;
  gap: 24px;
  min-height: 470px;
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.project-featured:hover {
  background: #223029;
}

.project-number {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.project-featured .project-number {
  color: rgba(244, 241, 232, 0.52);
}

.project-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 600px;
}

.project-type {
  color: var(--orange);
}

.project-body h3 {
  margin: 18px 0;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.project-body > p:not(.project-type) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.project-featured .project-body > p:not(.project-type) {
  color: rgba(244, 241, 232, 0.68);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.project-featured .tag-list li {
  border-color: rgba(244, 241, 232, 0.25);
}

.project-visual {
  position: relative;
  align-self: stretch;
  min-height: 300px;
  overflow: hidden;
  background: var(--acid);
  border-radius: 18px;
}

.node {
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  background: var(--ink);
  border: 5px solid var(--paper);
  border-radius: 50%;
}

.node-a { top: 21%; left: 22%; }
.node-b { top: 43%; right: 18%; }
.node-c { bottom: 18%; left: 35%; }
.node-d { top: 12%; right: 24%; }

.line {
  position: absolute;
  left: 26%;
  z-index: 1;
  width: 58%;
  height: 2px;
  background: var(--ink);
  transform-origin: left;
}

.line-a { top: 25%; transform: rotate(14deg); }
.line-b { top: 28%; transform: rotate(62deg); }
.line-c { top: 68%; transform: rotate(-27deg); }

.focus {
  border-top: 1px solid var(--line);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.focus-item {
  min-height: 300px;
  padding: 32px;
  border-right: 1px solid var(--ink);
}

.focus-item:last-child {
  border-right: 0;
}

.focus-item > span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
}

.focus-item h3 {
  margin: 64px 0 16px;
  font-size: 26px;
}

.focus-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.contact {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  gap: 44px;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.contact a {
  display: inline-flex;
  gap: 18px;
  margin-top: 34px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--orange);
  font-size: 18px;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-footer .filing-number {
  justify-self: center;
  letter-spacing: 0.04em;
}

.site-footer > a:last-child {
  justify-self: end;
}

.site-footer a {
  transition: opacity 180ms ease;
}

.site-footer a:hover {
  opacity: 0.56;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .site-header {
    position: relative;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 0;
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 210px;
    padding: 20px;
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-card {
    width: min(100%, 460px);
    justify-self: center;
  }

  .statement,
  .contact {
    grid-template-columns: 1fr;
  }

  .quota-card {
    grid-template-columns: 1fr;
  }

  .quota-main {
    min-height: 380px;
  }

  .quota-meta {
    min-height: 330px;
  }

  .project-featured {
    grid-template-columns: 44px 1fr;
  }

  .project-visual {
    grid-column: 1 / -1;
  }

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

  .focus-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .focus-item:last-child {
    border-bottom: 0;
  }

  .focus-item h3 {
    margin-top: 34px;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  .brand > span:last-child {
    display: none;
  }

  .hero {
    padding: 56px 0 78px;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .portrait-shape {
    min-height: 290px;
  }

  .statement,
  .quota,
  .projects,
  .focus,
  .contact {
    padding: 84px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading h2 {
    text-align: left;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .project-featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 360px;
    padding: 26px;
  }

  .project-visual {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer .filing-number,
  .site-footer > a:last-child {
    justify-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
