:root {
  --black: #0a0a0a;
  --ink: #171512;
  --cream: #f4efe6;
  --cream-2: #e9dfd0;
  --gold: #b78a37;
  --gold-light: #d9b866;
  --green: #596b26;
  --sage: #a3aa8d;
  --white: #fffdf8;
  --line: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 300;
  background: var(--cream);
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.page-loader img {
  width: min(420px, 70vw);
}

body.loaded .page-loader {
  opacity: 0;
  visibility: hidden;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    height 0.35s ease;
  color: var(--white);
}

.site-header.scrolled {
  height: 76px;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 165px;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
}

.nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: currentColor;
  margin: 8px 0;
}

.hero {
  min-height: 100svh;
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url('assets/hero.jpg') 53% 30% / cover no-repeat;
  transform: scale(1.04);
  animation: heroIn 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes heroIn {
  from {
    transform: scale(1.12);
    filter: brightness(0.75);
  }
  to {
    transform: scale(1.04);
    filter: brightness(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 6, 0.76) 0%,
      rgba(5, 8, 6, 0.3) 48%,
      rgba(5, 8, 6, 0.12) 100%
    ),
    linear-gradient(0deg, rgba(5, 5, 5, 0.5) 0%, transparent 43%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 27vh 6vw 12vh;
  width: min(800px, 90%);
}

.eyebrow,
.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.story h2,
.lookbook h2,
.contact h2,
.quote-section blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  margin: 0;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(64px, 8vw, 132px);
  line-height: 0.84;
  letter-spacing: -0.035em;
}

.hero h1 em,
.lookbook h2 em,
.contact h2 em {
  color: var(--gold-light);
  font-weight: 400;
}

.hero-text {
  margin: 34px 0 26px;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
}

.text-link.light {
  color: var(--white);
}

.hero-index,
.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.hero-index {
  left: 40px;
}
.scroll-cue {
  right: 40px;
  writing-mode: vertical-rl;
  bottom: 38px;
}

.cream-section {
  background: var(--cream);
}

.intro {
  padding: 120px 6vw 150px;
}

.intro-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10vw;
  align-items: end;
}

