:root {
  --ink: #0e0f10;
  --paper: #f4f5f6;
  --muted: #5c6168;
  --line: #d5d8dc;
  --accent: #5c1f2e;
  --accent-soft: #7a2a3d;
  --sale: #0e0f10;
  --wa: #1b6b45;
  --header-h: 76px;
  --announce-h: 36px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.announce {
  background: var(--accent);
  color: #f7f2f3;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .65rem 1rem;
  min-height: var(--announce-h);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(244, 245, 246, .88);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 245, 246, .96);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.logo {
  justify-self: start;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: .95rem;
  font-weight: 400;
  color: var(--muted);
  transition: color .25s;
}

.main-nav a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  gap: .35rem;
  justify-self: end;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  padding: 0 8px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(14, 15, 16, .94);
  display: grid;
  place-content: center;
  gap: 1rem;
  padding: 1.5rem;
}

.search-panel[hidden] { display: none; }

.search-form {
  display: flex;
  gap: .5rem;
  width: min(560px, 100%);
}

.search-form input {
  flex: 1;
  border: 0;
  border-bottom: 1px solid #666;
  background: transparent;
  color: #fff;
  padding: .9rem .2rem;
  font-size: 1.25rem;
  outline: none;
}

.search-form button,
.search-close {
  border: 1px solid #888;
  background: transparent;
  color: #fff;
  padding: .7rem 1rem;
  cursor: pointer;
}

.hero-full {
  position: relative;
  min-height: calc(100svh - var(--header-h) - var(--announce-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-size: cover;
  background-position: center 20%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s var(--ease), transform 6s linear;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(14,15,16,.72) 0%, rgba(14,15,16,.28) 48%, rgba(14,15,16,.15) 100%),
    linear-gradient(0deg, rgba(14,15,16,.55) 0%, transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: clamp(2rem, 7vw, 5.5rem);
  max-width: 720px;
  color: #f6f4f2;
  display: grid;
  gap: .85rem;
}

.hero-crest {
  width: 56px;
  height: 56px;
  filter: invert(1);
  opacity: .92;
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.hero-copy .eyebrow { color: rgba(255,255,255,.72); }

.eyebrow.link:hover { color: var(--ink); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 5.6rem);
  line-height: .98;
  font-weight: 650;
  margin: 0;
  max-width: 11ch;
}

.lede {
  margin: 0;
  max-width: 34ch;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
  font-weight: 300;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .35rem; }

.hero-dots {
  display: flex;
  gap: .45rem;
  margin-top: 1rem;
}

.hero-dot {
  width: 28px;
  height: 2px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}

.hero-dot.is-active { background: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.45rem;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}

.btn-solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-solid:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.hero-copy .btn-ghost,
.editorial .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.7);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.hero-copy .btn-solid {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.hero-copy .btn-solid:hover {
  background: transparent;
  color: #fff;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fff;
  padding: .85rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: marquee 38s linear infinite;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee .dot { opacity: .45; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 1.25rem;
}

.section-tight { padding-top: 1.5rem; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head h2,
.page-hero h1,
.lookbook-copy h2,
.editorial h2,
.detail-info h1,
.contact-card h2,
.contact-form h2,
.modal-card h2 {
  font-family: var(--font-display);
  font-weight: 650;
  margin: 0;
}

.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); }
.section-head p { margin: .35rem 0 0; color: var(--muted); }

.text-link {
  font-size: .9rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .85rem;
  width: 100%;
}

.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #d8dce0;
  color: #fff;
  isolation: isolate;
}

.cat-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .7s var(--ease);
}

.cat-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14,15,16,.78) 0%, rgba(14,15,16,.15) 55%, rgba(14,15,16,.25) 100%);
  z-index: 1;
}

.cat-card-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.cat-card .cat-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 650;
  color: #fff;
}

.cat-card .cat-count {
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

.cat-card:hover .cat-card-bg {
  transform: scale(1.06);
}

.lookbook {
  max-width: 1320px;
  margin: 0 auto 1rem;
  padding: 0 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.lookbook.is-flip .lookbook-visual { order: 2; }
.lookbook.is-flip .lookbook-copy { order: 1; }

.lookbook-visual {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #ddd;
}

.lookbook-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lookbook-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem;
  background: linear-gradient(0deg, rgba(14,15,16,.75), transparent);
  color: #fff;
  display: grid;
  gap: .2rem;
}

.lookbook-overlay strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.lookbook-overlay span,
.lookbook-overlay em {
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
}

.lookbook-copy { padding: 1rem 0; }
.lookbook-copy h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: .4rem 0 1rem; }
.lookbook-copy p { color: var(--muted); max-width: 34ch; margin: 0 0 1.5rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}

