@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --espresso: #2a1712;
  --ember: #d95f36;
  --oat: #f3e9da;
  --saffron: #f4b942;
  --sage: #52634a;
  --cream: #fbf7f0;
  --paper: #fffdf9;
  --line: rgba(42, 23, 18, 0.17);
  --muted: #725f58;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--espresso); font-family: "Inter", Arial, sans-serif; font-size: 16px; line-height: 1.55; }
body, button, input { font-family: "Inter", Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--saffron); padding: 10px 16px; font-weight: 800; }
.skip-link:focus { top: 16px; }
.sr-only, .skip-link:not(:focus) { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

.demo-ribbon { position: fixed; z-index: 100; inset: 0 0 auto; height: 32px; overflow: hidden; background: var(--espresso); color: var(--oat); }
.demo-ribbon-track { width: max-content; height: 100%; display: flex; align-items: center; gap: 22px; padding-right: 22px; animation: ribbon-scroll 24s linear infinite; }
.demo-ribbon span { font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.demo-ribbon i { width: 5px; height: 5px; background: var(--saffron); transform: rotate(45deg); }
.demo-ribbon:hover .demo-ribbon-track { animation-play-state: paused; }
@keyframes ribbon-scroll { to { transform: translateX(-50%); } }

.site-header { min-height: 76px; display: flex; align-items: center; gap: clamp(22px, 4vw, 68px); max-width: var(--max); margin: 32px auto 0; padding: 14px 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; margin-right: 9px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-size: 18px; font-weight: 850; letter-spacing: -0.045em; }
.brand-kind { margin-left: 5px; color: var(--ember); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.primary-nav a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.primary-nav a:hover { color: var(--ember); }
.employee-login { border: 1px solid var(--line); background: transparent; border-radius: 2px; padding: 9px 14px; font-size: 12px; font-weight: 750; text-decoration: none; }
.employee-login[data-active="true"]:hover { border-color: var(--ember); color: var(--ember); }
.employee-login:disabled { color: #9b8d87; cursor: not-allowed; opacity: .8; }

.hero { min-height: 680px; max-width: var(--max); margin: auto; padding: 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr); gap: clamp(28px, 5vw, 82px); align-items: stretch; }
.hero-copy { padding: clamp(66px, 9vw, 126px) 0 56px clamp(0px, 3vw, 44px); display: flex; flex-direction: column; align-items: flex-start; }
.kicker { margin: 0 0 18px; color: var(--ember); font-size: 11px; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 740px; margin-bottom: 24px; font-size: clamp(52px, 6.7vw, 94px); font-weight: 790; letter-spacing: -.07em; line-height: .93; }
h1 em { color: var(--ember); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.065em; }
.hero-lede { max-width: 520px; margin-bottom: 31px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 21px; border: 1px solid transparent; font-size: 13px; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--espresso); color: #fff; }
.button-primary:hover { background: var(--ember); }
.text-link { font-size: 13px; font-weight: 800; text-underline-offset: 5px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(22px, 4vw, 48px); margin: auto 0 0; padding-top: 55px; }
.hero-facts div { border-left: 1px solid var(--line); padding-left: 13px; }
.hero-facts dt { font-size: 18px; font-weight: 850; letter-spacing: -.04em; }
.hero-facts dd { margin: 1px 0 0; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.hero-media { min-height: 620px; position: relative; overflow: hidden; background: var(--oat); }
.hero-media::before { content: ""; position: absolute; z-index: 1; top: 22px; left: 22px; width: 58px; height: 7px; background: var(--saffron); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-note { position: absolute; z-index: 2; right: 0; bottom: 0; width: min(300px, 70%); background: var(--oat); padding: 18px 21px; }
.hero-note span { display: block; color: var(--ember); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-note strong { display: block; margin-top: 3px; font-family: Georgia, serif; font-size: 18px; font-weight: 500; }

.ritual-section { background: var(--oat); padding: clamp(70px, 8vw, 116px) max(28px, calc((100vw - var(--max)) / 2 + 28px)); }
.section-heading { margin: 0 auto 46px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(40px, 5vw, 67px); line-height: .98; letter-spacing: -.065em; }
.ritual-heading, .split-heading, .locations-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.ritual-heading > p, .split-heading > p, .locations-heading > p { max-width: 410px; margin-bottom: 3px; color: var(--muted); }
.ritual-workbench { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(330px, .68fr); border-top: 1px solid var(--line); }
.ritual-controls { padding-right: clamp(30px, 6vw, 84px); }
.ritual-group { margin: 0; padding: 29px 0 31px; border: 0; border-bottom: 1px solid var(--line); }
.ritual-group legend { float: left; width: 205px; padding: 8px 20px 0 0; font-size: 13px; font-weight: 800; }
.ritual-group legend span { display: inline-block; width: 37px; color: var(--ember); font-size: 10px; letter-spacing: .1em; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ritual-chip { min-height: 39px; border: 1px solid rgba(42,23,18,.28); border-radius: 999px; background: transparent; padding: 8px 16px; cursor: pointer; font-size: 12px; font-weight: 750; transition: background .15s, color .15s, border-color .15s; }
.ritual-chip:hover { border-color: var(--ember); }
.ritual-chip.is-active { border-color: var(--espresso); background: var(--espresso); color: #fff; }
.ritual-chip:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.ritual-card { min-height: 520px; margin-top: 28px; padding: 34px; background: var(--sage); color: #fff; display: flex; flex-direction: column; }
.cup-illustration { min-height: 220px; display: grid; place-items: center; }
.cup-illustration svg { width: min(230px, 88%); }
.cup-body { fill: var(--oat); stroke: var(--espresso); stroke-width: 2; }
.cup-steam, .cup-rim, .cup-handle { fill: none; stroke: var(--saffron); stroke-width: 4; stroke-linecap: round; }
.cup-spark { fill: var(--ember); }
.ritual-label { margin: auto 0 8px; color: #d6decf; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.ritual-card h3 { margin-bottom: 7px; font-family: Georgia, serif; font-size: clamp(27px, 3vw, 39px); font-weight: 400; line-height: 1.05; }
.ritual-detail { margin-bottom: 24px; color: #e6eadf; font-size: 13px; }
.ritual-result { display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.24); padding-top: 17px; font-size: 12px; font-weight: 700; }
.result-dot { order: -1; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); }

.seasonal-section, .locations-section { max-width: var(--max); margin: auto; padding: clamp(82px, 10vw, 145px) 28px; }
.drink-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 17px; align-items: stretch; }
.drink-card { min-height: 470px; background: var(--cream); display: flex; flex-direction: column; }
.drink-card img, .drink-color { width: 100%; height: 320px; object-fit: cover; }
.drink-featured img { height: 440px; }
.drink-card > div:last-child { padding: 22px; }
.drink-card span { color: var(--ember); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.drink-card h3 { margin: 8px 0 6px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.drink-card p { margin: 0; color: var(--muted); font-size: 13px; }
.drink-color { position: relative; display: grid; place-items: center; overflow: hidden; }
.drink-color::before { content: ""; width: 126px; height: 210px; border: 2px solid var(--espresso); border-radius: 12px 12px 30px 30px; background: rgba(255,255,255,.5); }
.drink-color span { position: absolute; bottom: 57px; width: 120px; height: 130px; border-radius: 0 0 27px 27px; }
.drink-matcha { background: #d8dfcf; }.drink-matcha span { background: var(--sage); }
.drink-cortado { background: var(--saffron); }.drink-cortado span { background: var(--ember); height: 92px; }

.cafe-story { display: grid; grid-template-columns: 1.08fr .92fr; background: var(--espresso); color: #fff; }
.cafe-image { min-height: 690px; }
.cafe-image img { width: 100%; height: 100%; object-fit: cover; }
.cafe-copy { padding: clamp(65px, 9vw, 132px) clamp(35px, 8vw, 125px); }
.cafe-copy h2 { margin-bottom: 28px; font-size: clamp(42px, 5vw, 70px); letter-spacing: -.065em; line-height: .98; }
.cafe-copy > p:not(.kicker) { max-width: 560px; color: #d8ccc6; font-size: 17px; }
.experience-list { list-style: none; margin: 46px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.experience-list li { display: grid; grid-template-columns: 45px 1fr; gap: 9px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.experience-list li > span { color: var(--saffron); font-size: 10px; letter-spacing: .1em; }
.experience-list strong { font-size: 14px; }
.experience-list p { margin: 2px 0 0; color: #bfaea7; font-size: 12px; }

.rewards-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: var(--ember); color: #fff; }
.rewards-copy { padding: clamp(65px, 8vw, 116px) max(28px, calc((100vw - var(--max)) / 2 + 28px)); padding-right: 40px; }
.rewards-copy .kicker { color: var(--espresso); }
.rewards-copy h2 { margin-bottom: 24px; font-size: clamp(44px, 5vw, 72px); line-height: .95; letter-spacing: -.07em; }
.rewards-copy > p:not(.kicker) { max-width: 540px; margin-bottom: 30px; font-size: 17px; }
.button-light { background: var(--oat); color: var(--espresso); }
.reward-stamp { position: relative; display: grid; place-items: center; border-left: 1px solid rgba(42,23,18,.25); overflow: hidden; }
.reward-stamp svg { width: min(390px, 72%); fill: none; stroke: var(--espresso); stroke-width: 2; }
.reward-stamp svg path { fill: var(--saffron); stroke-width: 1; }
.stamp-count { position: absolute; top: 44%; transform: translateY(-50%); color: var(--espresso); font-family: Georgia, serif; font-size: 96px; line-height: 1; }
.stamp-label { position: absolute; top: 65%; width: 135px; color: var(--espresso); text-align: center; font-size: 11px; font-weight: 800; line-height: 1.3; text-transform: uppercase; }

.location-strip { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.location-strip article { min-height: 190px; padding: 23px 17px; border-right: 1px solid var(--line); }
.location-strip article:last-child { border-right: 0; }
.location-strip span { display: block; margin-bottom: 35px; color: var(--ember); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.location-strip h3 { margin: 0; font-size: 16px; letter-spacing: -.025em; }
.location-strip p { margin: 1px 0 13px; color: var(--muted); font-family: Georgia, serif; font-size: 17px; }
.location-strip small { color: var(--sage); font-size: 10px; font-weight: 750; }

.site-footer { background: var(--oat); padding: 60px max(28px, calc((100vw - var(--max)) / 2 + 28px)) 26px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; gap: 30px; padding-bottom: 55px; }
.footer-brand { justify-self: start; }
.footer-main > p { font-family: Georgia, serif; font-size: 21px; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.footer-main nav a { color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.footer-fine { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 10px; }

#chatLaunch { position: fixed; z-index: 80; right: 22px; bottom: 22px; min-width: 116px; height: 48px; border: 0; border-radius: 0; background: var(--saffron); color: var(--espresso); box-shadow: 5px 5px 0 var(--espresso); cursor: pointer; font-size: 13px; font-weight: 850; }
#chatLaunch span { color: var(--ember); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
#chatPanel { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: min(390px, calc(100vw - 28px)); height: min(590px, calc(100vh - 44px)); display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--espresso); box-shadow: 8px 8px 0 var(--espresso); opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; }
#chatPanel.open { opacity: 1; transform: translateY(0); visibility: visible; }
#chatPanel > header { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--espresso); color: #fff; }
#chatPanel > header > div { display: grid; grid-template-columns: 10px 1fr; column-gap: 9px; align-items: center; }
.chat-status { grid-row: span 2; width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); }
#chatPanel header strong { line-height: 1.2; }
#chatPanel header small { color: #cdbeb8; font-size: 10px; }
#chatClose { width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; font-size: 24px; }
#chatLog { flex: 1; overflow-y: auto; padding: 18px; }
.msg { width: fit-content; max-width: 86%; margin-bottom: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.45; }
.msg.bot { background: var(--oat); }
.msg.user { margin-left: auto; background: var(--sage); color: #fff; }
.msg.system { border-left: 3px solid var(--ember); background: #f8e5dc; }
.msg.typing { color: var(--muted); }
#chatForm { display: flex; gap: 8px; border-top: 1px solid var(--line); padding: 12px; }
#chatInput { min-width: 0; flex: 1; border: 1px solid var(--line); background: #fff; padding: 11px; font-size: 12px; }
#chatSend { border: 0; background: var(--ember); color: #fff; padding: 0 14px; cursor: pointer; font-size: 12px; font-weight: 800; }
#chatSend:disabled { opacity: .55; }

@media (max-width: 1000px) {
  .primary-nav { display: none; }
  .employee-login { margin-left: auto; }
  .hero { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-copy { padding-top: 68px; }
  .ritual-workbench { grid-template-columns: 1fr; }
  .ritual-controls { padding-right: 0; }
  .ritual-card { min-height: 430px; }
  .drink-grid { grid-template-columns: 1fr 1fr; }
  .drink-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr .8fr; min-height: 370px; }
  .drink-featured img { height: 370px; }
  .drink-featured > div { align-self: end; }
  .cafe-story { grid-template-columns: 1fr; }
  .cafe-image { min-height: 500px; }
  .location-strip { grid-template-columns: repeat(3, 1fr); }
  .location-strip article:nth-child(3) { border-right: 0; }
  .location-strip article:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 700px) {
  .site-header { min-height: 66px; padding: 11px 18px; }
  .brand-kind { display: none; }
  .employee-login { padding: 8px 9px; font-size: 10px; }
  .hero { min-height: auto; padding: 0 18px 42px; grid-template-columns: 1fr; }
  .hero-copy { padding: 64px 0 22px; }
  h1 { font-size: clamp(48px, 15vw, 70px); }
  .hero-media { min-height: 480px; }
  .hero-facts { gap: 18px; padding-top: 48px; }
  .hero-facts dt { font-size: 16px; }
  .hero-facts dd { max-width: 65px; }
  .ritual-section { padding: 70px 18px; }
  .ritual-heading, .split-heading, .locations-heading { display: block; }
  .ritual-heading > p, .split-heading > p, .locations-heading > p { margin-top: 20px; }
  .ritual-group legend { float: none; width: auto; margin-bottom: 15px; padding-top: 0; }
  .ritual-card { min-height: 470px; padding: 26px; }
  .cup-illustration { min-height: 200px; }
  .seasonal-section, .locations-section { padding: 78px 18px; }
  .drink-grid { grid-template-columns: 1fr; }
  .drink-featured { grid-column: auto; display: flex; }
  .drink-featured img, .drink-card img, .drink-color { height: 330px; }
  .cafe-image { min-height: 400px; }
  .cafe-copy { padding: 70px 24px; }
  .rewards-section { grid-template-columns: 1fr; }
  .rewards-copy { padding: 70px 24px; }
  .reward-stamp { min-height: 480px; border-left: 0; border-top: 1px solid rgba(42,23,18,.25); }
  .location-strip { grid-template-columns: 1fr 1fr; }
  .location-strip article:nth-child(odd) { border-right: 1px solid var(--line); }
  .location-strip article:nth-child(even) { border-right: 0; }
  .location-strip article:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > p { margin: 0; }
  .footer-fine { flex-direction: column; }
  #chatPanel { right: 14px; bottom: 14px; height: min(600px, calc(100vh - 28px)); }
  #chatLaunch { right: 17px; bottom: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-ribbon-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
