/* latin-ext */
@font-face {
  font-family: 'Mrs Saint Delafield';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/signature-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Mrs Saint Delafield';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/signature-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #eee4da;
  --sand: #d8c4ac;
  --rose: #c8a49f;
  --wine: #4d0e13;
  --paper: #f8f3ed;
  --ink: #301b1a;
  --muted: #705854;
  --line: #d9ccc1;
  --script: "Mrs Saint Delafield", "Snell Roundhand", cursive;
  --serif: Baskerville, "Palatino Linotype", Georgia, serif;
  --sans: "Avenir Next", Avenir, system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --nav-height: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 1rem); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
a { color: inherit; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }

.shell { width: min(100%, 98rem); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 30; top: .5rem; left: .5rem; transform: translateY(-150%); padding: .5rem 1rem; background: var(--cream); color: var(--wine); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  z-index: 10;
  position: fixed;
  inset: 0 0 auto;
  color: var(--wine);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: color .24s ease, background-color .24s ease, border-color .24s ease;
}
.home .site-header:not(.past-hero):not(.menu-open) { color: var(--cream); background: transparent; border-color: transparent; }
.nav-shell {
  min-height: var(--nav-height);
  padding-inline: var(--gutter);
  margin-inline: auto;
  width: min(100%, 112rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.site-nav { display: flex; align-items: center; gap: clamp(.9rem, 1.9vw, 2.1rem); }
.site-header a, .menu-toggle { text-decoration: none; font-size: .91rem; font-weight: 600; }
.site-header a:hover, .site-header a[aria-current="page"], .footer-links a:hover { text-decoration: underline; }
.brand { display: inline-block; width: 97px; }
.brand img { width: 100%; height: auto; filter: invert(9%) sepia(48%) saturate(3569%) hue-rotate(336deg) brightness(82%) contrast(96%); }
.home .site-header:not(.past-hero):not(.menu-open) .brand img,
.site-footer .brand img { filter: brightness(0) invert(92%) sepia(12%) saturate(361%) hue-rotate(335deg) brightness(103%); }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; padding: .6rem 0 .6rem .6rem; cursor: pointer; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  color: var(--cream);
}
.hero-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--wine);
  pointer-events: none;
}
.hero-background img {
  position: absolute;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 8, 8, .72), transparent 24%) right / 50% 100% no-repeat;
}
.hero-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  padding-top: calc(var(--nav-height) / 2);
  padding-bottom: 1rem;
}

.hero-copy p { max-width: 36ch; color: var(--sand); margin: 1.05rem auto 0; font-size: .92rem; }
.hero-copy .button { margin-top: 1.8rem; }

.button {
  --button-bg: var(--wine);
  --button-fg: var(--cream);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 46px;
  padding: .7rem 1.45rem;
  border: 1px solid var(--wine);
  border-radius: 999px;
  color: var(--button-fg);
  background: var(--button-bg);
  box-shadow: inset 0 0 0 3px var(--button-bg), inset 0 0 0 4px color-mix(in srgb, var(--button-fg), transparent 65%);
  text-decoration: none;
  font-size: .87rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: color .23s ease, background-color .23s ease, border-color .23s ease, box-shadow .23s ease;
}
.button:hover, .button-outline { --button-bg: var(--paper); --button-fg: var(--wine); }
.button-outline:hover { --button-bg: var(--wine); --button-fg: var(--cream); }
.button-light { --button-bg: var(--cream); --button-fg: var(--wine); border-color: var(--cream); }
.button-light:hover { --button-bg: var(--wine); --button-fg: var(--cream); }
.button-light:focus-visible { outline-color: var(--cream); }

