/* Hyde Cafe + Bar: shared styles. Tokens from _work/design-plan.md */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial Black"), local("Arial"); size-adjust: 96%; ascent-override: 90%; descent-override: 22%; }
@font-face { font-family: "Instrument Fallback"; src: local("Arial"); size-adjust: 98%; ascent-override: 96%; descent-override: 25%; }

:root {
  --ink: #121114;
  --grey: #2A2A31;
  --chalk: #F5F3F8;
  --lilac: #E4D9F0;
  --teal: #4FD0DE;
  --pink: #FF3E95;
  --purple: #A56CB4;
  --mural-lilac: #C9A6E0;
  --ink-78: rgba(245, 243, 248, .78);
  --ink-soft: #4a4552;
  --r: 3px;
  --btn-r: 3px;
  --display: "Archivo", "Archivo Fallback", "Arial Black", sans-serif;
  --body: "Instrument Sans", "Instrument Fallback", Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --wrap: min(1320px, calc(100% - 2 * var(--gut)));
  --gut: clamp(20px, 4vw, 56px);
  --head-h: 96px;
  --media-cap: min(76vh, 760px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--chalk); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; font-weight: 400; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; font-stretch: 118%; line-height: 1.02; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(2rem, 3.5vw, 3.9rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.9rem); line-height: 1.1; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(1.08rem, 1.3vw, 1.2rem); line-height: 1.55; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--pink); color: var(--ink); padding: 10px 16px; border-radius: var(--btn-r); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.hl-pink { color: var(--pink); }
.hl-teal { color: var(--teal); }
.hand { font-family: var(--hand); font-weight: 600; letter-spacing: 0; }

/* ---------- buttons ---------- */
.btn { --bg: var(--pink); --fg: var(--ink); display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 26px; border-radius: var(--btn-r); background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid var(--bg); cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--teal); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { border-color: var(--teal); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); }
.btn--ink { --bg: var(--ink); --fg: var(--chalk); }
.btn--ink:hover, .btn--ink:focus-visible { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--head-h); background: rgba(18, 17, 20, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: height .4s var(--ease), box-shadow .4s; }
.site-head.is-scrolled { height: 74px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.site-head__in { width: var(--wrap); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 70px; width: auto; transition: height .4s var(--ease); }
.site-head.is-scrolled .logo img { height: 54px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a { position: relative; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 12px 14px; color: var(--chalk); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--teal); }
.head-cta { margin-left: 10px; min-height: 48px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .98rem; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(79, 208, 222, .6); animation: pulse 2.2s infinite; flex: none; }
.status.is-closed .status__dot { background: var(--pink); box-shadow: none; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 208, 222, .55); } 70% { box-shadow: 0 0 0 12px rgba(79, 208, 222, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 208, 222, 0); } }
.burger { display: none; margin-left: auto; width: 52px; height: 52px; border: 2px solid rgba(245, 243, 248, .3); border-radius: var(--btn-r); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--chalk); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 24px; } .burger span:nth-child(3) { top: 31px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 99; background: var(--ink); padding: calc(var(--head-h) + 20px) var(--gut) 40px; display: flex; flex-direction: column; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease), visibility 0s linear .6s; overflow: auto; }
.menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .6s var(--ease), visibility 0s; }
.menu a.menu__link { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.15; text-decoration: none; display: block; padding: 6px 0; transform: translateY(30px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.menu.is-open a.menu__link { transform: none; opacity: 1; }
.menu.is-open a.menu__link:nth-child(2) { transition-delay: .06s; } .menu.is-open a.menu__link:nth-child(3) { transition-delay: .12s; } .menu.is-open a.menu__link:nth-child(4) { transition-delay: .18s; } .menu.is-open a.menu__link:nth-child(5) { transition-delay: .24s; } .menu.is-open a.menu__link:nth-child(6) { transition-delay: .3s; }
.menu a.menu__link[aria-current="page"] { color: var(--teal); }
.menu__foot { margin-top: auto; padding-top: 30px; display: grid; gap: 8px; color: var(--ink-78); }
.menu__shapes { position: absolute; right: -40px; bottom: 80px; width: 220px; opacity: .9; pointer-events: none; }

/* ---------- sections ---------- */
main { display: block; }
.sec { position: relative; padding: clamp(80px, 11vh, 140px) 0; overflow: clip; }
.sec--chalk { background: var(--chalk); color: var(--ink); }
.sec--lilac { background: var(--lilac); color: var(--ink); }
.sec--ink { background: var(--ink); color: var(--chalk); }
.sec--grey { background: var(--grey); color: var(--chalk); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vh, 60px); }
.sec__head p { margin: 0; }
.rings { position: absolute; inset: -96px; pointer-events: none; opacity: .5; animation: ringdrift 22s linear infinite; background-image: radial-gradient(circle at center, transparent 0 17px, rgba(18, 17, 20, .09) 17px 19px, transparent 19px 27px, rgba(18, 17, 20, .07) 27px 29px, transparent 29px); background-size: 96px 96px; }
.sec--ink .rings, .sec--grey .rings { background-image: radial-gradient(circle at center, transparent 0 17px, rgba(245, 243, 248, .05) 17px 19px, transparent 19px 27px, rgba(245, 243, 248, .04) 27px 29px, transparent 29px); }

@keyframes ringdrift { to { transform: translate(96px, 96px); } }
/* mural shapes used as section decoration */
.shape { position: absolute; pointer-events: none; z-index: 0; }
.shape svg { width: 100%; height: auto; overflow: visible; }
.sec > .wrap, .sec > .inner { position: relative; z-index: 1; }

/* frames and tags */
.frame { position: relative; border-radius: var(--r); overflow: hidden; background: var(--grey); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; z-index: 3; font-family: var(--hand); font-weight: 600; font-size: 1.45rem; line-height: 1; padding: 8px 14px 9px; background: var(--chalk); color: var(--ink); border-radius: var(--r); transform: rotate(-3deg); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); white-space: nowrap; }
.tag--pink { background: var(--pink); color: var(--ink); }
.tag--teal { background: var(--teal); color: var(--ink); }

