:root {
  --white: #ffffff;
  --ink: #000000;
  --cool-gray: #53565a;
  --soft-gray: #666666;
  --light-gray: #eeeeee;
  --off-white: #fafafa;
  --snow-glow: rgba(255, 255, 255, 0.08);
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.1);
  --max-width: 1380px;
  --content-width: 1180px;
  --header-height: 5.5rem;
  --page-gutter: clamp(1rem, 2vw, 2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.page-home {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f7f5 55%, #ffffff 100%);
}

body.page-support {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  color: var(--cool-gray);
}

body.page-about {
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-shell {
  position: relative;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-height);
  padding: 1.1rem var(--page-gutter);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

body.scrolled .site-header {
  border-bottom-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.header-logo {
  width: min(18rem, 34vw);
  margin-inline: auto;
}

.header-logo svg {
  width: 100%;
  height: auto;
}

.text-button,
.nav-link,
.button-link,
.submit-button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.header-side {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-side--right {
  justify-content: end;
}

.text-button,
.nav-link {
  color: var(--cool-gray);
}

.text-button:hover,
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
}

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

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay__inner {
  display: grid;
  gap: 2rem;
  width: min(100%, 32rem);
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.menu-close {
  justify-self: start;
}

.menu-nav {
  display: grid;
  gap: 1rem;
}

.menu-nav a {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2.3rem, 8vw, 4.8rem);
  line-height: 0.95;
}

main {
  display: block;
}

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

.section--full {
  width: 100%;
  padding-inline: 0;
}

.section-heading,
.stack {
  display: grid;
  gap: 1rem;
}

.eyebrow {
  display: inline-block;
  color: var(--soft-gray);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.display-title,
.section-title,
.panel-title,
.page-title,
.collection-card h2,
.collection-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.display-title {
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.94;
  text-wrap: balance;
}

.section-title,
.page-title {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.96;
  text-wrap: balance;
}

.body-copy,
.section-copy,
.muted-copy,
.collection-card p,
.support-card p,
.about-story p {
  margin: 0;
  line-height: 1.8;
}

.muted-copy {
  color: var(--soft-gray);
}

.hero-home {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding:
    calc(var(--header-height) + clamp(2rem, 5vw, 3rem))
    var(--page-gutter)
    clamp(2rem, 4vw, 3rem);
  color: var(--white);
  overflow: clip;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--snow-glow), rgba(0, 0, 0, 0.14) 22%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08));
}

.hero-home__media,
.hero-home__image {
  position: absolute;
  inset: 0;
}

.hero-home__image {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 20%),
    url("https://images.unsplash.com/photo-1516483638261-f4dbaf036963?auto=format&fit=crop&w=4096&q=80")
      center center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 20s ease-in-out infinite alternate;
}

.hero-home__content,
.hero-home__rail {
  position: relative;
  z-index: 1;
}

.hero-home__inner {
  width: min(calc(100% - 0rem), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.hero-home__content {
  display: grid;
  gap: 1.15rem;
  max-width: 42rem;
}

.hero-mastermark {
  width: min(30rem, 100%);
}

.hero-mastermark svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.2));
}

.hero-home .section-copy {
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 0.25rem;
}

.button-link,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button-link--light {
  background: var(--white);
  color: var(--ink);
}

.button-link--ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.hero-home__rail {
  display: grid;
  gap: 0.65rem;
  min-width: 14rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero-home__rail span {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

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

.mood-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 2vw, 1.4rem);
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.mood-panel__media {
  min-height: 23rem;
  background-size: cover;
  background-position: center;
}

.mood-panel--hero .mood-panel__media {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.14)),
    url("https://images.unsplash.com/photo-1516483638261-f4dbaf036963?auto=format&fit=crop&w=4096&q=80")
      center center / cover no-repeat;
}

.mood-panel--atelier .mood-panel__media {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.18)),
    url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=4096&q=80")
      center center / cover no-repeat;
}

.mood-panel h3 {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 400;
}

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

.home-link-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--white);
}

.home-link-card strong {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collection-hero,
.about-hero,
.support-hero {
  padding-top: calc(var(--header-height) + 3rem);
}

.page-hero {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 1rem;
}

.page-hero--split {
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.75fr);
  align-items: end;
  gap: 2rem;
}

.page-hero__note {
  color: var(--soft-gray);
  font-size: 0.82rem;
  line-height: 1.8;
}

.collection-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.collection-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.3rem);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow);
}

.collection-card__media {
  display: grid;
  place-items: center;
  min-height: 27rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

.collection-card__media img {
  width: min(100%, 22rem);
  height: auto;
}

.collection-card__meta {
  display: grid;
  gap: 0.55rem;
}

.collection-card__index,
.collection-card__status {
  color: var(--soft-gray);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collection-card h2,
.collection-card h3 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 0.96;
}

.collection-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

.button-link--dark {
  background: var(--ink);
  color: var(--white);
}

.button-link--outline {
  border: 1px solid var(--light-gray);
  color: var(--ink);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
  gap: 2rem;
  align-items: start;
}

.support-card,
.support-info {
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border: 1px solid var(--light-gray);
  background: #ffffff;
}

.support-card {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.04);
}

.support-form {
  display: grid;
  gap: 1.3rem;
}

.support-form label {
  display: grid;
  gap: 0.7rem;
}

.support-form span {
  color: var(--soft-gray);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--light-gray);
  padding: 0 0 1rem;
  background: transparent;
  color: var(--cool-gray);
  outline: none;
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-bottom-color: var(--line-strong);
}

.submit-button {
  justify-self: start;
  background: var(--ink);
  color: var(--white);
}

.support-info {
  display: grid;
  gap: 1rem;
  color: var(--soft-gray);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(16rem, 0.7fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.about-story {
  display: grid;
  gap: 1rem;
}

.about-story p {
  max-width: 38rem;
}

.about-rail {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding-top: 0.3rem;
}

.about-rail__item {
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

.about-rail__item strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 1.5rem 0 2.2rem;
  border-top: 1px solid var(--light-gray);
  color: var(--soft-gray);
  font-size: 0.82rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(-1.5%, -1.2%, 0);
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .intro-split,
  .support-layout,
  .about-layout,
  .page-hero--split,
  .hero-home__inner {
    grid-template-columns: 1fr;
  }

  .panel-grid,
  .home-links {
    grid-template-columns: 1fr;
  }

  .hero-home__rail {
    justify-self: start;
  }
}

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

  .header-logo {
    width: min(12.5rem, 38vw);
  }

  .hero-mastermark {
    width: min(20rem, 100%);
  }

  .hero-home {
    min-height: 90vh;
  }

  .section,
  .page-section,
  .page-hero,
  .collection-shell,
  .footer {
    width: min(calc(100% - 1rem), var(--content-width));
  }

  .collection-card__media {
    min-height: 23rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

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