.product-card { display: flex; flex-direction: column; gap: .7rem; }

.product-media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #e4e6e9;
}

.product-link { display: block; height: 100%; }

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .45s var(--ease), transform .7s var(--ease);
}

.product-media .img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .img-main { transform: scale(1.03); }
.product-card:hover .img-hover { opacity: 1; }

.badge {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  z-index: 2;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .55rem;
}

.badge-sale { background: var(--accent); color: #fff; }
.badge-sold { background: #fff; color: var(--ink); }

.card-wa {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  z-index: 2;
  border: 0;
  background: #fff;
  color: var(--ink);
  padding: .55rem .75rem;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: .25s var(--ease);
}

.product-card:hover .card-wa,
.product-card:focus-within .card-wa {
  opacity: 1;
  transform: none;
}

.product-meta h3 {
  font-size: .95rem;
  font-weight: 400;
  margin: 0 0 .35rem;
}

.price { display: flex; gap: .55rem; align-items: baseline; flex-wrap: wrap; }
.price .now { font-weight: 500; }
.price .old { color: var(--muted); text-decoration: line-through; font-size: .85rem; }

.is-sold .product-media { filter: grayscale(.35); opacity: .85; }

.editorial {
  margin: 0 1.25rem clamp(3rem, 7vw, 5rem);
  background:
    linear-gradient(120deg, rgba(14,15,16,.78), rgba(14,15,16,.5)),
    url("../img/hero/2.jpg") center/cover;
  color: #f3eee7;
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
}

.editorial-inner {
  max-width: 560px;
  padding: 3rem 1.5rem;
}

.editorial .eyebrow { color: #e2b4bf; }
.editorial h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin: .6rem 0 1rem; }
.editorial p { color: #d8d2cc; margin: 0 0 1.5rem; }
.editorial .btn-solid {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.page-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem 1rem;
}

.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.page-hero p { color: var(--muted); margin: .5rem 0 0; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.filter-bar a {
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
  background: #fff;
  transition: .25s;
}

.filter-bar a.is-active,
.filter-bar a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.product-detail {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.detail-gallery {
  background: #e4e6e9;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info { padding-top: .5rem; }
.detail-info h1 { font-size: clamp(2.1rem, 4vw, 3rem); margin: .4rem 0 1rem; }
.detail-price { font-size: 1.2rem; margin-bottom: 1.25rem; }
.detail-desc { color: var(--muted); margin-bottom: 1.5rem; }
.detail-row {
  display: flex;
  justify-content: space-between;
  padding: .85rem 0;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.detail-row span { color: var(--muted); }
.detail-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.sold-note { color: var(--muted); margin: 1rem 0; }

.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .75rem;
}

.size-chips button,
.size-chips .chip {
  min-width: 44px;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.size-chips button.is-active,
.size-chips .chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}

.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-list li {
  display: grid;
  gap: .2rem;
  padding: .9rem 0;
  border-top: 1px solid var(--line);
}
.contact-list span {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form,
.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: #fff;
}

.contact-form label {
  display: grid;
  gap: .35rem;
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea,
.search-inline input {
  border: 1px solid var(--line);
  background: #fff;
  padding: .8rem .9rem;
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.search-inline input:focus {
  border-color: var(--ink);
}

.contact-form button { margin-top: 1.25rem; width: 100%; }
.form-error { color: #8b2e2e; margin: .5rem 0 0; }

.search-inline {
  display: flex;
  gap: .5rem;
  max-width: 520px;
}
.search-inline input { flex: 1; }

.empty { color: var(--muted); grid-column: 1 / -1; }

.site-footer {
  margin-top: 0;
  background: #121416;
  color: #ece8e4;
  border-top: 0;
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo { display: inline-flex; margin-bottom: .75rem; color: #fff; }
.footer-logo img {
  height: 42px;
  width: auto;
  filter: invert(1) brightness(1.05);
}
.site-footer p { color: #9a9590; max-width: 34ch; margin: 0 0 1.25rem; }
.site-footer h3 {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: #cfc8c0;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .5rem 0; color: #8f8a85; }
.site-footer a { color: #cfc8c0; transition: color .2s; }
.site-footer a:hover { color: #fff; }

.footer-wa {
  display: inline-flex;
  padding: .7rem 1rem;
  border: 1px solid rgba(255,255,255,.28);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff !important;
}

.footer-wa:hover {
  background: #fff;
  color: #121416 !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  font-size: .82rem;
  color: #7a7570;
}

.footer-note { color: #9a9590; }

.stories-strip {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem .5rem;
}

.stories-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: .35rem .15rem 1rem;
  scrollbar-width: none;
}

.stories-rail::-webkit-scrollbar { display: none; }

.story-ring {
  flex: 0 0 auto;
  width: 84px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: grid;
  gap: .45rem;
  justify-items: center;
  color: var(--ink);
}

.story-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), #c45d72 45%, #d4a017);
  display: grid;
  place-items: center;
}

.story-ring.is-seen .story-avatar {
  background: #c5c8cc;
}

.story-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--paper);
  background: #fff;
}

.story-ring.is-light .story-avatar img {
  object-fit: contain;
  padding: 12px;
}

.story-label {
  font-size: .72rem;
  text-align: center;
  max-width: 84px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-viewer[hidden] { display: none; }

.story-viewer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.story-viewer-bg {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 10, .88);
}

.story-viewer-card {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 9/16;
  background: #1a1c1e;
  overflow: hidden;
  border-radius: 14px;
  animation: popIn .3s var(--ease);
}

.story-viewer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-progress {
  position: absolute;
  top: .7rem;
  left: .7rem;
  right: .7rem;
  height: 2px;
  background: rgba(255,255,255,.25);
  z-index: 2;
  border-radius: 2px;
  overflow: hidden;
}

.story-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}

.story-progress i.is-run {
  animation: storyBar 4.5s linear forwards;
}

@keyframes storyBar {
  from { width: 0; }
  to { width: 100%; }
}

.story-viewer-x {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  border: 0;
  background: rgba(0,0,0,.35);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}

.story-viewer-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  color: #fff;
  display: grid;
  gap: .85rem;
  z-index: 2;
}

.story-viewer-meta strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.story-viewer-meta .btn-solid {
  background: #fff;
  border-color: #fff;
  color: #111;
  justify-self: start;
}

.reviews-section { padding-bottom: 2rem; }

.review-nav { display: flex; gap: .4rem; }

.review-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.review-btn:hover { border-color: var(--ink); }

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 1rem;
  transition: transform .45s var(--ease);
}

.review-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.review-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 500;
}

.review-card footer {
  display: flex;
  gap: .5rem;
  align-items: baseline;
  color: var(--muted);
  font-size: .9rem;
}

.review-card footer strong { color: var(--ink); font-weight: 500; }

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .35s;
}

@media (max-width: 980px) {
  .review-card { flex: 0 0 calc((100% - 1rem) / 2); }
}

@media (max-width: 640px) {
  .review-card { flex: 0 0 86%; }
}

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 45;
  box-shadow: 0 10px 28px rgba(27, 107, 69, .28);
  transition: transform .25s var(--ease);
}

.wa-float:hover { transform: scale(1.06); }

.reveal-head,
.reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.reveal-head.is-in,
.reveal-item.is-in {
  opacity: 1;
  transform: none;
}

.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 15, 16, .55);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  padding: 2rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  display: grid;
  gap: .75rem;
  animation: popIn .35s var(--ease);
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.modal-x {
  position: absolute;
  top: .6rem;
  right: .8rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.modal-mark {
  width: 48px;
  height: 48px;
  color: var(--ink);
}

.modal-card p { margin: 0; color: var(--muted); }
.modal-card h2 { font-size: 1.85rem; }
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .5rem;
}

.wa-product-name {
  color: var(--ink) !important;
  font-weight: 500;
}

.size-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .45rem;
}

body.modal-open { overflow: hidden; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .lookbook,
  .product-detail,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .lookbook.is-flip .lookbook-visual,
  .lookbook.is-flip .lookbook-copy { order: initial; }
  .hero-full { min-height: 78svh; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: calc(var(--header-h) + var(--announce-h)) 0 auto 0;
    background: rgba(244, 245, 246, .98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: .35s var(--ease);
  }
  .main-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a {
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: center; }
  .logo img { height: 40px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .7rem; }
  .section-head { flex-direction: column; align-items: start; }
  .card-wa {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
}
