/* Designer's Tailoring — "Atelier": a fashion-house lookbook in four horizontal chapters. Mobile first. */
:root {
  --surface: #F5F1EA;
  --ink: #1E1915;     /* also brand */
  --brand: #1E1915;
  --camel: #B08D57;
  --sage: #8A8F7C;
  --cta: #7A2E2E;     /* reserved: primary action */
  --muted: #5B524A;
  --hair: rgba(30,25,21,.18);
  --ease: cubic-bezier(.22,1,.36,1);
  --pad: clamp(1.25rem, 6vw, 5rem);
  --f-disp: "Gilda Display", "Cormorant Garamond", Georgia, serif;
  --f-body: "Tenor Sans", "Gill Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 1rem/1.7 var(--f-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-disp); font-weight: 400; margin: 0; line-height: 1; }
p { margin: 0; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: var(--surface); padding: .7rem 1rem; }
.skip:focus { top: 3.2rem; }
.kick, .eyebrow { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.tag { display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--camel); padding-bottom: .15rem; }

/* HEADER — quiet */
.hd { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: 1rem var(--pad); border-bottom: 1px solid var(--hair); }
.hd-place { display: none; }
.brand { font: 400 1.35rem/1 var(--f-disp); letter-spacing: .02em; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.hd-nav { display: flex; gap: 1.4rem; align-items: center; }
.hd-book { display: none; }
.hd-call { min-height: 44px; display: inline-flex; align-items: center; font-size: .92rem; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid var(--ink); }
@media (min-width: 900px) {
  .hd { grid-template-columns: 1fr auto 1fr; }
  .hd-place { display: block; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
  .brand { font-size: 1.6rem; }
  .hd-nav { justify-content: flex-end; }
  .hd-book { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-size: .92rem; letter-spacing: .04em; }
  .hd-book:hover, .hd-call:hover { color: var(--cta); }
}

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: .4rem 1.7rem; font: 400 1rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent; border-radius: 0; transition: background-color .4s var(--ease), color .4s var(--ease); text-align: center; }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: #5F2222; }
.btn-line { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--surface); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* HERO */
.hero { display: grid; gap: 1.4rem; padding: 2.2rem var(--pad) 4rem; }
.hero h1 { font-size: clamp(3.3rem, 16vw, 9.4rem); line-height: .92; letter-spacing: -.015em; display: grid; }
.hero h1 span:last-child { padding-left: .6em; }
.hero-body { display: grid; gap: 1.4rem; order: 2; }
.lede { font-size: 1.08rem; max-width: 38ch; color: #3A322C; }
.hero-fig { margin: 1rem calc(-1 * var(--pad)) 0; order: 3; }
.hero-fig { overflow: hidden; }
.hero-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.9); transform-origin: 50% 100%; } /* art-directed crop: chest down, no face */
.hero-fig figcaption { position: relative; background: var(--surface); }
figcaption { font: 400 .95rem/1.4 var(--f-disp); color: var(--muted); padding: .7rem var(--pad) 0; }
figcaption span { font-family: var(--f-body); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; margin-right: .6rem; color: var(--ink); }
.contents { order: 4; margin-top: 1.2rem; }
.contents-t { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.contents ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.contents li { border-bottom: 1px solid var(--hair); }
.contents a { display: flex; align-items: baseline; gap: 1rem; padding: .85rem 0; text-decoration: none; font: 400 clamp(1.6rem, 6vw, 2.3rem)/1.1 var(--f-disp); transition: padding-left .5s var(--ease), color .3s; }
.contents a i { font-style: normal; font-family: var(--f-body); font-size: .8rem; letter-spacing: .1em; color: var(--muted); min-width: 2.2rem; }
.contents a:hover { padding-left: .8rem; color: var(--cta); }
@media (min-width: 1000px) {
  .hero { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2rem; padding-top: 4rem; padding-bottom: 6rem; align-items: start; }
  .hero .eyebrow { grid-column: 1 / 9; grid-row: 1; }
  .hero h1 { grid-column: 1 / 9; grid-row: 2; }
  .hero-fig { grid-column: 9 / 13; grid-row: 1 / 5; margin: 0; }
  .hero-fig figcaption { padding-left: 0; }
  .hero-body { grid-column: 1 / 5; grid-row: 3; margin-top: 2rem; }
  .contents { grid-column: 5 / 9; grid-row: 3; margin-top: 2rem; }
}

/* CHALK LINE under headings */
.chalk { display: block; width: min(240px, 70%); height: 12px; margin: .9rem 0 1.4rem; overflow: visible; }
.chalk path { fill: none; stroke: var(--camel); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js [data-reveal] .chalk path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .35s; }
html.js [data-reveal].is-in .chalk path { stroke-dashoffset: 0; }

/* CHAPTERS — stacked on phones */
.hs { border-top: 1px solid var(--hair); }
.panel { padding: 4rem var(--pad); }
.panel + .panel { border-top: 1px solid var(--hair); }
.ch-h { font-size: clamp(2.6rem, 11vw, 5rem); letter-spacing: -.01em; }
.intro { display: grid; gap: 2rem; }
.intro-fig { margin: 0; width: 70%; }
.intro-txt { display: grid; gap: 1rem; }
.intro-txt .ch-h { font-size: clamp(2.2rem, 9vw, 3.6rem); }
.intro-txt .tag { justify-self: start; }
.desk-only { display: none; }
.ch { display: grid; gap: 1.6rem; padding-top: 0; }
.ch-fig { margin: 0 calc(-1 * var(--pad)); }
.ch-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ch-txt { display: grid; align-content: start; }
.ch-num { font: 400 4.2rem/1 var(--f-disp); color: transparent; -webkit-text-stroke: 1px var(--camel); margin-bottom: .2rem; }
.ch-lede { font-size: 1.05rem; color: #3A322C; max-width: 36ch; margin-bottom: 1.6rem; }
.menu { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); max-width: 30rem; }
.menu li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--hair); }
.menu b { font: 400 1.1rem var(--f-disp); white-space: nowrap; }
.ch-mini { margin: 1.8rem 0 0; width: 9rem; }
.ch-mini img { aspect-ratio: 1; object-fit: cover; }
.outro { display: grid; gap: 1.2rem; justify-items: start; }
.outro-h { font: 400 clamp(2.4rem, 10vw, 4.6rem)/1 var(--f-disp); }
.hs-bar { display: none; }