.intro h2 {
  font-size: clamp(62px, 7vw, 118px);
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.intro-copy {
  padding-bottom: 12px;
}

.intro-copy p {
  line-height: 1.8;
  font-size: 15px;
  margin: 0 0 18px;
}

.intro-copy .text-link {
  margin-top: 22px;
}

.editorial {
  background: var(--black);
  color: var(--white);
  padding: 60px 4vw 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.editorial-card {
  min-width: 0;
}

.card-image {
  height: min(76vw, 860px);
  max-height: 860px;
  overflow: hidden;
  background: #151515;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.editorial-card--green .card-image img {
  object-position: center 15%;
}

.editorial-card--ivory .card-image img {
  object-position: center center;
}

.editorial-card:hover .card-image img {
  transform: scale(1.025);
}

.card-meta {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 20px 2px;
  border-top: 1px solid var(--line);
  margin-top: 1px;
}

.card-meta span,
.card-meta p {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.66;
}

.card-meta h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  margin: 0 0 4px;
}

.card-meta p {
  margin: 0;
  line-height: 1.6;
}

.card-meta > a {
  font-size: 26px;
  color: var(--gold-light);
}

.quote-section {
  min-height: 80svh;
  padding: 110px 6vw;
  background: var(--green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-section blockquote {
  max-width: 1200px;
  font-size: clamp(54px, 7vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.quote-section blockquote em {
  color: #d9e0bd;
  font-weight: 400;
}

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100svh;
  background: var(--cream);
}

.story-image {
  min-height: 100svh;
}

.story-image img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
}

.story-copy {
  padding: 90px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-copy h2 {
  font-size: clamp(70px, 7vw, 120px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  margin: 50px 0 45px;
}

.story-copy p:not(.section-label) {
  max-width: 520px;
  line-height: 1.8;
  font-size: 15px;
}

.lookbook {
  padding: 120px 4vw 140px;
  background: #d9d3c8;
}

.lookbook-head {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  align-items: end;
  margin: 0 2vw 70px;
}

.lookbook h2 {
  font-size: clamp(72px, 8vw, 136px);
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.lookbook h2 em {
  color: var(--green);
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: end;
}

.lookbook figure {
  margin: 0;
  overflow: hidden;
}

/* All lookbook images use the same exact 4:5 frame. */
.lookbook figure:nth-child(1),
.lookbook figure:nth-child(2),
.lookbook figure:nth-child(3) {
  height: auto;
  aspect-ratio: 4 / 5;
}

.lookbook figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lookbook figure:nth-child(1) img {
  object-position: 50% 10%;
}
.lookbook figure:nth-child(2) img {
  object-position: 50% 30%;
}
.lookbook figure:nth-child(3) img {
  object-position: 55% 15%;
}

.contact {
  padding: 120px 6vw 140px;
  background: var(--black);
  color: var(--white);
}

.contact-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 10vw;
  align-items: end;
}

.contact h2 {
  font-size: clamp(68px, 8vw, 138px);
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.contact-copy {
  padding-bottom: 10px;
}

.contact-copy > p {
  line-height: 1.75;
  opacity: 0.75;
}

.mail-link {
  display: inline-block;
  margin: 12px 0 56px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px;
  border-bottom: 1px solid var(--gold-light);
}

.newsletter label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.newsletter > div {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.newsletter input {
  flex: 1;
  padding: 14px 0;
  background: none;
  border: 0;
  outline: 0;
  color: var(--white);
}

.newsletter button {
  background: none;
  border: 0;
  color: var(--gold-light);
  cursor: pointer;
  font-size: 22px;
}

.newsletter small {
  display: block;
  margin-top: 10px;
  opacity: 0.45;
  line-height: 1.5;
}

.success {
  display: none;
  margin-top: 14px;
  color: var(--gold-light);
  font-weight: 400;
}

.newsletter.submitted .success {
  display: block;
}

footer {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 44px 6vw 50px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  align-items: end;
}

.footer-logo img {
  width: 190px;
}

.footer-links {
  display: flex;
  gap: 26px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

footer p {
  margin: 0;
  font-size: 10px;
  opacity: 0.5;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (max-width: 900px) {
  .site-header {
    padding: 14px 20px;
    height: 74px;
  }

  .brand img {
    width: 132px;
  }

  .menu-toggle {
    display: block;
    color: var(--white);
    z-index: 32;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 31;
    background: var(--black);
    color: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 46px;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease;
  }

  .site-header.menu-open .nav {
    opacity: 1;
    visibility: visible;
  }

  .hero-copy {
    padding: 26vh 22px 120px;
    width: 95%;
  }

  .hero h1 {
    font-size: clamp(62px, 19vw, 94px);
  }

  .hero-media {
    background-position: 58% 30%;
  }

  .hero-index {
    left: 20px;
  }
  .scroll-cue {
    right: 20px;
  }

  .intro {
    padding: 90px 22px 110px;
  }

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

  .intro-grid {
    gap: 48px;
    margin-top: 52px;
  }

  .intro h2 {
    font-size: clamp(62px, 18vw, 94px);
  }

  .editorial {
    grid-template-columns: 1fr;
    padding: 26px 14px 80px;
    gap: 70px;
  }

  .card-image {
    height: 122vw;
    max-height: 780px;
  }

  .quote-section {
    min-height: 70svh;
    padding: 80px 22px;
  }

  .quote-section blockquote {
    font-size: clamp(54px, 15vw, 90px);
  }

  .story-image {
    min-height: 75svh;
  }

  .story-copy {
    padding: 85px 22px 110px;
  }

  .lookbook {
    padding: 90px 14px 110px;
  }

  .lookbook-head {
    grid-template-columns: 1fr;
    gap: 38px;
    margin: 0 8px 52px;
  }

  .lookbook h2 {
    font-size: clamp(68px, 19vw, 104px);
  }

  .lookbook-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lookbook figure:nth-child(1),
  .lookbook figure:nth-child(2),
  .lookbook figure:nth-child(3) {
    height: 112vw;
    max-height: 720px;
  }

  .contact {
    padding: 90px 22px 110px;
  }

  .contact-grid {
    gap: 65px;
    margin-top: 58px;
  }

  .contact h2 {
    font-size: clamp(64px, 18vw, 96px);
  }

  footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 22px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* ===== IMIRA v2: overlapping scroll + equal collection imagery ===== */

/* Each major section becomes a layered panel. The next panel visually
   slides over the previous one while scrolling. */
.stack-panel {
  position: relative;
  z-index: var(--stack-index, 1);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.12);
  transform-origin: center top;
  will-change: transform;
}

.stack-panel + .stack-panel {
  margin-top: -22px;
}

.intro.stack-panel {
  --stack-index: 2;
}
.editorial.stack-panel {
  --stack-index: 3;
}
.quote-section.stack-panel {
  --stack-index: 4;
}
.story.stack-panel {
  --stack-index: 5;
}
.lookbook.stack-panel {
  --stack-index: 6;
}
.contact.stack-panel {
  --stack-index: 7;
}

.stack-panel--dark {
  box-shadow: 0 -28px 80px rgba(0, 0, 0, 0.28);
}

.stack-panel--green {
  box-shadow: 0 -28px 80px rgba(31, 44, 15, 0.28);
}

.stack-panel--lookbook {
  box-shadow: 0 -28px 80px rgba(46, 41, 34, 0.18);
}

/* Main collection cards: same exact visual frame on desktop and mobile. */
.editorial {
  align-items: start;
}

.editorial-card .card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: none;
}

.editorial-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fine-tuned crop so both outfits occupy a similar visual scale. */
.editorial-card--green .card-image img {
  object-position: 50% 18%;
  transform: scale(1.02);
}

.editorial-card--ivory .card-image img {
  object-position: 50% 42%;
  transform: scale(1.055);
}

.editorial-card--green:hover .card-image img {
  transform: scale(1.045);
}

.editorial-card--ivory:hover .card-image img {
  transform: scale(1.08);
}

/* Extra depth while panels overlap. JS updates --stack-shift and --stack-scale. */
.stack-panel {
  transform: translate3d(0, var(--stack-shift, 0px), 0) scale(var(--stack-scale, 1));
  transition: box-shadow 0.25s ease;
}

.stack-panel.is-under-next {
  box-shadow: 0 -12px 55px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
  .stack-panel {
    border-radius: 20px 20px 0 0;
  }

  .stack-panel + .stack-panel {
    margin-top: -14px;
  }

  .editorial-card .card-image {
    aspect-ratio: 4 / 5;
    height: auto;
    max-height: none;
  }

  .editorial-card--green .card-image img {
    object-position: 50% 16%;
  }

  .editorial-card--ivory .card-image img {
    object-position: 50% 40%;
  }
}

/* ===== IMIRA v3: stronger parallax + cinematic overlap ===== */

body {
  background: #070707;
}

/* More pronounced overlap: the incoming panel clearly covers the previous one. */
.stack-panel {
  border-radius: 42px 42px 0 0;
  box-shadow: 0 -42px 120px rgba(0, 0, 0, 0.28);
  transform: translate3d(0, var(--stack-shift, 0px), 0) scale(var(--stack-scale, 1));
}

.stack-panel + .stack-panel {
  margin-top: -54px;
}

.stack-panel.is-under-next {
  filter: brightness(var(--stack-brightness, 0.88));
  box-shadow: 0 -20px 85px rgba(0, 0, 0, 0.3);
}

/* Hero parallax */
.hero {
  perspective: 1200px;
}

.hero-media {
  inset: -10vh -4vw -12vh;
  transform: translate3d(0, var(--hero-y, 0px), 0) scale(1.12);
  will-change: transform;
}

.hero-copy {
  transform: translate3d(0, var(--hero-copy-y, 0px), 0);
  will-change: transform;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 6, 0.8) 0%,
      rgba(5, 8, 6, 0.32) 50%,
      rgba(5, 8, 6, 0.08) 100%
    ),
    linear-gradient(0deg, rgba(5, 5, 5, 0.58) 0%, transparent 48%);
}

/* Parallax images: deliberately larger than their clipping frame. */
.card-image,
.story-image,
.lookbook figure {
  position: relative;
  overflow: hidden;
}

.parallax-img {
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.1) !important;
}

.editorial-card:hover .parallax-img {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.14) !important;
}

/* Extra cinematic sticky feeling on desktop */
@media (min-width: 901px) {
  .quote-section {
    min-height: 92svh;
  }

  .story-image {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 100svh;
  }

  .story-copy {
    min-height: 120svh;
  }

  .lookbook-grid figure:nth-child(1) {
    transform: translateY(54px);
  }

  .lookbook-grid figure:nth-child(2) {
    transform: translateY(-36px);
  }

  .lookbook-grid figure:nth-child(3) {
    transform: translateY(86px);
  }
}

/* Smooth section depth */
.intro,
.editorial,
.quote-section,
.story,
.lookbook,
.contact {
  transition:
    border-radius 0.4s ease,
    filter 0.35s ease,
    box-shadow 0.35s ease;
}

/* Slightly more dramatic reveal */
.reveal {
  opacity: 0;
  transform: translateY(46px) scale(0.985);
  transition:
    opacity 1.05s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (max-width: 900px) {
  .stack-panel {
    border-radius: 26px 26px 0 0;
  }

  .stack-panel + .stack-panel {
    margin-top: -28px;
  }

  .hero-media {
    inset: -7vh -10vw -9vh;
  }

  .parallax-img {
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08) !important;
  }
}

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

/* ===== IMIRA v4: responsive navigation fix ===== */

@media (max-width: 900px) {
  .site-header {
    z-index: 100;
  }

  .brand,
  .menu-toggle {
    position: relative;
    z-index: 103;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 102;
    min-height: 100dvh;
    height: 100dvh;
    padding: calc(110px + env(safe-area-inset-top)) 24px calc(42px + env(safe-area-inset-bottom));
    background: rgba(8, 8, 8, 0.985);
    backdrop-filter: blur(18px);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 18px;

    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-10px);
    transition:
      opacity 0.32s ease,
      visibility 0.32s ease,
      transform 0.32s ease;
  }

  .site-header.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
    padding: 12px 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(40px, 11vw, 64px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav a:last-child {
    border-bottom: 0;
    margin-bottom: 20px;
  }

  .nav a::after {
    display: none;
  }

  .menu-toggle {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
  }

  .menu-toggle span {
    position: absolute;
    left: 8px;
    width: 28px;
    margin: 0;
    transition:
      transform 0.28s ease,
      top 0.28s ease,
      opacity 0.22s ease;
  }

  .menu-toggle span:first-child {
    top: 15px;
  }

  .menu-toggle span:last-child {
    top: 27px;
  }

  .site-header.menu-open .menu-toggle span:first-child {
    top: 21px;
    transform: rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:last-child {
    top: 21px;
    transform: rotate(-45deg);
  }

  body.menu-active {
    overflow: hidden;
    touch-action: none;
  }
}

/* Extra protection for short phone screens / landscape orientation */
@media (max-width: 900px) and (max-height: 620px) {
  .nav {
    padding-top: calc(84px + env(safe-area-inset-top));
    gap: 8px;
  }

  .nav a {
    font-size: clamp(30px, 8.5vw, 46px);
    padding: 8px 0;
  }
}

/* Signature intro: zoom to 100%, hold, then reveal the page. */
body:not(.loaded) {
  overflow: hidden;
}
.page-loader {
  overflow: hidden;
  background: #000000;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
.page-loader::before,
.page-loader::after {
  display: none;
}
.page-loader .intro-signature-image {
  display: block;
  width: min(86vw, 760px);
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  transform: scale(0);
  transform-origin: center;
}
@media (max-width: 900px) {
  .page-loader .intro-signature-image {
    width: min(90vw, 680px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader {
    transition: none;
  }
}

/* ===== IMIRA v15: equal image presentation ===== */
/* Source fashion images are all 720 × 956 px. The collection and lookbook
   use identical 4:5 display frames so none appears larger than another. */
.editorial-card .card-image,
.lookbook-grid figure {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.editorial-card .card-image img,
.lookbook-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 901px) {
  .lookbook-grid figure:nth-child(1),
  .lookbook-grid figure:nth-child(2),
  .lookbook-grid figure:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 900px) {
  .lookbook figure:nth-child(1),
  .lookbook figure:nth-child(2),
  .lookbook figure:nth-child(3) {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: none;
  }
}

/* Editorial refinement: preserve the existing palette and image-led identity. */
:root {
  --gutter: clamp(22px, 6vw, 112px);
  --section-space: clamp(80px, 9vw, 144px);
}

html {
  scroll-padding-top: 96px;
  scrollbar-color: var(--gold) var(--black);
}

::selection {
  background: var(--gold-light);
  color: var(--black);
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 6px;
}

.cream-section :focus-visible,
.story :focus-visible,
.lookbook :focus-visible {
  outline-color: var(--ink);
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1100;
  padding: 14px 20px;
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  padding-inline: var(--gutter);
  border-bottom: 1px solid rgba(255, 253, 248, 0.16);
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hero-copy {
  width: min(820px, 100%);
  padding: clamp(190px, 28vh, 320px) var(--gutter) 160px;
}

.hero h1 {
  font-size: clamp(60px, 7.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 38ch;
  margin-block: 28px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.text-link {
  min-height: 44px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.text-link:hover {
  color: var(--gold-light);
}

.intro .text-link:hover {
  color: #76551e;
}

.intro,
.contact {
  padding: var(--section-space) var(--gutter);
}

.intro-grid,
.contact-grid {
  margin-top: 0;
  gap: clamp(40px, 7vw, 112px);
  grid-template-columns: 1.1fr 0.9fr;
}

.intro h2,
.story h2,
.lookbook h2,
.contact h2,
.quote-section blockquote {
  font-size: clamp(52px, 6.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.intro-copy p,
.story-copy p:not(.section-label),
.contact-copy > p {
  font-size: 16px;
  line-height: 1.8;
}

.editorial {
  padding: 64px var(--gutter) var(--section-space);
  gap: clamp(24px, 4vw, 64px);
}

.card-meta {
  grid-template-columns: minmax(0, 1fr) 44px;
  padding-top: 24px;
}

.card-meta h3 {
  font-size: clamp(30px, 3vw, 44px);
  margin-bottom: 8px;
}

.card-meta p {
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.card-meta > a {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  transition: background 180ms ease, color 180ms ease;
}

.card-meta > a:hover {
  background: var(--gold-light);
  color: var(--black);
}

.quote-section {
  min-height: 66svh;
  padding: var(--section-space) var(--gutter);
  justify-content: center;
}

.story-copy {
  padding: var(--section-space) clamp(28px, 5vw, 80px);
  min-height: 100svh;
}

.story-copy h2 {
  margin: 0 0 32px;
}

.lookbook {
  padding: var(--section-space) var(--gutter);
}

.lookbook-head {
  display: block;
  margin: 0 0 56px;
}

.contact-grid {
  align-items: center;
}

.newsletter input {
  min-width: 0;
  min-height: 48px;
  caret-color: var(--gold-light);
}

.newsletter input::placeholder {
  color: #c9c0b3;
  opacity: 1;
}

.newsletter button {
  min-width: 48px;
  min-height: 48px;
}

.newsletter small {
  opacity: 0.78;
}

footer {
  padding-inline: var(--gutter);
  gap: 40px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

footer p {
  opacity: 0.75;
}

@media (max-width: 900px) {
  .hero-copy {
    padding-top: max(190px, 31svh);
    padding-bottom: 120px;
  }

  .hero h1 {
    font-size: clamp(52px, 14vw, 84px);
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(5, 8, 6, 0.8), rgba(5, 8, 6, 0.12) 90%);
  }

  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .editorial {
    gap: 48px;
  }

  .story-copy {
    min-height: auto;
  }

  .quote-section {
    min-height: 56svh;
  }

  .mail-link {
    margin-bottom: 36px;
  }

  .site-header.scrolled.menu-open {
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-copy,
  .stack-panel,
  .parallax-img {
    transform: none !important;
    opacity: 1;
  }

  .stack-panel.is-under-next {
    filter: none;
  }
}

/* Shared control details and readable supporting labels. */
.arrow-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.newsletter label,
.scroll-cue {
  font-size: 11px;
}

.newsletter button {
  display: grid;
  place-items: center;
}

/* Focused content anchors do not need a decorative outline. */
main:focus {
  outline: none;
}

/* Search and accessibility refinements preserve the existing visual identity. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Content is readable immediately and when JavaScript is unavailable. */
.reveal {
  opacity: 1;
  transform: none;
}

::selection {
  background: var(--gold-light);
  color: var(--black);
}

.mail-link {
  overflow-wrap: anywhere;
}

/* Preserve logo proportions and strengthen accent contrast. */
.brand img,
.footer-logo img {
  height: auto;
}

.lookbook h2 em {
  color: #48591e;
}

.quote-section blockquote em {
  color: var(--white);
}
