:root {
  --bg: #f7f8f5;
  --ink: #18201d;
  --muted: #5e6963;
  --line: #d8ded8;
  --panel: #ffffff;
  --accent: #0a6b5a;
  --accent-dark: #08473d;
  --gold: #bf8f2f;
  --blue: #2b5b84;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(247, 248, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
}

.nav {
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(56px, 8vw, 108px) clamp(20px, 4vw, 56px);
  overflow: hidden;
  background: #121917;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 25, 23, 0.92) 0%, rgba(18, 25, 23, 0.7) 34%, rgba(18, 25, 23, 0.22) 70%),
    linear-gradient(180deg, rgba(18, 25, 23, 0.12) 0%, rgba(18, 25, 23, 0.38) 100%);
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 830px;
}

.hero .eyebrow {
  color: #8fd8ca;
}

.hero .intro {
  color: #d6e5e1;
}

.hero .button.primary {
  background: #fff;
  border-color: #fff;
  color: var(--accent-dark);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.intro {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.button.secondary {
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.system-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(24, 32, 29, 0.12);
  overflow: hidden;
}

.panel-bar {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: #eef1ed;
  border-bottom: 1px solid var(--line);
}

.panel-bar span {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.panel-bar span:nth-child(2) {
  background: var(--accent);
}

.panel-bar span:nth-child(3) {
  background: var(--blue);
}

.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.system-grid div {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

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

.metric {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.system-grid strong,
.work-list span {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 850;
}

.system-grid p,
.service-grid p,
.work-list p,
.narrative-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.band,
.split,
.contact {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.service-grid article {
  min-height: 230px;
  padding: 28px;
  background: var(--panel);
}

.narrative-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.narrative-grid p + p {
  margin-top: 18px;
}

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

.check-list li {
  position: relative;
  padding: 16px 16px 16px 42px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 18px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
}

.release-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
}

.release-panel h3 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.release-panel p {
  max-width: 720px;
  color: var(--muted);
}

.release-panel .button {
  margin-top: 10px;
}

.release-status {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  background: #eef7f4;
  border: 1px solid #c7e5dc;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.release-summary {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
}

.split,
.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 74px);
}

.work-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.work-list div {
  padding: 24px;
  background: var(--panel);
}

.contact {
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.contact .eyebrow {
  color: #8fd8ca;
}

.contact h2 {
  margin-bottom: 14px;
}

.contact-copy {
  max-width: 420px;
  margin-bottom: 0;
  color: #c6d7d2;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 720px;
  justify-self: end;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #e9f2ef;
  font-size: 14px;
  font-weight: 800;
}

.contact-form .full,
.contact-form .form-status {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  line-height: 1.4;
}

.contact-form input {
  min-height: 46px;
  padding: 10px 12px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8fd8ca;
  outline: 2px solid rgba(143, 216, 202, 0.18);
}

.contact-form .button {
  justify-self: start;
  background: #fff;
  border-color: #fff;
  color: var(--accent-dark);
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.form-status.success {
  background: rgba(143, 216, 202, 0.16);
  color: #bceade;
}

.form-status.error {
  background: rgba(255, 255, 255, 0.12);
  color: #ffd5d5;
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 4vw, 56px);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .narrative-grid,
  .release-panel,
  .split,
  .contact,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .contact-form {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

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

  .system-grid div,
  .system-grid div:nth-child(2n),
  .system-grid div:nth-last-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .system-grid div:last-child {
    border-bottom: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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