/* marquee */
.marquee { position: relative; overflow: clip; white-space: nowrap; display: flex; user-select: none; }
.marquee__track { display: flex; flex: none; align-items: center; gap: 0; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-weight: 800; font-stretch: 118%; }
.marquee__item svg { width: 26px; height: 26px; flex: none; }

/* stripes band from the fascia */
.fascia { height: 14px; background: repeating-linear-gradient(-55deg, var(--purple) 0 18px, var(--ink) 18px 36px); }

/* ---------- footer ---------- */
.site-foot { position: relative; background: var(--ink); color: var(--chalk); padding: clamp(70px, 10vh, 120px) 0 0; overflow: clip; }
.foot__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
.foot__brand img { height: 74px; width: auto; margin-bottom: 22px; }
.foot__brand p { color: var(--ink-78); max-width: none; }
.foot__col h3 { font-size: 1.05rem; font-stretch: 112%; letter-spacing: 0; margin-bottom: 16px; color: var(--teal); }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.foot__col a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; color: var(--chalk); }
.foot__col a:hover { color: var(--teal); }
.foot__col p { color: var(--ink-78); margin-bottom: .6em; }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 18px; justify-content: start; }
.hours dt { color: var(--ink-78); }
.hours dd { margin: 0; font-weight: 600; }
.foot__line { position: relative; z-index: 1; margin-top: clamp(50px, 8vh, 90px); padding: 26px 0 30px; background: linear-gradient(rgba(245, 243, 248, .22), rgba(245, 243, 248, .22)) no-repeat 0 0 / 100% 1px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; color: var(--ink-78); font-size: .95rem; }
.foot__line a { color: var(--chalk); display: inline-flex; align-items: center; min-height: 44px; }
.foot__line > span { display: inline-flex; align-items: center; gap: .3em; }
.foot__line a:hover { color: var(--teal); }
.foot__shapes { position: absolute; right: -30px; top: 30px; width: min(30vw, 380px); opacity: .22; z-index: 0; pointer-events: none; }
.foot__marquee { position: relative; z-index: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(245, 243, 248, .25); font-size: clamp(3rem, 8vw, 7rem); margin-top: clamp(40px, 6vh, 70px); line-height: 1.1; }
.foot__marquee .marquee__item svg { width: 54px; height: 54px; }

/* nav and logo text wait for the web fonts so nothing shifts */
.js .nav, .js .head-cta { opacity: 0; transition: opacity .5s; }
.fonts-in .nav, .fonts-in .head-cta { opacity: 1; }
/* static marquees (reduced motion, no JS) wrap instead of running off the edge */
.no-js .marquee, .no-js .marquee__track { flex-wrap: wrap; justify-content: center; white-space: normal; row-gap: 4px; }
.no-js .marquee__track { flex: 1 1 100%; }

