:root {
  --bg: #09090b;
  --bg-raise: #121214;
  --fg: #f3f2ee;
  --text: #b9b8b2;
  --muted: #8d8c86;
  --line: rgba(243, 242, 238, 0.12);
  --line-strong: rgba(243, 242, 238, 0.32);
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --display: "Michroma", "Avenir Next", sans-serif;
  --measure: 40rem;
  --page: 72rem;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 42% at 50% -8%, rgba(255, 255, 255, 0.055), transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

p,
h1,
h2,
h3,
ol,
ul {
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(9, 9, 11, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner,
.hero,
.page,
.band-inner,
.footer-inner {
  width: min(var(--page), calc(100% - 3rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: none;
  text-decoration: none;
}

.wordmark,
.dot-ai {
  width: 11.25rem;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--fg);
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--fg);
}

.hero {
  min-height: calc(100svh - 6.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3.25rem;
  padding: 3rem 0 4rem;
}

.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}

.identity-mark {
  width: 4.75rem;
  height: auto;
  margin-bottom: 0.35rem;
}

.identity-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: min(28rem, 100%);
}

.identity-word,
.identity-ai {
  width: 100%;
  height: auto;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pillars,
.cards {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.pillars li,
.cards li {
  padding: 1.6rem 1.4rem 1.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015) 42%, transparent);
  border: 1px solid var(--line);
  border-top-color: var(--line-strong);
}

.pillars h2 {
  color: var(--fg);
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pillars p,
.cards li > p:not(.kind):not(.role) {
  margin-top: 1rem;
  color: var(--text);
}

.band {
  background: var(--bg-raise);
  border-top: 1px solid var(--line);
}

.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem 0;
}

.band p {
  max-width: 36rem;
  color: var(--fg);
  font-size: 1.15rem;
  line-height: 1.45;
}

.band a {
  flex: none;
  color: var(--fg);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.15rem;
}

.band a:hover {
  border-bottom-color: var(--fg);
}

.page {
  padding: 4.75rem 0 6rem;
}

.page h1 {
  max-width: 16ch;
  margin-top: 0.85rem;
  color: var(--fg);
  font-size: clamp(2.1rem, 4.4vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.lead {
  max-width: var(--measure);
  margin-top: 1.5rem;
  color: var(--fg);
  font-size: 1.3rem;
  line-height: 1.45;
}

.prose {
  max-width: var(--measure);
  margin-top: 1.15rem;
}

.ways {
  list-style: none;
  padding: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.ways li {
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.ways h2 {
  color: var(--fg);
  font-size: 1rem;
  font-weight: 500;
}

.ways p {
  margin-top: 0.55rem;
  font-size: 0.98rem;
}

.quote {
  max-width: 36rem;
  margin-top: 3rem;
  padding: 1.35rem 0 1.35rem 1.25rem;
  border-left: 1px solid var(--line-strong);
  color: var(--fg);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.45;
}

.cards {
  margin-top: 2.75rem;
}

.cards h2 {
  color: var(--fg);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.role {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.contact-line {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.email {
  color: var(--fg);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.email:hover {
  border-bottom-color: var(--fg);
}

.contact-line .place {
  margin-top: 0.9rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
  margin-top: 2.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--line-strong);
}

.contact-form button {
  justify-self: start;
  margin-top: 0.25rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  font: inherit;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.contact-form button:hover {
  border-color: var(--fg);
}

.contact-form button:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 4px;
}

.form-status {
  min-height: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cards li:has(.card-media) {
  display: flex;
  flex-direction: column;
  padding: 0 1.4rem 1.8rem;
}

.card-media {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  margin: 0 -1.4rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 62% at 50% 58%, rgba(255, 255, 255, 0.07), transparent 70%);
}

button.card-media {
  width: calc(100% + 2.8rem);
  padding: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  color: inherit;
  font: inherit;
  cursor: zoom-in;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-media .plate {
  margin-top: 0;
  color: var(--fg);
  font-family: var(--display);
  font-size: clamp(0.78rem, 1.15vw, 0.95rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.2rem;
}

.plate:hover {
  border-bottom-color: var(--fg);
}

.lightbox {
  box-sizing: border-box;
  width: 80vw;
  height: 80vh;
  max-width: 80vw;
  max-height: 80vh;
  margin: auto;
  padding: 3rem 1.75rem 1.4rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #1c1c20;
  color: var(--fg);
}

.lightbox::backdrop {
  background: rgba(9, 9, 11, 0.92);
}

.lightbox figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(80vh - 7rem);
  object-fit: contain;
}

.lightbox figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.lightbox-close {
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  padding: 0.35rem 0.15rem;
  border: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lightbox-close:hover {
  color: var(--text);
}

.kind {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cards .kind + h2 {
  margin-top: 0.55rem;
}

.cards a {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.12rem;
}

.cards a:hover {
  border-bottom-color: var(--fg);
}

.more {
  margin-top: 2rem;
  color: var(--muted);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0 1.6rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand .mark {
  width: 1.3rem;
  height: auto;
  flex: none;
}

.footer-brand p + p::before {
  content: "·";
  margin: 0 0.7rem 0 0.15rem;
}

@media (max-width: 800px) {
  .header-inner,
  .hero,
  .page,
  .band-inner,
  .footer-inner {
    width: min(var(--page), calc(100% - 2.25rem));
  }

  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.7rem;
  }

  .wordmark,
  .dot-ai {
    width: 9.25rem;
  }

  .nav {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .nav a {
    font-size: 0.86rem;
  }

  .hero {
    min-height: 0;
    padding: 2.75rem 0 3rem;
  }

  .pillars,
  .cards,
  .ways {
    grid-template-columns: 1fr;
  }

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

  .page h1 {
    max-width: none;
  }

  .lead {
    font-size: 1.15rem;
  }
}
