:root {
  color-scheme: dark;
  --bg: #10110f;
  --surface: #181a17;
  --surface-2: #20231e;
  --paper: #f5f1e8;
  --ink: #1d211b;
  --line: rgba(245, 241, 232, 0.16);
  --text: #f8f4ec;
  --muted: #b9b0a1;
  --amber: #e5a93f;
  --green: #60d394;
  --cyan: #52d6d2;
  --rose: #ff6b7a;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245, 241, 232, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 17, 15, 0.92);
  backdrop-filter: blur(18px);
  padding: 14px clamp(18px, 5vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(229, 169, 63, 0.65);
  border-radius: 8px;
  background: #251f12;
  color: var(--amber);
  font-weight: 900;
}

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

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

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

nav a {
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
  padding: 8px 10px;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  border-color: var(--line);
  color: var(--text);
  outline: none;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
  min-height: calc(100vh - 72px);
  align-items: center;
  padding: clamp(36px, 8vw, 88px) 0 44px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.9;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.15;
}

h4 {
  margin-bottom: 4px;
  font-size: 18px;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.button-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin: 28px 0 22px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  padding: 0 16px;
  text-decoration: none;
}

.button-primary {
  border-color: #f2bd55;
  background: var(--amber);
  color: #17120a;
}

.button-secondary {
  border-color: rgba(82, 214, 210, 0.58);
  background: rgba(82, 214, 210, 0.13);
  color: var(--text);
}

.button-plain {
  background: rgba(245, 241, 232, 0.06);
  color: var(--text);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.05);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 7px 10px;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080a08;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: block;
  object-fit: cover;
  opacity: 0.76;
}

.hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 8px;
  background: rgba(16, 17, 15, 0.86);
  padding: 18px;
}

.hero-visual span,
.hero-visual strong {
  display: block;
}

.hero-visual span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-visual strong {
  color: var(--green);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
}

.stats-band,
.proof-grid,
.generator-layout,
.contact-band {
  display: grid;
  gap: 14px;
}

.stats-band {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 78px;
}

.stats-band div,
.proof-card,
.generator-panel,
.contact-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(24, 26, 23, 0.88);
}

.stats-band div {
  padding: 18px;
}

.stats-band span {
  display: block;
  color: var(--amber);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 950;
  line-height: 1;
}

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

.section-head {
  max-width: 860px;
  margin: 0 0 22px;
  scroll-margin-top: 88px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.proof-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 86px;
}

.proof-card {
  padding: 24px;
}

.proof-card h3 {
  min-height: 58px;
}

.proof-card p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.generator-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  margin-bottom: 88px;
}

.generator-panel {
  padding: 22px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 6px;
  background: #0f120f;
  color: var(--text);
  margin-bottom: 16px;
  padding: 12px;
}

textarea {
  resize: vertical;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 14px;
}

.status-panel {
  display: grid;
  gap: 18px;
}

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

.timeline li {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  padding: 10px 12px;
}

.timeline li.active {
  border-color: rgba(229, 169, 63, 0.8);
  color: var(--amber);
}

.timeline li.done {
  border-color: rgba(96, 211, 148, 0.55);
  color: var(--green);
}

pre {
  overflow: auto;
  min-height: 182px;
  margin: 0;
  border: 1px solid rgba(82, 214, 210, 0.24);
  border-radius: 8px;
  background: #0a0d0c;
  color: #d8fff7;
  padding: 16px;
  white-space: pre-wrap;
}

.resume-sheet {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.resume-side,
.resume-main {
  padding: clamp(24px, 4vw, 42px);
}

.resume-side {
  background: #20231e;
  color: var(--text);
}

.resume-side p,
.resume-side li {
  color: #d8d0c2;
}

.resume-side a {
  color: #f2bd55;
}

.resume-side h2 {
  font-size: 34px;
}

.resume-side h3,
.resume-main h3 {
  margin-top: 28px;
  color: var(--amber);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resume-main {
  background: #fbf8f0;
}

.resume-main h3 {
  color: #7c5211;
}

.resume-main p,
.resume-main li {
  color: #33372e;
}

.resume-sheet ul {
  padding-left: 18px;
}

.role {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(29, 33, 27, 0.18);
  margin-top: 18px;
  padding-top: 16px;
}

.role span,
.role time {
  color: #6e715f;
  font-weight: 800;
}

.contact-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin: 82px 0 38px;
  padding: 24px;
}

.contact-band h2 {
  max-width: 760px;
  font-size: clamp(26px, 4vw, 44px);
}

.footer {
  width: min(1180px, calc(100% - 32px));
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px 0 38px;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .topbar,
  .hero,
  .stats-band,
  .proof-grid,
  .generator-layout,
  .resume-sheet,
  .contact-band,
  .footer {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  main,
  .footer {
    width: min(100% - 22px, 1180px);
  }

  nav,
  .hero-actions,
  .button-row,
  .contact-actions {
    width: 100%;
  }

  nav a,
  .button {
    flex: 1 1 auto;
  }

  .field-grid,
  .stats-band,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 46px;
  }
}

@media print {
  @page {
    size: letter;
    margin: 0.42in;
  }

  :root {
    color-scheme: light;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    background: #fff;
    color: #151713;
    font-size: 10pt;
    line-height: 1.32;
  }

  .topbar,
  .hero,
  .stats-band,
  #work,
  .proof-grid,
  #music-generator,
  .generator-layout,
  #resume,
  .contact-band,
  .footer {
    display: none !important;
  }

  main {
    width: 100%;
    margin: 0;
  }

  .resume-sheet {
    display: grid !important;
    grid-template-columns: 1.86in minmax(0, 1fr);
    overflow: visible;
    background: #fff;
    color: #151713;
    box-shadow: none;
    border-radius: 0;
  }

  .resume-side,
  .resume-main {
    padding: 0.2in;
  }

  .resume-side {
    border-right: 1px solid #c9c7bd;
    background: #f3f1eb;
    color: #151713;
  }

  .resume-main {
    background: #fff;
  }

  .resume-side h2 {
    margin-bottom: 0.12in;
    color: #151713;
    font-size: 20pt;
    line-height: 0.96;
  }

  .resume-side p,
  .resume-side li,
  .resume-main p,
  .resume-main li {
    color: #252921;
  }

  .resume-side p {
    overflow-wrap: anywhere;
    margin-bottom: 0.04in;
    font-size: 8.8pt;
  }

  .resume-side a {
    color: #151713;
    text-decoration: none;
  }

  .resume-side h3,
  .resume-main h3 {
    margin: 0.16in 0 0.07in;
    border-bottom: 1px solid #d7d3c8;
    color: #513507;
    font-size: 8.6pt;
    letter-spacing: 0.04em;
    padding-bottom: 0.04in;
  }

  .resume-side ul,
  .resume-main ul {
    margin: 0 0 0.1in;
    padding-left: 0.16in;
  }

  .resume-side li {
    margin-bottom: 0.04in;
    font-size: 8.7pt;
  }

  .resume-main p,
  .resume-main li {
    font-size: 9.4pt;
  }

  .resume-main p {
    margin-bottom: 0.08in;
  }

  .resume-main li {
    margin-bottom: 0.045in;
  }

  .role {
    gap: 0.14in;
    margin-top: 0.11in;
    border-top: 1px solid #d7d3c8;
    padding-top: 0.09in;
    page-break-inside: avoid;
  }

  .role h4 {
    margin-bottom: 0.02in;
    color: #151713;
    font-size: 11pt;
  }

  .role span,
  .role time {
    color: #5f6257;
    font-size: 8.5pt;
  }
}
