/* Trendi Tots Boutique. Colors and type follow the brand book in /brand-kit. */
:root {
  --blush: #F4C2C9; --cocoa: #6B4E3D; --cream: #FBF6F0; --petal: #FCE9EB; --rose: #DC8C9C; --latte: #D9BCA3; --sage: #A8AD8B;
  --white: #FFFDFA; --cocoa-soft: #8A6F5F;
  --bg-petal: #FCE9EB; --bg-cream: #F6EEE4; --bg-sky: #DCEAF4; --bg-butter: #FBF1CF; --bg-mint: #E3EFE2; --bg-lav: #EFE8F7;
  --display: "Playfair Display", Georgia, serif; --body: "Lato", Arial, sans-serif;
  --wrap: 1180px; --scallop: 44px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--cream); color: var(--cocoa); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cocoa); color: var(--cream); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.caps { font: 700 12.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--cocoa); color: var(--cream); border: 2px solid var(--cocoa);
  padding: 15px 30px; border-radius: 999px; font: 700 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--rose); border-color: var(--rose); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--cocoa); }
.btn.ghost:hover { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }
.btn.small { padding: 11px 18px; font-size: 11.5px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link { font: 700 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--blush); padding-bottom: 6px; transition: border-color .2s; }
.link:hover { border-color: var(--cocoa); }