/* CHAPTERS — horizontal, driven by vertical scroll (desktop, JS, motion OK) */
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  html.js .hs { height: calc(100vh + 352vw); border-top: 0; }
  html.js .hs-view { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  html.js .hs-track { display: flex; height: 100%; width: 452vw; transform: translate3d(calc(var(--pin, 0) * -352vw), 0, 0); will-change: transform; }
  html.js .panel { flex: none; height: 100%; padding: 0; border: 0; }
  html.js .intro { width: 64vw; grid-template-columns: auto 1fr; align-items: center; gap: 4vw; padding: 0 4vw 0 var(--pad); }
  html.js .intro-fig { width: auto; height: 58vh; }
  html.js .intro-fig img { height: 100%; width: auto; aspect-ratio: 4 / 5; object-fit: cover; }
  html.js .desk-only { display: inline; }
  html.js .ch { width: 86vw; grid-template-columns: auto minmax(0, 1fr); gap: 0; align-items: center; border-left: 1px solid var(--hair); }
  html.js .ch-fig { margin: 0; height: 100vh; position: relative; display: flex; }
  html.js .ch-fig img { height: 100%; width: auto; aspect-ratio: 4 / 5; }
  html.js .ch-fig figcaption { writing-mode: vertical-rl; transform: rotate(180deg); padding: 2rem .9rem; align-self: flex-end; white-space: nowrap; }
  html.js .ch-txt { padding: 0 5vw 0 3vw; max-width: 40rem; }
  html.js .ch-num { font-size: 6rem; }
  html.js .outro { width: 44vw; align-content: center; padding: 0 var(--pad) 0 6vw; border-left: 1px solid var(--hair); }
  html.js .hs-bar { display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: 1.6rem; height: 1px; background: var(--hair); }
  html.js .hs-bar span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--pin, 0)); }
}

