:root {
  --ivory: #f6f1e7;
  --cream: #ece4d4;
  --ink: #1f1d1a;
  --muted: #6e665b;
  --gold: #a88658;
  --gold-soft: #c9ad82;
  --forest: #1d2621;
  --line: rgba(31, 29, 26, .16);
  --line-light: rgba(246, 241, 231, .22);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .65, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
::selection { background: var(--gold-soft); color: var(--ink); }
.skip-link { position: fixed; top: -60px; left: 20px; background: var(--ink); color: var(--ivory); padding: 14px; z-index: 100; }
.skip-link:focus { top: 10px; }

.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0; }
h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5vw, 76px); line-height: 1.04; letter-spacing: -.01em; margin: 0; }
h2 em, .manifesto-title em { font-style: italic; color: var(--gold); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 17px 38px; border: 1px solid var(--ink); font-size: 11px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; position: relative; overflow: hidden; isolation: isolate; transition: color .5s var(--ease); }
.btn:before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.btn:hover { color: var(--ivory); }
.btn:hover:before { transform: scaleY(1); }

/* Header */
.header { position: absolute; inset: 0 0 auto; z-index: 10; height: 88px; padding: 0 5%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.header nav { display: flex; gap: 38px; }
.header nav a, .header-end a { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; position: relative; padding: 8px 0; }
.header nav a:after, .header-end a:after { content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.header nav a:hover:after, .header-end a:hover:after { transform: scaleX(1); transform-origin: left; }
.nav-mobile-only { display: none; }
.wordmark { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: .04em; line-height: 1; }
.wordmark em { font-style: italic; font-weight: 300; }
.header-end { display: flex; justify-content: flex-end; gap: 36px; }
.header-cta { color: var(--gold); }
.menu-toggle { display: none; }

/* Hero */
.hero { min-height: max(720px, 100svh); display: grid; grid-template-columns: 1fr 1fr; position: relative; padding-top: 88px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 60px 8% 90px 10%; }
.hero-intro { animation: appear 1.4s .2s both; }
.hero h1 { font-family: var(--serif); font-weight: 300; margin: 34px 0 30px; line-height: .88; font-size: clamp(84px, 9.6vw, 168px); letter-spacing: -.02em; }
.hero-kiwi, .hero-curates { display: block; }
.hero-kiwi { animation: title-in 1.6s .1s var(--ease) both; }
.hero-curates { font-style: italic; color: var(--gold); padding-left: .55em; animation: title-in 1.6s .3s var(--ease) both; }
.hero-tagline { font-family: var(--serif); font-size: 26px; font-style: italic; margin: 0 0 8px; animation: appear 1.4s .7s both; }
.hero-note { color: var(--muted); max-width: 340px; margin: 0 0 42px; animation: appear 1.4s .85s both; }
.hero-copy .btn { animation: appear 1.4s 1s both; }
.hero-image { position: relative; overflow: hidden; margin: 28px 5% 28px 0; }
.hero-image img { object-position: 50% 35%; animation: settle 2.6s var(--ease) both; }
.hero-floor { position: absolute; left: 10%; bottom: 30px; display: flex; gap: 40px; align-items: center; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.hero-floor a { display: flex; align-items: center; gap: 14px; }
.hero-floor a:after { content: ''; width: 46px; height: 1px; background: currentColor; transform-origin: left; animation: line-pulse 2.8s ease-in-out infinite; }
.motion-toggle { display: flex; gap: 9px; align-items: center; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 8px 0; }

/* Marquee */
.marquee { background: var(--ink); color: var(--gold-soft); overflow: hidden; padding: 19px 0; font-family: var(--serif); font-style: italic; font-size: 19px; letter-spacing: .06em; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span { white-space: nowrap; padding-right: 8px; }

.section-pad { padding: 130px 8%; }

/* Intro */
.section-kicker { display: flex; gap: 22px; align-items: center; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.section-kicker span:first-child { font-family: var(--serif); font-size: 22px; letter-spacing: 0; }
.section-kicker:after { content: ''; flex: 1; height: 1px; background: var(--line); }
.intro-copy { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10%; align-items: end; margin-top: 56px; }
.intro-aside { max-width: 360px; }
.intro-aside p { margin: 0 0 18px; color: var(--muted); }
.intro-aside p:first-child { font-family: var(--serif); font-size: 23px; line-height: 1.4; color: var(--ink); }
.text-link { display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink); padding: 14px 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; margin-top: 30px; }
.text-link span { transition: transform .4s var(--ease); }
.text-link:hover span { transform: translateX(6px); }

/* Collection */
.collections { padding-top: 40px; overflow: hidden; }
.collection-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.collection-heading h2 { margin-top: 26px; }
.collection-heading > p { color: var(--muted); max-width: 320px; margin: 0 0 8px; }
.collection-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 60px 0 26px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.collection-controls { display: flex; gap: 10px; }
.gallery-arrow { width: 48px; height: 48px; border: 1px solid var(--line); font-size: 17px; transition: background .4s, color .4s, border-color .4s; }
.gallery-arrow:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.gallery-arrow:disabled { opacity: .3; cursor: default; background: none; color: inherit; border-color: var(--line); }
.bouquet-track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 10px; }
.bouquet-track::-webkit-scrollbar { display: none; }
.product-card { flex: 0 0 calc((100% - 56px) / 3); min-width: 0; text-align: left; padding: 0; scroll-snap-align: start; }
.product-image { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.product-image img { transition: transform 1.4s var(--ease), filter 1.4s var(--ease); filter: saturate(.92); }
.product-card:hover img { transform: scale(1.04); filter: saturate(1); }
.product-number { position: absolute; top: 18px; left: 18px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ivory); text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.product-title { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 30px; font-weight: 400; }
.product-title > span { font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.gallery-footer { display: flex; justify-content: space-between; margin-top: 36px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }

/* Ikebana */
.ikebana { background: var(--cream); display: grid; grid-template-columns: 1fr 1.15fr; gap: 10%; align-items: center; overflow: hidden; }
.ikebana-copy h2 { margin: 26px 0 30px; }
.ikebana-copy > p:not(.eyebrow) { max-width: 380px; color: var(--muted); margin: 0 0 16px; }
.ikebana-copy .btn { margin-top: 26px; }
.ikebana-art { position: relative; height: 600px; }
.ikebana-card { position: absolute; width: 58%; }
.ikebana-card img { aspect-ratio: 4 / 5; }
.ikebana-card.back { right: 0; top: 0; }
.ikebana-card.front { left: 0; bottom: 0; background: var(--ivory); padding: 14px 14px 0; box-shadow: 0 30px 60px -30px rgba(31, 29, 26, .35); }
.ikebana-card.front figcaption { font-family: var(--serif); font-style: italic; font-size: 20px; text-align: center; padding: 16px 0; }

/* Manifesto */
.manifesto { background: var(--forest); color: var(--ivory); text-align: center; padding: 150px 8%; }
.manifesto .eyebrow { color: var(--gold-soft); }
.manifesto-title { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 6.4vw, 100px); line-height: 1.08; margin: 36px 0 46px; }
.manifesto-title em { color: var(--gold-soft); }
.rule { display: block; width: 1px; height: 70px; background: var(--gold-soft); margin: 0 auto; opacity: .7; }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; align-items: center; }
.story-visual { max-width: 470px; margin-left: 6%; }
.story-visual > img { aspect-ratio: 4 / 5; object-position: center 40%; border-radius: 50% 50% 0 0 / 38% 38% 0 0; }
.image-note { display: block; font-family: var(--serif); font-style: italic; font-size: 20px; text-align: center; padding-top: 22px; color: var(--muted); }
.story-copy h2 { margin: 26px 0 30px; }
.story-copy > p:not(.eyebrow) { max-width: 430px; color: var(--muted); margin: 0 0 16px; }
.story-copy .story-lede { font-family: var(--serif); font-size: 25px; line-height: 1.4; color: var(--ink) !important; }
.signature { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 34px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); max-width: 430px; }
.signature span { font-family: var(--serif); font-style: italic; font-size: 44px; letter-spacing: 0; text-transform: none; color: var(--ink); margin-left: 20px; }

/* Contact */
.contact { background: var(--ink); color: var(--ivory); text-align: center; padding-top: 140px; padding-bottom: 120px; }
.contact .eyebrow { color: var(--gold-soft); }
.contact h2 { font-size: clamp(54px, 7.4vw, 118px); margin: 34px 0 70px; }
.contact h2 em { color: var(--gold-soft); }
.contact-links { display: flex; justify-content: center; gap: 0; border-top: 1px solid var(--line-light); max-width: 820px; margin: 0 auto; }
.contact-links a { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 34px 20px 0; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 30px); transition: color .4s; }
.contact-links a + a { border-left: 1px solid var(--line-light); }
.contact-links a span { font-family: var(--sans); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-soft); }
.contact-links a:hover { color: var(--gold-soft); }

