:root {
  --ink: #101010;
  --paper: #f5f5f0;
  --white: #ffffff;
  --red: #ef2b2d;
  --green: #2e6b43;
  --blue: #8fd3ef;
  --line: rgba(16, 16, 16, 0.18);
  --soft-line: rgba(255, 255, 255, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}
h1 { font-size: 6.8rem; max-width: 850px; }
h2 { font-size: 5rem; }
h3 { font-size: 2.1rem; }
p { line-height: 1.62; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 10px 4%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}
.site-header.scrolled {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(245, 245, 240, 0.92);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; text-transform: uppercase; }
.brand img { width: 46px; height: 46px; object-fit: cover; border-radius: 4px; }
.brand span { display: grid; gap: 2px; }
.brand small { font-family: Arial, Helvetica, sans-serif; font-size: 0.62rem; font-weight: 700; }
.site-header nav { display: flex; justify-content: center; gap: 24px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.site-header nav a { border-bottom: 1px solid transparent; padding: 8px 0; }
.site-header nav a:hover { border-color: currentColor; }
.prototype-label, .kicker, .motion-step > span, .world span, footer {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: #d7d7d1;
}
.hero-stage, .hero-fallback, .hero-piece { position: absolute; inset: 0; }
.hero-fallback, .hero-piece {
  background-image: url("assets/generated/apple-blossom-fashion-in-motion-hero.jpg");
  background-position: center center;
  background-size: cover;
}
.hero-fallback { opacity: 0.38; filter: grayscale(0.48) saturate(0.8) contrast(0.86); transform: scale(1.03); }
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,0.64) 0%, rgba(8,8,8,0.19) 48%, rgba(8,8,8,0.02) 75%);
  pointer-events: none;
}
.hero-piece { animation: reconstruct 9s cubic-bezier(.2,.7,.12,1) infinite; will-change: transform, opacity, filter; }
.piece-01 { clip-path: polygon(0 0, 25% 0, 19% 32%, 0 37%); --x: -24%; --y: -18%; --r: -8deg; animation-delay: 0.05s; }
.piece-02 { clip-path: polygon(25% 0, 50% 0, 48% 29%, 19% 32%); --x: 5%; --y: -25%; --r: 5deg; animation-delay: 0.1s; }
.piece-03 { clip-path: polygon(50% 0, 75% 0, 79% 33%, 48% 29%); --x: 13%; --y: -22%; --r: -5deg; animation-delay: 0.15s; }
.piece-04 { clip-path: polygon(75% 0, 100% 0, 100% 37%, 79% 33%); --x: 26%; --y: -12%; --r: 9deg; animation-delay: 0.2s; }
.piece-05 { clip-path: polygon(0 37%, 19% 32%, 25% 68%, 0 72%); --x: -27%; --y: 2%; --r: -6deg; animation-delay: 0.25s; }
.piece-06 { clip-path: polygon(19% 32%, 48% 29%, 51% 66%, 25% 68%); --x: -12%; --y: 9%; --r: 7deg; animation-delay: 0.3s; }
.piece-07 { clip-path: polygon(48% 29%, 79% 33%, 75% 69%, 51% 66%); --x: 16%; --y: 8%; --r: -7deg; animation-delay: 0.35s; }
.piece-08 { clip-path: polygon(79% 33%, 100% 37%, 100% 72%, 75% 69%); --x: 27%; --y: 4%; --r: 6deg; animation-delay: 0.4s; }
.piece-09 { clip-path: polygon(0 72%, 25% 68%, 51% 66%, 48% 100%, 0 100%); --x: -18%; --y: 23%; --r: -5deg; animation-delay: 0.45s; }
.piece-10 { clip-path: polygon(51% 66%, 75% 69%, 100% 72%, 100% 100%, 48% 100%); --x: 19%; --y: 24%; --r: 6deg; animation-delay: 0.5s; }
.construction-line { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,0.72); border-radius: 50%; opacity: 0; animation: orbit 9s ease-in-out infinite; }
.line-one { width: 44%; height: 68%; left: 40%; top: 15%; }
.line-two { width: 26%; height: 46%; left: 51%; top: 25%; animation-delay: -0.6s; }
.line-three { width: 1px; height: 74%; left: 66%; top: 13%; border-radius: 0; animation-delay: -1.2s; }
.hero-copy { position: absolute; z-index: 4; left: 6%; top: 24%; width: min(830px, 58%); }
.hero-copy .kicker { margin-bottom: 20px; }
.hero-intro { max-width: 590px; margin-top: 24px; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid; border-radius: 4px; font-weight: 800; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,0.7); }
.hero-index { position: absolute; z-index: 4; right: 4%; bottom: 6%; display: grid; grid-template-columns: auto 130px auto; gap: 10px; align-items: center; font-size: 0.7rem; }
.hero-index div { height: 1px; background: var(--white); }
.scroll-cue { position: absolute; z-index: 4; left: 6%; bottom: 5%; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

.signal-strip { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-bottom: 1px solid var(--line); background: var(--white); }
.signal-strip span { padding: 22px 14px; border-right: 1px solid var(--line); text-align: center; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }

.motion-story { padding: 110px 6%; background: var(--paper); }
.motion-heading { max-width: 760px; }
.motion-heading .kicker, .worlds-heading .kicker, .trend-copy .kicker { margin-bottom: 18px; color: var(--red); }
.motion-steps { margin-top: 70px; border-top: 1px solid var(--line); }
.motion-step { display: grid; grid-template-columns: 130px minmax(260px, 0.85fr) minmax(260px, 0.65fr); gap: 40px; align-items: start; padding: 38px 0; border-bottom: 1px solid var(--line); }
.motion-step h3 { font-size: 2rem; line-height: 1.08; }
.motion-step p { max-width: 510px; color: #555; }

.fashion-worlds { color: var(--white); background: var(--ink); padding: 110px 4%; }
.worlds-heading { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(300px, 0.6fr); column-gap: 80px; align-items: end; max-width: 1180px; margin: 0 auto 54px; }
.worlds-heading .kicker { grid-column: 1 / -1; }
.worlds-heading p:last-child { color: #b9b9b2; }
.world-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 190px; gap: 12px; }
.world { position: relative; overflow: hidden; min-height: 0; }
.world::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.78), transparent 58%); }
.world img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 700ms ease; }
.world:hover img { transform: scale(1.035); filter: saturate(1.08); }
.world div { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; }
.world div span { color: #cfcfc9; }
.world h3 { margin-top: 6px; }
.world p { margin-top: 8px; color: #deded8; }
.world-women { grid-column: 1 / 8; grid-row: span 3; }
.world-men { grid-column: 8 / 13; grid-row: span 2; }
.world-kids { grid-column: 8 / 13; grid-row: span 2; }
.world-toddlers { grid-column: 1 / 6; grid-row: span 2; }
.world-sleep { grid-column: 6 / 13; grid-row: span 2; }
.world-workwear { grid-column: 1 / 13; grid-row: span 3; }
.world-women img { object-position: center 22%; }
.world-toddlers img, .world-sleep img { object-position: center 26%; }
.world-workwear img { object-position: center 38%; }

.trend-lab { display: grid; grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr); min-height: 720px; }
.trend-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px 10%; }
.trend-copy p:not(.kicker) { max-width: 560px; margin-top: 26px; color: #515151; }
.text-link { width: fit-content; margin-top: 28px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); font-weight: 800; }
.trend-board { position: relative; display: grid; grid-template-columns: 1.1fr 0.8fr; grid-template-rows: 1fr 1fr; min-height: 720px; }
.trend-swatch { position: relative; display: flex; align-items: flex-end; padding: 28px; font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; }
.trend-swatch span { position: relative; z-index: 1; background: var(--white); color: var(--ink); padding: 8px 10px; }
.swatch-red { grid-row: 1 / 3; background: var(--red); }
.swatch-green { background: var(--green); color: var(--white); }
.swatch-blue { background: var(--blue); }
.trend-type { position: absolute; top: 26px; right: 26px; writing-mode: vertical-rl; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }

