@font-face {
  font-family: 'Cormorant Garamond';
  src: url('./assets/fonts/cormorant-garamond-normal.woff2') format('woff2');
  font-weight: 300 500;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('./assets/fonts/cormorant-garamond-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
}

.storefront {
  --ink: #25191b;
  --secondary: #6e575c;
  --page: #fbf5f2;
  --paper: #fffdfb;
  --line: #e4d5d5;
  --dark: #221619;
  --rose: #9e3456;
  --rose-hover: #7e2542;
  --blush: #f7e4e9;
  --light-ink: #fff6f3;
  --light-muted: #e3cbd0;
  --light-line: #fff6f345;
  --radius: 2px;
  --display: 'Cormorant Garamond', Georgia, serif;
  --gutter: clamp(20px, 5.2vw, 76px);
  --nav-height: 74px;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: var(--page);
  color: var(--ink);
}
.storefront > main { flex: 1; }
.storefront ::selection { background: var(--rose); color: white; }
.storefront :is(a, button, summary, input):focus-visible { outline-color: var(--rose); }
.storefront :is(.hero, .stage-card, .site-footer) :focus-visible,
.storefront-home .site-header:not(.scrolled) :focus-visible { outline-color: #f2bbce; }
.storefront .wrap, .header-inner {
  width: min(1280px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.storefront :is(h1, h2, h3) { font-family: var(--serif); font-weight: 500; }
.storefront .eyebrow {
  color: var(--rose);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .18em;
  margin-bottom: 14px;
}
.storefront .btn { border-radius: 999px; padding-inline: 22px; font-weight: 500; }
.storefront .btn.small { min-height: 38px; padding-inline: 14px; }
.storefront .btn.rose { background: var(--rose); color: white; }
.storefront .btn.rose:not(:disabled):hover { background: var(--rose-hover); }
.storefront .btn.dark:hover { background: #432a33; }
.storefront .btn.outline { color: var(--ink); border-color: #cdb6bb; background: transparent; }
.storefront .btn.outline:hover { background: var(--blush); border-color: #bf93a0; }
.storefront .btn.glass { border-color: #fff6f385; color: var(--light-ink); background: #23161952; }
.storefront .btn.glass:hover { border-color: var(--light-ink); background: var(--light-ink); color: var(--ink); }
.storefront .text-link, .storefront .effect { color: var(--rose); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid var(--line);
  background: #fbf5f2f2;
  backdrop-filter: blur(14px);
  transition: background .24s, border-color .24s, color .24s;
}
.storefront-home .site-header { margin-bottom: calc(-1 * var(--nav-height)); }
.storefront-home .site-header:not(.scrolled) {
  background: linear-gradient(#24171bd9, #24171b55 73%, transparent);
  backdrop-filter: none;
  border-color: transparent;
  color: var(--light-ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: calc(var(--nav-height) - 1px);
}
.storefront .brand {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-align: center;
}
.storefront .brand small { margin-top: 4px; font-size: .53rem; font-weight: 500; letter-spacing: .36em; }
.header-inner nav, .footer-top nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 45px); }
.header-inner nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  font-size: .84rem;
}
.header-inner nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 6px;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.header-inner nav a:is(:hover, [aria-current])::after { transform: scaleX(1); }
.storefront-home .site-header:not(.scrolled) nav a::after { background: #f2bbce; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: max(680px, 100svh);
  overflow: hidden;
  background: var(--dark);
  color: var(--light-ink);
}
.hero-photo, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero .hero-photo { object-position: center 21%; }
.hero-shade {
  background:
    linear-gradient(0deg, #231519d9, transparent 32%),
    linear-gradient(90deg, #231519f0 0%, #231519b5 29%, #23151921 63%, #23151913);
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding-block: calc(var(--nav-height) + 36px) clamp(38px, 8svh, 90px);
}
.hero-copy { padding-bottom: clamp(0px, 3.5svh, 40px); }
.hero .eyebrow { color: #f3c1ce; }
.hero h1 { display: grid; gap: .33em; line-height: .89; }
.hero h1 em {
  font: italic 400 clamp(5rem, 9.8vw, 10rem)/.88 var(--display);
  letter-spacing: -.045em;
  color: #f8d6e0;
}
.hero h1 span { font-size: clamp(2.4rem, 4.4vw, 4.2rem); line-height: 1.2; }
.hero-lede { max-width: 27em; margin-top: 23px; color: #f1dfe2; }
.hero .actions { gap: 12px; margin-top: 29px; }
.hero .btn { min-height: 48px; }
.hero-credit {
  align-self: end;
  padding-top: 13px;
  border-top: 1px solid var(--light-line);
  width: clamp(125px, 14vw, 190px);
  color: var(--light-ink);
  font-size: .87rem;
}
.hero-credit small { display: block; color: var(--light-muted); margin-top: 4px; }
.home-collection { background: var(--paper); padding-block: clamp(55px, 8vw, 118px); }
.home-collection h2 { font-size: clamp(1.8rem, 4vw, 3.45rem); line-height: 1.2; }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 34px); margin-top: 32px; }
.home-card { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(320px, 43vw, 550px); overflow: hidden; background: var(--dark); color: var(--light-ink); }
.home-card-image { position: absolute; inset: 0; z-index: -2; }
.home-card-image .photo { transition: transform .65s cubic-bezier(.2, .65, .32, 1); }
.home-card-image .tailored { object-position: 70% 9%; }
.home-card-image .casual { object-position: 50% 12%; }
.home-card:hover .photo { transform: scale(1.045); }
.home-card::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #24171bf5, #24171b77 27%, transparent 58%); }
.home-card-text { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: clamp(22px, 3.4vw, 48px); }
.home-card-text h3 { font-size: clamp(1.55rem, 3vw, 2.6rem); }
.home-card-text p { color: #f2dbe2; margin-top: 7px; }
.home-card-text span { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--light-line); transition: background .2s, color .2s; }
.home-card:hover .home-card-text span { background: var(--light-ink); color: var(--ink); }

.site-footer { padding-block: 38px 25px; background: var(--dark); color: var(--light-ink); }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-top { padding-bottom: 25px; border-bottom: 1px solid var(--light-line); }
.footer-top nav { font-size: .84rem; }
.footer-bottom { padding-top: 19px; font-size: .8rem; color: var(--light-muted); }
.site-footer a:hover { color: #f4afc5; }

.storefront .inner-page { padding-block: clamp(30px, 4.3vw, 61px) clamp(56px, 7vw, 103px); }
.storefront .page-heading { margin-bottom: clamp(23px, 3vw, 40px); }
.storefront .page-heading h1, .product-panel h1, .empty h1 { font-size: clamp(2.3rem, 4.55vw, 4.6rem); line-height: 1.12; }
.storefront .page-heading p:last-child { margin-top: 13px; }
.return-link { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; margin: -10px 0 18px; color: var(--secondary); font-size: .86rem; }
.return-link:hover { color: var(--rose); text-decoration: underline; text-underline-offset: 4px; }
.storefront .panel h2 { font-size: clamp(1.22rem, 1.9vw, 1.65rem); }
.storefront .pill { border-radius: 999px; border-color: var(--line); }
.storefront .pill:hover { border-color: #bd8799; }
.storefront .pill[aria-pressed="true"] { border-color: #ba7890; color: #712341; background: var(--blush); }
.storefront .swatch { display: inline-block; width: 11px; height: 11px; flex: none; border-radius: 50%; background: var(--swatch); border: 1px solid #7a636780; }

.experience-grid {
  --stage-height: clamp(420px, 54svh, 620px);
  display: grid;
  grid-template-columns: minmax(0, 1.57fr) minmax(300px, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.stage-card { background: var(--dark); color: var(--light-ink); border: 1px solid #352227; border-radius: var(--radius); min-width: 0; overflow: hidden; }
.stage-viewport { position: relative; height: var(--stage-height); background: radial-gradient(ellipse at 52% 42%, #816875, #4b343c 56%, #281b21); }
.stage-viewport:has([data-outfit="rocketbox"]) { background: radial-gradient(ellipse at 51% 39%, #f7eeed, #e8dbdd 59%, #cebbbe); }
.stage-viewport:has([data-outfit="rocketbox"]) :is(#stage-status, .loading-note) { color: var(--ink); }
.stage-top, .stage-tools { position: absolute; z-index: 1; inset-inline: 15px; display: flex; justify-content: space-between; align-items: center; gap: 8px; pointer-events: none; font-size: .82rem; }
.stage-top { top: 15px; }
.stage-tools { bottom: 14px; }
.stage-tools > div { display: flex; gap: 5px; }
.stage-tools button { pointer-events: auto; }
.dark-tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; background: #26191ed9; color: var(--light-ink); border-radius: var(--radius); font-size: .78rem; white-space: nowrap; }
.dark-tag i { width: 6px; height: 6px; border-radius: 50%; background: #efb3c5; }
.stage-viewport [data-state="fallback"] .fallback-note { bottom: 58px; }
.square { min-width: 38px; height: 38px; padding: 0 7px; border: 1px solid var(--light-line); border-radius: var(--radius); background: #251a20db; color: var(--light-ink); }
.square.reset { font-size: .77rem; }
.square:hover { background: #533342; }
.square[aria-pressed="true"] { background: #f0c8d5; color: var(--ink); border-color: #f0c8d5; }
.stage-controls { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 13px 18px; padding: 15px clamp(13px, 1.6vw, 22px) 18px; border-top: 1px solid #fff6f323; }
.control-label { margin-bottom: 7px; color: var(--light-muted); font-size: .8rem; }
.stage-controls .button-row { gap: 6px; }
.storefront .stage-controls .pill { border-color: #fff6f352; background: transparent; color: var(--light-ink); }
.storefront .stage-controls .pill:hover { border-color: #f4bbc9; }
.storefront .stage-controls .pill[aria-pressed="true"] { background: #f0c8d5; color: var(--ink); border-color: #f0c8d5; }
.storefront .mobile-chat-link { display: none; }
.chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(var(--stage-height) + 160px);
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-height) + 12px);
}
.chat-header { display: flex; align-items: center; gap: 12px; padding: 17px clamp(14px, 1.7vw, 23px); border-bottom: 1px solid var(--line); }
.portrait { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #513948 url('./assets/hero.jpg') 72% 8% / 310% auto no-repeat; }
.chat-header small { display: block; margin-top: 3px; color: var(--secondary); }
.chat-header .btn { margin-left: auto; }
.messages { flex: 1; min-height: 145px; overflow-y: auto; padding: 19px clamp(14px, 1.7vw, 23px); }
.chat .bubble.character { background: #f4e9e8; }
.chat .bubble.user { background: #523343; color: var(--light-ink); }
.chat-bottom { background: #fdf8f7; border-top: 1px solid var(--line); padding: 14px clamp(14px, 1.7vw, 23px); }
.suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.suggestions .pill { min-height: 34px; font-size: .8rem; }
.chat .micro { display: block; overflow-wrap: anywhere; margin-top: 8px; color: var(--secondary); font-size: .75rem; }
.storefront input:not([type="checkbox"], [type="file"]) { background: var(--paper); border-color: #d2bec2; border-radius: var(--radius); }

.product-grid, .checkout-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr); gap: clamp(22px, 4.8vw, 72px); }
.product-image { height: clamp(480px, 47vw, 660px); position: relative; overflow: hidden; margin: 0; background: var(--blush); }
.product-image .photo.tailored { object-position: 72% 14%; }
.product-image .photo.casual { object-position: center 17%; }
.product-image .dark-tag { position: absolute; left: 12px; bottom: 12px; }
.gallery-buttons { display: flex; gap: 9px; margin-top: 12px; }
.thumb { width: 62px; height: 68px; padding: 2px; background: var(--paper); border: 1px solid var(--line); }
.thumb.selected, .thumb:hover { border-color: var(--rose); }
.product-panel { padding: clamp(20px, 2.7vw, 37px); }
.product-panel .product-note { margin-top: 10px; }
.product-panel .price {
  margin: 16px 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font: 500 clamp(2.4rem, 4.1vw, 3.4rem)/1 var(--display);
}
.specs { margin: 18px 0; }
.specs div { display: grid; grid-template-columns: auto 1fr; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .89rem; }
.specs dt { color: var(--secondary); }
.specs dd { margin: 0; text-align: right; }
.product-panel .fine { margin-top: 11px; }
.product-panel details { margin-top: 17px; border-top: 1px solid var(--line); padding-top: 14px; }
.product-panel summary { cursor: pointer; font-size: .91rem; }
.product-panel details p { color: var(--secondary); font-size: .88rem; margin-top: 8px; }

.checkout-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(15px, 2.6vw, 34px); }
.storefront .form-panel, .storefront .summary { padding: clamp(19px, 3vw, 42px); }
.storefront .fields { gap: 16px; margin-block: 19px; }
.storefront .fields label { font-weight: 500; }
.pay-card, .summary-item { display: flex; align-items: center; gap: 13px; }
.pay-card { justify-content: space-between; padding: 13px 15px; margin: 11px 0 21px; border: 1px solid var(--line); background: #fbf1f3; font-size: .88rem; }
.pay-card span:last-child { color: var(--secondary); }
.storefront .summary { background: #f8e9ec; border-color: #e6d3d9; }
.summary-item { padding-block: 16px; margin-top: 13px; border-bottom: 1px solid var(--line); }
.summary-item img { width: 64px; height: 74px; }
.summary-item small { display: block; margin-top: 4px; color: var(--secondary); }
.summary .specs { margin-bottom: 0; }
.specs .total { align-items: baseline; font-weight: 600; border-bottom: 0; padding-bottom: 0; }
.specs .total dd { font: 500 1.9rem/1 var(--display); }
.result-card h2 { margin: 13px 0 8px; }
.result-card p { color: var(--secondary); }
.result-card .actions { margin-top: 20px; }
.result-card .chip.warm { background: var(--blush); color: #752748; }
.storefront .empty { margin: 0 auto; padding: clamp(38px, 7vw, 96px) 20px; text-align: center; }
.empty .btn { margin-top: 23px; }

@media (max-width: 880px) {
  .experience-grid, .product-grid, .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .experience-grid { --stage-height: clamp(365px, 55svh, 550px); gap: 18px; }
  .chat { height: clamp(415px, 65svh, 550px); max-height: none; }
  .storefront .mobile-chat-link { display: inline-flex; }
  .product-image { height: clamp(430px, 86vw, 620px); }
}
@media (max-width: 600px) {
  .storefront { --nav-height: 65px; }
  .storefront .brand { font-size: 1.48rem; }
  .header-inner nav { gap: clamp(10px, 3.4vw, 20px); }
  .header-inner nav a { font-size: .78rem; }
  .hero { min-height: max(620px, 93svh); }
  .hero .hero-photo { object-position: 68% top; }
  .hero-shade { background: linear-gradient(0deg, #231519 0%, #231519eb 19%, #231519a1 41%, #2315192b 62%, #23151909); }
  .hero-content { grid-template-columns: minmax(0, 1fr); padding-bottom: 24px; }
  .hero-copy { padding-bottom: 24px; }
  .hero h1 em { font-size: clamp(4.15rem, 17vw, 6rem); }
  .hero-lede { max-width: 22em; margin-top: 14px; font-size: .92rem; }
  .hero .actions { margin-top: 20px; }
  .hero .btn { min-height: 43px; padding-inline: 15px; }
  .hero-credit { width: auto; display: flex; align-items: baseline; gap: 9px; padding-top: 10px; }
  .hero-credit small { margin-top: 0; }
  .home-grid { grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
  .home-card { min-height: 350px; }
  .home-card-text p { font-size: .89rem; }
  .site-footer { padding-block: 29px 20px; }
  .footer-top { flex-wrap: wrap; gap: 17px; padding-bottom: 19px; }
  .footer-top nav { gap: 14px; }
  .storefront .page-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .storefront .page-heading p:last-child { font-size: .92rem; }
  .stage-top, .stage-tools { inset-inline: 10px; }
  .product-image { height: clamp(340px, 106vw, 470px); }
  .storefront .fields input, .storefront .message-form input { font-size: 16px; }
}