/* Footer */
footer { padding: 46px 8% 36px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 50px; border-top: 1px solid var(--line); }
.footer-brand { font-family: var(--serif); font-size: 28px; }
.footer-brand em { font-weight: 300; }
footer p { font-size: 12px; color: var(--muted); margin: 0; }
footer nav { display: flex; gap: 30px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; }
footer nav a:hover { color: var(--gold); }
.copyright { font-size: 10px; letter-spacing: .14em; grid-column: 1 / -1; color: var(--muted); padding-top: 22px; border-top: 1px solid var(--line); margin-top: 16px; }

/* Reveal */
.reveal { opacity: 1; }
.js-motion .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.js-motion .reveal.visible { opacity: 1; transform: none; }

/* Dialog */
dialog { padding: 0; border: 0; background: var(--ivory); color: var(--ink); width: min(940px, 90vw); max-height: 90svh; overflow: auto; }
dialog[open] { display: grid; grid-template-columns: 1fr 1fr; animation: dialog-in .45s var(--ease); }
dialog::backdrop { background: rgba(20, 18, 16, .72); backdrop-filter: blur(6px); }
.dialog-image { min-height: 520px; background: var(--cream); }
.dialog-copy { padding: 70px 46px 34px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.dialog-copy h2 { font-size: 64px; margin: 18px 0 16px; }
.dialog-copy > p:not(.eyebrow) { color: var(--muted); margin: 0 0 12px; }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--ivory); border: 1px solid var(--line); width: 40px; height: 40px; font-size: 22px; font-weight: 300; }
.dialog-palette { display: flex; gap: 10px; margin: 10px 0 16px; }
.dialog-palette span { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); }
.dialog-note { font-family: var(--serif); font-style: italic; font-size: 17px !important; }
.dialog-copy .btn { margin-top: 10px; }
.dialog-navigation { display: flex; justify-content: space-between; align-items: center; width: 100%; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; }
.dialog-navigation button { height: 42px; width: 42px; border: 1px solid var(--line); font-size: 17px; transition: background .3s, color .3s; }
.dialog-navigation button:hover { background: var(--ink); color: var(--ivory); }
.dialog-navigation span { font-size: 10px; letter-spacing: .28em; color: var(--muted); }