.dar-chapter { overflow: hidden; color: #f5ede0; background: #070707; }
.dar-hero { position: relative; min-height: 900px; display: flex; align-items: center; justify-content: flex-end; overflow: hidden; }
.dar-backdrop, .dar-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.dar-backdrop { object-fit: cover; object-position: center center; }
.dar-shade {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.02), rgba(0,0,0,0.18) 46%, rgba(0,0,0,0.88) 72%, rgba(0,0,0,0.96)),
    linear-gradient(0deg, rgba(0,0,0,0.34), transparent 36%);
}
.dar-copy { position: relative; z-index: 2; width: min(560px, 42%); margin-right: 6%; }
.dar-copy > img { width: 138px; height: 138px; object-fit: cover; margin-bottom: 28px; border: 1px solid rgba(216,180,119,0.36); }
.dar-copy .kicker, .dar-intro .kicker, .dar-closing .kicker { color: #d8b477; margin-bottom: 16px; }
.dar-copy p:not(.kicker) { margin-top: 22px; color: #d2c7b8; }
.button-gold { margin-top: 28px; border-color: #d8b477; color: #171008; background: #d8b477; }
.dar-intro {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 0.62fr);
  column-gap: 80px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 5% 64px;
}
.dar-intro .kicker { grid-column: 1 / -1; }
.dar-intro p:last-child { color: #a99f93; }
.dar-collections { display: grid; grid-template-columns: 1.08fr 0.92fr 0.92fr; gap: 12px; padding: 0 4% 110px; }
.dar-collection { position: relative; min-height: 760px; overflow: hidden; background: #14110f; }
.dar-collection::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.82), transparent 54%); }
.dar-collection img { width: 100%; height: 100%; object-fit: cover; transition: transform 850ms cubic-bezier(.2,.7,.2,1); }
.dar-collection:hover img { transform: scale(1.035); }
.dar-collection div { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 28px; }
.dar-collection span { color: #d8b477; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.dar-collection h3 { margin-top: 8px; font-size: 2.4rem; }
.dar-collection p { max-width: 440px; margin-top: 10px; color: #d2c7b8; }
.dar-everyday img, .dar-hijab img { object-position: center 22%; }
.dar-closing {
  display: grid;
  grid-template-columns: 128px minmax(280px, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 70px 6%;
  border-top: 1px solid rgba(216,180,119,0.28);
  background: #100d0b;
}
.dar-closing > img { width: 128px; height: 128px; object-fit: cover; border: 1px solid rgba(216,180,119,0.3); }
.dar-closing h2 { max-width: 760px; font-size: 3.7rem; }
.dar-closing .button { margin-top: 0; white-space: nowrap; }

.closing { min-height: 520px; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 80px 5%; text-align: center; background: var(--white); }
.closing-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.closing-links a { font-size: 1.1rem; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.closing-social { display: flex; gap: 10px; }
.closing-social a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); transition: transform 180ms ease, background 180ms ease; }
.closing-social a:hover { transform: translateY(-2px); background: #ecece6; }
.closing-social img { width: 24px; height: 24px; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 4%; color: var(--white); background: var(--ink); }
footer > div:first-child { display: grid; gap: 5px; }
.footer-badges { display: flex; align-items: center; gap: 12px; }
.footer-badges img { width: 62px; height: 62px; object-fit: contain; background: var(--white); border-radius: 4px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes reconstruct {
  0%, 9% { opacity: 0.18; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(0.98); filter: blur(7px) saturate(0.7); }
  29%, 79% { opacity: 1; transform: translate(0,0) rotate(0) scale(1); filter: blur(0) saturate(1); }
  95%, 100% { opacity: 0.24; transform: translate(calc(var(--x) * -0.72), calc(var(--y) * -0.72)) rotate(calc(var(--r) * -0.7)) scale(1.01); filter: blur(5px) saturate(0.76); }
}
@keyframes orbit {
  0%, 15%, 100% { opacity: 0; transform: scale(0.86) rotate(-7deg); }
  35%, 66% { opacity: 0.54; transform: scale(1) rotate(0); }
  84% { opacity: 0; transform: scale(1.08) rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .hero-piece { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
  h1 { font-size: 5.1rem; }
  h2 { font-size: 4rem; }
  .site-header { grid-template-columns: auto 1fr; }
  .site-header nav { display: none; }
  .prototype-label { justify-self: end; }
  .hero-copy { width: 72%; }
  .motion-step { grid-template-columns: 90px 1fr; }
  .motion-step p { grid-column: 2; }
  .worlds-heading { grid-template-columns: 1fr; gap: 22px; }
  .trend-lab { grid-template-columns: 1fr; }
  .trend-board { min-height: 600px; }
  .dar-shade { background: linear-gradient(90deg, rgba(0,0,0,0.04), rgba(0,0,0,0.9) 58%, rgba(0,0,0,0.97)); }
  .dar-copy { width: min(520px, 52%); margin-right: 4%; }
  .dar-intro { grid-template-columns: 1fr; gap: 24px; }
  .dar-collections { grid-template-columns: 1fr; }
  .dar-collection { min-height: 720px; }
  .dar-closing { grid-template-columns: 110px 1fr; }
  .dar-closing .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 700px) {
  h1 { font-size: 3.7rem; }
  h2 { font-size: 3.1rem; }
  h3 { font-size: 1.7rem; }
  .site-header { min-height: 66px; padding: 8px 16px; }
  .brand span { font-size: 0.84rem; }
  .brand img { width: 42px; height: 42px; }
  .prototype-label { display: none; }
  .hero { min-height: 900px; }
  .hero-stage::after { background: linear-gradient(0deg, rgba(8,8,8,0.82) 0%, rgba(8,8,8,0.16) 72%); }
  .hero-fallback, .hero-piece { background-position: 62% center; }
  .hero-copy { left: 20px; right: 20px; top: auto; bottom: 116px; width: auto; }
  .hero-intro { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .scroll-cue { left: 20px; bottom: 38px; }
  .hero-index { display: none; }
  .signal-strip { grid-template-columns: 1fr 1fr; }
  .signal-strip span { padding: 16px 10px; }
  .motion-story, .fashion-worlds { padding: 80px 20px; }
  .motion-steps { margin-top: 44px; }
  .motion-step { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .motion-step p { grid-column: 1; }
  .world-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; }
  .world { grid-column: 1; grid-row: auto; min-height: 460px; }
  .world-women { min-height: 580px; }
  .trend-copy { padding: 80px 20px; }
  .trend-board { grid-template-columns: 1fr 1fr; min-height: 520px; }
  .swatch-red { grid-row: 1 / 2; grid-column: 1 / 3; }
  .dar-hero { align-items: flex-end; min-height: 940px; }
  .dar-backdrop { object-position: 38% center; }
  .dar-shade { background: linear-gradient(0deg, rgba(0,0,0,0.96), rgba(0,0,0,0.08) 72%); }
  .dar-copy { width: auto; margin: 0; padding: 50px 20px; }
  .dar-intro { padding: 80px 20px 44px; }
  .dar-collections { padding: 0 20px 80px; }
  .dar-collection { min-height: 660px; }
  .dar-closing { grid-template-columns: 1fr; padding: 52px 20px; }
  .dar-closing .button { grid-column: 1; width: 100%; }
  .dar-closing h2 { font-size: 2.8rem; }
  .closing-links { display: grid; }
  footer { flex-direction: column; align-items: flex-start; }
}
