/* Tokens: the Whitmore & Vale palette */
:root {
  --navy: #0f1b2d;
  --navy-2: #17263d;
  --navy-3: #22334f;
  --cream: #f5f1e8;
  --bronze: #a67c52;
  --bronze-2: #c49a6c;
  --ink: #18212f;
  --text: #5c6370;
  --line: #e4ddd0;
  --white: #ffffff;
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { font-family: var(--sans); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.08; }
h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); letter-spacing: -.012em; }
h2 em, h1 em { font-weight: 400; color: var(--bronze); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Shared */
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; scroll-margin-top: 60px; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #aeb7c6; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy h2 em { color: var(--bronze-2); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.eyebrow::before { content: ""; flex: none; width: 34px; height: 0; border-top: 1px dashed currentColor; }
.section--navy .eyebrow { color: var(--bronze-2); }
.lead { margin: 16px 0 24px; font-size: 1.08rem; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px 50px; flex-wrap: wrap; margin-bottom: 48px; }
.head > p { max-width: 400px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; background: var(--bronze); border: 1px solid var(--bronze); color: var(--white); font-weight: 500; font-size: .96rem; transition: background .2s, border-color .2s, color .2s, transform .15s; }
.btn:hover { background: var(--bronze-2); border-color: var(--bronze-2); color: var(--navy); }
.btn:active { transform: scale(.98); }
.btn i { transition: transform .25s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn--line { background: transparent; border-color: rgba(255, 255, 255, .4); }
.btn--line:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--full { width: 100%; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .24); font-size: .92rem; color: #d4dae4; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.tabs button:hover { border-color: var(--bronze-2); color: var(--white); }
.tabs button:active { transform: scale(.97); }
.tabs .on, .tabs .on:hover { background: var(--bronze); border-color: var(--bronze); color: var(--white); }
.tabs--dark button { border-color: #cfc7b6; color: var(--ink); }
.tabs--dark button:hover { border-color: var(--bronze); color: var(--bronze); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease) var(--d, 0s), transform .85s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Opening */
.intro { display: none; }
.intro-on .intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--navy); pointer-events: none; animation: introOut .6s ease .85s forwards; }
.intro__in { width: min(420px, 78vw); text-align: center; }
.intro__name { display: block; margin-bottom: 12px; font: 500 clamp(1.8rem, 5vw, 2.8rem) var(--serif); color: var(--white); animation: introName .5s ease both; }
.intro__name em { color: var(--bronze-2); }
.intro svg { display: block; width: 100%; height: 4px; }
.intro line { stroke: var(--bronze-2); stroke-width: 2; stroke-dasharray: 12 8; clip-path: inset(0 100% 0 0); animation: introStitch .75s cubic-bezier(.5, 0, .3, 1) .1s forwards; vector-effect: non-scaling-stroke; }
@keyframes introName { from { opacity: 0; transform: translateY(10px); } }
@keyframes introStitch { to { clip-path: inset(0 0 0 0); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--navy); color: var(--white); transition: box-shadow .3s; }
.header.sticky, .nav-open .header { box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
.header__row { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo b { display: block; font: 500 1.5rem/1.05 var(--serif); color: var(--white); white-space: nowrap; }
.logo em { color: var(--bronze-2); }
.logo small { display: block; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: #aeb7c6; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; padding: 6px 0; font-size: .93rem; color: #d4dae4; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px dashed var(--bronze-2); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a.active { color: var(--white); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header__tel { display: flex; align-items: center; gap: 6px; font-size: .92rem; white-space: nowrap; }
.header__tel:hover { color: var(--bronze-2); }
.burger { display: none; width: 44px; height: 44px; place-items: center; font-size: 1.5rem; color: var(--white); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.02fr 1fr; min-height: min(100vh, 900px); padding-top: 78px; background: var(--navy); }
.hero__copy { align-self: center; padding: 50px 60px 60px max(20px, calc((100vw - 1240px) / 2)); color: #aeb7c6; }
.hero .eyebrow { color: var(--bronze-2); }
.hero h1 { color: var(--white); font-size: clamp(3.1rem, 6.4vw, 6.3rem); line-height: 1; letter-spacing: -.018em; }
.hero h1 em { color: var(--bronze-2); }
.hero__lead { max-width: 520px; margin: 22px 0 30px; font-size: 1.12rem; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__rate { margin-top: 30px; font-size: .92rem; }
.hero__rate span { color: var(--bronze-2); letter-spacing: 2px; margin-right: 4px; }
.hero__photo { position: relative; overflow: hidden; background: var(--navy-2); clip-path: inset(0 0 0 100%); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.1); }
.ready .hero__photo { clip-path: inset(0); transition: clip-path 1s cubic-bezier(.76, 0, .24, 1); }
.ready .hero__photo img { transform: none; transition: transform 1.8s var(--ease); }
.js .hero__in { opacity: 0; transform: translateY(24px); }
.js .ready .hero__in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.ready .hero__in:nth-child(2) { transition-delay: .1s; }
.ready .hero__in:nth-child(3) { transition-delay: .2s; }
.ready .hero__in:nth-child(4) { transition-delay: .3s; }
.ready .hero__in:nth-child(5) { transition-delay: .4s; }

/* What we make */
.make { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mk { display: block; }
.mk__img { display: block; aspect-ratio: 4 / 5.2; overflow: hidden; background: var(--line); }
.mk__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .9s var(--ease); }
.mk:hover img { transform: scale(1.05); }
.mk__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px; padding-bottom: 8px; border-bottom: 1px dashed #bdb09a; }
.mk h3 { font-size: 1.55rem; }
.mk:hover h3 { color: var(--bronze); }
.mk b { flex: none; font-size: .9rem; font-weight: 600; color: var(--ink); }
.mk p { margin-top: 8px; font-size: .96rem; line-height: 1.5; }

/* Work */
.work { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wk { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-2); text-align: left; animation: wkIn .6s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
@keyframes wkIn { from { opacity: 0; transform: translateY(18px); } }
.wk img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .9s var(--ease); }
.wk:hover img, .wk:focus-visible img { transform: scale(1.05); }
.wk span { position: absolute; inset: auto 0 0; padding: 50px 16px 14px; background: linear-gradient(0deg, rgba(15, 27, 45, .94), rgba(15, 27, 45, 0)); }
.wk b { display: block; font: 500 1.2rem/1.15 var(--serif); color: var(--white); }
.wk small { font-size: .82rem; color: #c8cfda; }

/* Cloth */
.cloth { display: grid; grid-template-columns: .85fr 1fr; gap: 70px; align-items: center; }
.cloth__img { aspect-ratio: 4 / 4.7; overflow: hidden; background: var(--cream); }
.cloth__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; animation: clothIn .5s ease; }
@keyframes clothIn { from { opacity: .4; } }
.specs { margin-top: 22px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dd { color: var(--ink); font-weight: 500; }

/* Client stories */
.clients__score { display: flex; align-items: center; gap: 12px; max-width: none !important; }
.clients__score b { font: 500 3.4rem/1 var(--serif); color: var(--ink); }
.clients__score span { font-size: .9rem; }
.clients__score i { display: block; font-style: normal; letter-spacing: 2px; color: var(--bronze); }
.story { display: grid; grid-template-columns: .82fr 1fr; background: var(--navy); }
.story__photo { position: relative; min-height: 560px; overflow: hidden; background: var(--navy-2); }
.story__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; animation: storyImg .9s var(--ease); }
@keyframes storyImg { from { opacity: 0; transform: scale(1.05); } }
.story__body { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: clamp(28px, 5vw, 68px); }
.story__in { animation: wkIn .6s var(--ease); }
.story blockquote { font: 400 clamp(1.6rem, 2.9vw, 2.7rem)/1.2 var(--serif); letter-spacing: -.005em; color: var(--white); }
.story__who { margin-top: 24px; color: #aeb7c6; }
.story__who b { display: block; font-weight: 600; color: var(--white); }
.story__piece { margin-top: 2px; font-size: .92rem; color: var(--bronze-2); }
.story__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px dashed var(--navy-3); }
.story__thumbs { display: flex; gap: 8px; }
.story__thumbs button { width: 54px; height: 68px; overflow: hidden; opacity: .5; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s; }
.story__thumbs button:hover { opacity: 1; }
.story__thumbs .on { opacity: 1; outline-color: var(--bronze-2); }
.story__thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.story__arrows { display: flex; gap: 6px; }
.story__arrows button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #3a4c6a; color: var(--white); font-size: 1.2rem; transition: background .2s, border-color .2s, transform .15s; }
.story__arrows button:hover { background: var(--bronze); border-color: var(--bronze); }
.story__arrows button:active { transform: scale(.93); }

/* Booking */
.book { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.book__list li { display: flex; gap: 10px; padding: 7px 0; color: #d4dae4; }
.book__list i { color: var(--bronze-2); font-size: 1.15rem; }
.bform { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 32px; background: var(--navy-2); box-shadow: inset 0 0 0 1px var(--navy-3); }
.f--full { grid-column: 1 / -1; }
.f > span { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 500; color: #d4dae4; }
.f input { width: 100%; height: 50px; padding: 0 13px; border: 1px solid #3a4c6a; background: var(--navy); color: var(--white); outline: 0; transition: border-color .2s; }
.f input:focus { border-color: var(--bronze-2); }
.pick, .times { display: flex; flex-wrap: wrap; gap: 6px; }
.pick button, .times button, .days button { border: 1px solid #3a4c6a; color: #d4dae4; transition: background .15s, border-color .15s, color .15s, transform .12s; }
.pick button, .times button { min-height: 42px; padding: 0 14px; font-size: .92rem; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.days button { display: grid; justify-items: center; padding: 8px 2px; line-height: 1.15; }
.days small { font-size: .74rem; }
.days b { font: 500 1.5rem var(--serif); }
.pick button:hover, .times button:hover:not(:disabled), .days button:hover { border-color: var(--bronze-2); color: var(--white); }
.pick button:active, .times button:active, .days button:active { transform: scale(.97); }
.pick .on, .times .on, .days .on, .pick .on:hover, .times .on:hover:not(:disabled), .days .on:hover { background: var(--bronze); border-color: var(--bronze); color: var(--white); }
.times button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.times__hint { font-size: .92rem; }
.berr { color: #f1c6a6; font-size: .92rem; }
.berr:empty { display: none; }
.done { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(15, 27, 45, .86); animation: wkFade .25s; }
@keyframes wkFade { from { opacity: 0; } }
.done__box { width: min(440px, 100%); padding: 38px 30px 30px; background: var(--cream); text-align: center; animation: wkIn .4s var(--ease); }
.done__box i { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--bronze); color: var(--white); font-size: 1.7rem; }
.done__box h3 { font-size: 2rem; }
.done__box p { margin: 10px 0 22px; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.visit h2 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.vlist { margin-top: 22px; }
.vlist li { display: flex; gap: 12px; padding: 7px 0; color: var(--ink); }
.vlist i { color: var(--bronze); font-size: 1.15rem; }
.vlist a:hover { color: var(--bronze); }
.trunk__h { margin-top: 34px; font-size: 1.7rem; }
.trunk__p { margin: 4px 0 10px; }
.trunk li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px dashed #bdb09a; font-size: .96rem; }
.trunk b { font-weight: 500; color: var(--ink); }
.trunk a { font-weight: 500; color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.faq { margin-top: 18px; }
.qa { border-bottom: 1px solid #d9d0be; }
.qa > button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; text-align: left; font: 500 1.28rem/1.2 var(--serif); color: var(--ink); transition: color .2s; }
.qa > button:hover { color: var(--bronze); }
.qa i { flex: none; font-size: 1.2rem; transition: transform .3s var(--ease); }
.qa.open i { transform: rotate(45deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.qa.open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding-bottom: 16px; }

/* Footer */
.footer { padding: 40px 0 22px; background: var(--navy); color: #aeb7c6; font-size: .92rem; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer nav a:hover, .socials a:hover { color: var(--bronze-2); }
.socials { display: flex; gap: 12px; font-size: 1.3rem; }
.footer__end { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--navy-3); font-size: .84rem; }
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 44px; height: 44px; display: grid; place-items: center; background: var(--bronze); color: var(--white); font-size: 1.2rem; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--navy-3); }

/* Viewer */
.viewer { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px 78px; background: rgba(15, 27, 45, .95); animation: wkFade .25s; }
.viewer__box { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); width: min(980px, 100%); max-height: 100%; overflow: auto; background: var(--cream); animation: wkIn .35s var(--ease); }
.viewer__box > img { width: 100%; height: 100%; min-height: 0; max-height: calc(100vh - 48px); object-fit: cover; object-position: center 20%; background: var(--line); }
.viewer__info { display: flex; flex-direction: column; padding: 36px 32px; }
.viewer__info h3 { font-size: 2.1rem; }
.viewer__info dl { margin: 18px 0 22px; }
.viewer__info dl div { padding: 10px 0; border-top: 1px dashed #bdb09a; }
.viewer__info dt { font-size: .84rem; }
.viewer__info dd { color: var(--ink); font-weight: 500; }
.viewer__info > small { margin-top: 14px; }
.vbtn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; background: var(--white); color: var(--navy); font-size: 1.3rem; transition: background .2s, color .2s, transform .15s; }
.vbtn:hover { background: var(--bronze); color: var(--white); }
.vbtn:active { transform: scale(.93); }
.vbtn--close { top: 18px; right: 18px; z-index: 2; }
.vbtn--prev { left: 16px; top: 50%; margin-top: -24px; }
.vbtn--next { right: 16px; top: 50%; margin-top: -24px; }

/* Responsive */
@media (max-width: 1100px) {
  .header__tel { display: none; }
  .nav { gap: 18px; }
  .make, .work { grid-template-columns: repeat(2, 1fr); }
  .cloth, .book, .visit { gap: 44px; }
  .hero__copy { padding-right: 36px; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .nav { position: fixed; inset: 78px 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 20px; background: var(--navy); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav a { padding: 13px 0; font-size: 1.05rem; border-bottom: 1px solid var(--navy-3); }
  .nav a::after { display: none; }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .header__row > .btn { margin-left: auto; }
  .burger { display: grid; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 40px 20px 40px; }
  .hero__photo { height: 100vw; max-height: 620px; order: 2; }
  .cloth, .book, .visit, .story { grid-template-columns: 1fr; }
  .story__photo { min-height: 0; height: 88vw; max-height: 560px; }
  .cloth__img { aspect-ratio: 16 / 12; }
  .viewer { padding: 0; }
  .viewer__box { grid-template-columns: 1fr; height: 100%; align-content: start; }
  .viewer__box > img { height: 52vh; max-height: none; }
  .viewer__info { padding: 22px 20px 90px; }
  .vbtn--prev, .vbtn--next { top: auto; bottom: 18px; margin: 0; }
  .vbtn--prev { left: 18px; }
  .vbtn--next { left: 74px; right: auto; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .head { margin-bottom: 30px; }
  .logo b { font-size: 1.28rem; }
  .logo small { font-size: .56rem; }
  .header__row { gap: 10px; }
  .header__row > .btn { display: none; }
  .burger { margin-left: auto; }
  .hero__copy { padding: 30px 16px 36px; }
  .make { gap: 26px 12px; }
  .mk__row { display: block; }
  .mk b { display: block; margin-top: 3px; }
  .mk h3 { font-size: 1.35rem; }
  .work { gap: 8px; }
  .wk span { padding: 36px 10px 10px; }
  .wk b { font-size: 1.02rem; }
  .specs div { grid-template-columns: 100px 1fr; }
  .story__thumbs button { width: 44px; height: 56px; }
  .bform { grid-template-columns: 1fr; padding: 20px 16px; }
  .trunk li { grid-template-columns: 1fr auto; }
  .trunk span { grid-column: 1; grid-row: 2; font-size: .88rem; }
  .trunk a { grid-column: 2; grid-row: 1 / 3; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