/* Motion */
.motion-paused *, .motion-paused *:before, .motion-paused *:after { animation-play-state: paused !important; }
.motion-paused .reveal { opacity: 1; transform: none; transition: none; }
.motion-paused dialog[open], .motion-paused .hero-kiwi, .motion-paused .hero-curates, .motion-paused .hero-intro, .motion-paused .hero-tagline, .motion-paused .hero-note, .motion-paused .hero-copy .btn, .motion-paused .hero-image img { animation: none; }
.intro-complete .hero-kiwi, .intro-complete .hero-curates, .intro-complete .hero-intro, .intro-complete .hero-tagline, .intro-complete .hero-note, .intro-complete .hero-copy .btn, .intro-complete .hero-image img { animation: none; }
html:has(.motion-paused) { scroll-behavior: auto; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes title-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.12); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes line-pulse { 0%, 100% { transform: scaleX(.4); } 50% { transform: scaleX(1); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (min-width: 1600px) {
  .section-pad { padding-left: max(8%, calc((100vw - 1440px) / 2)); padding-right: max(8%, calc((100vw - 1440px) / 2)); }
}

@media (max-width: 1000px) {
  .header nav { gap: 22px; }
  .header-end { gap: 22px; }
  .section-pad { padding: 100px 6%; }
  .hero-copy { padding: 50px 6% 90px 7%; }
  .intro-copy { grid-template-columns: 1.3fr 1fr; gap: 6%; }
  .product-card { flex-basis: calc((100% - 28px) / 2); }
  .ikebana { gap: 6%; }
  .ikebana-art { height: 480px; }
  .ikebana-card { width: 64%; }
  .story { gap: 8%; }
  .story-visual { margin-left: 0; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }
  body { font-size: 14px; }
  .header { height: 72px; padding: 0 6%; grid-template-columns: 1fr auto; background: var(--ivory); }
  .wordmark { font-size: 26px; grid-column: 1; grid-row: 1; }
  .header-end { display: none; }
  .menu-toggle { display: flex; flex-direction: column; gap: 7px; padding: 12px 0 12px 12px; grid-column: 2; grid-row: 1; }
  .menu-toggle span { width: 26px; height: 1px; background: var(--ink); transition: transform .4s var(--ease); }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; background: var(--ivory); padding: 10px 6% 26px; border-bottom: 1px solid var(--line); }
  .header nav.open { display: flex; }
  .header nav a { font-size: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .header nav a:after { display: none; }
  .nav-mobile-only { display: block; }
  .hero { display: flex; flex-direction: column; min-height: 0; padding-top: 72px; }
  .hero-copy { padding: 56px 6% 44px; align-items: center; text-align: center; }
  .hero h1 { font-size: 22vw; margin: 26px 0 24px; }
  .hero-curates { padding-left: 0; }
  .hero-tagline { font-size: 23px; }
  .hero-note { margin-bottom: 32px; }
  .hero-image { margin: 0 6% 70px; aspect-ratio: 4 / 5; }
  .hero-floor { left: 6%; right: 6%; bottom: 24px; justify-content: space-between; }
  .marquee { font-size: 16px; padding: 15px 0; }
  .section-pad { padding: 80px 6%; }
  .intro-copy { display: block; margin-top: 40px; }
  h2 { font-size: 12vw; }
  .intro-aside { margin-top: 34px; max-width: none; }
  .collections { padding-top: 20px; }
  .collection-heading { display: block; }
  .collection-heading > p { margin-top: 22px; }
  .collection-toolbar { margin: 40px 0 20px; }
  .gallery-arrow { width: 42px; height: 42px; }
  .bouquet-track { gap: 16px; margin-right: -6.5%; padding-right: 6.5%; }
  .product-card { flex-basis: 82%; }
  .product-title { font-size: 27px; }
  .gallery-footer { font-size: 9px; letter-spacing: .16em; }
  .ikebana { display: flex; flex-direction: column; align-items: stretch; gap: 56px; }
  .ikebana-art { height: 430px; }
  .ikebana-card { width: 66%; }
  .manifesto { padding: 100px 6%; }
  .manifesto-title { font-size: 11vw; }
  .story { display: flex; flex-direction: column; gap: 50px; }
  .story-visual { width: 86%; margin: 0 auto; }
  .story-copy .story-lede { font-size: 22px; }
  .contact { padding-top: 90px; padding-bottom: 80px; }
  .contact h2 { font-size: 13vw; margin-bottom: 50px; }
  .contact-links { flex-direction: column; }
  .contact-links a { padding: 26px 0; }
  .contact-links a + a { border-left: 0; border-top: 1px solid var(--line-light); }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 40px 6% 30px; }
  footer nav { gap: 22px; flex-wrap: wrap; justify-content: center; }
  dialog { width: 92vw; }
  dialog[open] { display: block; }
  .dialog-image { height: 300px; min-height: 0; }
  .dialog-image img { object-position: center 40%; }
  .dialog-copy { padding: 28px 24px; }
  .dialog-copy h2 { font-size: 46px; margin: 10px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
}