/* ---------- reveal start states (JS only) ---------- */
.js [data-reveal="up"], .js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(40px); }
.js [data-reveal="wipe"] { clip-path: inset(100% 0 0 0); }
.js [data-reveal="lines"] { visibility: hidden; }
.js [data-reveal="fade"] { opacity: 0; }
.ln-mask { padding: .2em .15em .5em; margin: -.2em -.15em -.5em; }
[data-reveal="lines"] { display: flow-root; }
/* split headings stack their masks in a flex column so the padded masks never collapse margins or change the height */
:is(h1, h2, h3, p, span):has(> .ln-mask) { display: flex; flex-direction: column; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal="up"], .js [data-reveal="stagger"] > *, .js [data-reveal="fade"] { opacity: 1; transform: none; }
  .js [data-reveal="wipe"] { clip-path: none; }
  .js [data-reveal="lines"] { visibility: visible; }
  .status__dot, .rings { animation: none; }
  .marquee, .marquee__track { flex-wrap: wrap; justify-content: center; white-space: normal; row-gap: 4px; }
  .marquee__track { flex: 1 1 100%; }
  .js .nav, .js .head-cta { opacity: 1; }
  .menu, .menu a.menu__link { transition: none; }
}

/* ---------- holding pages ---------- */
.hold-open { position: relative; background: var(--ink); padding: calc(var(--head-h) + clamp(40px, 6vh, 70px)) 0 clamp(50px, 7vh, 80px); min-height: 55vh; overflow: clip; }
.hold-open__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 96px); align-items: center; position: relative; z-index: 1; }
.hold-open__shape { width: 150px; left: 46%; bottom: -30px; opacity: .9; }
.portal__tag { position: absolute; left: -10%; bottom: 12%; z-index: 4; font-size: 1.45rem; }
.soon__sprig { width: 120px; right: 3%; top: 30px; opacity: .8; }
.soon h2 { margin-bottom: 18px; }
.soon .lede { color: var(--ink-soft); }
.hold-open h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin-bottom: 22px; }
.hold-open .lede { color: var(--ink-78); margin-bottom: 28px; }
.portal { position: relative; width: min(30vw, calc(min(46vh, 420px) * .78)); aspect-ratio: 39 / 50; margin-right: 56px; }
.portal__img { position: absolute; inset: 0; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; z-index: 2; }
.portal__img img { width: 100%; height: 100%; object-fit: cover; }
.portal__panel { position: absolute; inset: 9% -16% -6% 22%; background: var(--pink); border-radius: var(--r); z-index: 1; }
.portal__panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: var(--mural-lilac); border-radius: 0 0 var(--r) var(--r); }
.soon { position: relative; }
.soon__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: start; }
.soon__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.soon__list li { display: flex; gap: 14px; align-items: baseline; font-size: 1.08rem; }
.soon__list li::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--pink); border-radius: 50%; transform: translateY(1px); }
.go-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 50px; }
.go-card { position: relative; display: block; text-decoration: none; color: var(--chalk); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--grey); }
.go-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.go-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 17, 20, .85), rgba(18, 17, 20, .1) 60%); }
.go-card span { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: 1.6rem; display: flex; justify-content: space-between; align-items: center; }
.go-card span svg { width: 26px; height: 26px; transition: transform .4s var(--ease); }
.go-card:hover img { transform: scale(1.06); }
.go-card:hover span svg { transform: translateX(6px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 12px 10px; }
  .foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --head-h: 84px; }
  .nav, .head-cta { display: none; }
  .burger { display: block; }
  .logo img { height: 62px; }
  .site-head.is-scrolled { height: 70px; }
  .site-head.is-scrolled .logo img { height: 50px; }
  .sec__head { grid-template-columns: 1fr; }
  .hold-open__grid, .soon__grid { grid-template-columns: 1fr; }
  .portal { margin: 10px auto 0; width: min(72vw, 320px); }
  .portal__tag { left: 0; }
  .hold-open__shape { left: auto; right: 2%; bottom: 40px; width: 70px; }
  .soon__sprig { display: none; }
  .go-cards { grid-template-columns: 1fr; }
  .go-card { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .foot__top { grid-template-columns: 1fr; }
  .tag { font-size: 1.25rem; }
}
