@font-face {
  font-family: 'Prata'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/prata-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('/fonts/worksans-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/worksans-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/worksans-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The King St. Cafe — cream, ink and gold, taken from their own badge.
   The shape language is circles and hairline rules, echoing the logo's two
   concentric rings and the 1912 lodge the shop lives in. Deliberately shares
   nothing with any other client build. */

:root {
  --ink: #17150f;
  --ink-soft: #3d382d;
  --cream: #faf7f2;
  --paper: #ffffff;
  --sand: #efe7da;
  --gold: #d8bb95;
  --gold-deep: #b8946a;
  --mute: #7b7263;
  --mute-cream: rgba(250, 247, 242, .66);
  --line: rgba(23, 21, 15, .13);
  --line-cream: rgba(250, 247, 242, .22);
  --display: "Prata", "Didot", "Times New Roman", serif;
  --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .25, 1);
  --pad: clamp(1.15rem, 4vw, 4rem);
  --max: 1220px;
  --header-h: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 1.02rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.kicker {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .68rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep);
}
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section--ink .kicker { color: var(--gold); }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--mute); max-width: 48ch; }
.section--ink .lede { color: var(--mute-cream); }

/* ---------- buttons: a pill, a rule, nothing shouty ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.2rem; padding: 0 1.8rem; border-radius: 999px;
  font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: .95rem; height: .95rem; flex: none; transition: transform .35s var(--ease); }
.btn--fill { background: var(--ink); color: var(--cream); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--cream { border-color: var(--cream); color: var(--cream); }
.btn:active { transform: scale(.98); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); display: flex; align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease); }
.site-header.is-solid { background: rgba(250, 247, 242, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; position: relative; padding-block: .35rem; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-deep); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-btn i { display: block; width: 21px; height: 1px; background: currentColor; position: relative; transition: background .3s; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 21px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.menu-open .menu-btn i { background: transparent; }
.menu-open .menu-btn i::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn i::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 55; background: var(--cream); display: flex; flex-direction: column; justify-content: center; gap: .2rem;
  padding: calc(var(--header-h) + 1rem) var(--pad) 2.5rem; clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .65s var(--ease), visibility 0s linear .65s; }
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; transition: clip-path .65s var(--ease), visibility 0s; }
.mobile-menu a:not(.btn) { font-family: var(--display); font-size: clamp(2.2rem, 10vw, 3.2rem); padding: .55rem 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu-open .mobile-menu a:not(.btn) { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .06s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .12s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .18s; }
.mobile-menu .btn { margin-top: 1.6rem; align-self: flex-start; }
.menu-open { overflow: hidden; }
.menu-leaving .mobile-menu a:not(.btn) { opacity: .3; }
.menu-leaving .mobile-menu a.is-going { opacity: 1; }

/* ---------- hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin: 1.3rem 0 0; }
.hero .lede { margin-top: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__meta { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1.6rem; font-size: .85rem; color: var(--mute); }
.hero__meta b { display: block; font-weight: 500; color: var(--ink); letter-spacing: .04em; }
.shot { position: relative; overflow: hidden; background: var(--sand); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.hero__shot { aspect-ratio: 4 / 3.1; border: 1px solid var(--line); }
/* the badge sits over the corner of the photograph, like a stamp */
.shot img.stamp { position: absolute; z-index: 2; right: -16px; bottom: -16px;
  width: clamp(88px, 11vw, 124px); height: auto; object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(23,21,15,.22)); }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--cream); }
.section__head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section__head h2 { margin-top: .9rem; }
.section__head .lede { margin-top: 1rem; }
.center { text-align: center; margin-inline: auto; }
.center .kicker { justify-content: center; }
.center .lede { margin-inline: auto; }

/* rating, the one badge a cafe is allowed to wear */
.rating { display: inline-flex; align-items: center; gap: .7rem; font-size: .9rem; color: var(--mute); }
.rating strong { font-family: var(--display); font-size: 1.5rem; color: var(--ink); font-weight: 400; }
.section--ink .rating strong { color: var(--cream); }
.stars { color: var(--gold-deep); letter-spacing: .1em; }

/* menu list */
.menu-list { border-top: 1px solid var(--line); }
.menu-row { display: grid; grid-template-columns: 1fr auto; gap: .6rem 2rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.menu-row h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 400; }
.menu-row p { grid-column: 1 / -1; font-size: .9rem; color: var(--mute); max-width: 54ch; }
.menu-row .price { font-family: var(--display); font-size: 1.15rem; white-space: nowrap; }
.note { margin-top: 1.4rem; font-size: .86rem; color: var(--mute); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.5vw, 2rem); }
.card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card h3 { margin: 1.1rem 0 .4rem; }
.card p { font-size: .94rem; color: var(--mute); }

/* gallery strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.6rem, 1.5vw, 1rem); }
.strip figure { overflow: hidden; background: var(--sand); }
.strip img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform 1.1s var(--ease); }

/* facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem 3rem; }
.fact h4 { font-size: .68rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.fact p { font-size: 1rem; }
.fact a { border-bottom: 1px solid currentColor; }

/* form */
.form { display: grid; gap: 1.1rem; max-width: 40rem; }
.field { position: relative; }
.field label { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 4px; padding: .85rem 1rem; min-height: 3.1rem;
  transition: border-color .3s var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-deep); outline: none; }
.field.is-bad input, .field.is-bad textarea { border-color: #b4483c; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; font-size: .9rem; color: #b4483c; }
.btn.is-busy { pointer-events: none; opacity: .6; }
.sent { display: none; }
.form-done .form { display: none; }
.form-done .sent { display: block; }

/* footer */
.footer { background: var(--ink); color: var(--cream); padding: clamp(3rem, 6vw, 5rem) 0 1.8rem; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.footer img { height: 84px; width: auto; }
.footer h4 { font-size: .68rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.footer li { list-style: none; margin-bottom: .55rem; font-size: .94rem; color: var(--mute-cream); }
.footer li a:hover { color: var(--cream); }
.footer__bar { margin-top: clamp(2.2rem, 4vw, 3.4rem); padding-top: 1.4rem; border-top: 1px solid var(--line-cream); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; color: var(--mute-cream); }
.footer__bar a { border-bottom: 1px solid var(--line-cream); }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__copy { order: 2; }
  .hero__shot { order: 1; aspect-ratio: 4 / 3; }
  .cards { grid-template-columns: 1fr; gap: 2rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --header-h: 66px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 1.8rem; }
  .menu-row { grid-template-columns: 1fr; }
}

/* hover only where a real pointer exists, so a tap never leaves a stuck state */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .btn--fill:hover { background: transparent; color: var(--ink); }
  .btn--gold:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
  .btn--cream:hover { background: var(--cream); color: var(--ink); }
  .btn:hover svg { transform: translateX(.3rem); }
  .nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
  .card:hover .card__img img, .strip figure:hover img { transform: scale(1.05); }
  .fact a:hover { color: var(--gold-deep); }
}

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