:root {
  --paper: #f6f2e9;
  --ivory: #fffaf1;
  --ink: #1e201b;
  --muted: #59584e;
  --olive: #414537;
  --line: #d6cdbd;
  --display: 'Instrument Serif', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.5 var(--body); }
h1,h2,p,figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #946445; outline-offset: 4px; }
.skip { position: absolute; z-index: 10; top: 12px; left: 12px; padding: 12px; background: var(--ivory); transform: translateY(-200%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 15px; padding: 0 clamp(20px,5vw,76px); min-height: 78px;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.top nav { display: flex; gap: 25px; }
.top nav a,.top-contact,.footer a { font-size: 12px; font-weight: 700; }
.top nav a:hover,.top-contact:hover,.footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.wordmark { font: 400 clamp(27px,3.1vw,45px)/.95 var(--display); letter-spacing: -.035em; white-space: nowrap; }
.wordmark i { font-weight: inherit; }
.top-contact { justify-self: end; }
.top-contact span,.button span { margin-left: 10px; }
.hero {
  padding: clamp(22px,3.3vw,52px) clamp(20px,5vw,76px) clamp(34px,5vw,68px);
  display: grid; grid-template-columns: minmax(270px,.73fr) minmax(0,1.5fr);
  gap: clamp(38px,5vw,80px); align-items: center; max-width: 1660px; margin-inline: auto;
}
.intro { padding-block: 28px; }
.eyebrow { font-size: 10px; letter-spacing: .17em; font-weight: 700; line-height: 1.6; }
h1,h2 { font: 400 clamp(52px,6.5vw,108px)/.87 var(--display); letter-spacing: -.035em; }
h1 { margin: 22px 0; }
h1 em { display: block; color: var(--olive); }
.intro-note { color: var(--muted); line-height: 1.6; max-width: 31ch; margin-bottom: 27px; }
.button { min-height: 46px; padding: 12px 17px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.dark { background: var(--ink); color: var(--ivory); }
.dark:hover { background: #515444; }
.light { background: var(--ivory); color: var(--ink); }
.light:hover { background: #e8dfcf; }
.rail {
  position: relative; display: grid; grid-template-rows: auto 1fr auto;
  min-width: 0; min-height: clamp(480px,44vw,640px); padding: 20px 25px 15px;
  background: radial-gradient(ellipse at 56% 42%,#fffaf0 0%,#e9dfcf 62%,#dbcebb 100%);
  isolation: isolate; overflow: hidden;
}
.rail-header { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .14em; font-weight: 700; z-index: 4; }
.track { min-height: 365px; position: relative; }
.track::before {
  content: ''; position: absolute; z-index: 0; top: 10%; inset-inline: -25px;
  height: 3px; background: linear-gradient(#bdab90,#786852,#ccb99c);
  transform: rotate(-2deg); box-shadow: 0 4px 9px #57463036;
}
.first-photo { display: block; width: min(250px,66%); height: auto; margin: 32px auto; }
.hanger {
  position: absolute; inline-size: min(40%,283px); aspect-ratio: 3/4; left: 50%; top: 8%;
  margin: 0; padding: 0; border: 0; background: transparent;
  translate: -50% 0; transform: translateX(calc(var(--offset) * 40%)) scale(var(--scale));
  transform-origin: center 12%; opacity: var(--opacity); z-index: var(--layer);
  transition: transform .48s cubic-bezier(.2,.75,.32,1),opacity .35s ease;
}
.hanger::before {
  content: ''; width: 15px; height: 18px; position: absolute; left: calc(50% - 6px); top: -13px;
  border: 2px solid #75644f; border-left-color: transparent; border-bottom-color: transparent; border-radius: 55%; rotate: 24deg;
}
.hanger img { display: block; width: 100%; height: auto; }
.hanger { filter: drop-shadow(7px 11px 8px #2e241d48); }
.hanger[data-offset="-2"] { --offset: -2.02; --scale: .71; --layer: 1; --opacity: .64; }
.hanger[data-offset="-1"] { --offset: -1.11; --scale: .83; --layer: 2; --opacity: .87; }
.hanger[data-offset="0"] { --offset: 0; --scale: 1.05; --layer: 3; --opacity: 1; }
.hanger[data-offset="1"] { --offset: 1.11; --scale: .83; --layer: 2; --opacity: .87; }
.hanger[data-offset="2"] { --offset: 2.02; --scale: .71; --layer: 1; --opacity: .64; }
.hanger:hover { opacity: 1; }
.rail-controls { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; z-index: 4; }
.circle {
  display: grid; place-items: center; border-radius: 50%; background: transparent;
  border: 1px solid #8d7f6d; inline-size: 44px; block-size: 44px; padding: 0; font-size: 19px;
}
.circle:hover { background: var(--ivory); }
.current {
  justify-self: center; border: 0; background: transparent; padding: 6px 2px;
  font: 400 clamp(23px,3vw,39px)/1 var(--display); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.collection { border-top: 1px solid var(--line); padding: clamp(43px,6vw,90px) clamp(20px,5vw,76px); background: var(--ivory); }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 25px; margin-bottom: 30px; }
.section-heading h2 { margin-top: 12px; font-size: clamp(50px,6vw,84px); }
.filters { display: flex; align-items: center; gap: 5px 18px; flex-wrap: wrap; }
.filters button { border: 0; border-bottom: 1px solid transparent; min-height: 44px; padding: 4px 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; }
.filters button[aria-pressed="true"],.filters button:hover { border-color: var(--ink); color: var(--ink); }
.catalogue { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px 16px; }
.card { display: grid; width: 100%; gap: 10px; text-align: left; padding: 0; border: 0; background: transparent; }
.card-photo { display: block; aspect-ratio: 4/5; overflow: hidden; background: #e8dfcf; }
.card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .45s ease; }
.card:hover img { scale: 1.035; }
.card-label { display: flex; justify-content: space-between; gap: 8px; font: 400 clamp(21px,2.4vw,34px)/1.05 var(--display); }
.card-label span { font: 500 13px var(--body); }
.boutique { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--olive); color: var(--ivory); }
.boutique img { display: block; width: 100%; height: 100%; min-height: 380px; max-height: 660px; object-fit: cover; }
.boutique > div { align-self: center; padding: clamp(25px,5.5vw,85px); }
.boutique h2 { margin: 16px 0 22px; font-size: clamp(53px,6vw,92px); }
.visit-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.phone,.directions { font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; padding: 28px clamp(20px,5vw,76px); }
.footer .wordmark { font-size: 28px; }
dialog { padding: 0; border: 1px solid var(--line); background: var(--ivory); color: var(--ink); width: min(900px,calc(100% - 28px)); max-height: calc(100% - 28px); }
dialog::backdrop { background: #1e201bbb; }
.close { position: absolute; z-index: 1; top: 11px; right: 11px; background: var(--ivory); }
.detail-layout { display: grid; grid-template-columns: 1fr .94fr; }
.detail-image { display: block; background: #e8dfcf; }
.detail-image img { display: block; width: 100%; max-height: 75vh; object-fit: contain; }
.detail-copy { padding: clamp(24px,5vw,65px); align-self: center; }
.detail-copy h2 { font-size: clamp(42px,5vw,74px); margin: 13px 0 16px; }
.detail-copy > p:not(.eyebrow) { color: var(--muted); }
.availability { margin: 18px 0 12px; font-size: 13px; }
.directions { display: inline-block; margin-top: 13px; }
@media(max-width: 850px) {
  .hero { gap: 24px; grid-template-columns: minmax(200px,.7fr) minmax(0,1.3fr); }
  .rail { min-height: 425px; }
  .track { min-height: 300px; }
  .hanger { top: 10%; }
}
@media(max-width: 630px) {
  .top { min-height: 64px; grid-template-columns: 1fr auto; }
  .top nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .intro { padding-block: 12px 0; }
  h1 { font-size: clamp(67px,13vw,96px); margin: 13px 0 15px; }
  h1 em { display: inline; }
  .intro-note { margin-bottom: 17px; }
  .rail { min-height: 0; padding: 15px 12px 11px; }
  .track { min-height: clamp(229px,64vw,360px); }
  .track::before { inset-inline: -12px; }
  .hanger { top: 11%; width: 41%; }
  .catalogue { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 10px; }
  .boutique,.detail-layout { grid-template-columns: 1fr; }
  .boutique img { min-height: 0; max-height: 325px; }
  .detail-image img { max-height: 44vh; }
  .footer a { min-height: 34px; display: inline-flex; align-items: center; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
}