.site-footer { position: relative; }
.dress-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1rem, 2vw, 1.7rem); list-style: none; margin: 0; padding: 0; }
.dress-card { display: block; text-decoration: none; }
.dress-image { display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cream); }
.no-dress-image { color: var(--muted); font-size: .82rem; }
.dress-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.dress-card:hover img { transform: scale(1.035); }
.dress-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .35rem .6rem; padding-top: .85rem; }
.dress-name { font-size: 1.35rem; overflow-wrap: anywhere; }
.dress-meta p, .price { font-size: .86rem; }
.dress-meta p { color: var(--muted); grid-column: 1 / -1; }
.price { font-weight: 600; white-space: nowrap; }
.text-link { display: inline-flex; gap: .65em; width: fit-content; font-size: .88rem; font-weight: 550; }
.text-link:hover { text-decoration-thickness: 2px; }

.site-footer { padding-block: clamp(2.5rem, 6vw, 5rem) 1.15rem; background: var(--wine); color: var(--cream); }
.footer-main { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(145px, .75fr) minmax(250px, 1.1fr); align-items: start; gap: 2rem clamp(1.25rem, 6vw, 6rem); }
.footer-main .brand { width: 125px; margin-bottom: .75rem; }
.footer-main h2 { font-size: 1.55rem; }
.footer-main p, .footer-links { font-size: .9rem; }
.footer-brand p, .footer-booking p { color: var(--sand); }
.footer-links { display: grid; justify-items: start; gap: .48rem; }
.footer-links a { text-decoration: none; }
.footer-links h2, .footer-booking h2 { margin-bottom: .55rem; }
.footer-booking p { max-width: 40ch; }
.footer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.1rem; margin-top: 1.15rem; }
.footer-bottom { align-items: center; margin-top: 2.35rem; padding-top: .85rem; border-top: 1px solid color-mix(in srgb, var(--rose), transparent 45%); display: flex; justify-content: space-between; gap: .55rem 1rem; color: var(--sand); }
.footer-bottom a { font-size: .78rem; }
.studio-credit { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.studio-credit:hover > span:first-child { text-decoration: underline; }
.studio-badge { display: inline-flex; padding: .23rem .55rem; border-radius: 999px; background: #f3eee8; }
.studio-logo { display: block; position: relative; width: 112px; aspect-ratio: 1227 / 301; overflow: hidden; }
.studio-logo img { position: absolute; width: 163.08%; max-width: none; height: auto; left: -31.87%; top: -64.78%; }

.inner main { padding-top: calc(var(--nav-height) + 2rem); }
.page { min-height: 68vh; padding-bottom: 4rem; }
.page p { max-width: 58ch; margin: 1.1rem 0; }
.page .page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-top: 1.6rem; }
.breadcrumbs { margin-bottom: 1.35rem; font-size: .83rem; color: var(--muted); }
.breadcrumbs span { margin-inline: .35rem; }
.detail { padding-bottom: clamp(2rem, 6vw, 5rem); }
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  grid-template-areas: "gallery info" "gallery inquiry";
  grid-template-rows: auto 1fr;
  gap: 1.6rem clamp(2rem, 7vw, 7rem);
}
.gallery { grid-area: gallery; min-width: 0; }
.gallery-zoom { display: block; width: fit-content; max-width: 100%; margin-inline: auto; cursor: zoom-in; }
.gallery-main { width: auto; max-width: 100%; height: auto; max-height: min(72svh, 660px); border-radius: clamp(1.45rem, 3.2vw, 2.75rem) 0; }
.gallery-controls { display: flex; justify-content: center; gap: 1rem; margin-top: .55rem; }
.gallery-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gallery-position { font-variant-numeric: tabular-nums; }
.gallery-arrow, .gallery-close { display: grid; place-items: center; position: absolute; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--wine); border: 1px solid var(--line); cursor: pointer; }
.gallery-arrow { top: 50%; transform: translateY(-50%); inset-inline-start: .65rem; }
.gallery-arrow[data-gallery-step="1"] { inset-inline: auto .65rem; }
.gallery-controls .gallery-arrow { position: static; transform: none; background: transparent; border-color: transparent; }
.gallery-controls .gallery-arrow:hover { background: var(--wine); color: var(--cream); }
.gallery-arrow::after { content: ""; width: .52rem; height: .52rem; border: solid currentColor; border-width: 1px 1px 0 0; transform: translateX(2px) rotate(-135deg); }
.gallery-arrow[data-gallery-step="1"]::after { transform: translateX(-2px) rotate(45deg); }
.gallery-arrow:hover, .gallery-close:hover { background: var(--wine); color: var(--cream); }
.gallery-lightbox { border: 0; padding: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: transparent; color: var(--cream); overflow: hidden; }
.gallery-lightbox[open] { display: grid; place-items: center; }
.gallery-lightbox::backdrop { background: rgba(33, 14, 15, .95); }
.gallery-large { display: block; width: auto; height: auto; max-width: min(82vw, 90rem); max-height: 90svh; object-fit: contain; }
.gallery-close { top: max(.75rem, env(safe-area-inset-top)); right: max(.75rem, env(safe-area-inset-right)); font-size: 1.5rem; line-height: 1; }
.lightbox-position { position: absolute; bottom: max(.75rem, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); border-radius: 999px; padding: .33rem .75rem; font-size: .82rem; background: var(--wine); }
:root:has(.gallery-lightbox[open]) { overflow: hidden; }
.gallery-empty { display: grid; place-items: center; min-height: 15rem; background: var(--cream); color: var(--muted); }
.product-info { grid-area: info; }
.product-info h1 { overflow-wrap: anywhere; }
.product-facts { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 1rem 0; }
.product-facts .price { font-size: 1.05rem; }
.product-facts .size { color: var(--muted); font-size: .88rem; }
.description { white-space: pre-line; }
.dress-material { margin-top: .65rem; color: var(--muted); font-size: .86rem; overflow-wrap: anywhere; }
.dress-material strong { margin-inline-end: .35rem; color: var(--ink); font-weight: 600; }
.inquiry { grid-area: inquiry; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.inquiry h2 { margin-bottom: .65rem; font-size: 1.8rem; }
.inquiry p { font-size: .9rem; color: var(--muted); }
.form { margin-top: 1.15rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.field { min-width: 0; }
.field.full, .form-note, .form .button { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .28rem; font-size: .85rem; font-weight: 550; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 0;
  border: 1px solid #bca9a0;
  background: transparent;
  color: var(--ink);
  padding: .5rem .65rem;
}
.field textarea { min-height: 90px; resize: vertical; }
.form .form-note { font-size: .78rem; }

@media (max-width: 820px) {
  :root { --nav-height: 66px; --mobile-actions-height: calc(62px + env(safe-area-inset-bottom)); }
  body { padding-bottom: var(--mobile-actions-height); text-align: center; }
  html.menu-visible { overflow: hidden; }
  .nav-shell { grid-template-columns: 1fr auto 1fr; gap: 0; }
  .site-header .brand { grid-column: 2; grid-row: 1; width: 76px; position: relative; z-index: 2; }
  .menu-toggle {
    display: grid;
    place-items: center;
    padding: 0;
    width: 44px;
    height: 44px;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    position: relative;
    z-index: 2;
  }
  .menu-toggle span { display: block; position: relative; width: 24px; height: 16px; }
  .menu-toggle span::before, .menu-toggle span::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform .27s ease;
  }
  .menu-toggle span::before { transform: translateY(-4px); }
  .menu-toggle span::after { transform: translateY(4px); }
  .menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
  .site-nav { grid-column: 1 / -1; justify-content: center; flex-wrap: wrap; padding: .25rem 0 .8rem; }
  .site-header.menu-ready .site-nav {
    position: fixed;
    inset: 0;
    padding: calc(var(--nav-height) + 1rem) var(--gutter) max(1rem, env(safe-area-inset-bottom));
    flex-flow: column nowrap;
    gap: clamp(.5rem, 3dvh, 1.65rem);
    justify-content: center;
    justify-content: safe center;
    background: var(--paper);
    visibility: hidden;
    overflow: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.22,.68,.24,1), visibility 0s .4s;
  }
  .site-header.menu-ready.menu-open .site-nav { visibility: visible; transform: translateX(0); transition-delay: 0s; }
  .site-header.menu-ready .site-nav a { font: 400 clamp(1.85rem, 7vw, 3rem)/1.1 var(--serif); padding: .35rem; }
  .site-header .reserve-link { display: none; }
  .home .site-header:not(.menu-ready) { color: var(--wine); background: var(--paper); }
  .home .site-header:not(.menu-ready) .brand img { filter: invert(9%) sepia(48%) saturate(3569%) hue-rotate(336deg) brightness(82%) contrast(96%); }
  .hero-background img { width: 100%; object-position: center 40%; }
  .hero-background::after { background: linear-gradient(180deg, rgba(30, 15, 15, .65), transparent 22%, rgba(35, 14, 13, .14) 42%, rgba(46, 12, 14, .90) 100%); }
  .hero-inner { align-items: end; padding-bottom: max(2.6rem, env(safe-area-inset-bottom)); }
  .hero-copy p { color: var(--cream); }
  .hero-copy .button { margin-top: 1.35rem; }
  .dress-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { grid-template-columns: 1fr; }
  .product { grid-template-areas: "info" "gallery" "inquiry"; grid-template-rows: auto; }
  .gallery-main { max-height: min(65svh, 500px); }
  .page p, .catalog-intro { margin-inline: auto; }
  .page-actions, .product-facts { justify-content: center; }
  .inquiry .button { justify-self: center; }
  .footer-main { display: flex; flex-direction: column; align-items: center; }
  .footer-links { justify-items: center; }
  .footer-actions { justify-content: center; }
  .footer-bottom { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 400px) {
  .form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-background { position: absolute; }
}

.script-title { font-family: var(--script); }
.page-title { font-size: clamp(3.15rem, 7.5vw, 6.5rem); line-height: 1.05; }
.hero .script-title { font-size: clamp(4.15rem, 6.8vw, 7rem); line-height: 1.19; font-weight: 400; }
.ink-line { display: inline-block; max-width: 100%; }
.hero .ink-line { display: block; width: fit-content; margin-inline: auto; }
.page-title .ink-line {
  animation: handwrite .85s cubic-bezier(.38,.03,.4,1) both;
}
.hero-story.is-scroll-ready .hero-copy:not(.is-writing) .ink-line {
  clip-path: inset(-.4em 110% -.4em -.3em);
}
.hero-story:not(.is-scroll-ready) .hero-copy:first-child .ink-line,
.hero-copy.is-writing .ink-line {
  animation: handwrite .72s cubic-bezier(.38,.03,.4,1) both;
}
.hero .ink-line + .ink-line { margin-top: .07em; animation-delay: .28s; }
@keyframes handwrite {
  from { clip-path: inset(-.4em 110% -.4em -.3em); }
  to { clip-path: inset(-.4em -.3em -.4em -.3em); }
}
.hero-copy, .hero-background img { opacity: 0; visibility: hidden; transition: opacity .72s ease, visibility 0s .72s; }
.hero-copy { grid-area: 1 / 1; justify-self: center; width: 100%; padding-inline: clamp(1.25rem, 5vw, 5.5rem); text-align: center; }
.hero-copy.is-active, .hero-background img.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-story.is-scroll-ready { height: calc(100svh * (1 + var(--hero-travel, 0) * var(--hero-density, 1))); }
.hero-story.is-scroll-ready .hero { position: sticky; top: 0; overflow: clip; }
.hero-story.is-scroll-ready :is(.hero-copy, .hero-background img) { transition: none; }
.hero-background img:nth-child(2) { object-position: center 38%; }
.hero-background .hero-rose { object-position: center 41%; }
.hero-background .hero-brand-paper { object-position: center 44%; }
.hero-background .hero-brand-boxes { object-position: center 37%; }

.site-header .reserve-link {
  justify-self: end;
  border: 1px solid currentColor;
  padding: .64rem 1.12rem;
  border-radius: 999px;
  line-height: 1.3;
  text-align: center;
  transition: background-color .24s ease, color .24s ease, border-color .24s ease;
}
.site-header .reserve-link:hover { color: var(--cream); background: var(--wine); border-color: var(--wine); text-decoration: none; }
.home .site-header:not(.past-hero):not(.menu-open) .reserve-link { color: var(--wine); background: var(--cream); border-color: var(--cream); }
.home .site-header:not(.past-hero):not(.menu-open) .reserve-link:hover { color: var(--cream); background: var(--wine); border-color: var(--wine); }

.instagram-float {
  position: fixed;
  z-index: 9;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  display: flex;
  gap: .55rem;
  align-items: center;
}
.instagram-float a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(77, 14, 19, .22);
  border-radius: 50%;
  color: var(--wine);
  background: var(--cream);
  transition: background-color .22s ease, color .22s ease;
}
.instagram-float a:hover { background: var(--wine); color: var(--cream); }
.instagram-icon { position: relative; width: 19px; height: 19px; border: 1.5px solid currentColor; border-radius: 5px; }
.instagram-icon::before, .instagram-icon::after { content: ""; position: absolute; border-radius: 50%; }
.instagram-icon::before { width: 8px; height: 8px; border: 1.5px solid currentColor; inset: 0; margin: auto; }
.instagram-icon::after { width: 2.5px; height: 2.5px; background: currentColor; top: 2px; right: 2px; }
.instagram-tip {
  pointer-events: none;
  padding: .38rem .72rem;
  color: var(--wine);
  background: var(--cream);
  border: 1px solid rgba(77, 14, 19, .2);
  border-radius: 2rem;
  font-size: .78rem;
  opacity: 0;
  transform: translateX(.35rem);
  transition: opacity .25s ease, transform .25s ease;
}
.instagram-float:hover .instagram-tip, .instagram-float:focus-within .instagram-tip, .instagram-float.show-tip .instagram-tip {
  opacity: 1;
  transform: translateX(0);
}
.editorial { display: grid; grid-template-columns: 1fr minmax(250px, 41%); gap: 2rem clamp(2rem, 7vw, 7rem); align-items: center; }
.editorial img { width: 100%; height: clamp(350px, 45vw, 590px); object-fit: cover; object-position: center 35%; }
.about-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 7vw, 7rem); margin-top: clamp(2.5rem, 5.5vw, 5rem); padding-top: clamp(1.75rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.catalog-page { min-height: 68vh; padding-bottom: clamp(3rem, 7vw, 6rem); }
.catalog-intro { margin: .35rem 0 1.5rem; max-width: 58ch; }
.catalog-filters { display: grid; grid-template-columns: minmax(10rem, 1.25fr) repeat(2, minmax(8rem, 1fr)) minmax(11rem, 1fr) auto; align-items: end; gap: .7rem; border-top: 1px solid var(--line); padding-block: 1rem; }
.catalog-filters .button { min-height: 44px; }
.price-range { min-width: 0; padding: 0; margin: 0; border: 0; }
.price-range legend { font-size: .85rem; font-weight: 550; margin-bottom: .28rem; padding: 0; }
.price-range div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.price-range input { min-width: 0; width: 100%; min-height: 44px; border-radius: 0; border: 1px solid #bca9a0; background: transparent; color: var(--ink); padding: .5rem .65rem; }
.catalog-count { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; color: var(--muted); font-size: .86rem; margin: 1.2rem 0 1rem; }
.catalog-empty { padding: 1.2rem 0; color: var(--muted); }
.filter-error { color: var(--wine); padding-top: .6rem; }

@media (max-width: 980px) {
  .catalog-filters { grid-template-columns: 1.2fr repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero .script-title { font-size: clamp(3.5rem, 12vw, 5.5rem); }
  .hero-copy p { max-width: 30ch; margin-inline: auto; }
  .hero-inner { grid-template-columns: 1fr; align-items: end; padding-top: calc(var(--nav-height) + 1rem); padding-bottom: calc(var(--mobile-actions-height) + 2.25rem); }
  .hero-story { --hero-density: .69; }
  .editorial, .about-details { grid-template-columns: 1fr; }
  .editorial img { height: min(66svh, 460px); }
  .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-filters > :first-child { grid-column: 1 / -1; }
  .instagram-float { right: max(.85rem, env(safe-area-inset-right)); bottom: calc(var(--mobile-actions-height) + .65rem); }
  .instagram-float a { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-story.is-scroll-ready { height: auto; }
  .hero-story.is-scroll-ready .hero { position: relative; }
}

.mobile-actions { display: none; }
.home-section { padding-block: clamp(2.75rem, 6.25vw, 5.75rem); }
.featured-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.8rem; }
.featured-head p, .home-about p { max-width: 54ch; margin-top: .75rem; }
.featured-head .button { flex-shrink: 0; }
.demo-note { color: var(--muted); font-size: .82rem; }
.featured-note { margin: -.65rem 0 1.05rem; }
.rental-guide { background: var(--cream); text-align: center; }
.guide-steps { position: relative; list-style: none; counter-reset: rental-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 2rem 0 1.7rem; }
.guide-steps::before { content: ""; position: absolute; top: 1.25rem; inset-inline: calc(100% / 6); height: 1px; background: #b99c90; }
.guide-steps li { position: relative; counter-increment: rental-step; padding: 0 clamp(.8rem, 2.3vw, 2rem); }
.guide-steps li::before {
  content: counter(rental-step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto .95rem;
  border: 1px solid #b99c90;
  border-radius: 50%;
  color: var(--wine);
  background: var(--cream);
  font-size: .82rem;
}
.guide-steps h3 { font-size: 1.55rem; }
.guide-steps p { margin: .55rem auto 0; max-width: 36ch; }
.home-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 2rem clamp(2rem, 8vw, 8rem); }
.home-about .button { margin-top: 1.15rem; }

@media (max-width: 820px) {
  html { scroll-padding-bottom: calc(var(--mobile-actions-height) + 1rem); }
  .mobile-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .55rem;
    align-items: start;
    position: fixed;
    inset: auto 0 0;
    z-index: 8;
    padding: .5rem var(--gutter) calc(.5rem + env(safe-area-inset-bottom));
    min-height: var(--mobile-actions-height);
    border-top: 1px solid var(--line);
    background: var(--paper);
  }
  .mobile-actions a {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: .4rem .25rem;
    color: var(--wine);
    font-size: .84rem;
    font-weight: 600;
  }
  .mobile-actions .mobile-contact { overflow-wrap: anywhere; }
  .mobile-actions .mobile-booking {
    grid-column: 2;
    border: 1px solid var(--wine);
    border-radius: 999px;
    background: var(--wine);
    color: var(--cream);
    text-decoration: none;
  }
  .mobile-actions .mobile-booking:hover { background: var(--cream); color: var(--wine); }
  .featured-head { flex-direction: column; align-items: center; }
  .featured-head p, .guide-steps p, .home-about p { margin-inline: auto; }
  .guide-steps, .home-about { grid-template-columns: 1fr; }
  .guide-steps { gap: 2.4rem; }
  .guide-steps::before { display: none; }
  .guide-steps li { padding-inline: .5rem; }
  .guide-steps li + li::after { content: ""; position: absolute; top: -1.85rem; left: 50%; width: 1px; height: 1.3rem; background: #b99c90; }
  .dress-meta { display: block; }
  .dress-name { margin-bottom: .3rem; }
  .catalog-count { justify-content: center; }
  .catalog-filters > .button { justify-self: center; grid-column: 1 / -1; }
}

.home-news { border-top: 1px solid var(--line); background: #f1e8e0; }
.home-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem clamp(2rem, 6vw, 6rem); }
.home-news-grid article { border-top: 1px solid #b99c90; padding-top: 1rem; }
.home-news-grid h3 { margin-top: .5rem; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.home-news-grid h3 a, .timeline-entry h2 a { text-decoration: none; }
.home-news-grid h3 a:hover, .timeline-entry h2 a:hover { text-decoration: underline; }
.home-news-grid p { margin: .55rem 0 0; max-width: 44ch; }
.home-news-grid time, .news-page time { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.news-page { max-width: 68rem; }
.news-heading { padding-bottom: 1.8rem; }
.news-heading p { margin-bottom: 0; }
.news-timeline { list-style: none; padding: 0; margin: 0; }
.news-page:has(.news-timeline) { max-width: 86rem; }
.news-heading:has(+ .news-timeline) { text-align: center; padding-bottom: clamp(2.5rem, 6vw, 4.6rem); }
.news-heading:has(+ .news-timeline) p { margin-inline: auto; }
.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(4.5rem, 11vw, 10rem) minmax(0, 1fr);
  padding-bottom: clamp(2.25rem, 5vw, 4.5rem);
}
.timeline-entry:last-child { padding-bottom: 0; }
.timeline-entry::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: .52rem;
  height: .52rem;
  left: 50%;
  top: .75rem;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 .24rem var(--paper);
  transform: translate(-50%, -50%);
}
.timeline-curve { position: absolute; left: 50%; top: .75rem; width: clamp(3.5rem, 10vw, 8rem); height: 100%; transform: translateX(-50%); color: #b7998a; }
.timeline-curve path { fill: none; stroke: currentColor; }
.timeline-entry:nth-child(even) .timeline-curve { transform: translateX(-50%) scaleX(-1); }
.timeline-entry article { grid-column: 1; text-align: right; }
.timeline-entry:nth-child(even) article { grid-column: 3; text-align: left; }
.timeline-entry h2 { margin-top: .4rem; font-size: clamp(1.55rem, 3.1vw, 2.5rem); }
.timeline-entry p { margin: .57rem 0 .72rem auto; max-width: 40ch; }
.timeline-entry:nth-child(even) p { margin-left: 0; }
.news-article { max-width: 54rem; }
.news-article h1 { margin-top: .45rem; }
.news-article .news-summary { font-weight: 600; }
.flow-entry { transition: transform .65s cubic-bezier(.2,.65,.26,1), opacity .65s ease; }
.flow-entry.flow-pending:not(.shown) { opacity: .64; transform: translateY(13px); }
@media (max-width: 820px) {
  .home-news-grid { grid-template-columns: 1fr; }
  .home-news-grid p { margin-inline: auto; }
  .timeline-entry { display: block; padding-bottom: 4.3rem; }
  .timeline-entry::before { display: none; }
  .timeline-entry article, .timeline-entry:nth-child(even) article { text-align: center; }
  .timeline-entry p, .timeline-entry:nth-child(even) p { margin-inline: auto; }
  .timeline-curve { top: auto; bottom: .85rem; height: 2.55rem; width: 2.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-entry.flow-pending:not(.shown) { opacity: 1; transform: none; }
}

.footer-contacts { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; font-size: .85rem; overflow-wrap: anywhere; }
.contact-value { overflow-wrap: anywhere; }
.catalog-filter-panel { border-bottom: 1px solid var(--line); }
.catalog-filter-panel > summary {
  display: flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  min-height: 44px;
  padding: 0 .55rem 0 0;
  color: var(--wine);
  cursor: pointer;
  list-style: none;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .3rem;
}
.catalog-filter-panel > summary::-webkit-details-marker { display: none; }
.catalog-filter-panel > summary:hover, .catalog-filter-panel[open] > summary { text-decoration: underline; }
@media (max-width: 820px) {
  .catalog-filter-panel > summary { margin-inline: auto; padding-inline: .55rem; }
  .footer-contacts { justify-content: center; }
}

.home-occasions { border-top: 1px solid var(--line); }
.home-occasions .home-section { padding-top: clamp(2rem, 5vw, 4.25rem); }
.occasion-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem clamp(1.5rem, 4vw, 4rem); margin-top: 1.45rem; }
.occasion-list article { border-top: 1px solid var(--line); padding-top: .95rem; }
.occasion-list h3 { font-size: 1.55rem; }
.occasion-list p { margin-top: .52rem; max-width: 37ch; }
.about-photo {
  position: relative;
  margin: 0 .55rem .55rem 0;
  padding: clamp(.45rem, 1.2vw, .85rem);
  border: 1px solid var(--line);
  background: var(--cream);
  aspect-ratio: 6 / 5;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: .55rem -.55rem -.55rem .55rem;
  border-right: 1px solid var(--wine);
  border-bottom: 1px solid var(--wine);
  pointer-events: none;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.about-copy { display: grid; gap: clamp(1.5rem, 4vw, 2.65rem); }
.about-appointment { border-top: 1px solid #b99c90; padding-top: clamp(1.3rem, 3vw, 2.05rem); }
.about-appointment h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-appointment .text-link { margin-top: .8rem; }

.faq-page, .contact-page {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 2.2rem clamp(2rem, 7.5vw, 8rem);
}
.faq-help { max-width: 27rem; background: var(--cream); border: 1px solid var(--line); margin-top: 2rem; padding: clamp(1.1rem, 3.2vw, 2.15rem); }
.faq-help h2 { font-size: clamp(1.55rem, 2.7vw, 2.25rem); }
.faq-help p { margin-block: .62rem 1rem; }
.faq-answers { display: grid; justify-items: start; gap: 1.8rem; }
.faq-answers section { width: 100%; }
.faq-answers section h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin-bottom: .72rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .75rem;
  min-height: 52px;
  padding: .6rem .22rem;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1px solid #b99c90; border-radius: 50%; color: var(--wine); font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; background: var(--wine); color: var(--cream); border-color: var(--wine); }
.faq-list details p { margin: 0 0 1.05rem; padding-inline: .22rem 2rem; color: var(--muted); }

.contact-channels { display: grid; justify-items: start; gap: .55rem; margin-block: 1.3rem; }
.contact-instagram { display: inline-flex; align-items: center; gap: .6rem; color: var(--wine); font-weight: 600; }
.contact-intro .contact-note { border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-size: .9rem; }
.contact-card { padding: clamp(1.2rem, 3.6vw, 2.6rem); border: 1px solid var(--line); background: var(--cream); }
.contact-card h2 { font-size: clamp(1.85rem, 3.4vw, 2.65rem); }
.contact-card .form-note { margin: 0; }
.contact-card .contact-status { margin: .8rem 0; padding: .58rem .8rem; border-inline-start: 2px solid #566149; color: #34402d; background: var(--paper); }
.contact-card .contact-status.is-error { border-color: var(--wine); color: var(--wine); }

@media (max-width: 820px) {
  .faq-page, .contact-page, .occasion-list { grid-template-columns: 1fr; }
  .faq-help, .occasion-list p { margin-inline: auto; }
  .faq-answers { justify-items: center; }
  .faq-list summary { grid-template-columns: 1.8rem minmax(0,1fr) 1.8rem; padding-inline: .3rem; }
  .faq-list summary::before { content: ""; }
  .faq-list details p { padding-inline: 1rem; }
  .contact-channels { justify-items: center; }
  .contact-card .button { justify-self: center; }
}
