@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&family=Roboto+Condensed:wght@300;400;700&display=swap");

:root {
  --bg: #000000;
  --paper: #ffffff;
  --paper-soft: #f2f2f2;
  --ink: #000000;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.22);
  --dark-line: rgba(0, 0, 0, 0.18);
  --hot: #ffffff;
  --gold: #ffffff;
  --blue: #ffffff;
  --logo-red: #e11919;
  --logo-gray: #747474;
  --font-display: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

p {
  margin: 0;
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 8px clamp(16px, 4vw, 48px);
  background: rgba(0, 0, 0, 0.86);
}

.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  min-width: 0;
  text-transform: uppercase;
}

.brand-banner {
  width: auto;
  max-width: min(42vw, 40rem);
  height: clamp(3.1rem, 4.6vw, 4.7rem);
  object-fit: contain;
  object-position: left center;
  opacity: 0.98;
  filter: contrast(1.05);
  flex: 0 1 auto;
}

.brand-sub {
  display: none;
}

.menu-toggle {
  display: none;
  justify-self: end;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 24px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
}

.site-nav a,
.site-footer a {
  position: relative;
  margin-inline: 8px;
  padding: 4px 8px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 24px;
  text-transform: uppercase;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.site-nav a::after,
.site-footer a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 12px;
  bottom: 1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: rgba(255, 255, 255, 0.74);
  outline: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  transform: scaleX(1);
}

.section {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: hidden;
  place-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.photo-panel,
.photo-break {
  background-color: #050505;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 65% 30%, rgba(255, 255, 255, 0.2), transparent 0.16rem, transparent 0.45rem),
    linear-gradient(115deg, #171717 0%, #050505 58%, #000 100%);
}

.photo-home {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76)),
    url("/assets/images/home-hero.svg"),
    radial-gradient(circle at 65% 30%, rgba(255, 255, 255, 0.2), transparent 0.16rem, transparent 0.45rem),
    linear-gradient(115deg, #171717 0%, #050505 58%, #000 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76)),
    radial-gradient(circle at 68% 28%, rgba(255, 255, 255, 0.16), transparent 0.16rem, transparent 0.4rem),
    radial-gradient(circle at 22% 68%, rgba(255, 255, 255, 0.1), transparent 0.14rem, transparent 0.46rem),
    linear-gradient(115deg, #050505 0%, #141414 48%, #000 100%);
  filter: contrast(1.12);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 74%, transparent);
  pointer-events: none;
}

.hero > .hero-art {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 980px);
  padding-top: 5rem;
}

.hero h1,
.page-intro h1,
.section-heading h2,
.split-section h2,
.contact-section h2,
.project-copy h2,
.release-card h3 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.hero h1 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(3.6rem, 9vw, 8.6rem);
  line-height: 0.96;
  text-align: center;
}

.kicker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.45rem;
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 8px;
  line-height: 32px;
  text-transform: uppercase;
}

.kicker::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--paper);
  opacity: 0.78;
}

.lede {
  max-width: 760px;
  margin: 1.8rem auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.72;
  text-align: center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-top: 1.3rem;
}

.button,
.rsvp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin: 4px 0;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid currentColor;
  background: transparent;
  color: var(--paper);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-transform: none;
  transition: opacity 0.3s ease;
}

.button:last-child,
.rsvp:last-child {
  border-right: 0;
}

.button:hover,
.button:focus-visible,
.rsvp:hover,
.rsvp:focus-visible {
  opacity: 0.72;
  outline: none;
}

.button-primary,
.button-secondary {
  background: transparent;
  color: var(--paper);
}

.page-intro {
  display: grid;
  gap: 1rem;
  justify-items: center;
  min-height: 72vh;
  padding-top: clamp(8rem, 16vw, 12rem);
  text-align: center;
}

.mini-page .page-intro,
.mini-hero {
  min-height: 48vh;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.page-intro h1,
.workshop-section h2,
.project-copy h2,
.split-section h2,
.contact-section h2,
.mini-band h2,
.media-copy h2 {
  max-width: 880px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 1.05;
}

.workshop-section,
.split-section,
.contact-section,
.project-feature,
.compact-showcase,
.mini-band,
.service-demo {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.photo-break {
  position: relative;
  display: grid;
  width: 100%;
  min-height: min(92vh, 920px);
  place-items: end center;
  overflow: hidden;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.photo-break::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.84));
}

.photo-break::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35vh;
  background: linear-gradient(180deg, transparent, #000);
}

.photo-break span {
  position: relative;
  z-index: 1;
  max-width: min(900px, calc(100% - 2rem));
  margin-bottom: clamp(3rem, 8vw, 7rem);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 8rem);
  font-weight: 500;
  line-height: 0.98;
  text-align: center;
}

.photo-studio {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.76)),
    url("/assets/images/workshop-large.svg"),
    radial-gradient(circle at 42% 38%, rgba(255, 255, 255, 0.18), transparent 0.18rem, transparent 0.48rem),
    linear-gradient(120deg, #1a1a1a, #050505 62%, #000);
}

.photo-repair {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78)),
    url("/assets/images/repair-bench-large.svg"),
    radial-gradient(circle at 58% 34%, rgba(255, 255, 255, 0.18), transparent 0.18rem, transparent 0.48rem),
    linear-gradient(120deg, #1c1c1c, #050505 62%, #000);
}

