:root {
  --bg: #081012;
  --bg-soft: #0e171a;
  --surface: rgba(11, 19, 22, 0.74);
  --surface-strong: #111c1f;
  --text: #f1ebde;
  --muted: rgba(241, 235, 222, 0.7);
  --line: rgba(241, 235, 222, 0.12);
  --line-strong: rgba(241, 235, 222, 0.22);
  --sand: #d6c4a7;
  --foam: #8ea7a8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 2rem;
  --radius-lg: 1.25rem;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Hanken Grotesk", sans-serif;
  background:
    radial-gradient(circle at 16% 12%, rgba(214, 196, 167, 0.1), transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(142, 167, 168, 0.1), transparent 20%),
    linear-gradient(180deg, #0b1417 0%, var(--bg) 42%, #060b0c 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 92%);
}

body::after {
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 0.7px, transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

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

button,
a {
  color: inherit;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.site-shell {
  width: min(calc(100vw - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.topbar {
  position: sticky;
  top: 0.75rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 11, 12, 0.56);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  position: relative;
  width: 2.75rem;
  height: 2.1rem;
}

.brand-mark span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(214, 196, 167, 0.95), rgba(214, 196, 167, 0.62));
  box-shadow: 0 0 28px rgba(214, 196, 167, 0.14);
}

.brand-mark span:nth-child(1) {
  left: 0.1rem;
  top: 0.5rem;
  width: 1.05rem;
  height: 0.72rem;
  transform: rotate(-18deg);
}

.brand-mark span:nth-child(2) {
  left: 0.95rem;
  top: 0.15rem;
  width: 0.78rem;
  height: 0.55rem;
  transform: rotate(8deg);
}

.brand-mark span:nth-child(3) {
  right: 0.1rem;
  bottom: 0.55rem;
  width: 1rem;
  height: 0.68rem;
  transform: rotate(-12deg);
}

.brand-mark span:nth-child(4) {
  left: 1.25rem;
  bottom: 0.1rem;
  width: 0.55rem;
  height: 0.38rem;
}

.brand-name,
.topnav,
.eyebrow,
.service-index,
.note-label {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-name {
  font-size: 0.84rem;
}

.topnav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.78rem;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.topnav a:hover,
.topnav a:focus-visible,
.brand:hover .brand-name,
.brand:focus-visible .brand-name {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.25rem;
  align-items: end;
  padding: 2rem 0 3rem;
}

.hero-copy,
.hero-image,
.hero-note,
.panel,
.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}

.hero-copy {
  min-height: 38rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 196, 167, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.hero-copy::after,
.panel::after,
.service-card::after,
.hero-image::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.4;
}

.eyebrow,
.note-label,
.service-index {
  color: var(--sand);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  max-width: 9ch;
  font-size: clamp(4rem, 9vw, 7.8rem);
  line-height: 0.9;
  margin-bottom: 1.4rem;
}

h1 span {
  color: var(--sand);
  display: block;
}

.lede,
.hero-note p,
.manifesto-statement p,
.principles,
.service-card p,
.band-detail p,
.contact-copy p,
figcaption {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.lede {
  max-width: 37rem;
  font-size: 1.12rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

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

.button-solid {
  background: var(--sand);
  color: #0c1214;
}

.button-ghost {
  background: transparent;
}

.button-ghost:hover,
.button-ghost:focus-visible,
.topnav a:hover,
.topnav a:focus-visible {
  border-color: var(--sand);
}

.hero-image {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 42rem;
  border-radius: 15rem 15rem 2rem 2rem;
  background: #0c1417;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.05);
}

.hero-image figcaption {
  padding: 1rem 1.2rem 1.25rem;
  border-top: 1px solid var(--line);
  background: rgba(8, 16, 18, 0.88);
}

.hero-note {
  grid-column: 1 / 2;
  width: min(26rem, 88%);
  margin-top: -7rem;
  margin-left: auto;
  padding: 1.2rem 1.2rem 1.35rem;
  border-radius: 1.25rem;
  backdrop-filter: blur(16px);
  background: rgba(12, 20, 23, 0.82);
  z-index: 2;
}

.panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

.manifesto {
  display: grid;
  gap: 2rem;
  margin: 2rem 0 1.25rem;
}

.section-head {
  display: grid;
  gap: 0.4rem;
}

.section-head h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.manifesto-statement {
  padding-right: 4vw;
}

.manifesto-statement p {
  max-width: 18ch;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.principles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  align-content: end;
  gap: 1rem;
}

.principles li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.services {
  padding: 2rem 0;
}

.services-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-card {
  padding: 1.4rem;
  border-radius: 1.75rem;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 12% 18%, rgba(214, 196, 167, 0.13), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.service-card-large {
  grid-row: span 2;
  min-height: 26rem;
  padding: 1.8rem;
}

.service-card h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
  margin-bottom: 0.8rem;
}

.service-card p {
  max-width: 28rem;
}

.tone-soft {
  background:
    linear-gradient(180deg, rgba(142, 167, 168, 0.1), rgba(255, 255, 255, 0.015)),
    #0f181b;
}

.split-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: end;
  margin: 1.2rem 0;
}

.band-copy h2 {
  max-width: 9ch;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.band-detail {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-top: 1.2rem;
}

.contact-copy h2 {
  max-width: 9ch;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.95;
  margin-bottom: 0.8rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.contact-arrow {
  color: var(--sand);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 900ms cubic-bezier(0.2, 1, 0.2, 1) forwards;
}

.rise-1 {
  animation-delay: 90ms;
}

.rise-2 {
  animation-delay: 180ms;
}

.rise-3 {
  animation-delay: 280ms;
}

.rise-4 {
  animation-delay: 380ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 1024px) {
  .hero,
  .manifesto-grid,
  .split-band,
  .contact,
  .services-layout {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 28rem;
    border-radius: 2rem;
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-note {
    grid-column: auto;
    width: 100%;
    margin: 0;
  }

  .service-card-large {
    grid-row: auto;
    min-height: 18rem;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100vw - 1rem), var(--max-width));
    padding-top: 0.5rem;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 1.4rem;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }

  .hero {
    gap: 1rem;
    padding-top: 1rem;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 4.8rem);
  }

  .section-head h2,
  .band-copy h2,
  .contact-copy h2,
  .service-card h3,
  .manifesto-statement p {
    max-width: none;
  }

  .contact-link {
    flex-wrap: wrap;
  }
}
