:root {
  color-scheme: dark;
  --bg: #090c16;
  --bg-soft: #101526;
  --panel: rgba(17, 23, 40, 0.82);
  --panel-strong: rgba(13, 18, 31, 0.94);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 199, 87, 0.3);
  --text: #f5f3ee;
  --muted: #b7bfd6;
  --muted-strong: #d8def0;
  --accent: #ffc857;
  --accent-soft: rgba(255, 200, 87, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(44, 64, 129, 0.35), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(255, 200, 87, 0.12), transparent 22%),
    linear-gradient(180deg, #0a0f1d 0%, #090c16 38%, #070910 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
}

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

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

.backdrop,
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.backdrop {
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px);
  background-size: 220px 220px, 300px 300px, 180px 180px;
  opacity: 0.45;
}

.grain {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.22;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header,
.site-footer,
.hero,
.value-strip,
.feature-story,
.archive-band,
.gallery {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.95), rgba(255, 228, 160, 0.8));
  color: #141823;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(255, 200, 87, 0.2);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted-strong);
  font-size: 0.92rem;
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
  padding: 44px 0 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.feature-row-copy h3,
.archive-copy h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.7rem, 8vw, 6.9rem);
}

.hero-text,
.section-heading,
.feature-row-copy p,
.archive-copy p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 56ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #ffcc63, #f0b13c);
  color: #0b0d17;
  box-shadow: 0 22px 50px rgba(255, 200, 87, 0.22);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  color: var(--muted-strong);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe2a0, #ffc857);
  box-shadow: 0 0 0 6px rgba(255, 200, 87, 0.1);
}

.hero-visual {
  position: relative;
  min-height: 720px;
}

.phone-card,
.feature-row-visual,
.stack-card,
.gallery-card,
.value-strip article {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(20, 27, 46, 0.82), rgba(12, 17, 30, 0.94));
  box-shadow: var(--shadow);
}

.phone-card {
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
}

.phone-card img {
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
}

.phone-card-large {
  width: min(420px, 78%);
  left: 0;
  top: 28px;
  transform: rotate(-7deg);
  animation: float-large 8s ease-in-out infinite;
}

.phone-card-small {
  width: min(280px, 52%);
  right: 0;
  bottom: 18px;
  transform: rotate(8deg);
  animation: float-small 7s ease-in-out infinite;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 22px auto 104px;
}

.value-strip article {
  padding: 22px 20px;
  border-radius: 24px;
}

.value-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.value-strip p,
.gallery-card figcaption,
.feature-row-copy p,
.archive-copy p,
.site-footer p {
  margin: 0;
}

.feature-story,
.archive-band,
.gallery {
  margin-bottom: 108px;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading h2,
.archive-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.feature-flow {
  display: grid;
  gap: 40px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
}

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

.feature-row-copy {
  padding: 20px 0;
}

.feature-row-copy h3 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.feature-row-copy p {
  max-width: 42ch;
  margin-top: 16px;
  font-size: 0.98rem;
}

.feature-row-visual {
  border: 1px solid var(--border);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 27, 46, 0.82), rgba(12, 17, 30, 0.94));
  box-shadow: var(--shadow);
}

.feature-row-visual img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover;
  object-position: center top;
}

.feature-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.archive-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}

.archive-copy {
  padding-right: 16px;
}

.archive-copy p {
  max-width: 46ch;
  margin: 20px 0 0;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 700;
}

.archive-visuals {
  position: relative;
  min-height: 820px;
}

.stack-card {
  position: absolute;
  width: min(360px, 68%);
  overflow: hidden;
  border-radius: 30px;
}

.stack-card img {
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
  object-position: center top;
}

.stack-card:first-child {
  left: 0;
  top: 24px;
}

.stack-card-offset {
  right: 0;
  bottom: 12px;
}

.stack-card-back {
  left: 28px;
  top: 110px;
  width: min(332px, 64%);
  transform: rotate(-5deg);
  z-index: 1;
}

.stack-card-front {
  right: 4px;
  top: 24px;
  width: min(378px, 70%);
  transform: rotate(6deg);
  z-index: 2;
}

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

.gallery-card {
  overflow: hidden;
  border-radius: 24px;
}

.gallery-card img {
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 15px 16px 18px;
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 0 0 42px;
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.site-footer p {
  max-width: 42ch;
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-items: end;
  color: var(--muted-strong);
}

@keyframes float-large {
  0%,
  100% {
    transform: rotate(-7deg) translateY(0);
  }
  50% {
    transform: rotate(-6deg) translateY(-14px);
  }
}

@keyframes float-small {
  0%,
  100% {
    transform: rotate(8deg) translateY(0);
  }
  50% {
    transform: rotate(9deg) translateY(16px);
  }
}

@media (max-width: 1080px) {
  .hero,
  .archive-band {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row-reverse {
    direction: ltr;
  }

  .hero-visual,
  .archive-visuals {
    min-height: 620px;
  }

  .value-strip,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 18px;
  }

  .nav {
    display: none;
  }

  .hero {
    gap: 20px;
    padding-top: 28px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .hero-visual,
  .archive-visuals {
    min-height: 500px;
  }

  .phone-card-large {
    width: min(320px, 80%);
    top: 0;
  }

  .phone-card-small {
    width: min(210px, 50%);
    bottom: 6px;
  }

  .value-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .feature-story,
  .archive-band,
  .gallery {
    margin-bottom: 84px;
  }

  .section-heading h2,
  .archive-copy h2,
  .feature-row-copy h3 {
    max-width: none;
  }

  .feature-row-copy {
    padding: 12px 0 0;
  }

  .feature-row-visual img {
    max-height: 520px;
  }

  .gallery-card img,
  .stack-card img,
  .phone-card img {
    object-position: center top;
  }

  .stack-card {
    width: min(270px, 72%);
  }

  .stack-card:first-child {
    top: 0;
  }

  .stack-card-offset {
    bottom: 0;
  }

  .stack-card-back {
    left: 0;
    top: 66px;
    width: min(232px, 62%);
    transform: rotate(-4deg);
  }

  .stack-card-front {
    right: 0;
    top: 0;
    width: min(258px, 70%);
    transform: rotate(5deg);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-items: start;
  }
}