.photo-project {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.86)),
    url("/assets/coderainsaver-screenshot.png"),
    linear-gradient(120deg, #111, #000);
}

.workshop-section {
  display: grid;
  gap: 3rem;
}

.section-heading {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.section-heading p,
.split-section > div > p,
.project-copy p,
.release-card p,
.contact-section > p:not(.kicker),
.mini-band p,
.media-copy p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  font-weight: 300;
  line-height: 1.72;
}

.service-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.service-grid article,
.contact-grid article {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

.service-grid h3,
.contact-grid span {
  display: block;
  margin: 0 0 0.6rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  text-transform: none;
}

.service-grid p,
.contact-grid a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
}

.split-section,
.project-feature,
.compact-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.product-first {
  padding-top: clamp(8.5rem, 14vw, 12rem);
}

.split-section > div,
.project-copy,
.media-copy {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.split-section .kicker,
.project-copy .kicker,
.media-copy .kicker,
.contact-section .kicker,
.page-intro .kicker {
  justify-content: flex-start;
}

.page-intro .kicker,
.contact-section .kicker {
  justify-content: center;
}

.split-section .button-row,
.project-copy .button-row,
.mini-band .button-row {
  justify-content: flex-start;
}

.product-showcase .button-row {
  gap: 0.85rem;
}

.product-showcase .button {
  min-height: 42px;
  padding: 0 1rem;
  border: 2px solid rgba(255, 255, 255, 0.88);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.product-showcase .payment-button {
  border-color: var(--paper);
  box-shadow: 0 0 0 1px var(--paper);
}

.product-showcase .button:hover,
.product-showcase .button:focus-visible {
  background: var(--paper);
  color: var(--ink);
  opacity: 1;
}

.release-card,
.placeholder-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(22rem, 42vw, 36rem);
  padding: 2rem;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.76)),
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.24), transparent 0.18rem, transparent 0.45rem),
    linear-gradient(135deg, #1d1d1d, #050505 62%, #000);
  color: var(--paper);
  text-align: center;
  box-shadow: none;
}

.placeholder-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.placeholder-card span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.3rem);
  font-weight: 500;
  line-height: 1.03;
}

.release-card {
  justify-items: stretch;
  gap: 1.2rem;
  padding: 0;
  background: transparent;
}

.release-card .cover-art {
  min-height: clamp(20rem, 38vw, 30rem);
}

.image-card {
  overflow: hidden;
  background: #050505;
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: clamp(22rem, 42vw, 38rem);
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.product-shot {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.product-shot img {
  height: auto;
  min-height: 0;
  object-fit: contain;
  filter: none;
}

.payment-card {
  display: grid;
  gap: 0.55rem;
  max-width: 28rem;
  margin-top: 1.2rem;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.payment-card h3 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
}

.payment-card p {
  margin: 0;
}

.payment-card .payment-note {
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  line-height: 1.45;
}

.mini-band {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.mini-band h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
}

.product-stats article {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.product-stats strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
}

.product-stats span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.release-card h3 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
}

.contact-section {
  width: min(calc(100% - 2rem), var(--container));
  max-width: var(--container);
  background: transparent;
  color: var(--paper);
  text-align: center;
}

.contact-grid {
  margin-top: 2rem;
}

.contact-grid article {
  display: grid;
  gap: 0.35rem;
}

.site-footer {
  display: grid;
  gap: 1.2rem;
  justify-items: center;
  padding: 4rem 1rem 2rem;
  color: rgba(255, 255, 255, 0.64);
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer p {
  font-size: 0.8rem;
}

@supports (animation-timeline: view()) {
  .section > *,
  .photo-break span {
    animation: reveal-on-scroll both;
    animation-timeline: view();
    animation-range: entry 6% cover 34%;
  }
}

@keyframes reveal-on-scroll {
  from {
    opacity: 1;
    transform: translateY(38px);
  }

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

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

  .section > *,
  .photo-break span {
    animation: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
    padding-top: 1rem;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    margin: 0;
    padding: 0.6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero h1,
  .page-intro h1 {
    font-size: clamp(3rem, 16vw, 5.4rem);
  }

  .service-grid,
  .contact-grid,
  .split-section,
  .project-feature,
  .compact-showcase {
    grid-template-columns: 1fr;
  }

  .product-stats {
    grid-template-columns: 1fr;
  }

  .photo-break {
    min-height: 72vh;
    background-attachment: scroll;
  }

  .kicker {
    letter-spacing: 5px;
  }

}

@media (max-width: 560px) {
  .section {
    width: min(calc(100% - 1.25rem), var(--container));
    padding: 3.5rem 0;
  }

  .site-header {
    padding-inline: 12px;
  }

  .brand-banner {
    width: clamp(12.5rem, 54vw, 16rem);
    max-width: 64vw;
    height: auto;
  }

  .brand-sub {
    font-size: 0.5rem;
  }

  .hero-copy {
    padding-top: 4rem;
  }

  .button-row {
    display: grid;
  }

  .button {
    justify-content: center;
    border-right: 0;
    border-bottom: 1px solid currentColor;
  }
}
