﻿
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --ivory: #f7efdf;
  --paper: #fff9ef;
  --garnet: #641f2a;
  --red: #8c2f32;
  --indigo: #263f4b;
  --mehndi: #596548;
  --rust: #a85e3d;
  --gold: #c6a15b;
  --ink: #382821;
  --muted: #786b5f;
  --line: rgba(56,40,33,.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --page-paper: var(--ivory);
  --page-colour: var(--garnet);
  --page-highlight: var(--gold);
  --content: 1240px;
  --gutter: clamp(20px, 5vw, 76px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--page-paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body[data-page="home"] { --page-paper: #f7efdf; --page-colour: #8c2f32; }
body[data-page="shop"] { --page-paper: #f0e8d9; --page-colour: #263f4b; --page-highlight: #b85c3c; }
body[data-page="product"] { --page-paper: #f8f1e5; --page-colour: #641f2a; }
body[data-page="wishlist"], body[data-page="cart"] { --page-paper: #f4e9e0; --page-colour: #873a43; }
body[data-page="story"] { --page-paper: #edf0e5; --page-colour: #596548; --page-highlight: #a85e3d; }
body[data-page="contact"] { --page-paper: #f3e5d6; --page-colour: #a85e3d; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--garnet); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 { font-family: var(--serif); letter-spacing: -.035em; line-height: .99; }
h1 em, h2 em, .closing-note em, .story-quote em { color: var(--page-colour); font-weight: 400; }
h1 { font-size: clamp(3.3rem, 7vw, 7rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; }
.eyebrow { margin: 0 0 18px; color: var(--page-colour); font-size: .67rem; font-weight: 700; letter-spacing: .18em; line-height: 1.5; }
.announcement { padding: 8px 16px; background: var(--page-colour); color: var(--paper); text-align: center; font-size: .61rem; letter-spacing: .19em; font-weight: 600; }
.tiny-star { color: var(--gold); padding-right: 6px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; border-bottom: 1px solid currentColor; padding-bottom: 4px; font-size: .78rem; font-weight: 600; transition: opacity .2s; }
.text-link:hover { opacity: .65; }
.btn { min-height: 49px; padding: 13px 20px; display: inline-flex; justify-content: center; align-items: center; gap: 18px; border: 1px solid transparent; font-size: .75rem; font-weight: 600; letter-spacing: .025em; cursor: pointer; transition: transform .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--garnet); color: var(--paper); }
.btn-dark:hover { background: #49202a; }
.btn-light { background: var(--paper); color: var(--garnet); }
.btn-light:hover { background: #ead9bb; }
.btn-outline { border-color: var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--page-colour); }
.btn-wide { width: 100%; margin-top: 10px; }
.section { width: min(var(--content), 100%); margin-inline: auto; padding: clamp(55px, 8vw, 105px) var(--gutter); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 35px; }
.section-heading h2 { margin-bottom: 0; }
.section-intro { max-width: 280px; margin: 0 0 5px; color: var(--muted); font-size: .88rem; }
.image-note, .demo-note, .form-hint, .checkout-note { color: var(--muted); font-size: .72rem; }
.demo-note { margin-top: 24px; text-align: center; }
.count { min-width: 19px; height: 19px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--page-colour); color: white; font-size: .63rem; font-weight: 600; }

/* Cinematic intro */
.intro-screen { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden; background: var(--garnet); color: var(--ivory); opacity: 1; visibility: visible; transition: opacity .8s ease, visibility .8s ease; }
.intro-screen.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-grain { position: absolute; inset: 0; opacity: .16; pointer-events: none; background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(255,255,255,.06) 6px), repeating-linear-gradient(90deg, transparent 0 7px, rgba(0,0,0,.08) 8px); }
.intro-content { position: relative; z-index: 2; width: min(600px, 88vw); text-align: center; animation: introRise 1.2s both; }
.intro-symbol { display: inline-block; color: var(--gold); font-size: 2.5rem; animation: symbolTurn 18s linear infinite; }
.intro-content .eyebrow { color: #e9d9be; margin: 19px 0 0; font-size: .62rem; }
.intro-logo { margin: 2px 0 -4px; color: var(--ivory); font-family: var(--serif); font-size: clamp(6.5rem, 19vw, 12rem); font-weight: 500; letter-spacing: .035em; line-height: 1.05; }
.intro-logo span, .wordmark span, .footer-wordmark span { color: var(--gold); }
.intro-rule { display: block; width: 75px; height: 1px; margin: 18px auto; background: var(--gold); }
.intro-tagline { margin: 0; color: var(--ivory); font-family: var(--serif); font-size: clamp(1.45rem, 4vw, 2rem); font-style: italic; }
.intro-small { margin: 8px 0 28px; color: #d9c5a6; font-size: .72rem; letter-spacing: .06em; }
.intro-enter { padding: 12px 20px; border: 1px solid rgba(198,161,91,.65); background: transparent; color: var(--ivory); font-size: .64rem; letter-spacing: .15em; cursor: pointer; }
.intro-enter span { margin-left: 15px; color: var(--gold); }
.intro-enter:hover { background: rgba(255,255,255,.08); }
.intro-corner { position: absolute; bottom: 28px; color: rgba(247,239,223,.42); font-family: var(--serif); font-size: 1.2rem; }
.intro-corner-left { left: 30px; }
.intro-corner-right { right: 30px; }
.intro-skip { position: absolute; top: 23px; right: 25px; border: 0; background: transparent; color: #e9d9be; font-size: .72rem; cursor: pointer; }
@keyframes introRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes symbolTurn { to { transform: rotate(360deg); } }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 50; min-height: 77px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 25px; background: rgba(255,249,239,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.wordmark, .footer-wordmark { color: var(--garnet); font-family: var(--serif); font-size: 2.7rem; font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 43px); }
.desktop-nav a { position: relative; padding: 8px 0; color: #65564b; font-size: .75rem; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--page-colour); }
.desktop-nav a.active::after { position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--page-colour); content: ""; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-link { display: flex; align-items: center; gap: 6px; font-size: .73rem; white-space: nowrap; }
.header-link:first-child { font-size: 1.1rem; }
.header-label { font-size: .73rem; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; font-size: 1.2rem; cursor: pointer; }
.mobile-menu { position: fixed; z-index: 49; top: 77px; left: 0; right: 0; padding: 10px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgba(40,24,16,.08); }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.45rem; }
.mobile-menu a span { color: var(--muted); font-family: var(--sans); font-size: .65rem; }

/* Homepage hero */
.home-hero { position: relative; min-height: 650px; width: 100%; padding: clamp(55px, 8vw, 105px) var(--gutter); display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(30px, 7vw, 95px); overflow: hidden; background: #f0e2cd; }
.hero-copy { position: relative; z-index: 2; max-width: 610px; }
.hero-copy h1 { margin: 0 0 24px; color: var(--garnet); }
.hero-copy h1 em { color: var(--rust); }
.hero-description { max-width: 440px; margin-bottom: 28px; color: #69594d; font-size: .91rem; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero-note { display: flex; align-items: center; gap: 13px; margin-top: 48px; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.note-star { color: var(--rust); font-size: 1.9rem; }
.hero-art { position: relative; width: 100%; max-width: 510px; justify-self: center; }
.art-frame { position: relative; min-height: 470px; aspect-ratio: .85; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(100,31,42,.28); background: #8c2f32; color: var(--ivory); box-shadow: 14px 14px 0 rgba(100,31,42,.07); }
.art-frame::before, .art-frame::after { position: absolute; inset: 15px; border: 1px solid rgba(198,161,91,.6); content: ""; pointer-events: none; }
.art-frame::after { inset: 24px; border-style: dashed; opacity: .55; }
.art-orbit { position: absolute; width: 76%; aspect-ratio: 1; border: 1px solid rgba(198,161,91,.68); border-radius: 50%; }
.orbit-one { transform: scaleY(.53) rotate(35deg); }
.orbit-two { transform: scaleY(.53) rotate(-35deg); }
.art-flower { position: relative; z-index: 1; color: var(--gold); font-size: clamp(8rem, 20vw, 15rem); line-height: 1; text-shadow: 0 0 45px rgba(198,161,91,.16); }
.art-caption { position: absolute; z-index: 2; color: #f0dfbd; font-size: .63rem; letter-spacing: .24em; }
.art-caption-top { top: 18%; }
.art-caption-bottom { bottom: 18%; }
.art-stamp { position: absolute; right: 12%; bottom: 11%; display: grid; place-content: center; width: 65px; height: 65px; border: 1px solid var(--gold); border-radius: 50%; text-align: center; font-family: var(--serif); font-size: 1.6rem; line-height: .8; }
.art-stamp small { margin-top: 6px; font-family: var(--sans); font-size: .35rem; letter-spacing: .1em; }
.image-note { margin: 16px 0 0; text-align: center; }
.hero-side-note { position: absolute; right: 16px; bottom: 42px; writing-mode: vertical-rl; font-size: .55rem; letter-spacing: .17em; color: #806d5c; }
.marquee-strip { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 12px 22px; padding: 18px var(--gutter); background: var(--garnet); color: var(--ivory); font-size: .6rem; font-weight: 600; letter-spacing: .17em; }
.marquee-strip i { color: var(--gold); font-style: normal; }
.collection-section { padding-top: 100px; padding-bottom: 100px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.product-card { min-width: 0; }
.product-visual { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center; overflow: hidden; background: #e6d7c0; color: var(--garnet); }
.product-visual::before { position: absolute; inset: 10px; border: 1px solid rgba(100,31,42,.2); content: ""; pointer-events: none; }
.product-visual.tone-1 { background: #d8ded2; color: var(--indigo); }
.product-visual.tone-2 { background: #e9cfc0; color: var(--garnet); }
.product-visual.tone-3 { background: #d8d0b7; color: var(--mehndi); }
.product-visual.tone-4 { background: #ead9c0; color: var(--rust); }
.product-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.product-card:hover .product-visual img { transform: scale(1.04); }
.product-visual .visual-mark { font-family: var(--serif); font-size: clamp(3rem, 7vw, 6rem); opacity: .68; }
.product-visual .visual-caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: .5rem; letter-spacing: .16em; }
.product-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 8px; background: var(--paper); color: var(--garnet); font-size: .55rem; letter-spacing: .07em; }
.wish-button { position: absolute; z-index: 3; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,249,239,.95); font-size: 1.35rem; cursor: pointer; }
.wish-button.is-saved { background: var(--garnet); color: white; }
.product-card-info { padding: 13px 2px 0; }
.product-card-category { margin-bottom: 3px; color: var(--muted); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.product-card-name { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.product-card-price { color: var(--garnet); font-size: .76rem; font-weight: 600; }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.product-card-foot a { font-size: .68rem; border-bottom: 1px solid var(--line); }
.product-card-foot button { padding: 6px 0; border: 0; background: transparent; color: var(--page-colour); font-size: .68rem; font-weight: 600; cursor: pointer; }

/* Story band and homepage navigation cards */
.story-band { position: relative; display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 35px; padding: clamp(55px, 8vw, 100px) var(--gutter); overflow: hidden; background: var(--garnet); color: var(--ivory); }
.story-band-mark { display: grid; place-items: center; min-height: 270px; border: 1px solid rgba(198,161,91,.5); color: var(--gold); font-family: var(--serif); font-size: clamp(4rem, 10vw, 8rem); }
.story-band-copy { position: relative; z-index: 1; max-width: 570px; }
.story-band-copy .eyebrow { color: var(--gold); }
.story-band-copy h2 { margin: 0 0 20px; }
.story-band-copy h2 em { color: #e5cda4; }
.story-band-copy p:not(.eyebrow) { max-width: 450px; margin-bottom: 25px; color: #eadcc8; }
.story-band-decoration { position: absolute; right: -35px; bottom: -140px; color: rgba(198,161,91,.09); font-size: 26rem; line-height: 1; }
.explore-section { padding-top: 100px; padding-bottom: 100px; }
.explore-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.explore-card { position: relative; min-height: 225px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.explore-card:hover { transform: translateY(-4px); box-shadow: 0 14px 25px rgba(40,24,16,.07); }
.explore-shop { background: #e7ddd0; }
.explore-story { background: #e0e5d8; }
.explore-saved { background: #ead7d5; }
.explore-contact { background: #eedac8; }
.explore-number { font-size: .58rem; font-weight: 700; letter-spacing: .12em; }
.explore-icon { position: absolute; top: 15px; right: 18px; color: var(--page-colour); font-size: 1.4rem; }
.explore-card h3 { margin: 24px 0 0; font-size: 1.8rem; }
.explore-card p { margin: 4px 0 0; color: var(--muted); font-size: .72rem; }
.closing-note { padding: 70px 20px; display: grid; justify-items: center; text-align: center; background: #eee2cf; }
.closing-note > span { color: var(--rust); font-size: 1.7rem; }
.closing-note p { margin: 18px 0; font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.05; }
.closing-note a { font-size: .63rem; font-weight: 700; letter-spacing: .15em; }

/* Inner-page heroes */
.page-hero { position: relative; min-height: 280px; padding: 75px var(--gutter); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.page-hero h1 { max-width: 900px; margin: 0 0 18px; color: var(--page-colour); font-size: clamp(3rem, 7vw, 5.7rem); }
.page-hero > p:not(.eyebrow) { max-width: 570px; margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.page-hero-symbol { position: absolute; right: 8%; bottom: -55px; color: var(--page-colour); opacity: .08; font-size: 16rem; line-height: 1; }
.shop-page-hero { background: #dfe3dc; }
.simple-page-hero { background: #eee0d5; }
.contact-page-hero { background: #ead4c0; }
.shop-section { padding-top: 45px; }
.shop-toolbar { display: flex; justify-content: space-between; gap: 14px; }
.search-field { display: flex; align-items: center; gap: 10px; width: min(440px, 100%); padding: 0 13px; border: 1px solid var(--line); background: var(--paper); }
.search-field > span { color: var(--page-colour); font-size: 1.5rem; }
.search-field input { width: 100%; min-height: 47px; border: 0; outline: 0; background: transparent; }
.select-field select, .full-select, .order-form input, .order-form textarea, .contact-form input, .contact-form textarea, .contact-form select { width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); }
.select-field select { min-width: 180px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 23px 0 10px; }
.filter-button { padding: 9px 15px; border: 1px solid var(--line); border-radius: 30px; background: transparent; font-size: .7rem; cursor: pointer; }
.filter-button.active, .filter-button:hover { border-color: var(--page-colour); background: var(--page-colour); color: white; }
.result-count { color: var(--muted); font-size: .7rem; }

/* Product detail */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px var(--gutter) 0; color: var(--muted); font-size: .7rem; }
.product-detail { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: clamp(35px, 7vw, 95px); padding-top: 40px; }
.product-main-visual { position: relative; min-height: 440px; aspect-ratio: .85; display: grid; place-items: center; overflow: hidden; background: #e4d5bd; color: var(--garnet); }
.product-main-visual::before { position: absolute; inset: 16px; border: 1px solid rgba(100,31,42,.25); content: ""; }
.product-main-visual .visual-mark { font-family: var(--serif); font-size: clamp(7rem, 17vw, 13rem); opacity: .6; }
.product-main-visual .visual-caption { position: absolute; bottom: 28px; font-size: .62rem; letter-spacing: .15em; }
.product-info { padding-top: 15px; }
.product-info h1 { margin: 0 0 15px; color: var(--garnet); font-size: clamp(2.8rem, 5vw, 4.5rem); }
.product-price { margin-bottom: 20px; color: var(--garnet); font-weight: 700; }
.product-description { color: var(--muted); font-size: .88rem; line-height: 1.9; }
.product-divider { height: 1px; margin: 23px 0; background: var(--line); }
.field-label { display: block; margin: 18px 0 7px; font-size: .73rem; font-weight: 700; }
.full-select { margin-bottom: 3px; }
.quantity-control { display: inline-flex; align-items: center; min-height: 42px; border: 1px solid var(--line); }
.quantity-control button { width: 42px; height: 42px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; }
.quantity-control output { min-width: 34px; text-align: center; }
.product-assurance { margin: 22px 0; color: var(--muted); font-size: .73rem; }
.product-assurance a { color: var(--page-colour); text-decoration: underline; }
.detail-accordion { border-top: 1px solid var(--line); }
.detail-accordion:last-child { border-bottom: 1px solid var(--line); }
.detail-accordion summary { display: flex; justify-content: space-between; padding: 16px 0; font-size: .78rem; font-weight: 600; cursor: pointer; list-style: none; }
.detail-accordion summary::-webkit-details-marker { display: none; }
.detail-accordion p { color: var(--muted); font-size: .78rem; }
.related-section { padding-top: 20px; }
.product-toast { position: fixed; z-index: 150; right: 20px; bottom: 20px; max-width: min(350px, calc(100vw - 40px)); padding: 14px 18px; background: var(--garnet); color: white; box-shadow: 0 8px 25px #0002; font-size: .8rem; }

/* Empty states, cart and wishlist */
.saved-section, .cart-section { padding-top: 45px; }
.empty-state { padding: 55px 20px; text-align: center; border: 1px dashed var(--line); }
.empty-symbol { display: block; margin-bottom: 12px; color: var(--page-colour); font-family: var(--serif); font-size: 4rem; }
.empty-state h2 { margin-bottom: 12px; font-size: 2.7rem; }
.empty-state p { max-width: 420px; margin: 0 auto 22px; color: var(--muted); font-size: .83rem; }
.cart-layout { display: grid; grid-template-columns: 1.5fr .8fr; align-items: start; gap: 45px; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 17px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item-art { min-height: 130px; display: grid; place-items: center; background: #e6d7c0; color: var(--garnet); font-family: var(--serif); font-size: 3rem; }
.cart-item-name { margin: 0 0 5px; font-family: var(--serif); font-size: 1.45rem; }
.cart-item-meta { color: var(--muted); font-size: .7rem; }
.cart-item-price { font-size: .78rem; font-weight: 700; white-space: nowrap; }
.cart-item-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.cart-item-actions button, .cart-item-actions a { padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: .68rem; cursor: pointer; }
.cart-summary { position: sticky; top: 100px; padding: 26px; background: var(--paper); border: 1px solid var(--line); }
.cart-summary h2 { margin-bottom: 25px; font-size: 2.7rem; }
.summary-line { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .76rem; }
.summary-line > span:last-child { text-align: right; }
.summary-total { margin-top: 8px; font-size: .87rem; }
.summary-total strong { color: var(--garnet); font-size: 1.2rem; }
.checkout-note { text-align: center; }
.order-form-wrap { max-width: 650px; margin: 50px auto 0; padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.order-form-wrap h2 { margin-bottom: 12px; }
.order-form-wrap > p:not(.eyebrow) { color: var(--muted); font-size: .8rem; }
.order-form textarea, .contact-form textarea { resize: vertical; }
.order-form input:focus, .order-form textarea:focus, .contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 1px solid var(--page-colour); outline-offset: 1px; }

/* Story page */
.story-hero { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(30px, 7vw, 85px); align-items: center; padding: 75px var(--gutter); }
.story-hero-copy { max-width: 600px; }
.story-hero-copy h1 { margin: 0 0 22px; color: var(--mehndi); }
.story-hero-copy > p:not(.eyebrow) { max-width: 470px; margin-bottom: 26px; color: var(--muted); line-height: 1.9; }
.story-hero-art { position: relative; min-height: 430px; display: grid; place-items: center; overflow: hidden; background: var(--mehndi); color: var(--ivory); }
.story-hero-art::before { position: absolute; inset: 15px; border: 1px solid rgba(247,239,223,.5); content: ""; }
.story-art-symbol { color: var(--gold); font-size: clamp(8rem, 18vw, 14rem); }
.story-art-word { position: absolute; font-family: var(--serif); font-size: 5rem; }
.story-art-caption { position: absolute; bottom: 35px; font-size: .55rem; letter-spacing: .17em; }
.story-principles { padding-top: 60px; }
.story-principles > h2 { margin-bottom: 45px; }
.story-principles h2 em, .story-note h2 em { color: var(--mehndi); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.principle-grid article { padding: 25px 0; border-top: 1px solid var(--line); }
.principle-grid article > span { color: var(--mehndi); font-size: .65rem; letter-spacing: .12em; }
.principle-grid h3 { margin: 24px 0 10px; }
.principle-grid p { color: var(--muted); font-size: .8rem; }
.story-quote { padding: 75px var(--gutter); background: #dfe5d7; text-align: center; }
.story-quote > span { color: var(--mehndi); font-size: 2rem; }
.story-quote blockquote { max-width: 850px; margin: 18px auto; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.12; }
.story-quote > p { color: var(--mehndi); font-size: .6rem; letter-spacing: .17em; }
.story-note { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.story-note > div:last-child { padding-top: 10px; }
.story-note > div:last-child p { color: var(--muted); line-height: 1.9; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(35px, 7vw, 90px); align-items: start; }
.contact-copy h2 { color: var(--rust); }
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: .85rem; line-height: 1.9; }
.contact-detail { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-detail > span { color: var(--rust); font-size: .65rem; }
.contact-detail h3 { margin: 0 0 4px; font-size: 1.35rem; }
.contact-detail p { margin: 0; color: var(--muted); font-size: .75rem; }
.contact-form { padding: clamp(22px, 4vw, 40px); background: var(--paper); border: 1px solid var(--line); }
.contact-form .field-label:first-child { margin-top: 0; }
.contact-bottom { padding: 55px 20px; background: #ead4c0; text-align: center; }
.contact-bottom > span { color: var(--rust); font-size: 1.8rem; }
.contact-bottom h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.contact-bottom h2 em { color: var(--rust); }
.contact-bottom > a { font-size: .68rem; font-weight: 700; letter-spacing: .1em; }

/* Footer */
.site-footer { padding: 55px var(--gutter) 0; background: #342620; color: var(--paper); }
.footer-main { width: min(var(--content), 100%); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 35px; padding-bottom: 45px; }
.footer-wordmark { color: var(--ivory); font-size: 3.3rem; }
.footer-main p { max-width: 240px; margin: 14px 0 0; color: #cbbca9; font-size: .75rem; }
.footer-main h3 { margin: 0 0 16px; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-main > div > a:not(.footer-wordmark) { color: #dfd1c0; font-size: .73rem; }
.footer-main > div > a:hover { color: var(--gold); }
.footer-bottom { width: min(var(--content), 100%); margin: 0 auto; padding: 18px 0; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid rgba(255,255,255,.16); color: #cbbca9; font-size: .62rem; }
.footer-bottom a { color: var(--ivory); }

/* Responsive layouts */
@media (min-width: 1500px) { .home-hero { padding-inline: max(var(--gutter), calc((100vw - var(--content)) / 2)); } }
@media (max-width: 1000px) {
  .desktop-nav { gap: 18px; }
  .header-actions { gap: 11px; }
  .header-label { display: none; }
  .home-hero { gap: 35px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .site-header { min-height: 68px; gap: 10px; }
  .wordmark { font-size: 2.45rem; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .mobile-menu { top: 68px; }
  .header-actions { margin-left: auto; gap: 12px; }
  .header-link { font-size: .68rem; }
  .header-label { display: none; }
  .home-hero { grid-template-columns: 1fr; gap: 38px; padding-top: 55px; padding-bottom: 60px; }
  .hero-copy h1 { font-size: clamp(3.4rem, 14vw, 5.6rem); }
  .hero-description { font-size: .84rem; }
  .hero-note { margin-top: 28px; }
  .hero-art { width: min(100%, 430px); }
  .art-frame { min-height: 370px; }
  .hero-side-note { display: none; }
  .marquee-strip { justify-content: center; gap: 10px 14px; font-size: .52rem; }
  .marquee-strip span:nth-of-type(n+3) { display: none; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .collection-section, .explore-section { padding-top: 65px; padding-bottom: 65px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; }
  .product-card-name { font-size: 1.2rem; }
  .product-visual .visual-mark { font-size: 5rem; }
  .product-card-foot { align-items: flex-start; flex-direction: column; }
  .story-band { grid-template-columns: 1fr; gap: 28px; }
  .story-band-mark { min-height: 160px; }
  .story-band-copy h2 { font-size: 3.2rem; }
  .explore-grid { gap: 10px; }
  .explore-card { min-height: 185px; padding: 16px; }
  .explore-card h3 { font-size: 1.5rem; }
  .explore-card p { font-size: .67rem; }
  .page-hero { min-height: 260px; padding-top: 55px; padding-bottom: 55px; }
  .shop-toolbar { flex-direction: column; }
  .search-field, .select-field select { width: 100%; }
  .product-detail { grid-template-columns: 1fr; gap: 25px; padding-top: 25px; }
  .product-main-visual { min-height: 350px; }
  .product-info { padding-top: 0; }
  .cart-layout { grid-template-columns: 1fr; gap: 30px; }
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 85px minmax(0,1fr); gap: 13px; }
  .cart-item-art { min-height: 110px; }
  .cart-item-price { grid-column: 2; }
  .story-hero { grid-template-columns: 1fr; padding-top: 50px; padding-bottom: 55px; }
  .story-hero-art { min-height: 320px; }
  .principle-grid { grid-template-columns: 1fr; gap: 8px; }
  .principle-grid h3 { margin-top: 12px; }
  .story-note { grid-template-columns: 1fr; gap: 12px; }
  .contact-layout { grid-template-columns: 1fr; gap: 25px; }
  .contact-form { padding: 22px; }
  .footer-main { gap: 30px 20px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  :root { --gutter: 17px; }
  .announcement { font-size: .53rem; letter-spacing: .12em; }
  .header-actions { gap: 8px; }
  .header-link { gap: 3px; font-size: .62rem; }
  .header-link:first-child { font-size: 1rem; }
  .count { min-width: 17px; height: 17px; font-size: .58rem; }
  .menu-toggle { width: 36px; height: 36px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-art .art-frame { min-height: 320px; }
  .product-visual .visual-caption { font-size: .42rem; }
  .product-card-category { font-size: .5rem; }
  .product-card-name { font-size: 1.08rem; }
  .explore-card { min-height: 175px; padding: 12px; }
  .explore-card h3 { font-size: 1.32rem; }
  .explore-number { font-size: .49rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { font-size: .57rem; }
  .intro-corner-left { left: 17px; }
  .intro-corner-right { right: 17px; }
  .intro-skip { top: 17px; right: 16px; }
  .order-form-wrap { padding: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* KALI EDITORIAL TEXTILE REVEAL */
.intro-screen {
  --intro-ivory: var(--ivory);
  --intro-wine: var(--garnet);
  --intro-gold: var(--gold);
  position: fixed !important;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  background: var(--intro-ivory);
  color: var(--ink);
  opacity: 1;
  visibility: visible;
  transition: opacity .75s ease, visibility .75s ease;
  isolation: isolate;
}
.intro-screen.intro-leaving {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}
.intro-screen *, .intro-screen *::before, .intro-screen *::after {
  box-sizing: border-box;
}
.intro-curtain {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 51%;
  background-color: var(--intro-wine);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 24px, #c6a15b12 25px 26px, transparent 27px 48px),
    repeating-linear-gradient(0deg, transparent 0 8px, #f7efdf0b 9px 10px);
  transform: scaleX(1);
  animation: kaliCurtainReveal 1.35s cubic-bezier(.77, 0, .18, 1) 1.05s forwards;
  will-change: transform;
}
.intro-curtain::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--intro-gold);
  opacity: .9;
}
.intro-curtain-left {
  left: 0;
  transform-origin: left center;
  border-right: 1px solid #c6a15b70;
}
.intro-curtain-left::after { right: 0; }
.intro-curtain-right {
  right: 0;
  transform-origin: right center;
  border-left: 1px solid #c6a15b70;
}
.intro-curtain-right::after { left: 0; }

.intro-editorial-border {
  position: absolute;
  z-index: 5;
  left: clamp(24px, 6vw, 90px);
  right: clamp(24px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--intro-wine);
  opacity: 0;
  animation: kaliBorderAppear .7s ease 2.05s forwards;
}
.intro-border-top { top: clamp(26px, 6vh, 62px); }
.intro-border-bottom { bottom: clamp(26px, 6vh, 62px); }
.intro-border-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--intro-gold), var(--intro-wine));
  transform: scaleX(0);
  animation: kaliLineReveal .8s ease 2.1s forwards;
}
.intro-border-line:last-child {
  background: linear-gradient(90deg, var(--intro-wine), var(--intro-gold), transparent);
}
.intro-border-diamond {
  color: var(--intro-gold);
  font-size: 19px;
}
.intro-border-caption {
  font-size: 8px;
  letter-spacing: .2em;
  text-align: center;
  white-space: nowrap;
}

.intro-editorial-content {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  animation: kaliWordmarkReveal 1s cubic-bezier(.2, .7, .2, 1) 1.9s forwards;
}
.intro-eyebrow {
  margin: 0 0 20px;
  color: var(--mehndi);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .3em;
}
.intro-motif {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin: 0 auto 8px;
}
.intro-motif span {
  width: 28px;
  height: 1px;
  background: var(--intro-gold);
}
.intro-motif i {
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid var(--intro-gold);
  transform: rotate(45deg);
}
.intro-logo {
  margin: 0;
  color: var(--intro-wine);
  font-family: var(--serif);
  font-size: clamp(100px, 19vw, 190px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -.075em;
  line-height: .83;
}
.intro-subtitle {
  margin: 24px 0 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .26em;
}
.intro-tagline {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 25px);
  font-style: italic;
}
@keyframes kaliCurtainReveal {
  to { transform: scaleX(0); }
}
@keyframes kaliBorderAppear {
  to { opacity: 1; }
}
@keyframes kaliLineReveal {
  to { transform: scaleX(1); }
}
@keyframes kaliWordmarkReveal {
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .intro-screen { padding: 18px; }
  .intro-editorial-border { left: 22px; right: 22px; gap: 10px; }
  .intro-border-top { top: 32px; }
  .intro-border-bottom { bottom: 32px; }
  .intro-border-caption { font-size: 6px; letter-spacing: .12em; }
  .intro-eyebrow { font-size: 8px; letter-spacing: .2em; }
  .intro-subtitle { margin-top: 20px; font-size: 9px; }
  .intro-tagline { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-curtain, .intro-editorial-content,
  .intro-editorial-border, .intro-border-line {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
  }
}

/* HOMEPAGE INTRO VISIBILITY FIX */
body[data-page="home"] #introScreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: grid !important;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
body[data-page="home"] #introScreen.intro-leaving {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#introScreen .intro-curtain {
  animation: kaliCurtainReveal 1.35s cubic-bezier(.77, 0, .18, 1) 1.05s forwards;
}

/* KALI INTRO TIMING REFINEMENT */
#introScreen .intro-curtain {
  animation-duration: .85s;
  animation-delay: .45s;
}
#introScreen .intro-editorial-content {
  animation-delay: .65s;
}
#introScreen .intro-editorial-border {
  animation-delay: .7s;
}
#introScreen .intro-border-line {
  animation-delay: .7s;
}
/* KALI — Desktop and mobile curtain reveal fix */
#introScreen .intro-curtain-left {
  left: 0 !important;
  right: auto !important;
  width: 51% !important;
  transform-origin: left center !important;
  animation: kaliCurtainLeftOpen 0.85s cubic-bezier(.77, 0, .18, 1) 0.45s forwards !important;
}

#introScreen .intro-curtain-right {
  right: 0 !important;
  left: auto !important;
  width: 51% !important;
  transform-origin: right center !important;
  animation: kaliCurtainRightOpen 0.85s cubic-bezier(.77, 0, .18, 1) 0.45s forwards !important;
}

@keyframes kaliCurtainLeftOpen {
  to { transform: scaleX(0); }
}

@keyframes kaliCurtainRightOpen {
  to { transform: scaleX(0); }
}
/* Kali handmade hero photograph */
.home-hero .art-frame-photo {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #8c2f32;
}

.home-hero .art-frame-photo::before,
.home-hero .art-frame-photo::after {
  z-index: 1;
  pointer-events: none;
}

.home-hero .hero-product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

@media (max-width: 760px) {
  .home-hero .art-frame-photo {
    min-height: 0;
  }
}

/* PDP image layout refinement */
.product-gallery {
  min-width: 0;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
}

.product-main-visual {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
  display: block;
  position: relative;
  overflow: hidden;
  background: #e4d5bd;
  border: 0;
  box-shadow: none;
}

.product-main-visual::before {
  content: none;
}

.product-main-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.product-main-visual .visual-mark,
.product-main-visual .visual-caption {
  display: none;
}

.product-gallery .image-note {
  display: none;
}

@media (max-width: 760px) {
  .product-main-visual {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
}