/* BOOK A FITTING */
.book { padding: 5rem var(--pad); border-top: 1px solid var(--hair); display: grid; gap: 1rem; }
.book-head { display: grid; }
.book-form { display: grid; gap: 1.8rem; max-width: 980px; }
.bk-f { border: 0; margin: 0; padding: 0; min-width: 0; }
.bk-f legend { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; padding: 0; }
.days { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: thin; }
.days button { flex: none; scroll-snap-align: start; width: 68px; min-height: 84px; display: grid; place-items: center; gap: 0; padding: .4rem 0; border: 1px solid var(--hair); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .3s, color .3s; }
.days button small { font: 400 .75rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.days button b { font: 400 1.7rem/1 var(--f-disp); }
.days button[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.days button[aria-disabled="true"] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.fine { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips button { min-height: 46px; padding: .3rem 1.2rem; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 400 .95rem var(--f-body); letter-spacing: .06em; cursor: pointer; transition: background-color .3s, color .3s; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.summary { font: 400 1.5rem/1.3 var(--f-disp); padding: 1rem 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.bk-fields { display: grid; gap: 1.2rem; }
.fld { display: grid; gap: .3rem; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fld input, .fld textarea { width: 100%; min-height: 50px; font: 400 1rem/1.5 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: .6rem 0; border-radius: 0; }
.fld input:focus, .fld textarea:focus { outline: none; border-bottom: 2px solid var(--camel); }
.book-form > .btn { justify-self: start; }
.confirm { padding: 1rem 1.2rem; border-left: 2px solid var(--cta); background: #EDE6DA; }
@media (min-width: 800px) { .bk-fields { grid-template-columns: 1fr 1fr; } .bk-fields .wide { grid-column: 1 / -1; } .book { grid-template-columns: 1fr 2fr; gap: 4rem; } .book-head { align-content: start; } }

/* VISIT */
.visit { padding: 5rem var(--pad); border-top: 1px solid var(--hair); display: grid; gap: 2.4rem; }
.v-addr { display: grid; gap: .8rem; }
.v-city { font: 400 1.5rem var(--f-disp); color: var(--muted); margin-bottom: .8rem; }
.hours { align-self: end; border-top: 1px solid var(--ink); padding-top: 1rem; max-width: 26rem; }
.hours-t { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; margin: 0; }
.hours dd { margin: 0; text-align: right; }
@media (min-width: 900px) { .visit { grid-template-columns: 1.6fr 1fr; align-items: end; } }

/* FOOTER */
.ft { background: var(--ink); color: #E9E2D6; padding: 3.5rem var(--pad) 2.6rem; display: grid; gap: 1rem; }
.ft-brand { font: 400 2rem var(--f-disp); color: var(--surface); }
.ft .pv-note { color: #E2DACD; max-width: 72ch; font-size: 13px; }
.photo-credits { font-size: .9rem; }
.photo-credits summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--surface); }
.photo-credits ul { margin: .3rem 0 .8rem; padding-left: 1.1rem; display: grid; gap: .25rem; }

/* FLOATING CHAPTER PREVIEW (pointer devices) */
.float { position: fixed; left: 0; top: 0; z-index: 70; width: 200px; pointer-events: none; opacity: 0; visibility: hidden; transform: translate3d(var(--fx, 0px), var(--fy, 0px), 0) scale(.94); transition: opacity .35s var(--ease), transform .5s var(--ease), visibility 0s linear .35s; }
.float.on { opacity: 1; visibility: visible; transform: translate3d(var(--fx), var(--fy), 0) scale(1); transition-delay: 0s; }
.float img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 60px rgba(30,25,21,.25); }

/* DOCK */
.dock { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .dock { display: grid; grid-template-columns: 1fr 1.7fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--hair); }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 52px; text-decoration: none; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; }
  .dock-call { border: 1px solid var(--ink); }
  .dock-cta { background: var(--cta); color: #fff; }
}

/* REVEAL */
html.js .hero h1 span { display: block; animation: rise 1.4s var(--ease) both; }
html.js .hero h1 span:last-child { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js [data-reveal] .chalk path { stroke-dashoffset: 0; }
  .float { display: none; }
}
