:root {
  --bg: #ffffff;
  --ink: #141514;
  --muted: #626861;
  --line: #dfe5df;
  --soft: #f4f7f3;
  --green: #2f6f4e;
  --green-dark: #17462f;
  --green-soft: #dfeee4;
  --blue: #1f5f9f;
  --shadow: 0 24px 70px rgba(17, 29, 20, 0.12);
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

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

p,
ul,
dl {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(223, 229, 223, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 34px rgba(20, 21, 20, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: clamp(12px, 2.1vw, 30px);
  color: var(--muted);
  font-size: 13px;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--green);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.tool-button,
.print-button,
.primary-link,
.secondary-link {
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.tool-button {
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
}

.tool-button:hover,
.tool-button:focus-visible {
  border-color: var(--green);
  color: var(--green-dark);
}

.tool-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.tool-button[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.tool-button.ghost {
  border-color: var(--line);
  color: var(--muted);
}

.print-button {
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.edit-status {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  max-width: min(390px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 36px rgba(20, 21, 20, 0.12);
  color: var(--muted);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.is-editing .edit-status,
.is-showing-edit-status .edit-status {
  opacity: 1;
  transform: translateY(0);
}

[contenteditable="true"] {
  outline: 1px dashed rgba(47, 111, 78, 0.38);
  outline-offset: 4px;
  border-radius: 3px;
  cursor: text;
}

[contenteditable="true"]:hover {
  background: rgba(223, 238, 228, 0.22);
}

[contenteditable="true"]:focus {
  outline: 2px solid var(--green);
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, transparent 36%);
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent);
  content: "";
  z-index: -1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--green-dark);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.hero-copy {
  align-self: end;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 78px;
  color: #fff;
}

.proposal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proposal-meta span {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 6px;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 9vw, 108px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.92;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.18);
}

.hero-copy p {
  max-width: 700px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

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

.primary-link,
.secondary-link {
  padding: 13px 20px;
}

.primary-link {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.secondary-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.66);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(18px, 4vw, 54px);
  width: min(360px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 20, 14, 0.66);
  color: #fff;
  backdrop-filter: blur(16px);
}

.panel-kicker {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
}

.hero-panel p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-panel dl div {
  padding: 14px 10px;
  background: rgba(10, 20, 14, 0.54);
}

.hero-panel dt {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  text-transform: uppercase;
}

.hero-panel dd {
  margin: 3px 0 0;
  font-size: 22px;
  font-weight: 700;
}

main > section:not(.hero) {
  position: relative;
  padding: clamp(72px, 9vw, 132px) clamp(18px, 4vw, 54px);
}

.section-index {
  width: var(--max);
  max-width: 100%;
  margin: 0 auto 24px;
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.section-heading,
.split-heading,
.two-column {
  width: var(--max);
  max-width: 100%;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.split-heading h2,
.two-column h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.section-heading p,
.split-heading p,
.two-column p {
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
}

.intro-band {
  background: var(--bg);
}

.understanding-grid,
.story-arc,
.visual-system,
.deliverable-grid,
.timeline-track,
.team-lanes,
.portfolio-grid,
.compliance-grid {
  width: var(--max);
  max-width: 100%;
  margin: 0 auto;
}

.understanding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.understanding-grid article {
  min-height: 220px;
  padding: 30px;
  background: #fff;
}

h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

article p,
article li {
  color: var(--muted);
}

article p {
  margin-top: 14px;
}

.approach-section,
.timeline,
.compliance {
  background: var(--soft);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: 42px;
}

.quote {
  padding: 0 0 0 24px;
  border-left: 2px solid var(--green);
  color: var(--green-dark) !important;
  font-family: var(--serif);
  font-size: 25px !important;
  line-height: 1.3;
}

.story-arc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.story-arc article,
.team-lanes article,
.timeline-track article {
  border-top: 2px solid var(--green);
  padding: 24px 0 0;
}

.story-arc span,
.team-lanes span,
.timeline-track span,
.task-number {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-system {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--line);
  background: var(--line);
}

.visual-system > div {
  padding: 34px;
  background: #fff;
}

.clean-list,
.check-list,
.deliverable-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li,
.check-list li,
.deliverable-grid li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.clean-list li::before,
.check-list li::before,
.deliverable-grid li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.deliverable-grid article {
  min-height: 390px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.deliverable-grid article:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.deliverable-grid article:nth-child(1),
.deliverable-grid article:nth-child(2) {
  grid-column: span 3;
}

.deliverable-grid article:nth-child(3),
.deliverable-grid article:nth-child(4),
.deliverable-grid article:nth-child(5) {
  grid-column: span 2;
}

.annexes {
  background: #fff;
}

.annex-table {
  width: var(--max);
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
}

.table-row {
  display: grid;
  grid-template-columns: 0.75fr 0.85fr 2fr;
  min-height: 74px;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-row > div {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}

.table-row > div:first-child {
  border-left: 0;
  font-weight: 750;
}

.table-head {
  min-height: 52px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-head > div {
  border-color: rgba(255, 255, 255, 0.16);
}

.location-footprint {
  display: grid;
  width: var(--max);
  max-width: 100%;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  margin: 34px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.location-footprint span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-footprint h3 {
  max-width: 380px;
}

.location-footprint p {
  max-width: 420px;
  margin-top: 14px;
  color: var(--muted);
}

.location-footprint ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.location-footprint li {
  min-height: 112px;
  padding: 20px;
  background: #fff;
  color: var(--muted);
}

.location-footprint strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 15px;
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(220px, 1fr));
  gap: 26px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.timeline-track article {
  min-width: 220px;
}

.team-section {
  background: #fff;
}

.team-lanes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tech-quality {
  background: var(--ink);
  color: #fff;
}

.tech-quality .section-index,
.tech-quality p,
.tech-quality li {
  color: rgba(255, 255, 255, 0.74);
}

.tech-quality h2 {
  color: #fff;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 84px);
}

.equipment-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.equipment-list span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
}

.portfolio {
  background: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sample-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.sample-card:hover,
.sample-card:focus-visible {
  border-color: var(--green);
  box-shadow: var(--shadow);
  outline: 0;
  transform: translateY(-3px);
}

.sample-card img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
}

.sample-card span {
  display: block;
  padding: 20px 20px 0;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.18;
}

.sample-card p {
  padding: 12px 20px 24px;
  color: var(--muted);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.compliance-grid span {
  position: relative;
  min-height: 74px;
  padding: 22px 22px 22px 46px;
  background: #fff;
  font-weight: 650;
}

.compliance-grid span::before {
  position: absolute;
  top: 26px;
  left: 22px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--green);
  border-radius: 50%;
  content: "";
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 44px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  margin-top: 6px;
  color: var(--muted);
}

.site-footer a {
  color: var(--green);
  font-weight: 750;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-copy {
    padding: 92px 0 330px;
  }

  .section-heading,
  .split-heading,
  .two-column,
  .visual-system,
  .location-footprint,
  .understanding-grid,
  .team-lanes,
  .portfolio-grid,
  .compliance-grid {
    grid-template-columns: 1fr;
  }

  .story-arc {
    grid-template-columns: 1fr;
  }

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

  .deliverable-grid article,
  .deliverable-grid article:nth-child(1),
  .deliverable-grid article:nth-child(2),
  .deliverable-grid article:nth-child(3),
  .deliverable-grid article:nth-child(4),
  .deliverable-grid article:nth-child(5) {
    grid-column: span 1;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-row > div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .table-row > div:first-child {
    border-top: 0;
  }
}

@media (max-width: 660px) {
  .site-header {
    min-height: auto;
  }

  .print-button {
    width: 100%;
  }

  .header-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .tool-button,
  .print-button {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    width: calc(100% - 32px);
    padding: 76px 0 344px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 70px);
  }

  .hero-panel {
    right: 16px;
    bottom: 18px;
    left: 16px;
    width: auto;
  }

  main > section:not(.hero) {
    padding: 68px 16px;
  }

  .deliverable-grid,
  .location-footprint ul,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .sample-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .edit-status,
  .hero-actions,
  .site-footer a {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  main > section:not(.hero) {
    padding: 40px 0;
  }

  body {
    color: #000;
  }

  .deliverable-grid,
  .portfolio-grid,
  .compliance-grid,
  .team-lanes,
  .location-footprint,
  .understanding-grid,
  .story-arc,
  .visual-system,
  .two-column {
    break-inside: avoid;
  }
}
