:root {
  color-scheme: dark;
  --ink: #f4f7f2;
  --muted: #a7b2ad;
  --soft: #101715;
  --line: #25312d;
  --paper: #0d1011;
  --surface: #151c19;
  --white: #ffffff;
  --green: #16b987;
  --cyan: #35a7c6;
  --amber: #c89a35;
  --night: #0d1011;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--white);
  pointer-events: none;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.62rem;
  border: 0;
  background: transparent;
  padding: 0.2rem 0;
  text-decoration: none;
  pointer-events: auto;
  transition: transform 180ms ease;
}

.brand-mark {
  display: block;
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 auto;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
}

.brand-wordmark {
  color: var(--white);
  font-size: 1.03rem;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-links {
  gap: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.72rem;
  background: rgba(16, 18, 20, 0.5);
  padding: 0.48rem;
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.nav-links a {
  position: relative;
  min-width: 4.75rem;
  padding: 0.12rem 0.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -0.28rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 0.75;
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: 2;
  inset: auto auto -22% -18%;
  width: min(54rem, 68vw);
  aspect-ratio: 1.9;
  background:
    radial-gradient(ellipse at 20% 62%, rgba(255, 245, 205, 0.22), transparent 24%),
    radial-gradient(ellipse at 32% 62%, rgba(22, 185, 135, 0.2), rgba(22, 185, 135, 0.08) 36%, transparent 68%);
  content: "";
  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: 0.78;
  pointer-events: none;
}

.hero picture,
.hero-image,
.hero-overlay,
.hero-sheen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture {
  overflow: hidden;
}

.hero-image {
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  transform: scale(1.005);
  animation: heroDrift 26s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 16, 17, 0.94), rgba(13, 16, 17, 0.52) 47%, rgba(13, 16, 17, 0.08)),
    linear-gradient(0deg, rgba(13, 16, 17, 0.72), rgba(13, 16, 17, 0.1) 42%, rgba(13, 16, 17, 0.46));
}

.hero-sheen {
  z-index: 2;
  background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, 0.07) 50%, transparent 66%);
  opacity: 0.55;
  transform: translateX(-52%);
  animation: heroSheen 13s ease-in-out 1s infinite;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 84svh;
  width: min(100%, 77rem);
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 7rem clamp(1.25rem, 5vw, 4rem) 4.5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 100%;
  margin: 0;
  font-size: 5.5rem;
  line-height: 0.94;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-copy {
  max-width: 45rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.27rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.78rem 1rem;
  font-weight: 820;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

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

.button.primary {
  border: 1px solid var(--green);
  background: var(--green);
  color: #06110d;
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 14px 32px rgba(22, 185, 135, 0.22);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  width: min(100%, 77rem);
  margin: 0 auto;
  padding: 5.4rem clamp(1.25rem, 5vw, 4rem);
}

.intro {
  padding-top: 6rem;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 5.2rem;
}

.intro,
.contact,
.studio-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.2rem, 5vw, 4.25rem);
  align-items: center;
}

.section-heading h2,
.contact h2 {
  max-width: 21ch;
  margin: 0;
  font-size: clamp(2.35rem, 3.2vw, 2.72rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-copy,
.note-copy {
  max-width: 37rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  text-wrap: pretty;
}

.section-copy,
.note-copy {
  display: grid;
  gap: 1rem;
}

.section-copy p,
.note-copy p {
  margin: 0;
}

.focus-card {
  position: relative;
  min-height: 13.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background:
    linear-gradient(180deg, rgba(21, 28, 25, 0.98), rgba(15, 21, 19, 0.94)),
    var(--surface);
  padding: 1.45rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.focus-card h3 {
  position: relative;
  margin: 0 0 3rem;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.focus-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
}

.studio-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #090c0c;
  color: var(--white);
}

.studio-band .section {
  width: min(100%, 77rem);
}

.studio-band .section-heading h2 {
  max-width: 20ch;
}

.studio-band .note-copy {
  color: rgba(255, 255, 255, 0.76);
}

.contact {
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.contact .button {
  justify-self: end;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  background: #0a0d0d;
  padding: 1.25rem clamp(1.25rem, 5vw, 4rem);
  color: var(--muted);
  font-size: 0.92rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.35rem);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.005) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.035) translate3d(-0.65rem, -0.25rem, 0);
  }
}

@keyframes heroSheen {
  0%,
  34% {
    transform: translateX(-62%);
  }

  66%,
  100% {
    transform: translateX(62%);
  }
}

@media (max-width: 980px) {
  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 60svh;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13, 16, 17, 0.94), rgba(13, 16, 17, 0.62)),
      linear-gradient(0deg, rgba(13, 16, 17, 0.74), rgba(13, 16, 17, 0.2) 54%, rgba(13, 16, 17, 0.52));
  }

  .hero-sheen {
    opacity: 0.35;
  }

  .hero::before {
    inset: auto auto -14% -28%;
    width: 34rem;
    opacity: 0.52;
  }

  .hero-content {
    justify-content: flex-end;
    padding-top: 6.25rem;
    padding-bottom: 1.6rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 3.35rem);
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-actions {
    margin-top: 1.4rem;
  }

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

  .hero-actions .button {
    min-height: 3rem;
    padding-top: 0.68rem;
    padding-bottom: 0.68rem;
  }

  .intro,
  .contact,
  .studio-note,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 3.4rem;
    padding-bottom: 3.4rem;
  }

  .intro {
    padding-top: 2.65rem;
  }

  .section-heading .eyebrow,
  .contact .eyebrow {
    margin-bottom: 0.95rem;
  }

  .section-heading h2,
  .contact h2 {
    max-width: none;
    font-size: clamp(1.65rem, 6vw, 1.9rem);
    line-height: 1.08;
  }

  .focus-grid {
    padding-top: 0;
  }

  .focus-card {
    min-height: 12rem;
  }

  .focus-card h3 {
    margin-bottom: 2.1rem;
  }

  .contact .button {
    justify-self: stretch;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero,
  .hero-content {
    min-height: 58svh;
  }

  .hero-content {
    padding-bottom: 1.3rem;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3rem);
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-actions {
    margin-top: 1.25rem;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 1.6rem;
  }
}

@media (min-width: 761px) and (max-width: 820px) {
  .hero,
  .hero-content {
    min-height: 66svh;
  }

  .hero-content {
    justify-content: flex-end;
    padding-top: 6.5rem;
    padding-bottom: 2.75rem;
  }

  .intro,
  .contact,
  .studio-note {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .intro {
    padding-top: 3.25rem;
  }

  .section-heading .eyebrow,
  .contact .eyebrow {
    margin-bottom: 0.95rem;
  }

  .section-heading h2,
  .contact h2 {
    max-width: none;
    font-size: 2rem;
    line-height: 1.08;
  }

  .contact .button {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
