/* Sharp Line Barbers
   Tone: Calm & premium / Practical, kept clean. One standout: the sliced wordmark + the "fade" panel.
   Colours: warm paper, near-black, one electric lime used sparingly. */

/* Fonts (self-hosted, SIL Open Font License) ------------------------------ */
@font-face { font-family: "Big Shoulders Display"; font-weight: 700; font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 700; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #F4F1EA;
  --paper-2: #EAE5DA;
  --ink: #141414;
  --ink-soft: #57534B;
  --rule: #D6D0C3;
  --black: #131313;
  --on-black: #F4F1EA;
  --on-black-soft: #A7A398;
  --on-black-rule: rgba(244, 241, 234, .14);
  --lime: #D4EE3A;

  --display: "Big Shoulders Display", Bahnschrift, "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 56px);
  --draft-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.has-draft { --draft-h: 34px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
address { font-style: normal; }
section[id] { scroll-margin-top: calc(var(--draft-h) + 84px); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper);
  padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.services :focus-visible, .foot :focus-visible { outline-color: var(--lime); }

/* Placeholders (draft only) ---------------------------------------------- */
.ph {
  background: #E4EBAE;
  color: var(--ink);
  border-bottom: 1.5px dashed rgba(20, 20, 20, .45);
  padding: 0 .25em;
  border-radius: 3px;
  font: inherit;
}
.services .ph, .foot .ph { background: rgba(212, 238, 58, .16); color: #E6F39A; border-bottom-color: rgba(212, 238, 58, .5); }
.book .ph { background: rgba(20, 20, 20, .09); border-bottom-color: rgba(20, 20, 20, .5); }

.draft {
  position: sticky; top: 0; z-index: 60;
  height: var(--draft-h);
  display: flex; align-items: center;
  background: var(--ink); color: #CFCBC1;
  font-size: 13px; line-height: 1;
}
.draft[hidden] { display: none; }
.draft p { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.draft__tag { display: inline-block; margin-right: .6em; padding: 3px 7px; border-radius: 4px;
  background: var(--lime); color: var(--ink); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* Eyebrows & shared type ---------------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow__rule { width: 36px; height: 1.5px; background: currentColor; opacity: .6; }
.eyebrow--on-dark { color: var(--on-black-soft); }
.eyebrow--ink { color: var(--ink); }

.sec-title {
  font: 800 clamp(3.4rem, 8vw, 7.6rem)/.86 var(--display);
  text-transform: uppercase; letter-spacing: -.005em;
  margin-top: 18px;
}
.sec-note { margin-top: 18px; font-size: 14px; }
.sec-sub { margin-top: 18px; font-size: 18px; color: var(--ink-soft); max-width: 26ch; }
.minor { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.45rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 700 15.5px/1 var(--text); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.btn span[aria-hidden] { transition: transform .25s var(--ease); }
.btn:hover span[aria-hidden] { transform: translate(2px, -2px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #E2F66A; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 44px; padding: 0 1.1rem; font-size: 14.5px; }
.btn--lg { min-height: 62px; padding: 0 2rem; font-size: 18px; }

.link {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  font-weight: 700; font-size: 15.5px; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease);
}
.link:hover { background-size: 100% 1.5px; }

/* Nav -------------------------------------------------------------------- */
.nav {
  position: sticky; top: calc(var(--draft-h) + 12px); z-index: 50;
  padding: 0 var(--gut); margin-top: 12px;
}
.nav__inner {
  max-width: calc(var(--wrap) - 2 * var(--gut)); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 6px 6px 6px 18px;
  background: rgba(244, 241, 234, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--rule); border-radius: 999px;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
}
.nav__glyph { width: 26px; height: 26px; border-radius: 6px; background: var(--ink); position: relative; flex: none; }
.nav__glyph::after { content: ""; position: absolute; left: 5px; right: 5px; top: 12px; height: 2.5px; background: var(--lime); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 999px;
}
.nav__links a:hover { background: var(--paper-2); }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
}

/* Hero ------------------------------------------------------------------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); }
.hero__eyebrow { margin-bottom: clamp(10px, 1.6vw, 22px); }

.mark { font: 800 clamp(5rem, 20.4vw, 19.5rem)/.86 var(--display); text-transform: uppercase; letter-spacing: -.012em; }
.mark__row { display: flex; flex-wrap: wrap; column-gap: .14em; }
.mark__word { position: relative; display: inline-block; --cut: .5em; --g: .02em; --shift: .012em; /* cut sits 60% down the capitals (font metrics: caps span .005em–.815em at line-height .86) */ }
.mark__t, .mark__b { display: block; }
.mark__t { clip-path: inset(-.3em -.2em calc(100% - var(--cut) + var(--g) / 2) -.2em); }
.mark__b {
  position: absolute; inset: 0;
  clip-path: inset(calc(var(--cut) + var(--g) / 2) -.2em -.3em -.2em);
  transform: translateX(var(--shift));
}
/* one small moment: the word gets its cut on load */
.motion .mark__word { --g: 0em; --shift: 0em; }
.motion.ready .mark__word { --g: .02em; --shift: .012em; }
.motion .mark__t, .motion .mark__b { transition: clip-path .9s var(--ease) .35s, transform .9s var(--ease) .35s; }

.hero__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  margin-top: clamp(28px, 4vw, 56px); align-items: end;
}
.hero__copy { grid-column: 1 / span 5; padding-bottom: 6px; }
.hero__lede { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.25; font-weight: 500; max-width: 21ch; letter-spacing: -.01em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule); }
.hero__facts dt { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.hero__facts dd { font-size: 15.5px; line-height: 1.5; }

/* The fade panel */
.fade {
  grid-column: 7 / -1;
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--black); color: var(--on-black);
  border-radius: 22px;
}
.fade__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fade__l { stroke: var(--on-black); vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: left center; }
.motion .fade__l { transform: scaleX(0); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 22ms); }
.motion.ready .fade__l { transform: none; }
.fade__scale { position: absolute; top: 0; bottom: 0; right: 0; width: 64px; background: linear-gradient(90deg, transparent, var(--black) 40%); }
.fade__scale span {
  position: absolute; right: 16px; transform: translateY(-50%);
  font: 700 13px/1 var(--text); color: var(--on-black-soft); letter-spacing: .04em;
}
.fade__scale span::before { content: ""; position: absolute; right: calc(100% + 8px); top: 50%; width: 10px; height: 1.5px; background: var(--on-black-soft); }
.fade__cut { position: absolute; left: 0; right: 64px; top: 62%; height: 3px; background: var(--lime); transform-origin: left; }
.fade__cut span {
  position: absolute; left: 22px; bottom: 12px;
  padding: 5px 9px; border-radius: 4px;
  background: var(--black); color: var(--lime);
  font: 700 12.5px/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
}
.motion .fade__cut { transform: scaleX(0); transition: transform 1.1s var(--ease) .9s; }
.motion.ready .fade__cut { transform: none; }

@media (max-width: 900px) {
  .hero__copy { grid-column: 1 / -1; }
  .fade { grid-column: 1 / -1; margin-top: 40px; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .mark { font-size: 34vw; }
  .mark__row { flex-direction: column; row-gap: .05em; }
  .fade { order: -1; margin: 0 0 30px; aspect-ratio: 4 / 3; }
  .hero__grid { margin-top: 28px; }
  .hero__facts { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
}

/* Services --------------------------------------------------------------- */
.services { background: var(--black); color: var(--on-black); padding: clamp(80px, 10vw, 140px) 0; }
.services .sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 24px; }
.services .sec-head .eyebrow { grid-column: 1 / -1; }
.services .sec-note { margin: 0 0 8px; }
.menu { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--on-black-rule); }
.menu__item {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  align-items: baseline; column-gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--on-black-rule);
}
.menu__num { font: 700 14px/1 var(--text); color: var(--on-black-soft); letter-spacing: .06em; }
.menu__name { font: 800 clamp(30px, 3.4vw, 46px)/1 var(--display); text-transform: uppercase; letter-spacing: .005em; transition: color .2s; }
.menu__note { color: var(--on-black-soft); font-size: 16px; }
.menu__price { font: 700 clamp(22px, 2.2vw, 30px)/1 var(--display); text-align: right; }
.menu__price .ph { font: 600 15px/1.4 var(--text); }
.menu__item:hover .menu__name { color: var(--lime); }
.services__foot { margin-top: 44px; }
@media (max-width: 720px) {
  .services .sec-head { grid-template-columns: 1fr; }
  .services .sec-note { margin-top: 16px; }
  .menu__item { grid-template-columns: 40px 1fr auto; row-gap: 8px; padding: 22px 0; }
  .menu__price { grid-column: 3; grid-row: 1; }
  .menu__note { grid-column: 2 / -1; font-size: 15px; }
}

/* Visit ------------------------------------------------------------------ */
.visit { padding: clamp(80px, 10vw, 140px) 0; }
.visit__grid { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 48px; align-items: start; }
.hours__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 16.5px;
}
.hours__list li:first-child { border-top: 1px solid var(--ink); }
.hours__list .is-today { font-weight: 700; }
.hours__today {
  display: inline-block; margin-left: 8px; padding: 3px 7px; border-radius: 4px; vertical-align: 2px;
  background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.hours__time { text-align: right; }
.where { padding-top: 0; }
.where__addr, .where__phone { font-size: 19px; line-height: 1.45; margin-bottom: 28px; padding-top: 13px; border-top: 1px solid var(--ink); }
.where__phone a { text-decoration: none; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 100% 6px no-repeat; }
.where__actions { display: flex; flex-direction: column; align-items: flex-start; }
.where__hint { display: block; margin-top: 12px; font-size: 14px; }
@media (max-width: 1000px) {
  .visit__grid { grid-template-columns: 1fr 1fr; }
  .visit .sec-head { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .visit__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Book ------------------------------------------------------------------- */
.book { position: relative; background: var(--lime); color: var(--ink); padding: clamp(80px, 10vw, 140px) 0 clamp(120px, 13vw, 180px); overflow: clip; }
.book__title { font: 800 clamp(4.6rem, 15vw, 14rem)/.8 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin-top: 22px; }
.book__sub { font-size: clamp(19px, 1.8vw, 23px); font-weight: 500; margin-top: 26px; max-width: 30ch; }
.book__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.book__alt { font-size: 16.5px; }
.book__alt a { font-weight: 700; }
.book__pending { margin-top: 18px; font-size: 14px; }
/* the fade motif, anchored to the bottom edge */
.book__edge {
  position: absolute; left: 0; right: 0; bottom: 0; height: 96px;
  background: repeating-linear-gradient(to top, var(--ink) 0 2px, transparent 2px 9px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
}

/* Footer ----------------------------------------------------------------- */
.foot { background: var(--ink); color: var(--on-black); padding: 44px 0 36px; font-size: 15px; }
.foot__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 40px; }
.foot__mark { font: 800 28px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.foot__mark span { color: var(--on-black-soft); }
.foot__meta { color: var(--on-black-soft); }
.foot__links { display: flex; gap: 6px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 500; }
.foot__links a:hover { color: var(--lime); }
.foot__copy { grid-column: 1 / -1; color: var(--on-black-soft); font-size: 13px; padding-top: 18px; border-top: 1px solid var(--on-black-rule); }
@media (max-width: 760px) {
  .foot__inner { grid-template-columns: 1fr; }
  .foot__links { margin-left: -12px; }
}

/* Reveals (only when motion is allowed; see main.js) ----------------------- */
.motion .reveal, .motion .sec-head, .motion .hours, .motion .where, .motion .book__inner {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.motion .in { opacity: 1 !important; transform: none !important; }

/* If the fade figure is swapped for a photo: <img class="fade" ...> */
img.fade { width: 100%; height: auto; object-fit: cover; }