/* announcement + header */
.announce { background: var(--cocoa); color: var(--cream); text-align: center; padding: 10px 16px; font: 700 11.5px/1.3 var(--body); letter-spacing: .22em; text-transform: uppercase; }
.header { position: sticky; top: 0; z-index: 40; background: var(--cream); box-shadow: 0 1px 0 rgba(107, 78, 61, .1); }
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 16px 0 14px; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav.right { justify-content: flex-end; }
.nav a, .bagbtn { font: 700 12.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; background: none; border: 0; padding: 8px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.brand img { height: 54px; width: auto; }
.brand img.bowmark { height: 40px; margin: 7px 0; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img.bowmark { transform: rotate(-10deg) scale(1.08); }
.bagbtn { display: inline-flex; align-items: center; gap: 9px; }
.bagcount { background: var(--blush); min-width: 24px; height: 24px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 11.5px; letter-spacing: 0; padding: 0 6px; transition: transform .25s; }
.bagcount.bump { transform: scale(1.35); }
.menubtn { display: none; background: none; border: 0; padding: 8px; }
.menubtn svg { width: 26px; height: 26px; }
/* the striped awning that hangs under the header */
.awning { height: 46px; background: repeating-linear-gradient(90deg, var(--blush) 0 var(--scallop), var(--white) var(--scallop) calc(var(--scallop) * 2));
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--scallop) / 2 + 1px) no-repeat, radial-gradient(circle at 50% 0, #000 calc(var(--scallop) / 2 - .5px), transparent calc(var(--scallop) / 2 + .5px)) 0 100% / var(--scallop) calc(var(--scallop) / 2) repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--scallop) / 2 + 1px) no-repeat, radial-gradient(circle at 50% 0, #000 calc(var(--scallop) / 2 - .5px), transparent calc(var(--scallop) / 2 + .5px)) 0 100% / var(--scallop) calc(var(--scallop) / 2) repeat-x; }
.awning-shadow { filter: drop-shadow(0 4px 5px rgba(107, 78, 61, .16)); position: relative; z-index: 3; }

/* hero: the dress rail */
.hero { text-align: center; padding: 54px 0 0; position: relative; overflow: hidden; }
.hero-lockup { display: flex; align-items: center; justify-content: center; gap: clamp(26px, 4.5vw, 64px); }
.hero-cameo { height: clamp(210px, 25vw, 340px); width: auto; flex: none; filter: drop-shadow(0 12px 12px rgba(107, 78, 61, .16)); animation: settle 1.1s cubic-bezier(.3, .8, .3, 1) both; }
.hero-text { text-align: left; }
.hero-name img { width: min(640px, 50vw); }
.hero .sub { font-size: clamp(17px, 1.8vw, 21px); text-wrap: balance; max-width: 27em; margin: 22px 0 26px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
@keyframes settle { 0% { opacity: 0; transform: rotate(-7deg) scale(.92); } 60% { opacity: 1; transform: rotate(2deg) scale(1.01); } 100% { transform: none; } }
.rail { position: relative; margin: 58px auto 0; width: min(1240px, 100%); padding: 0 3%; perspective: 1200px; }
.rail::before { content: ""; position: absolute; left: 1.5%; right: 1.5%; top: 17px; height: 7px; border-radius: 9px; background: var(--cocoa); box-shadow: 0 3px 0 rgba(107, 78, 61, .18); }
.rail::after { content: ""; position: absolute; left: calc(1.5% - 7px); right: calc(1.5% - 7px); top: 11px; height: 19px;
  background: radial-gradient(circle at 9.5px 50%, var(--cocoa) 9px, transparent 10px) left / 20px 100% no-repeat, radial-gradient(circle at calc(100% - 9.5px) 50%, var(--cocoa) 9px, transparent 10px) right / 20px 100% no-repeat; }
.rail ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5%; position: relative; z-index: 2; }
.rail a { display: block; text-decoration: none; transform-origin: 50% 5%; animation: hang 1.5s cubic-bezier(.3, .7, .3, 1) both; animation-delay: calc(var(--i) * 120ms + 150ms); }
.rail img { width: 100%; filter: drop-shadow(0 10px 8px rgba(107, 78, 61, .13)); transform-origin: 50% 5%; }
.rail a:hover img, .rail a:focus-visible img { animation: sway 1.1s ease-in-out; }
.rail a.twirl img { animation: twirl 1s cubic-bezier(.45, .05, .3, 1); }
.rail .name { display: block; font: italic 400 18px/1.2 var(--display); margin-top: 4px; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.rail a:hover .name, .rail a:focus-visible .name { opacity: 1; transform: none; }
.twirlbtn { margin: 6px auto 0; background: none; border: 0; font: italic 400 19px/1 var(--display); display: inline-flex; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 2px dashed var(--rose); }
.twirlbtn img { width: 26px; transition: transform .6s; }
.twirlbtn:hover img { transform: rotate(180deg); }
.floor { height: 70px; margin-top: 26px; background: var(--blush);
  -webkit-mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--scallop) / 2 + 1px) no-repeat, radial-gradient(circle at 50% 100%, #000 calc(var(--scallop) / 2 - .5px), transparent calc(var(--scallop) / 2 + .5px)) 0 0 / var(--scallop) calc(var(--scallop) / 2) repeat-x;
          mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--scallop) / 2 + 1px) no-repeat, radial-gradient(circle at 50% 100%, #000 calc(var(--scallop) / 2 - .5px), transparent calc(var(--scallop) / 2 + .5px)) 0 0 / var(--scallop) calc(var(--scallop) / 2) repeat-x; }
@keyframes hang { 0% { opacity: 0; transform: translateY(-34px) rotate(-11deg); } 22% { opacity: 1; } 40% { transform: translateY(0) rotate(7deg); } 62% { transform: rotate(-4deg); } 82% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
@keyframes sway { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(4deg); } 70% { transform: rotate(-3deg); } }
@keyframes twirl { 0% { transform: rotateY(0) rotate(0); } 50% { transform: rotateY(180deg) rotate(3deg); } 100% { transform: rotateY(360deg) rotate(0); } }

/* sections */
.section { padding: 84px 0; }
.section.blush { background: var(--blush); }
.section.tight-top { padding-top: 40px; }
.head { text-align: center; margin-bottom: 44px; }
.head h2 { font-size: clamp(32px, 4.4vw, 50px); }
.head p { margin: 12px auto 0; max-width: 34em; color: var(--cocoa-soft); }
.scallop-down, .scallop-up { height: calc(var(--scallop) / 2); background: var(--blush); }
.scallop-down { -webkit-mask: radial-gradient(circle at 50% 0, #000 calc(var(--scallop) / 2 - .5px), transparent calc(var(--scallop) / 2 + .5px)) 0 0 / var(--scallop) calc(var(--scallop) / 2) repeat-x; mask: radial-gradient(circle at 50% 0, #000 calc(var(--scallop) / 2 - .5px), transparent calc(var(--scallop) / 2 + .5px)) 0 0 / var(--scallop) calc(var(--scallop) / 2) repeat-x; }
.scallop-up { -webkit-mask: radial-gradient(circle at 50% 100%, #000 calc(var(--scallop) / 2 - .5px), transparent calc(var(--scallop) / 2 + .5px)) 0 0 / var(--scallop) calc(var(--scallop) / 2) repeat-x; mask: radial-gradient(circle at 50% 100%, #000 calc(var(--scallop) / 2 - .5px), transparent calc(var(--scallop) / 2 + .5px)) 0 0 / var(--scallop) calc(var(--scallop) / 2) repeat-x; }

/* occasions */
.occasions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.occasions a { display: block; text-align: center; text-decoration: none; }
.medal { width: min(190px, 100%); aspect-ratio: 1; margin: 0 auto 14px; background: url(../img/medallion.svg) center / contain no-repeat; display: grid; place-items: center; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.medal img { width: 42%; }
.occasions a:hover .medal { transform: rotate(-8deg) scale(1.05); }
.occasions b { display: block; font: 400 23px/1.2 var(--display); }
.occasions span { color: var(--cocoa-soft); font-size: 15px; }

/* product grid */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 26px; }
.card { position: relative; display: flex; flex-direction: column; }
.card .frame { display: block; position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; background: var(--bg, var(--bg-petal)); overflow: hidden; }
.card .frame::after { content: ""; position: absolute; inset: 9px; border-radius: inherit; border: 1.6px dashed rgba(107, 78, 61, .32); pointer-events: none; }
.card .frame img { position: absolute; left: 14%; width: 72%; top: 13%; transform-origin: 50% 5%; filter: drop-shadow(0 8px 6px rgba(107, 78, 61, .12)); }
.card .frame img.bow { top: 24%; }
.card:hover .frame img { animation: sway 1.1s ease-in-out; }
.card .tag { position: absolute; left: 50%; top: -11px; transform: translateX(-50%); background: var(--white); border: 1.6px solid var(--cocoa); border-radius: 999px; padding: 6px 13px; font: 700 10.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; z-index: 2; }
.card .tag.holiday { background: #B8485C; border-color: #B8485C; color: #fff; }
.card .info { text-align: center; padding: 16px 4px 0; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 23px; }
.card h3 a { text-decoration: none; }
.card h3 a::before { content: ""; position: absolute; inset: 0 0 60px; }
.card .fabric { font-size: 14.5px; color: var(--cocoa-soft); margin: 4px 0 10px; line-height: 1.4; }
.card .row { display: flex; align-items: center; justify-content: center; gap: 14px; position: relative; z-index: 2; margin-top: auto; }
.card .price { font: 700 16px/1 var(--body); }
.center { text-align: center; }
.mt { margin-top: 46px; }

/* story band */
.story { display: grid; grid-template-columns: 0.85fr 1fr; gap: 6%; align-items: center; }
.story .pic { position: relative; text-align: center; }
.story .pic img.cameo { width: min(470px, 92%); margin: 0 auto; filter: drop-shadow(0 12px 12px rgba(107, 78, 61, .18)); }
.story .pic .f { position: absolute; width: 46px; }
.story h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 20px; }
.story p { max-width: 33em; }
.story .tagline { font: italic 400 30px/1.2 var(--display); margin: 24px 0; }

/* wrapped like a gift */
.gift { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; }
.gift h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 18px; }
.gift ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; }
.gift li { counter-increment: s; display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1.6px dashed rgba(107, 78, 61, .25); }
.gift li::before { content: counter(s); font: italic 400 28px/1 var(--display); color: var(--rose); }
.stack { position: relative; aspect-ratio: 1 / .92; }
.stack > * { position: absolute; box-shadow: 0 14px 26px rgba(107, 78, 61, .2); border-radius: 6px; }
.stack .tissue { inset: 6% 10% 8% 4%; background: url(../img/pattern-bows-on-cream.svg) 0 0 / 150px; border-radius: 10px; transform: rotate(-4deg); }
.stack .cardimg { width: 44%; right: 2%; top: 0; transform: rotate(7deg); }
.stack .tagimg { width: 22%; left: 12%; bottom: 2%; transform: rotate(-11deg); }
.stack .sticker { width: 30%; left: 34%; top: 36%; border-radius: 50%; transform: rotate(-6deg); }

/* newsletter */
.news { background: url(../img/pattern-gingham-blush.svg) 0 0 / 96px; padding: 80px 0; }
.newscard { background: var(--cream); max-width: 720px; margin: 0 auto; text-align: center; padding: 50px 34px; border-radius: 22px; position: relative; box-shadow: 0 16px 34px rgba(107, 78, 61, .14); }
.newscard::after { content: ""; position: absolute; inset: 11px; border: 1.6px dashed rgba(107, 78, 61, .32); border-radius: 14px; pointer-events: none; }
.newscard img.bow { width: 84px; margin: 0 auto 14px; }
.newscard h2 { font-size: clamp(30px, 4vw, 44px); }
.newscard form { display: flex; gap: 10px; justify-content: center; margin-top: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.newscard input { font: 400 16px/1 var(--body); color: var(--cocoa); padding: 15px 22px; border-radius: 999px; border: 2px solid var(--cocoa); background: var(--white); width: min(340px, 100%); }
.newscard .msg { margin: 16px 0 0; font: italic 400 19px/1.3 var(--display); min-height: 1.4em; }

/* footer */
.footer { background: var(--cocoa); color: var(--cream); padding: 64px 0 28px; }
.footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; }
.footer .logo img { width: 210px; }
.footer .tagline { font: italic 400 21px/1.2 var(--display); color: var(--blush); margin-top: 16px; }
.footer h3 { font: 700 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--blush); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { text-decoration: none; opacity: .92; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer .fine { margin-top: 44px; padding-top: 22px; border-top: 1.6px dashed rgba(251, 246, 240, .3); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; opacity: .85; }

/* shop page */
.pagehead { text-align: center; padding: 50px 0 10px; }
.pagehead h1 { font-size: clamp(42px, 6.4vw, 76px); font-style: italic; }
.pagehead p { color: var(--cocoa-soft); max-width: 34em; margin: 12px auto 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 30px 0 46px; }
.chip { background: var(--white); border: 1.8px solid var(--cocoa); border-radius: 999px; padding: 10px 18px; font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; transition: background .2s, color .2s; }
.chip:hover { background: var(--petal); }
.chip[aria-pressed="true"] { background: var(--cocoa); color: var(--cream); }
.empty { text-align: center; padding: 40px 0; font: italic 400 22px/1.3 var(--display); }

/* product page */
.crumbs { font-size: 14px; color: var(--cocoa-soft); padding: 26px 0 0; }
.crumbs a { text-underline-offset: 3px; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; padding: 30px 0 80px; align-items: start; }
.gallery .main { aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; background: var(--bg, var(--bg-petal)); position: relative; overflow: hidden; perspective: 1200px; }
.gallery .main::after { content: ""; position: absolute; inset: 12px; border-radius: inherit; border: 1.8px dashed rgba(107, 78, 61, .32); pointer-events: none; }
.gallery .main img { position: absolute; left: 13%; width: 74%; top: 12%; transform-origin: 50% 5%; filter: drop-shadow(0 12px 9px rgba(107, 78, 61, .14)); }
.gallery .main img.detail { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.gallery .main img.back { transform: scaleX(-1); }
.gallery .main img.bow { top: 22%; }
.gallery .main img.spin { animation: twirl 1s cubic-bezier(.45, .05, .3, 1); }
.thumbs { display: flex; gap: 12px; margin-top: 14px; justify-content: center; }
.thumbs button { width: 84px; aspect-ratio: 4 / 5; border-radius: 999px 999px 10px 10px; border: 2px solid transparent; background: var(--bg, var(--bg-petal)); padding: 0; overflow: hidden; position: relative; }
.thumbs button[aria-pressed="true"] { border-color: var(--cocoa); }
.thumbs img { position: absolute; left: 14%; width: 72%; top: 14%; }
.thumbs img.detail { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.thumbs img.back { transform: scaleX(-1); }
.pinfo h1 { font-size: clamp(40px, 5vw, 60px); font-style: italic; }
.pinfo .price { font: 700 22px/1 var(--body); margin: 14px 0 16px; }
.pinfo .lede { font-size: 18px; max-width: 30em; }
.sizes { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0 24px; }
.sizes button { min-width: 58px; padding: 12px 14px; border-radius: 999px; border: 1.8px solid var(--cocoa); background: var(--white); font: 700 13px/1 var(--body); letter-spacing: .08em; }
.sizes button[aria-pressed="true"] { background: var(--cocoa); color: var(--cream); }
.pinfo .buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pinfo .hint { font-size: 14.5px; color: var(--cocoa-soft); margin-top: 12px; min-height: 1.6em; }
details { border-bottom: 1.6px dashed rgba(107, 78, 61, .3); padding: 4px 0; }
details:first-of-type { margin-top: 30px; border-top: 1.6px dashed rgba(107, 78, 61, .3); }
summary { list-style: none; cursor: pointer; padding: 15px 0; font: 400 22px/1.2 var(--display); display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 26px/1 var(--body); color: var(--rose); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details ul { margin: 0 0 16px; padding-left: 20px; }
details p { margin-bottom: 16px; }

/* about page */
.aboutgrid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 6%; align-items: center; }
.aboutgrid .lede { font-size: 21px; line-height: 1.55; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.values img { width: 44px; margin: 0 auto 12px; }
.values b { display: block; font: 400 24px/1.2 var(--display); margin-bottom: 8px; }
.values p { font-size: 16px; margin: 0; }
.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.help article { background: var(--white); border-radius: 18px; padding: 30px 28px; position: relative; }
.help article::after { content: ""; position: absolute; inset: 9px; border: 1.6px dashed rgba(107, 78, 61, .28); border-radius: 12px; pointer-events: none; }
.help h3 { font-size: 26px; margin-bottom: 10px; }
.help p { margin: 0; font-size: 16px; }

/* bag drawer */
.scrim { position: fixed; inset: 0; background: rgba(107, 78, 61, .38); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 60; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: var(--cream); z-index: 70; transform: translateX(102%); transition: transform .32s cubic-bezier(.3, .8, .3, 1); display: flex; flex-direction: column; visibility: hidden; transition: transform .32s cubic-bezier(.3, .8, .3, 1), visibility 0s .32s; }
.drawer.open { transform: none; visibility: visible; box-shadow: -14px 0 34px rgba(107, 78, 61, .2); transition: transform .32s cubic-bezier(.3, .8, .3, 1), visibility 0s; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1.6px dashed rgba(107, 78, 61, .3); }
.drawer header h2 { font-size: 30px; font-style: italic; }
.drawer .x { background: none; border: 0; padding: 6px; }
.drawer .x svg { width: 24px; height: 24px; }
.drawer .items { flex: 1; overflow: auto; padding: 8px 24px; list-style: none; margin: 0; }
.drawer .items li { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1.6px dashed rgba(107, 78, 61, .22); align-items: center; }
.drawer .th { aspect-ratio: 4 / 5; border-radius: 999px 999px 8px 8px; background: var(--bg, var(--bg-petal)); position: relative; overflow: hidden; }
.drawer .th img { position: absolute; left: 14%; width: 72%; top: 14%; }
.drawer .nm { font: 400 20px/1.2 var(--display); }
.drawer .sz { font-size: 14px; color: var(--cocoa-soft); }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1.6px solid var(--cocoa); background: var(--white); line-height: 1; padding: 0; }
.qty span { min-width: 24px; text-align: center; font-weight: 700; }
.drawer .emptybag { text-align: center; padding: 60px 24px; }
.drawer .emptybag img { width: 90px; margin: 0 auto 16px; }
.drawer .emptybag p { font: italic 400 22px/1.3 var(--display); }
.drawer footer { padding: 20px 24px 26px; border-top: 1.6px dashed rgba(107, 78, 61, .3); }
.drawer .sub { display: flex; justify-content: space-between; font: 700 18px/1 var(--body); margin-bottom: 14px; }
.drawer .btn { width: 100%; }
.drawer .note { font-size: 13.5px; color: var(--cocoa-soft); margin: 12px 0 0; text-align: center; min-height: 1.5em; }

/* bow confetti */
.confetti { position: fixed; width: 26px; pointer-events: none; z-index: 90; animation: pop .9s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes pop { 0% { transform: translate(0, 0) rotate(0) scale(.4); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1); opacity: 0; } }

/* 404 */
.lost { text-align: center; padding: 70px 0 100px; }
.lost img { width: min(300px, 60%); margin: 0 auto 10px; animation: sway 3s ease-in-out infinite; transform-origin: 50% 5%; }
.lost h1 { font-style: italic; font-size: clamp(40px, 6vw, 70px); margin-bottom: 14px; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .help { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .header-in { grid-template-columns: auto 1fr auto; }
  .menubtn { display: inline-flex; }
  .nav.left { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); flex-direction: column; gap: 0; padding: 6px 20px 18px; display: none; box-shadow: 0 16px 20px rgba(107, 78, 61, .12); z-index: 5; }
  .nav.left.open { display: flex; }
  .nav.left a { width: 100%; padding: 16px 0; border-bottom: 1.6px dashed rgba(107, 78, 61, .25); font-size: 14px; }
  .nav.right .hide-sm { display: none; }
  .brand { justify-self: center; }
  .brand img { height: 44px; }
  .brand img.bowmark { height: 34px; margin: 5px 0; }
  .hero-lockup { flex-direction: column; gap: 20px; }
  .hero-text { text-align: center; }
  .hero-name img { width: min(520px, 84vw); margin: 0 auto; }
  .hero .sub { margin: 18px auto 24px; }
  .hero .actions { justify-content: center; }
  .hero-cameo { height: 210px; }
  .rail ul { grid-template-columns: repeat(3, 1fr); }
  .rail li:nth-child(n + 4) { display: none; }
  .rail .name { opacity: 1; transform: none; font-size: 16px; }
  .story, .gift, .product, .aboutgrid { grid-template-columns: 1fr; gap: 40px; }
  .occasions { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --scallop: 36px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 34px 14px; }
  .card h3 { font-size: 20px; }
  .card .fabric { font-size: 13.5px; }
  .card .row { flex-direction: column; gap: 10px; }
  .footer .cols { grid-template-columns: 1fr; }
  .announce { font-size: 10.5px; letter-spacing: .16em; }
  .values { grid-template-columns: 1fr; }
  .hero { padding-top: 38px; }
  .rail { margin-top: 44px; }
}

/* ---------- phones ---------- */
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .header-in { padding: 10px 0 9px; gap: 10px; }
  .menubtn, .bagbtn { min-height: 44px; }
  .awning { height: 40px; }
  .hero { padding-top: 22px; }
  .hero-lockup { gap: 14px; }
  .hero-cameo { height: 168px; }
  .hero-name img { width: min(330px, 84vw); }
  .hero .sub { font-size: 16.5px; margin: 14px auto 18px; max-width: 19em; }
  .hero .actions { gap: 10px; }
  .hero .actions .btn { padding: 14px 20px; font-size: 12px; letter-spacing: .16em; flex: 1 1 auto; }
  .rail { margin-top: 34px; padding: 0 2%; }
  .rail::before { top: 13px; height: 6px; }
  .rail::after { top: 8px; height: 16px; }
  .rail .name { font-size: 15px; margin-top: 2px; }
  .twirlbtn { font-size: 18px; min-height: 44px; }
  .floor { height: 52px; margin-top: 18px; }
  .section { padding: 52px 0; }
  .head { margin-bottom: 30px; }
  .head h2, .story h2, .gift h2 { font-size: 31px; }
  .occasions { gap: 22px 12px; }
  .medal { width: 132px; margin-bottom: 10px; }
  .occasions b { font-size: 20px; }
  .occasions span { font-size: 14px; }
  .card .frame::after { inset: 7px; }
  .card .tag { font-size: 9.5px; padding: 5px 10px; top: -9px; }
  .card .info { padding-top: 12px; }
  .card .fabric { min-height: 0; margin-bottom: 8px; }
  .card .btn.small { padding: 12px 16px; width: 100%; }
  .card .row { gap: 8px; }
  .story { gap: 26px; }
  .story .tagline { font-size: 24px; margin: 18px 0; }
  .gift { gap: 30px; }
  .news { padding: 54px 0; background-size: 72px; }
  .newscard { padding: 38px 22px 34px; }
  .newscard form { flex-direction: column; align-items: stretch; }
  .newscard input, .newscard .btn { width: 100%; }
  .footer { padding: 46px 0 24px; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer .logo { grid-column: 1 / -1; text-align: center; }
  .footer .logo img { margin: 0 auto; width: 190px; }
  .footer li { margin-bottom: 4px; }
  .footer li a { display: inline-block; padding: 6px 0; }
  .footer .fine { flex-direction: column; gap: 6px; text-align: center; margin-top: 30px; }
  .pagehead { padding: 30px 0 4px; }
  .pagehead h1 { font-size: 42px; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 22px -18px 34px; padding: 4px 18px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; padding: 14px 18px; scroll-snap-align: start; }
  .crumbs { padding-top: 16px; }
  .product { padding: 18px 0 54px; gap: 26px; }
  .gallery .main { max-width: 340px; margin: 0 auto; }
  .thumbs button { width: 66px; }
  .pinfo h1 { font-size: 38px; }
  .pinfo .lede { font-size: 16.5px; }
  .sizes button { min-width: 0; flex: 1 0 28%; padding: 15px 8px; }
  .pinfo .buy { flex-direction: column; align-items: stretch; }
  .pinfo .buy .btn { width: 100%; padding: 17px 20px; }
  summary { font-size: 21px; padding: 16px 0; }
  .aboutgrid .lede { font-size: 18.5px; }
  .values { gap: 28px; }
  .help article { padding: 26px 24px; }
  .qty button { width: 38px; height: 38px; }
  .qty { gap: 6px; }
  .drawer header { padding: 16px 18px; }
  .drawer .x { padding: 10px; }
  .drawer .items { padding: 4px 18px; }
  .drawer .items li { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .drawer footer { padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); }
  .lost { padding: 40px 0 70px; }
}
@media (max-width: 370px) {
  .grid { gap: 30px 10px; }
  .card h3 { font-size: 18px; }
  .hero-cameo { height: 150px; }
  .medal { width: 116px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
