/* Shared navigation and separate visual identities for Ava's three subsites. */
.site-header{gap:28px;height:auto;min-height:105px;padding-block:24px}
.site-header nav{flex-wrap:wrap;gap:16px 28px}
.site-header nav>a{display:inline-block}
.site-header [aria-current=page]{border-bottom:1px solid currentColor}
.site-header .brand{flex-shrink:0}
.site-header .brand span{letter-spacing:.19em}
.site-footer{gap:28px}
.site-footer nav{flex-wrap:wrap;gap:14px 25px;font-size:12px}
.site-footer .brand span{font-size:8px}
.site-footer>span{font-size:9px}
.portal-intro{text-align:center;padding:65px 24px 48px}
.portal-intro h1{font-size:clamp(58px,6vw,88px);margin:24px 0}
.portal-intro>p:last-child{font-size:14px;max-width:580px;margin:auto}
.world-doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0 6%}
.world-doors.cols-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin-inline:auto}
.world-door{display:block;border:1px solid var(--line);background:#fffaf6;transition:transform .25s,box-shadow .25s}
.world-door:hover{transform:translateY(-5px);box-shadow:0 15px 40px #493b3d15}
.door-image{position:relative;height:clamp(200px,21vw,330px);overflow:hidden}
.door-image img{object-position:center 25%;transition:transform .6s}
.world-door:hover img{transform:scale(1.035)}
.door-image>span{position:absolute;top:18px;left:18px;background:#fffaf6;color:#493b3d;padding:5px 10px;font-size:10px;letter-spacing:.12em}
.door-copy{padding:28px}
.door-copy .eyebrow{font-size:9px;letter-spacing:.13em}
.door-copy h2{font-size:clamp(34px,3.2vw,48px);margin:20px 0;line-height:1}
.door-copy>p:not(.eyebrow){font-size:13px;min-height:66px}
.door-link{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #b18e8e55;padding-top:18px;margin-top:25px;font-size:10px;letter-spacing:.12em}
.door-mistress-velvet{background:#291b24;color:#f6e5e5;border-color:#47303f}
.door-high-end-luxury{background:#ede8dd;border-color:#d3c7b1}
.portal-signature{text-align:center;font-size:42px;padding:45px 20px}
.theme-velvet{--cream:#21171e;--ink:#f4e8e8;--rose:#d3a1b6;--line:#664657;--olive:#775364;background:var(--cream)}
.luxury{--cream:#f3efe5;--ink:#403c30;--rose:#8b754c;--line:#c9bfa8;--olive:#514d3b;background:var(--cream)}
.theme-velvet .gate{--ink:#493b3d;--rose:#a7657c;color:#493b3d}
.theme-velvet .site-header,.theme-velvet footer{border-color:var(--line)}
.theme-velvet footer{background:#1b1319}
.subsite-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:8%;align-items:center;padding:85px 8% 100px}
.subsite-hero h1{font-size:clamp(58px,6vw,92px);margin:30px 0}
.subsite-hero .script{font-size:45px}
.subsite-intro{max-width:450px;margin:28px 0}
.subsite-hero figure img{aspect-ratio:4/5}
.luxury .subsite-hero figure img{border-radius:240px 240px 0 0}
.subsite-hero figcaption{font-size:10px;letter-spacing:.24em;margin-top:18px}
.subsite-story{padding:90px 15%;text-align:center;border-block:1px solid var(--line)}
.subsite-story h2{font-size:clamp(48px,5vw,76px);margin:25px 0}
.subsite-story>p:last-of-type{max-width:560px;margin:auto}
.story-values{display:flex;justify-content:center;flex-wrap:wrap;gap:22px 50px;margin-top:40px;font-size:12px;text-transform:uppercase;letter-spacing:.15em}
.collection-soon{padding:100px 8%;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12%}
.collection-soon h2{font-size:clamp(48px,5vw,76px);margin-top:25px}
.collection-soon p:not(.eyebrow){margin:22px 0}
.collection-soon .text-link{font-size:10px;gap:12px}
.status-label{display:inline-block;border:1px solid var(--line);font-size:10px;letter-spacing:.18em;padding:6px 12px}
.shop-intro{padding:65px 8% 35px}
.shop-intro h1{font-size:clamp(55px,6vw,88px);margin:24px 0 16px}
.shop-intro p:not(.eyebrow){font-size:16px;max-width:680px;line-height:1.6}
.shop-collection{padding:0 8% 100px}

/* Shop filters & headings */
.shop-filter-bar{display:flex;gap:10px;margin-bottom:35px;flex-wrap:wrap;align-items:center}
.shop-filter-btn{border:1px solid var(--line);background:transparent;color:var(--ink);padding:10px 20px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;cursor:pointer;transition:all .2s ease;border-radius:2px}
.shop-filter-btn:hover,.shop-filter-btn.active{background:var(--ink);color:#fffaf6;border-color:var(--ink)}

.shop-section-heading{margin:40px 0 25px;padding-bottom:15px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:15px}
.shop-section-heading h2{font-size:clamp(32px,3.6vw,48px);margin-top:6px}
.shop-section-heading .subtle-count{font-size:11px;letter-spacing:.15em;color:#756368}

.product-card{display:grid;grid-template-columns:1fr 1.1fr;border:1px solid var(--line);background:#fffaf6;max-width:1150px;margin-bottom:45px;box-shadow:0 10px 35px #32362a0d;transition:transform .3s,box-shadow .3s}
.product-card:hover{box-shadow:0 18px 45px #32362a15}
.product-image{position:relative;min-height:580px;overflow:hidden}
.product-image img{position:absolute;object-position:center 25%;transition:transform .6s ease}
.product-card:hover .product-image img{transform:scale(1.03)}
.bundle-badge{position:absolute;top:22px;left:22px;background:#fffaf6;padding:8px 14px;font-size:10px;letter-spacing:.12em;border:1px solid var(--line)}

.product-copy{padding:clamp(24px,4vw,50px)}
.product-copy h2{font-size:54px;margin:18px 0 14px}
.product-copy>p:not(.eyebrow){font-size:14px;line-height:1.6;color:#4a443e}

.tier-selector{border:0;padding:0;margin:24px 0 20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.tier-selector legend{font-size:12px;margin-bottom:10px;letter-spacing:.1em;text-transform:uppercase;color:#756368}
.tier-selector label{cursor:pointer;position:relative}
.tier-selector input{position:absolute;opacity:0;width:1px;height:1px}
.tier-selector span{display:block;text-align:center;border:1px solid var(--line);padding:12px 6px;font-size:12px;letter-spacing:.08em;transition:all .2s ease;border-radius:2px}
.tier-selector input:checked+span{background:var(--ink);color:#fffaf6;border-color:var(--ink);font-weight:500}
.tier-selector input:focus-visible+span{outline:2px solid var(--rose);outline-offset:3px}

.product-price{font:48px var(--serif);line-height:1}
.one-time{font-size:11px;color:#756368;margin-bottom:12px}
.product-features{list-style:none;padding:18px 0;margin:18px 0;border-block:1px solid var(--line);font-size:13px}
.product-features li+li{margin-top:6px}
.product-features li:before{content:'\2713';margin-right:12px;color:var(--rose)}
.product-copy .button{width:100%;justify-content:space-between;gap:15px;padding:18px 24px}
.product-copy .demo-note,.demo-note{font-size:12px;line-height:1.6;color:#756368;margin-top:16px}

/* Upcoming items grid */
.upcoming-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:25px}
.upcoming-card{border:1px solid var(--line);background:#fffaf6;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s;box-shadow:0 8px 25px #32362a08}
.upcoming-card:hover{transform:translateY(-5px);box-shadow:0 15px 35px #32362a14}
.upcoming-card .product-image{min-height:260px;height:260px}
.upcoming-card .product-copy{padding:24px;flex:1;display:flex;flex-direction:column}
.upcoming-card h3{font-size:32px;margin:10px 0 12px;line-height:1.05}
.upcoming-card p{font-size:13px;line-height:1.65;color:#524c45;flex:1}
.upcoming-footer{border-top:1px solid var(--line);padding-top:16px;margin-top:20px;display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.14em;color:#756368}
.cart-feedback{min-height:24px;margin-top:12px}
.cart-nav{border:0;background:transparent;color:inherit;padding:0;font-size:13px}
.cart-nav:hover{text-decoration:underline}
dialog{color:var(--ink);background:#fffaf6;border:1px solid var(--line);padding:30px;width:min(540px,calc(100% - 32px));max-height:85svh;overflow:auto}
dialog::backdrop{background:#21171e99}
.cart-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}
.cart-heading h2{font-size:42px}
.cart-heading button{border:0;background:none;color:inherit;font-size:22px;min-width:44px;min-height:44px}
.cart-row{padding:20px 0;border-bottom:1px solid var(--line)}
.cart-row strong,.cart-row span{display:block}
.cart-row button{border:0;border-bottom:1px solid currentColor;background:none;color:inherit;font-size:12px;padding:0;margin-top:8px}
.cart-total{display:flex;justify-content:space-between;margin:25px 0}
dialog .button{width:100%;font-size:11px;justify-content:center;padding:20px;gap:10px}
dialog .button:disabled{opacity:.4;cursor:default}
#checkout-feedback{font-size:14px;margin-top:20px}
.checkout-form{border-top:1px solid var(--line);padding-top:20px;margin-top:20px;display:flex;flex-direction:column;gap:14px}
.checkout-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;letter-spacing:.06em}
.checkout-form input{border:1px solid var(--line);background:#fffaf6;color:var(--ink);padding:12px 14px;font-size:14px;font-family:inherit}
.checkout-form input:focus-visible{outline:2px solid var(--rose);outline-offset:2px}
.checkout-form small{font-size:11px;color:#756368}
#checkout-error{font-size:13px;color:#a3392f;min-height:18px}
.site-header button:focus-visible{outline:2px solid var(--rose);outline-offset:5px}

@media(max-width:950px){.world-doors{gap:14px;padding:0 4%}
.door-copy{padding:22px 16px}
.door-copy h2{font-size:34px}
.door-copy>p:not(.eyebrow){min-height:88px}
.site-header{padding-inline:5%;gap:18px}
.site-header nav{gap:10px 18px}
.subsite-hero{gap:5%;padding-inline:6%}
.subsite-hero h1{font-size:60px}
.upcoming-grid{grid-template-columns:repeat(2,1fr);gap:20px}
}

@media(max-width:700px){.site-header{display:grid;grid-template-columns:1fr auto;padding:20px 6%;gap:20px}
.site-header .brand{font-size:26px}
.site-header nav{grid-row:2;grid-column:1/-1;font-size:12px;gap:12px 22px}
.site-header .age{grid-column:2;grid-row:1}
.site-header .brand span{font-size:8px}
.portal .site-header{grid-template-columns:1fr auto}
.portal-intro{padding:42px 7% 35px}
.portal-intro h1{font-size:56px}
.desktop-break{display:none}
.world-doors{grid-template-columns:1fr;padding:0 7%;gap:28px}
.world-doors.cols-2{grid-template-columns:1fr;max-width:none}
.door-image{height:280px}
.door-copy{padding:25px}
.door-copy h2{font-size:44px}
.door-copy>p:not(.eyebrow){min-height:0}
.portal-signature{font-size:34px}
.site-footer{padding:35px 7%}
.site-footer nav{display:flex;width:100%;font-size:11px}
.subsite-hero{grid-template-columns:1fr;padding:45px 7% 65px;gap:45px}
.subsite-hero h1{font-size:clamp(50px,12vw,72px)}
.subsite-hero .script{font-size:36px}
.subsite-hero figure{width:90%;margin:auto}
.subsite-story{padding:65px 7%}
.collection-soon{grid-template-columns:1fr;padding:65px 7%;gap:35px}
.shop-intro{padding:40px 7%}
.shop-intro h1{font-size:52px}
.shop-collection{padding:0 7% 65px}
.upcoming-grid{grid-template-columns:1fr;gap:25px}
.product-card{grid-template-columns:1fr}
.product-image{min-height:0;aspect-ratio:4/5}
.product-copy{padding:28px 20px}
.product-copy h2{font-size:49px}
.tier-selector{gap:4px}
.tier-selector span{font-size:11px;padding:12px 3px}
.product-copy .button{font-size:11px;padding:20px}
.cart-heading h2{font-size:36px}
}


.door-vanilla .door-image img{object-position:center top}

.site-footer nav>a{display:inline-block}

/* Mobile hamburger menu: a tap-to-open dropdown instead of nav links wrapping across several rows on phones. */
.menu-toggle{display:none}
@media(max-width:700px){
.site-header{grid-template-columns:1fr auto auto;align-items:center}
.site-header .brand{grid-column:1;grid-row:1}
.menu-toggle{display:grid;grid-column:2;grid-row:1;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);padding:0}
.site-header .age{grid-column:3;grid-row:1}
.menu-bars,.menu-bars:before,.menu-bars:after{content:'';display:block;width:18px;height:1px;background:currentColor;transition:transform .25s ease,opacity .25s ease}
.menu-bars{position:relative}
.menu-bars:before{position:absolute;top:-6px;left:0}
.menu-bars:after{position:absolute;top:6px;left:0}
.menu-toggle[aria-expanded=true] .menu-bars{background:transparent}
.menu-toggle[aria-expanded=true] .menu-bars:before{top:0;transform:rotate(45deg)}
.menu-toggle[aria-expanded=true] .menu-bars:after{top:0;transform:rotate(-45deg)}
.site-header nav{display:none;grid-column:1/-1;grid-row:2;flex-direction:column;align-items:stretch;gap:2px;width:100%;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.site-header nav.is-open{display:flex}
.site-header nav>a,.site-header nav>button{display:block;width:100%;text-align:left;padding:12px 2px;font-size:13px}
}

/* Vanilla shop product cards use the same three-column layout across categories. */
.vanilla-shop .shop-available-section{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.vanilla-shop .shop-available-section>.shop-section-heading{grid-column:1/-1;margin-bottom:0}
.vanilla-shop .product-card{grid-template-columns:minmax(0,1fr);max-width:none;margin:0}
.vanilla-shop .product-card .product-image{min-height:0;aspect-ratio:4/3}
.vanilla-shop .product-card .product-copy h2{font-size:clamp(28px,2.4vw,40px)}
@media(max-width:950px){
  .vanilla-shop .shop-available-section,.vanilla-shop .upcoming-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .vanilla-shop .shop-available-section,.vanilla-shop .upcoming-grid{grid-template-columns:1fr}
}
