:root {
  color-scheme: light;
  --paper: #f7f2ea;
  --paper-strong: #fffaf2;
  --ink: #111716;
  --muted: #64706c;
  --line: rgba(17, 23, 22, 0.14);
  --teal: #0e6762;
  --coral: #c55f49;
  --clay: #a98772;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(17, 23, 22, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(247, 242, 234, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 42px rgba(17, 23, 22, 0.08);
  transition:
    min-height 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-compact {
  min-height: 60px;
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 10px 30px rgba(17, 23, 22, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 0.94rem;
}

.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.site-nav a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  color: rgba(17, 23, 22, 0.74);
  font-size: 0.94rem;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(14, 103, 98, 0.1);
  color: var(--teal);
  outline: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 136px 24px 92px;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 242, 234, 0.96) 0%, rgba(247, 242, 234, 0.78) 39%, rgba(247, 242, 234, 0.16) 72%),
    linear-gradient(0deg, rgba(247, 242, 234, 0.82) 0%, rgba(247, 242, 234, 0) 32%);
}

.hero-content {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.24;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: #34413d;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 720;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  background: var(--ink);
  color: var(--paper-strong);
  box-shadow: 0 14px 32px rgba(17, 23, 22, 0.22);
}

.button.secondary {
  border-color: rgba(17, 23, 22, 0.24);
  background: rgba(255, 250, 242, 0.54);
  color: var(--ink);
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

.intro {
  padding-top: 72px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 56px;
  align-items: start;
}

.intro-grid > p {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1.22;
}

.quick-facts {
  display: grid;
  gap: 18px;
  margin: 0;
}

.quick-facts div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.quick-facts dd {
  margin: 5px 0 0;
  font-weight: 680;
}

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

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

.project-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 16px 42px rgba(17, 23, 22, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 103, 98, 0.32);
  box-shadow: var(--shadow);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.project-card p {
  margin: 0;
  color: #50605c;
}

.project-card a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 760;
}

.about-band {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: 48px;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2));
  background: #13201e;
  color: var(--paper-strong);
}

.about-copy p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 250, 242, 0.74);
  font-size: 1.08rem;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 10px;
}

.stack-list span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.08);
  color: rgba(255, 250, 242, 0.86);
}

.note-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.note-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 78px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.note-link span {
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 720;
}

.note-link time {
  color: var(--muted);
  white-space: nowrap;
}

.note-link:hover span,
.note-link:focus-visible span {
  color: var(--teal);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  padding-bottom: 80px;
}

.contact h2 {
  max-width: 760px;
}

.contact-actions {
  justify-content: end;
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--teal);
  font-weight: 760;
}

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

.site-footer a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

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

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding-inline: 9px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 90vh;
    padding-inline: 18px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 242, 234, 0.98) 0%, rgba(247, 242, 234, 0.88) 58%, rgba(247, 242, 234, 0.4) 100%),
      linear-gradient(0deg, rgba(247, 242, 234, 0.92) 0%, rgba(247, 242, 234, 0) 42%);
  }

  .section {
    padding: 70px 0;
  }

  .intro-grid,
  .about-band,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .project-card {
    min-height: 260px;
  }

  .contact-actions {
    justify-content: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: center;
    min-height: 58px;
    padding: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-nav a {
    min-height: 34px;
    padding: 6px 7px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 118px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

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

  .button {
    width: 100%;
  }

  .section-heading {
    display: block;
  }

  .note-link {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
