:root {
  --cream: #f9ebd4;
  --cream-deep: #f1dcbb;
  --olive: #3e4521;
  --calla: #a63db8;
  --aubergine: #35123c;
  --anthurium: #d61f4c;
  --yolk: #f0a500;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(20px, 5vw, 80px);
  --serif: "Instrument Serif", "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--olive);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .95; letter-spacing: -.02em; margin: 0; }
h1 i, h2 i { color: var(--calla); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--calla); outline-offset: 4px; border-radius: 4px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.brand img { width: 44px; height: auto; }
.nav nav, .footer nav { display: flex; gap: 30px; }
.nav nav a, .footer nav a { position: relative; }
.nav nav a::after, .footer nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav nav a:hover::after, .footer nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.btn {
  display: inline-block; font-weight: 600; white-space: nowrap;
  background: var(--olive); color: var(--cream); border-radius: 99px; padding: 16px 32px;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--calla); transform: translateY(-2px); }
.btn-small { padding: 10px 20px; font-size: .95rem; }
.btn-light { background: var(--cream); color: var(--aubergine); }
.btn-light:hover { background: var(--yolk); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 80px);
  padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(64px, 9vw, 130px);
  min-height: calc(100vh - 70px);
}
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero h1 { font-size: clamp(4.4rem, 12.5vw, 12rem); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .line > span { display: block; transform: translateY(110%); animation: rise 1.2s var(--ease) .15s forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .3s; padding-left: .5em; }
.lede { font-size: 1.2rem; max-width: 38ch; opacity: 0; animation: fade 1s .9s forwards; }
.hero .btn { opacity: 0; animation: fade 1s 1.05s forwards; }
.hero-art { position: relative; justify-self: end; width: min(100%, 520px); }
.arch {
  border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 4 / 5.4;
  clip-path: inset(100% 0 0 0 round 999px 999px 24px 24px);
  animation: unveil 1.5s var(--ease) .2s forwards;
}
.arch img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.hero-logo {
  position: absolute; left: -24%; bottom: -9%; width: 56%;
  opacity: 0; transform: rotate(-14deg) scale(.7); transform-origin: 60% 90%;
  animation: logo-in 1.6s var(--ease) .9s forwards;
  filter: drop-shadow(0 18px 22px rgba(53, 18, 60, .28));
}
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round 999px 999px 24px 24px); } }
@keyframes logo-in { to { opacity: 1; transform: rotate(-6deg) scale(1); } }

/* Marquee */
.marquee { background: var(--olive); color: var(--cream); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.8rem); padding: 0 .55em; white-space: nowrap; }
.marquee-track span:nth-child(odd) { color: #e9b6f2; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head h2 { font-size: clamp(2.8rem, 6.6vw, 6.4rem); }
.section-head p { max-width: 40ch; justify-self: end; }
.sizes { padding: clamp(72px, 10vw, 150px) var(--gutter); }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); align-items: end; }
.size { display: grid; gap: 14px; }
.size-photo { overflow: hidden; border-radius: 20px; transition: border-radius .7s var(--ease); }
.size:hover .size-photo { border-radius: 999px 999px 20px 20px; }
.size-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.size:hover .size-photo img { transform: scale(1.07); }
.size:nth-child(1) .size-photo { aspect-ratio: 4 / 4.2; }
.size:nth-child(2) .size-photo { aspect-ratio: 4 / 4.9; }
.size:nth-child(3) .size-photo { aspect-ratio: 4 / 5.6; }
.size:nth-child(4) .size-photo { aspect-ratio: 4 / 6.3; }
.size h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1; margin: 0; }
.size p { font-size: .98rem; opacity: .85; }

/* Photo reveal */
/* Clip the image, not the observed frame: a fully clipped element never intersects. */
.reveal-img img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease), transform 1.2s var(--ease); }
.reveal-img.in img { clip-path: inset(0 0 0 0); }

/* Gallery */
.gallery { padding: 0 var(--gutter) clamp(72px, 10vw, 150px); }
.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 28px); align-items: start; }
.col { display: grid; gap: clamp(12px, 2vw, 28px); will-change: transform; }
.col:nth-child(2) { margin-top: 90px; }
.shot { overflow: hidden; border-radius: 16px; }
.shot img { width: 100%; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.05); }

/* Order */
.order { background: var(--aubergine); color: var(--cream); display: grid; grid-template-columns: .8fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; padding: clamp(72px, 10vw, 150px) var(--gutter); }
.order-photo { border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 4 / 5.2; max-width: 460px; }
.order-photo img { width: 100%; height: 100%; object-fit: cover; }
.order h2 { font-size: clamp(2.8rem, 6.6vw, 6.4rem); margin-bottom: 30px; }
.order h2 i { color: #e9b6f2; }
.order ol { list-style: none; counter-reset: step; margin: 0 0 36px; padding: 0; }
.order li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; padding: 20px 0; border-top: 1px solid color-mix(in srgb, var(--cream) 30%, transparent); }
.order li::before { content: counter(step); font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--yolk); grid-row: span 2; }
.order li strong { font-size: 1.2rem; font-weight: 600; }
.order li span { opacity: .8; max-width: 46ch; }

/* Footer */
.footer { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: 36px var(--gutter); }
.footer p { font-size: .95rem; opacity: .75; }

@media (max-width: 860px) {
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { justify-self: center; width: min(78%, 420px); margin-top: 12px; }
  .hero-logo { left: -20%; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .size-grid { grid-template-columns: 1fr 1fr; }
  .columns { grid-template-columns: 1fr 1fr; }
  .col:nth-child(3) { display: none; }
  .col:nth-child(2) { margin-top: 48px; }
  .order { grid-template-columns: 1fr; }
  .order-photo { max-width: 320px; }
}
@media (max-width: 480px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}
