:root {
  --ink: #0b0b0b;
  --paper: #f3f1ec;
  --white: #f8f7f3;
  --line: rgba(11, 11, 11, 0.18);
  --serif: "Italiana", "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 76px;
  padding: 0 clamp(1.2rem, 3.7vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  color: var(--ink);
  background: rgba(243, 241, 236, 0.96);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.desktop-nav { display: flex; align-items: center; gap: clamp(1.3rem, 2.7vw, 3.2rem); }
.desktop-nav a,
.search-button,
.order-button {
  position: relative;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.45rem;
  height: 1px;
  background: currentColor;
  transition: right 0.2s ease;
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { right: 0; }
.search-button {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.order-button {
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.order-count {
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 .35rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .68rem;
  line-height: 1;
  letter-spacing: 0;
}
.search-icon {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-block;
  flex: 0 0 auto;
  border: 1.4px solid currentColor;
  border-radius: 50%;
}
.search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 6px;
  height: 1.4px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}
.search-icon.large { width: 20px; height: 20px; border-width: 1.5px; }
.search-icon.large::after { right: -5px; bottom: -3px; width: 8px; height: 1.5px; }
.menu-button,
.mobile-nav { display: none; }

.search-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
}
.search-dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
.search-panel {
  min-height: 100%;
  padding: clamp(1.2rem, 3.7vw, 4rem);
}
.search-heading {
  padding-bottom: 1.15rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}
.search-heading p,
.search-close,
.search-caption {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.search-close {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}
.search-field {
  max-width: 1180px;
  margin: clamp(4rem, 10vw, 9rem) auto clamp(3rem, 7vw, 6rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--ink);
}
.search-field input {
  width: 100%;
  padding: 0.75rem 0 1rem;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 5.8rem);
  letter-spacing: -0.035em;
}
.search-field input::placeholder { color: #8d8a83; opacity: 1; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-results {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}
.search-caption { padding: 1rem 0; color: #77746e; }
.search-results > a {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
}
.search-results > a span:first-child { font-family: var(--serif); font-size: 1.45rem; }
.search-results > a span:last-child { align-self: center; color: #6d6a64; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.search-results > a:hover span:first-child,
.search-results > a:focus-visible span:first-child { font-style: italic; }
.search-empty {
  margin: 0;
  padding: 2rem 0;
  color: #56534e;
}
.search-empty a { display: block; width: fit-content; margin-top: 1rem; border-bottom: 1px solid currentColor; color: var(--ink); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: #111;
}
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  object-fit: cover;
  object-position: 51% 48%;
  filter: grayscale(1) contrast(1.12) brightness(0.78);
  transform: scale(1.015);
}
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, transparent 32%, rgba(0, 0, 0, 0.17) 70%, rgba(0, 0, 0, 0.56) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.14), transparent 45%, rgba(0, 0, 0, 0.18));
}
.hero-meta {
  position: absolute;
  z-index: 2;
  top: 108px;
  left: clamp(1.2rem, 3.7vw, 4rem);
  right: clamp(1.2rem, 3.7vw, 4rem);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.hero-meta p,
.hero-kicker,
.hero-scroll,
.photo-credit {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.hero-title-wrap {
  position: absolute;
  z-index: 2;
  left: clamp(1.2rem, 3.7vw, 4rem);
  right: clamp(1.2rem, 3.7vw, 4rem);
  bottom: clamp(4.5rem, 8vh, 7rem);
}
.hero-kicker { margin-bottom: 1rem; }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5.4rem, 15.2vw, 15.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.68;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero h1 span {
  display: block;
  margin-left: 33.5%;
}
.hero-scroll {
  position: absolute;
  z-index: 2;
  right: clamp(1.2rem, 3.7vw, 4rem);
  bottom: 2rem;
  display: flex;
  gap: 1.2rem;
}
.photo-credit {
  position: absolute;
  z-index: 2;
  left: clamp(1.2rem, 3.7vw, 4rem);
  bottom: 2rem;
  opacity: 0.54;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.section-label {
  margin: 0;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-label.light { color: rgba(255, 255, 255, 0.62); }
.perfumeria {
  padding: clamp(6.5rem, 11vw, 11rem) clamp(1.2rem, 6vw, 7rem) 0;
  background: var(--paper);
}
.section-intro {
  display: grid;
  grid-template-columns: 0.42fr 1.13fr 0.55fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
  padding-bottom: clamp(5rem, 9vw, 9rem);
}
.section-intro h2,
.maison h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7.2vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}
.section-intro > p:last-child {
  max-width: 31rem;
  margin: 0;
  padding-top: 0.6rem;
  color: #4a4945;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 300;
}
.collection-grid {
  border-top: 1px solid var(--ink);
}
.collection-card {
  min-height: 190px;
  padding: 1.4rem 0;
  display: grid;
  grid-template-columns: 0.3fr 1.2fr 0.5fr;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s ease, background 0.25s ease;
}
.collection-card:hover,
.collection-card:focus-visible {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  background: rgba(255, 255, 255, 0.36);
}
.collection-number,
.collection-action {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.collection-action { justify-self: end; }
.collection-name {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.3vw, 6rem);
  letter-spacing: -0.035em;
}
.service-line {
  margin: clamp(5rem, 8vw, 8rem) calc(clamp(1.2rem, 6vw, 7rem) * -1) 0;
  padding: 1.25rem clamp(1.2rem, 6vw, 7rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--ink);
  color: var(--white);
}
.service-line p {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.atelier {
  min-height: 92svh;
  padding: clamp(6.5rem, 10vw, 10rem) clamp(1.2rem, 6vw, 7rem) clamp(4rem, 6vw, 7rem);
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: var(--ink);
}
.atelier-top {
  display: flex;
  justify-content: space-between;
}
.atelier-status {
  margin: 0;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.atelier-main {
  margin: auto 0;
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  gap: clamp(3rem, 8vw, 10rem);
  align-items: end;
}
.atelier h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 9.7vw, 10.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.84;
}
.atelier h2 em {
  margin-left: 14%;
  font-weight: 400;
}
.atelier-main > p {
  max-width: 33rem;
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 300;
}
.atelier-note {
  margin: 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.maison {
  min-height: 80svh;
  padding: clamp(7rem, 12vw, 12rem) clamp(1.2rem, 6vw, 7rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(4rem, 10vw, 12rem);
  align-items: center;
  background: var(--white);
}
.maison-heading .section-label { margin-bottom: clamp(2.2rem, 4vw, 4rem); }
.maison-copy { max-width: 37rem; }
.maison-copy p:first-child {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.65vw, 2.75rem);
  line-height: 1.25;
}
.maison-copy p:nth-child(2) {
  margin: 0 0 3.5rem;
  color: #5b5954;
  font-weight: 300;
}
.outline-link {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer {
  min-height: 320px;
  padding: 3rem clamp(1.2rem, 3.7vw, 4rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: end;
  color: var(--white);
  background: var(--ink);
}
.footer-mark {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.footer-meta {
  display: grid;
  gap: 0.28rem;
  text-align: center;
}
.footer-meta p,
.footer-meta a,
.footer-est {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer-est { justify-self: end; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 820px) {
  .site-header { height: 66px; }
  .desktop-nav { display: none; }
  .menu-button {
    width: 34px;
    height: 34px;
    padding: 7px 2px;
    display: grid;
    align-content: center;
    gap: 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-button > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 0.2s ease;
  }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav {
    position: fixed;
    inset: 66px 0 0;
    padding: 3rem 1.2rem;
    z-index: 29;
    background: var(--paper);
    color: var(--ink);
  }
  .mobile-nav:not([hidden]) { display: grid; align-content: start; }
  .mobile-nav a,
  .mobile-search-button,
  .mobile-order-button {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 2.15rem;
  }
  .mobile-search-button,
  .mobile-order-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ink);
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
    text-align: left;
  }
  .site-header.menu-active {
    color: var(--ink);
    background: var(--paper);
    border-color: var(--line);
  }
  .hero-meta { top: 89px; }
  .hero h1 {
    font-size: clamp(4.5rem, 23vw, 7rem);
    line-height: 0.78;
    white-space: normal;
  }
  .hero h1 span { margin-left: 12%; }
  .hero-title-wrap { bottom: 6.8rem; }
  .hero-scroll { bottom: 2.1rem; }
  .photo-credit { bottom: 4.5rem; }
  .hero-meta p:last-child { display: none; }
  .hero-image { object-position: 57% center; }
  .search-panel { padding-top: 1.5rem; }
  .search-field { margin-top: 5rem; }
  .search-field input { font-size: clamp(1.6rem, 8vw, 3rem); }
  .search-results > a { grid-template-columns: 1fr; gap: 0.25rem; }
  .section-intro,
  .atelier-main,
  .maison {
    grid-template-columns: 1fr;
  }
  .section-intro { gap: 2.2rem; }
  .section-intro > p:last-child { padding-top: 0; }
  .collection-card {
    min-height: 170px;
    grid-template-columns: 42px 1fr;
    gap: 1rem;
  }
  .collection-name {
    font-size: clamp(2.1rem, 10vw, 3rem);
    line-height: 0.96;
  }
  .collection-action { display: none; }
  .service-line { grid-template-columns: 1fr 1fr; gap: 1.2rem 0.8rem; }
  .atelier { min-height: 82svh; }
  .atelier-status { max-width: 11rem; text-align: right; }
  .atelier-main { align-items: start; }
  .atelier h2 em { margin-left: 5%; }
  .maison { gap: 3.6rem; }
  .site-footer {
    min-height: 410px;
    grid-template-columns: 1fr;
    align-content: end;
  }
  .footer-meta { text-align: left; }
  .footer-est { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Refined type scale and shopping guidance */
html { scroll-padding-top: 6rem; }
[hidden] { display: none !important; }
.hero h1 { font-size: clamp(4rem, 10vw, 10rem); line-height: .92; }
.section-intro h2, .maison h2 { font-size: clamp(2.5rem, 4.6vw, 4.8rem); line-height: 1.06; }
.collection-name { font-size: clamp(1.75rem, 3.2vw, 3.7rem); line-height: 1.15; }
.collection-card { min-height: 125px; }
.perfumeria { padding-top: clamp(4rem, 7vw, 7rem); }
.section-intro { padding-bottom: clamp(3rem, 5vw, 5rem); }
.atelier { min-height: 0; padding-top: 4rem; padding-bottom: 3rem; gap: 3rem; }
.atelier-main { margin: 0; }
.atelier h2 { font-size: clamp(2.8rem, 6vw, 6.5rem); line-height: 1.02; }
.maison { min-height: 0; padding-top: 5rem; padding-bottom: 5rem; }
.maison-copy p:first-child { font-size: clamp(1.5rem, 2vw, 2rem); }
.search-field input { font-size: clamp(1.5rem, 3vw, 3rem); }
.desktop-nav a, .search-button, .order-button, .section-label, .outline-link, .atelier-status, .search-close, .search-heading p { font-size: .875rem; letter-spacing: .08em; }
.collection-number, .collection-action, .service-line p, .atelier-note, .hero-meta p, .hero-kicker, .hero-scroll, .footer-meta p, .footer-meta a, .footer-est, .search-caption { font-size: .75rem; }
.photo-credit { font-size: .75rem; }
.shopping-help, .purchase-faq { padding: clamp(3.5rem, 6vw, 6rem) clamp(1.2rem, 6vw, 7rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); }
.shopping-help { background: var(--white); }
.help-intro h2, .purchase-faq h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 3.7vw, 4rem); line-height: 1.08; margin: 1.25rem 0; }
.help-intro > p:not(.section-label), .help-options p:not(.section-label), .faq-list p { color: #53504b; line-height: 1.65; }
.help-intro .outline-link { margin-top: 2rem; gap: 1rem; }
.help-intro .outline-link + .outline-link { margin-top: 0; border-top: 0; }
.help-options article { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.help-options article:first-child { padding-top: 0; border-top: 0; }
.help-options h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; margin: .6rem 0; }
.help-options p { margin: 0; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.35rem 0; cursor: pointer; font-size: 1rem; }
.faq-list p { margin: 0 0 1.5rem; }
.faq-list a { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@media (max-width: 820px) {
 .hero h1 { font-size: clamp(3rem, 17vw, 6rem); line-height: .96; }
 .collection-card { min-height: 105px; }
 .collection-name { font-size: clamp(1.6rem, 6.5vw, 2.4rem); line-height: 1.15; }
 .shopping-help, .purchase-faq { grid-template-columns: 1fr; gap: 2rem; }
 .atelier-main { gap: 2rem; }
 .mobile-nav a, .mobile-search-button, .mobile-order-button { font-size: 1.65rem; padding: 1rem 0; }
}

.scout-selection { padding: clamp(3.5rem,6vw,6rem) clamp(1.2rem,6vw,7rem); }
.selection-heading { max-width: 44rem; margin-bottom: 3rem; }
.selection-heading h2 { font: 400 clamp(2.25rem,3.7vw,4rem)/1.1 var(--serif); margin: 1rem 0; }
.selection-heading > p:last-child, .scout-group-heading p { color: #53504b; }
.scout-group { padding: 2rem 0; }
.scout-group-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; border-top: 1px solid var(--ink); padding: 1rem 0; }
.scout-group-heading h3 { font: 400 clamp(1.8rem,2.5vw,2.5rem)/1.2 var(--serif); margin: 0; }
.scout-group-heading p { max-width: 28rem; margin: 0; }
.scout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.scout-card { padding: clamp(1.25rem,3vw,2.5rem); background: var(--white); border: 1px solid var(--line); }
.scout-status { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #56534e; margin: 0 0 2rem; }
.scout-card h4 { font: 400 clamp(1.9rem,2.8vw,3rem)/1.15 var(--serif); margin: .65rem 0; }
.scout-concentration { font-size: .875rem; color: #53504b; }
.scout-notes { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.scout-card > p { line-height: 1.6; }
.scout-card summary { cursor: pointer; padding: .75rem 0; }
.scout-card details { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.scout-card details p { color: #53504b; }
.scout-card details a, .scout-contact { display: inline-block; font-size: .875rem; text-decoration: underline; text-underline-offset: .25em; margin: .75rem 0; }
@media (max-width: 820px) { .scout-grid { grid-template-columns: 1fr; } .scout-group-heading { display: block; } .scout-group-heading p { margin-top: .75rem; } }
.selection-nav { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.selection-nav a { padding: .7rem 1rem; border: 1px solid var(--line); font-size: .875rem; }
.selection-nav a:hover { background: var(--ink); color: var(--white); }
.scout-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.scout-card { padding: 1.5rem; }
.scout-card h4 { font-size: clamp(1.6rem,2.2vw,2.2rem); overflow-wrap: anywhere; }
.scout-status { margin-bottom: 1.25rem; }
@media (max-width: 1100px) { .scout-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .scout-grid { grid-template-columns: 1fr; } }
/* Pilot catalog: restrained bottle photography with clear purchase status. */
.hero { min-height: 78svh; }
.catalog-filters { display: grid; grid-template-columns: minmax(0,1.3fr) repeat(3,minmax(0,1fr)); gap: 1rem; border-block: 1px solid var(--line); padding: 1.5rem 0; }
.catalog-filters label { font-size: .875rem; display: grid; gap: .5rem; min-width: 0; }
.catalog-filters input[type="search"], .catalog-filters select { width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--line); border-radius: 0; padding: .65rem; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; }
.catalog-filters .favorites-filter { display: flex; align-items: center; gap: .6rem; }
.favorites-filter input { width: 18px; height: 18px; accent-color: var(--ink); }
.catalog-reset { justify-self: start; border: 0; background: transparent; text-decoration: underline; cursor: pointer; font-size: .875rem; min-height: 44px; }
.catalog-summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .875rem; }
.catalog-summary p:last-child { color: #62605a; }
.catalog-empty { padding: 3rem 0; }
.scout-card:has(.product-photo) { padding: 0; }
.product-card-body { padding: 1.25rem; }
.scout-card:not(:has(.product-photo)) .product-card-body { padding: 0; }
.product-photo { display: block; width: 100%; padding: 1.5rem; background: #fff; border: 0; cursor: pointer; }
.product-photo img { width: 100%; height: 250px; object-fit: contain; display: block; }
.product-card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product-card-top .scout-status { margin: 0; font-size: .875rem; }
.favorite-button { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.favorite-button svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.favorite-button[aria-pressed="true"] svg { fill: currentColor; }
.product-name { border: 0; padding: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.product-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.product-more { min-height: 44px; font-size: .875rem; padding: .65rem 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; }
.product-order { min-height: 44px; padding: .7rem 1rem; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font: inherit; font-size: .875rem; cursor: pointer; }
.product-dialog { width: min(940px,calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: clamp(1.25rem,4vw,3rem); border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.product-dialog::backdrop { background: rgba(0,0,0,.65); }
.detail-close { display: block; margin-left: auto; border: 0; background: transparent; min-height: 44px; cursor: pointer; text-decoration: underline; }
.detail-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; align-items: center; }
.detail-layout > div { min-width: 0; overflow-wrap: anywhere; }
.detail-layout:has(#detail-image[hidden]) { grid-template-columns: 1fr; }
#detail-image { display: block; width: 100%; height: 380px; object-fit: contain; background: white; }
#detail-title { font: 400 clamp(2rem,4vw,3.5rem)/1.1 var(--serif); margin: 1rem 0; }
#detail-stock, #detail-sku { font-size: .875rem; color: #56534e; }
#add-to-order { padding: .8rem 1rem; background: var(--ink); color: white; border: 0; cursor: pointer; }
#order-product-status { min-height: 1.35rem; font-size: .875rem; }
#detail-source { display: inline-block; margin-top: 1rem; font-size: .875rem; text-decoration: underline; }
@media (max-width: 820px) { .catalog-filters { grid-template-columns: 1fr 1fr; } .detail-layout { grid-template-columns: 1fr; } #detail-image { height: 250px; } }
@media (max-width: 420px) { .catalog-filters { grid-template-columns: 1fr; } .product-card-actions { align-items: stretch; flex-direction: column; } .product-order { width: 100%; } }

/* Functional order request, styled as part of the existing editorial system. */
.order-dialog {
  width: min(980px, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.order-dialog::backdrop { background: rgba(0,0,0,.68); }
.order-panel { padding: clamp(1.25rem,4vw,3.5rem); }
.order-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); }
.order-heading p { margin: 0; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.order-close { min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; }
.order-title-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; padding: 2rem 0; }
.order-title-wrap h2 { margin: .6rem 0 0; font: 400 clamp(2.5rem,5vw,5rem)/.98 var(--serif); }
.order-title-wrap > p { max-width: 30rem; margin: 0; color: #53504b; line-height: 1.6; }
.order-empty { padding: 2rem 0; border-block: 1px solid var(--line); color: #53504b; }
.order-items { border-top: 1px solid var(--line); }
.order-item { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.order-item img { width: 72px; height: 72px; object-fit: contain; background: var(--white); }
.order-item-copy { min-width: 0; }
.order-item-copy p { margin: .15rem 0; color: #53504b; font-size: .8rem; overflow-wrap: anywhere; }
.order-item-copy h3 { margin: .2rem 0; font: 400 1.35rem/1.15 var(--serif); }
.order-item-controls { display: grid; grid-template-columns: 44px minmax(2rem,auto) 44px; align-items: center; text-align: center; }
.order-item-controls button { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
.order-item-controls button:disabled { opacity: .35; cursor: not-allowed; }
.order-remove { grid-column: 1 / -1; width: auto !important; margin-top: .25rem; border: 0 !important; text-decoration: underline; }
.order-summary { margin: 1rem 0 0; text-align: right; font-size: .875rem; }
.order-form { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ink); }
.order-form h3 { margin: 0 0 1.5rem; font: 400 1.75rem/1.2 var(--serif); }
.order-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.order-fields label { display: grid; gap: .5rem; font-size: .8rem; letter-spacing: .04em; }
.order-fields label > span { color: #68645e; font-size: .75rem; letter-spacing: 0; }
.order-fields input, .order-fields textarea { width: 100%; min-height: 46px; padding: .75rem; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; }
.order-fields textarea { min-height: 110px; resize: vertical; }
.order-notes { grid-column: 1 / -1; }
.order-notice { margin: 1.5rem 0; color: #53504b; font-size: .85rem; line-height: 1.6; }
.order-notice a { text-decoration: underline; text-underline-offset: .2em; }
.order-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.order-actions button { min-height: 46px; padding: .75rem 1rem; font: inherit; cursor: pointer; }
.order-actions button:disabled { opacity: .4; cursor: not-allowed; }
.order-submit { border: 1px solid var(--ink); background: var(--ink); color: var(--white); }
.order-copy { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.order-clear { border: 0; background: transparent; color: var(--ink); text-decoration: underline; }
.order-status { min-height: 1.4rem; margin-bottom: 0; font-size: .875rem; }
#order-fallback { width: 100%; min-height: 180px; margin-top: 1rem; padding: .75rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: inherit; }
@media (max-width: 680px) {
  .order-title-wrap, .order-fields { grid-template-columns: 1fr; }
  .order-title-wrap { align-items: start; }
  .order-notes { grid-column: auto; }
  .order-item { grid-template-columns: 56px minmax(0,1fr); align-items: start; }
  .order-item img { width: 56px; height: 56px; }
  .order-item-controls { grid-column: 1 / -1; justify-content: end; }
  .order-actions { align-items: stretch; flex-direction: column; }
  .order-actions button { width: 100%; }
}
