:root {
  --bg: #f6f1ea;
  --bg-soft: #efe7dc;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdfa;
  --text: #141414;
  --muted: #5f584f;
  --line: rgba(20, 20, 20, 0.12);
  --accent: #d5bca3;
  --accent-deep: #b28f70;
  --shadow: 0 24px 60px rgba(44, 30, 13, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(213, 188, 163, 0.4), transparent 32%),
    linear-gradient(180deg, #fcfaf7 0%, var(--bg) 42%, #f7f0e8 100%);
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  padding: 0 1rem 3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 1rem 0;
  min-height: var(--header-height);
  backdrop-filter: blur(18px);
  background: linear-gradient(
    180deg,
    rgba(255, 251, 246, 0.92) 0%,
    rgba(255, 251, 246, 0.72) 100%
  );
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111;
  color: #f8f4ee;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong,
.section-heading h2,
.hero-copy h1,
.about-card h3,
.future-login h3,
.future-card h3,
.modal-card h2 {
  font-family: "Cormorant Garamond", serif;
}

.brand-copy small {
  color: var(--muted);
}

.main-nav {
  justify-self: end;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.nav-list {
  position: absolute;
  top: calc(var(--header-height) - 0.25rem);
  right: 1rem;
  display: none;
  flex-direction: column;
  min-width: 220px;
  padding: 1rem;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.96);
  box-shadow: var(--shadow);
}

.nav-list.is-open {
  display: flex;
}

.nav-list a {
  padding: 0.75rem 0.4rem;
  color: #151515;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

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

.header-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
}

.ghost-button,
.primary-button,
.secondary-button,
.album-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
  cursor: pointer;
}

.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.primary-button {
  background: #111;
  color: #fff8f1;
}

.secondary-button,
.album-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover,
.album-button:hover {
  transform: translateY(-2px);
}

.section {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 2rem 0;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.hero-section {
  display: grid;
  gap: 2rem;
  padding-top: 1rem;
}

.hero-copy,
.hero-media,
.feature-panel,
.tcp-image,
.about-card,
.info-card,
.future-login,
.album-card,
.future-card,
.contact-card,
.album-access-note,
.story-strip {
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 11vw, 6.4rem);
  line-height: 0.92;
  font-weight: 600;
}

.hero-quote {
  margin: 1rem 0;
  font-size: clamp(1.3rem, 4vw, 2rem);
  max-width: 16ch;
}

.hero-description,
.section-heading p,
.about-card p,
.info-card p,
.tcp-content p,
.future-login p,
.future-card p,
.contact-card a,
.album-copy p,
.album-meta,
.modal-copy p,
.modal-copy li {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-media {
  position: relative;
  min-height: 480px;
  padding: 1rem;
  overflow: hidden;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 6px);
}

.hero-card-main {
  inset: 1rem 3rem 5.2rem 1rem;
}

.hero-card-main img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-card-secondary {
  right: 1rem;
  bottom: 1rem;
  width: 42%;
  max-width: 240px;
  border: 8px solid rgba(255, 250, 244, 0.88);
}

.hero-card-secondary img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.story-strip {
  display: grid;
  gap: 1rem;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 1.2rem;
}

.story-strip span,
.info-card span,
.contact-card span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.story-strip strong {
  font-weight: 600;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 0.98;
  font-weight: 600;
}

.about-grid,
.future-grid,
.contact-layout {
  display: grid;
  gap: 1rem;
}

.about-card {
  overflow: hidden;
}

.about-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.about-card div,
.info-card,
.future-card,
.contact-card {
  padding: 1.3rem;
}

.about-card h3 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.fashion-layout,
.tcp-layout {
  display: grid;
  gap: 1rem;
}

.feature-panel,
.tcp-image {
  overflow: hidden;
}

.feature-panel img,
.tcp-image img {
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.feature-panel img {
  object-position: center top;
}

.tcp-image img {
  object-position: center 18%;
}

.fashion-points {
  display: grid;
  gap: 1rem;
}

.info-card p,
.future-card p {
  margin: 0;
}

.tcp-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem 0;
}

.tcp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.tcp-tags span {
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
}

.future-login,
.album-access-note {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  margin-bottom: 1rem;
}

.future-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.albums-grid {
  display: grid;
  gap: 1rem;
}

.album-card {
  overflow: hidden;
}

.album-figure {
  position: relative;
  overflow: hidden;
}

.album-figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.album-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  color: #fff8f1;
  text-align: center;
  padding: 1rem;
}

.album-overlay strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.lock-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 241, 0.4);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.4rem;
}

.album-copy {
  padding: 1.3rem;
}

.album-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.album-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.album-sample {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin: 1rem 0 1.1rem;
}

.sample-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sample-thumb-button {
  border: 0;
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sample-thumb-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.future-grid {
  margin-top: 1rem;
}

.contact-card a {
  display: inline-block;
  margin-top: 0.2rem;
  font-weight: 600;
  color: var(--text);
}

.contact-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(6, 6, 6, 0.58);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #fffbf7;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.modal-card-gallery {
  width: min(760px, 100%);
}

.modal-card h2 {
  margin: 0 0 1rem;
  font-size: 2.5rem;
  line-height: 0.95;
}

.modal-copy ol {
  padding-left: 1.25rem;
}

.modal-note {
  margin-bottom: 0;
}

.public-modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.public-modal-gallery .sample-thumb {
  aspect-ratio: 4 / 5;
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.06);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

.lightbox-card {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 2rem);
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 247, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.lightbox-card img {
  width: 100%;
  max-height: calc(100vh - 7rem);
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 10px);
}

@media (max-width: 560px) {
  .public-modal-gallery {
    grid-template-columns: 1fr;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 90;
  transform: translateX(-50%);
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: #111;
  color: #fff8f1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (min-width: 760px) {
  .page-shell {
    padding: 0 1.5rem 4rem;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: none;
  }

  .nav-list {
    position: static;
    display: flex;
    flex-direction: row;
    min-width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    justify-content: center;
    gap: 0.2rem;
  }

  .nav-list a {
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
  }

  .nav-list a:hover,
  .nav-list a:focus-visible {
    background: rgba(255, 255, 255, 0.66);
  }

  .header-actions {
    grid-column: auto;
    justify-content: flex-end;
  }

  .hero-section,
  .fashion-layout,
  .tcp-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .about-grid,
  .future-grid,
  .contact-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .future-login {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1080px) {
  .albums-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-copy {
    padding: 2.8rem;
  }
}
