/* Refill · cafe growth studio
   Flat colour fields, one display face, one text face. No gradients, glass or resting shadows. */

:root {
  --sky: #5BA8E8;
  --sky-ink: #0F3B66;
  --video-sky: #78B9DA; /* matches the build video's background, shown while it loads */
  --cream: #FFF4E2;
  --caramel: #E9A23B;
  --butter: #FFD84D;
  --espresso: #2A1A12;
  --espresso-2: #3A271C;
  --paper: #FFFFFF;
  --ink: #2A1A12;
  --muted: #6B574A;
  --yes: #D9F2DF; --yes-ink: #17582B;
  --add: #FFF0C7; --add-ink: #7A5200;
  --no: #F6E7E2; --no-ink: #8E5E52;

  --display: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 3vw, 32px);
  --max: 1320px;
  --section: clamp(96px, 12vw, 176px);
  --radius: 999px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 18px/1.55 var(--text);
  overflow-x: clip; /* clip, not hidden: hidden would make body a scroll container and break position: sticky */
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font: 400 clamp(40px, 5.6vw, 84px)/0.98 var(--display); letter-spacing: -0.02em; max-width: 16ch; text-wrap: balance; }
h3 { font: 700 20px/1.3 var(--text); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--paper); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--espresso); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--butter); color: var(--espresso); }

/* Buttons: one shape (full pill), flat fills */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 12px 22px; border-radius: var(--radius); border: 0; cursor: pointer;
  font: 700 16px/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-dark { background: var(--espresso); color: var(--paper); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--paper); color: var(--espresso); }

/* NAV */
.nav { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--paper); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 400 30px/1 var(--display); }
.brand svg { width: 36px; height: 36px; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 0; background: linear-gradient(currentColor,currentColor) 0 100%/0 2px no-repeat; transition: background-size .3s var(--ease); }
.nav-links a:hover { background-size: 100% 2px; }

/* HERO */
.hero { position: relative; overflow-x: clip; background: var(--sky); color: var(--paper); padding-top: 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; min-height: min(86vh, 860px); padding-bottom: 56px; }
.hero h1 { font: 400 clamp(64px, 9.6vw, 156px)/0.9 var(--display); letter-spacing: -0.03em; }
.hero h1 span { display: block; }
.hero h1 .l2 { color: var(--espresso); }
.lede { margin-top: 32px; max-width: 46ch; font-size: 19px; color: var(--paper); }
.hero-offer { margin-top: 36px; max-width: 46ch; }
.offer-for { font-weight: 700; font-size: 18px; color: var(--espresso); }
.offer-what { margin-top: 4px; font-size: 16px; }
.offer-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.price { font: 400 44px/1 var(--display); color: var(--butter); }
.price small { display: block; font: 500 13px/1 var(--text); color: var(--paper); margin-bottom: 4px; }
.offer-what, .offer-for, .price span { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.is-swapping .offer-what, .is-swapping .offer-for, .is-swapping .price span { opacity: 0; transform: translateY(6px); }

.thumbs { display: flex; gap: 14px; margin-top: 32px; }
.thumb {
  width: 76px; height: 76px; border-radius: 50%; border: 3px solid transparent; cursor: pointer;
  background: var(--cream); display: grid; place-items: center; padding: 6px; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.thumb img { max-height: 58px; width: auto; object-fit: contain; }
.thumb:hover { transform: translateY(-3px) rotate(-4deg); }
.thumb.is-on { border-color: var(--espresso); }

.hero-art { position: relative; height: min(70vh, 640px); min-height: 420px; }
.arch {
  position: absolute; right: 2%; top: 4%; bottom: 0; width: 46%;
  background: var(--caramel); border-radius: 999px 999px 28px 28px;
}
.arch-word {
  position: absolute; right: 10%; top: 9%; writing-mode: vertical-rl;
  font: 400 clamp(54px, 6.4vw, 104px)/1 var(--display); color: var(--cream); letter-spacing: -0.01em;
}
.product-stage { position: absolute; inset: 0 26% 0 0; display: grid; place-items: center; }
.product {
  grid-area: 1 / 1; height: min(66vh, 600px); width: auto; max-width: 100%; object-fit: contain;
  opacity: 0; transform: translateY(30px) rotate(-6deg) scale(.94);
  transition: opacity .55s var(--ease), transform .7s var(--ease);
  filter: drop-shadow(0 30px 24px rgba(15,59,102,.28)); /* floating object */
}
.product.wide { height: auto; width: 118%; max-width: 118%; }
.product.is-on { opacity: 1; transform: none; }
.bean { position: absolute; width: 54px; height: auto; }
.b1 { left: 4%; top: 18%; transform: rotate(-24deg); width: 58px; }
.b2 { left: 12%; bottom: 14%; transform: rotate(40deg); width: 40px; }
.b3 { right: 0; bottom: 30%; transform: rotate(-60deg); width: 66px; }

.scallop {
  height: 30px; margin-bottom: -1px; position: relative; background-color: var(--cream);
  background-image: radial-gradient(circle at 22px 0, var(--sky) 21px, transparent 22px);
  background-size: 44px 30px; background-repeat: repeat-x;
}

/* Looping and play-once clips inside figures */
.clip { display: block; width: 100%; height: 100%; object-fit: cover; background: #EDE6DC; }

/* OFFER */
.offer { background: var(--cream); padding: var(--section) 0 calc(var(--section) * .7); }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.offer-copy p { margin-top: 24px; max-width: 48ch; }
.strike { font: 400 40px/1 var(--display); color: var(--espresso); }
.strike s { color: var(--muted); font-size: 28px; margin-right: 10px; }
.strike strong { font-weight: 400; color: #C2410C; }
.offer-copy .btn { margin-top: 28px; }

/* Ordering-site demo: two phones built in HTML, driven by app.js */
.order-demo { --phone: #1E140E; --ui-green: #1F5E3B; --ui-orange: #E8711A; }
.od-stage { position: relative; height: 620px; }
.od-arch { position: absolute; left: 14%; right: 6%; top: 40px; bottom: 0; background: var(--caramel); border-radius: 999px 999px 28px 28px; }
.od-phone {
  position: absolute; background: var(--phone); border-radius: 46px; padding: 11px;
  box-shadow: 0 30px 60px -20px rgba(42,26,18,.45); /* floats above the arch */
}
.od-screen { position: relative; height: 100%; background: #fff; border-radius: 36px; overflow: hidden; font-family: var(--text); color: #1f1a17; }
.od-customer { width: 318px; height: 610px; left: 4%; top: 0; z-index: 2; }
.od-owner {
  width: 236px; height: 430px; right: 0; bottom: 18px; z-index: 3;
  opacity: 0; transform: translateY(40px) rotate(4deg); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.order-demo.show-owner .od-owner { opacity: 1; transform: rotate(4deg); }
.no-js-demo .od-owner { opacity: 1; transform: rotate(4deg); }

.od-bar { display: flex; justify-content: space-between; align-items: center; padding: 34px 18px 10px; }
.od-logo { font: 400 22px/1 var(--display); color: var(--ui-green); }
.od-cart-pill { font-size: 12px; font-weight: 700; background: #F3EFE9; border-radius: 999px; padding: 6px 10px; transition: background-color .3s, color .3s; }
.od-cart-pill.bump { background: var(--ui-orange); color: #fff; }
.od-view { position: absolute; inset: 76px 0 0; padding: 0 16px 16px; display: flex; flex-direction: column;
  opacity: 0; transform: translateX(24px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.od-view.is-on { opacity: 1; transform: none; pointer-events: auto; }
.od-hello { font-size: 13px; color: #6d625b; margin-bottom: 10px; }
.od-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.od-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 9px; align-items: center; background: #F8F5F1; border-radius: 16px; padding: 8px 10px 8px 8px; }
.od-thumb { width: 52px; height: 52px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.od-thumb img { max-width: 46px; max-height: 46px; width: auto; height: auto; object-fit: contain; }
.od-info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.od-info b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.od-info small { font-size: 11px; color: #7a6f68; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.od-info em { font-style: normal; font-weight: 700; font-size: 13px; margin-top: 2px; }
.od-add {
  font: 700 13px/1 var(--text); color: #fff; background: var(--ui-green); border: 0; border-radius: 999px; padding: 8px 11px; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .2s;
}
.od-add:hover { background: #174a2e; }
.od-add.pressed, .od-add:active { transform: scale(.88); }
.od-add.added { background: var(--ui-orange); }
.od-cta {
  margin-top: auto; font: 700 15px/1 var(--text); color: #fff; background: var(--ui-orange); border: 0; border-radius: 999px;
  padding: 15px; cursor: pointer; transition: transform .15s var(--ease), opacity .2s;
}
.od-cta:disabled { opacity: .45; cursor: not-allowed; }
.od-cta.pressed, .od-cta:active:not(:disabled) { transform: scale(.96); }
.od-back { margin-top: 10px; background: none; border: 0; font: 700 13px/1 var(--text); color: var(--ui-green); cursor: pointer; padding: 6px; }
.od-h { font-weight: 700; font-size: 18px; margin: 4px 0 12px; }
.od-lines { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.od-lines li { display: flex; justify-content: space-between; gap: 8px; }
.od-row { display: flex; justify-content: space-between; font-size: 14px; padding: 10px 0; border-top: 1px solid #eee5dc; }
.od-sum { font-weight: 700; font-size: 16px; }
.od-payee { font-size: 14px; color: #6d625b; }
.od-upi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 16px; }
.od-upi span { aspect-ratio: 1; border-radius: 16px; background: #F3EFE9; }
.od-upi span:nth-child(1) { background: #E7F0FF; } .od-upi span:nth-child(2) { background: #F1E8FF; } .od-upi span:nth-child(3) { background: #E6F6F4; }
.od-status { font-size: 14px; text-align: center; color: #6d625b; }
.od-pay.processing .od-status::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border: 2px solid #c9bdb3; border-top-color: var(--ui-orange); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.od-done { display: none; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-top: 8px; }
.od-done small { font-size: 13px; color: #6d625b; max-width: 22ch; }
.od-tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ui-green); position: relative; animation: pop .5s var(--ease); }
.od-tick::after { content: ""; position: absolute; left: 22px; top: 15px; width: 16px; height: 28px; border: solid #fff; border-width: 0 5px 5px 0; transform: rotate(45deg); }
.od-pay.paid .od-done { display: flex; }
.od-pickup { margin-top: 18px; width: 100%; background: #F8F5F1; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: #6d625b; text-align: left; }
.od-pickup b { font-size: 15px; color: #1f1a17; }
.od-pay.paid .od-upi, .od-pay.paid .od-status { display: none; }

.od-owner .od-screen { background: #EFE7DD; }
.od-chat-head { display: flex; gap: 10px; align-items: center; background: #0F5132; color: #fff; padding: 30px 14px 12px; }
.od-chat-head small { display: block; font-size: 11px; opacity: .8; }
.od-chat-head b { font-size: 14px; }
.od-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--caramel); color: var(--espresso); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.od-chat { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.od-day { align-self: center; font-size: 11px; background: #fff; border-radius: 8px; padding: 3px 8px; color: #6d625b; }
.od-msg { background: #fff; border-radius: 4px 14px 14px 14px; padding: 10px 12px; font-size: 12.5px; line-height: 1.4; display: flex; flex-direction: column; gap: 4px; }
.od-msg b { font-size: 13px; }
.od-time { align-self: flex-end; font-size: 10.5px; color: #8a8079; }
.od-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.od-actions span { background: #fff; border-radius: 10px; text-align: center; font-size: 12px; font-weight: 700; color: #0F5132; padding: 8px 4px; }
.order-demo.show-owner .od-msg { animation: pop .5s var(--ease) .25s both; }

.od-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; justify-content: center; }
.od-step {
  font: 500 15px/1 var(--text); color: var(--espresso); background: var(--paper); border: 0; border-radius: 999px;
  padding: 11px 16px; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.od-step:hover { transform: translateY(-2px); }
.od-step.is-on { background: var(--espresso); color: var(--paper); }
.od-note { text-align: center; margin-top: 12px; font-size: 14px; color: var(--muted); }

/* SCROLL BUILD: the clip is the sticky background; text sits on top of it */
.build {
  /* Sticky scroll length: one screen of scrolling per step (6 steps = 600vh),
     plus the screen the sticky frame itself occupies. --steps is set from the markup by app.js. */
  --steps: 6;
  position: relative; background: var(--video-sky); color: var(--espresso);
  height: calc(100vh + var(--steps) * 100vh);
  height: calc(100svh + var(--steps) * 100svh);
}
.build-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.build-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; background: var(--video-sky); }
.build-overlay { position: relative; z-index: 1; }
.build-copy { max-width: 480px; }
.build h2 { color: var(--espresso); }
.build-lede { margin-top: 18px; max-width: 34ch; font-weight: 500; }
.build-rail { position: relative; margin-top: 40px; padding-left: 30px; }
.build-rail::before, .build-track { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; }
.build-rail::before { background: rgba(42,26,18,.18); }
.build-track { background: var(--espresso); transform-origin: top; transform: scaleY(var(--pr, 0)); }
.build-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.build-steps li { position: relative; opacity: .5; transition: opacity .35s var(--ease); }
.build-steps li::before {
  content: ""; position: absolute; left: -30px; top: .5em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--video-sky); border: 3px solid rgba(42,26,18,.35); transition: background-color .3s, border-color .3s;
}
.build-steps li b { display: block; font: 400 24px/1.15 var(--display); transition: font-size .35s var(--ease); }
.build-steps li span { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 17px; font-weight: 500; max-width: 30ch; transition: max-height .4s var(--ease), opacity .4s var(--ease); }
.build-steps li.is-on { opacity: 1; }
.build-steps li.is-on::before { background: var(--espresso); border-color: var(--espresso); }
.build-steps li.is-on b { font-size: 42px; }
.build-steps li.is-on span { max-height: 4em; opacity: 1; margin-top: 4px; }
.build-fallback { display: none; position: absolute; right: 14%; top: 50%; transform: translateY(-50%); height: min(76vh, 640px); aspect-ratio: 646 / 1300; }
.build-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.build-fallback .ghost { opacity: .22; filter: grayscale(1) brightness(1.6); }
.build-fallback .fill { clip-path: inset(calc((1 - var(--p, 0)) * 100%) 0 0 0); filter: drop-shadow(0 30px 24px rgba(15,59,102,.28)); }
.no-video .build-video { display: none; }
.no-video .build-fallback { display: block; }

/* Headings inside half-width columns stay at two lines */
.services h2, .events h2, .ai h2, .ops h2, .faq h2, .build h2, .offer h2 { font-size: clamp(38px, 4.6vw, 70px); max-width: 13ch; }

/* SERVICES MENU */
.services { background: var(--cream); padding: var(--section) 0; }
.services .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.services-head { position: sticky; top: 32px; }
.services-head p { margin-top: 24px; max-width: 40ch; }
.services-photo { margin: 32px 0 0; aspect-ratio: 9/14; height: min(62vh, 600px); width: auto; border-radius: 28px; overflow: hidden; }
.services-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-board { background: var(--paper); border-radius: 28px; padding: clamp(24px, 4vw, 56px); }
.menu-group + .menu-group { margin-top: 40px; }
.menu-group h3 { font: 400 30px/1.05 var(--display); color: var(--sky-ink); margin-bottom: 14px; }
.menu-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.menu-group li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: end; }
.item { display: flex; flex-direction: column; max-width: 46ch; }
.item-name { font-weight: 700; font-size: 18px; }
.item-desc { font-size: 15px; color: var(--muted); }
.dots { align-self: end; margin-bottom: 6px; height: 2px; background-image: radial-gradient(circle, var(--ink) 1px, transparent 1.5px); background-size: 8px 2px; opacity: .35; }
.item-tier { font-weight: 700; font-size: 15px; color: var(--espresso); white-space: nowrap; }

/* FIT FINDER */
.fit { background: var(--butter); padding: var(--section) 0; }
.fit-intro { margin-top: 20px; max-width: 52ch; }
.fit-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; margin-top: 48px; align-items: stretch; }
.fit-form { align-content: start; background: var(--paper); border-radius: 28px; padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 28px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-weight: 700; font-size: 18px; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 11px 18px; border-radius: var(--radius); background: var(--cream);
  font-weight: 500; font-size: 16px; transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.chips label:hover span { transform: translateY(-2px); }
.chips input:checked + span { background: var(--espresso); color: var(--paper); }
.chips input:focus-visible + span { outline: 3px solid var(--sky-ink); outline-offset: 2px; }
.fit-result { position: relative; background: var(--sky); color: var(--paper); border-radius: 28px; padding: clamp(24px, 3.5vw, 44px); overflow: hidden; min-height: 520px; }
.fit-tier { font: 400 clamp(56px, 6vw, 88px)/0.95 var(--display); color: var(--espresso); }
.fit-name { margin-top: 8px; font-weight: 700; }
.fit-why { margin-top: 18px; max-width: 34ch; }
.fit-list { margin: 18px 0 0; padding-left: 20px; max-width: 30ch; }
.fit-list li { margin-top: 4px; }
.fit-local { margin-top: 18px; font-size: 15px; max-width: 30ch; color: var(--cream); }
.fit-result .btn { margin-top: 24px; position: relative; z-index: 2; }
.fit-cup { position: absolute; right: -4%; bottom: -6%; width: 42%; max-width: 230px; transform: rotate(8deg); filter: drop-shadow(0 24px 20px rgba(15,59,102,.3)); }
.fit-cup-logo { position: absolute; right: calc(-4% + 21%); bottom: 16%; transform: translateX(50%) rotate(8deg); font: 400 clamp(22px, 2.4vw, 34px)/1 var(--display); color: var(--espresso); pointer-events: none; }
.fit-result.flash .fit-tier { animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(.9); opacity: .2; } 100% { transform: none; opacity: 1; } }

/* PACKAGES */
.packages { background: var(--espresso); color: var(--cream); padding: var(--section) 0; }
.packages h2 { color: var(--paper); max-width: 18ch; }
.pk-intro { margin-top: 20px; max-width: 52ch; }
.tiers { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 8px; }
.tier {
  display: grid; grid-template-columns: 1.1fr 1fr 1.5fr auto; gap: clamp(16px, 3vw, 40px); align-items: start;
  background: var(--espresso-2); border-radius: 24px; padding: clamp(22px, 3vw, 36px);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.tier:hover { transform: translateX(6px); background: #47301f; }
.t-head h3 { font: 400 clamp(36px, 3.6vw, 52px)/1 var(--display); color: var(--butter); }
.t-sub { margin-top: 6px; font-weight: 500; }
.t-for { font-weight: 700; color: var(--paper); }
.t-what { color: var(--cream); font-size: 16px; }
.t-price { text-align: right; }
.t-price strong { display: block; font: 400 clamp(32px, 3vw, 44px)/1 var(--display); color: var(--paper); font-weight: 400; }
.t-price span { display: block; margin-top: 8px; font-size: 14px; max-width: 18ch; margin-left: auto; }
.tier-hot { background: var(--sky); color: var(--paper); }
.tier-hot:hover { background: #4f9ddd; }
.tier-hot .t-head h3 { color: var(--espresso); }
.tier-hot .t-what { color: var(--paper); }

.compare { margin-top: 40px; background: var(--cream); color: var(--ink); border-radius: 24px; }
.compare summary { cursor: pointer; padding: 22px 28px; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; font: 400 28px/0.8 var(--display); transition: transform .3s var(--ease); }
.compare[open] summary::after { transform: rotate(45deg); }
.table-scroll { overflow-x: auto; padding: 0 16px 24px; }
.matrix { width: 100%; min-width: 940px; border-collapse: separate; border-spacing: 4px; font-size: 14px; }
.matrix thead th { text-align: left; font-weight: 700; padding: 10px; vertical-align: bottom; }
.matrix thead th span { display: block; font-weight: 500; color: var(--muted); }
.matrix tbody th { text-align: left; font-weight: 700; padding: 10px; width: 210px; background: var(--paper); border-radius: 8px; }
.matrix tr.cat th { background: transparent; font: 400 20px/1 var(--display); color: var(--sky-ink); padding-top: 22px; }
.matrix td { padding: 10px; border-radius: 8px; line-height: 1.3; }
.matrix td.yes { background: var(--yes); color: var(--yes-ink); }
.matrix td.add { background: var(--add); color: var(--add-ink); }
.matrix td.no { background: var(--no); color: var(--no-ink); }

/* EVENTS */
.events { background: var(--cream); padding: var(--section) 0; }
.events-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.events-copy { grid-column: 1 / span 5; grid-row: 1 / span 2; padding-right: clamp(0px, 3vw, 40px); }
.events-copy p { margin-top: 24px; }
.events-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.events-list strong { display: block; font: 400 24px/1.1 var(--display); color: var(--sky-ink); }
.ev { margin: 0; position: relative; border-radius: 24px; overflow: hidden; }
.ev img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ev:hover img { transform: scale(1.05); }
.ev figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: var(--radius); }
.ev-a { grid-column: 6 / span 7; aspect-ratio: 16/10; }
.ev-b { grid-column: 6 / span 4; aspect-ratio: 1; }
.ev-c { grid-column: 10 / span 3; aspect-ratio: 3/4; }
.ev-d { grid-column: 1 / span 5; aspect-ratio: 16/10; margin-top: 0; }

/* AI SEARCH */
.ai { background: var(--sky); color: var(--paper); padding: var(--section) 0; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ai h2 { color: var(--paper); }
.ai-copy p { margin-top: 22px; max-width: 48ch; }
.ai-note { font-weight: 700; color: var(--espresso); }
.ai-media { position: relative; padding-bottom: 40px; }
.ai-clip { margin: 0 0 0 auto; width: 72%; aspect-ratio: 720 / 1048; border-radius: 28px; overflow: hidden; }
.ai-media .chat { position: absolute; left: 0; bottom: 0; width: 70%; box-shadow: 0 24px 50px -18px rgba(15,59,102,.45); /* floats over the clip */ }
.chat { background: var(--paper); color: #1f2328; border-radius: 24px; padding: 24px 28px 22px; font-size: 19px; }
.chat-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.chat-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e4e4e7; }
.chat .q { margin-left: auto; max-width: 80%; width: fit-content; background: #f1f1f3; border-radius: 18px; padding: 10px 16px; }
.chat .a { margin-top: 16px; }
.chat .a ul { margin: 10px 0 0; padding-left: 20px; }
.chat .a li { margin-top: 4px; }
.chat .a b { background: var(--butter); padding: 0 4px; border-radius: 4px; }
.chat-cap { margin-top: 16px; font-size: 13px; color: #6b7280; }

/* OPS */
.ops { background: var(--cream); padding: var(--section) 0; }
.ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ops-photo { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 9/14; height: min(82vh, 780px); width: auto; justify-self: center; }
.ops-photo img { width: 100%; height: 100%; object-fit: cover; }
.ops-copy > p { margin-top: 22px; max-width: 44ch; }
.ops-list { margin: 32px 0 0; display: grid; gap: 8px; }
.ops-list div { background: var(--paper); border-radius: 18px; padding: 16px 20px; display: grid; grid-template-columns: 11em 1fr; gap: 12px; transition: transform .25s var(--ease); }
.ops-list div:hover { transform: translateX(6px); }
.ops-list dt { font-weight: 700; }
.ops-list dd { margin: 0; font-size: 16px; color: var(--muted); }

/* FAQ */
.faq { background: var(--paper); padding: var(--section) 0; }
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-photo { margin: 32px 0 0; border-radius: 28px; overflow: hidden; aspect-ratio: 9/14; height: min(70vh, 640px); width: auto; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq-list { display: grid; gap: 8px; }
.faq-list details { background: var(--cream); border-radius: 20px; }
.faq-list summary { cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 26px/0.9 var(--display); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; max-width: 60ch; }

/* CONTACT */
.contact { background: var(--sky); padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.contact-form { background: var(--paper); border-radius: 28px; padding: clamp(24px, 4vw, 52px); display: grid; gap: 18px; }
.contact-form h2 { font-size: clamp(36px, 4.4vw, 64px); }
.contact-form > p { max-width: 50ch; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 16px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
  font: 400 17px/1.4 var(--text); color: var(--ink); background: var(--cream);
  border: 2px solid transparent; border-radius: 14px; padding: 13px 16px; min-height: 50px; width: 100%;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--espresso); }
.field small { color: var(--muted); font-size: 14px; }
.field.bad input, .field.bad select { border-color: #B42318; }
.field-err { color: #B42318; font-size: 14px; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.contact-form .btn { justify-self: start; margin-top: 6px; }
.form-msg { font-weight: 700; min-height: 1.5em; }
/* The matcha clip is the card's whole background; the copy sits on top */
.contact-card { position: relative; isolation: isolate; background: #6E6A63; color: var(--paper); border-radius: 28px; padding: clamp(24px, 4vw, 52px); overflow: hidden; min-height: 420px; }
.cc-big { position: relative; font: 400 clamp(44px, 5vw, 76px)/0.95 var(--display); color: var(--paper); max-width: 9ch; }
.cc-small { position: relative; margin-top: 18px; max-width: 26ch; font-weight: 500; }
/* Looping matcha clip fills the rest of the yellow card, anchored on the glass (bottom right of the frame) */
.cc-clip { position: absolute; inset: 0; z-index: -1; margin: 0; }
/* Neutral scrim behind the copy so white text holds up when the light beam passes */
.cc-clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(28,24,20,.55), rgba(28,24,20,0) 48%); pointer-events: none; }
.cc-clip .clip { object-position: 82% 100%; }

/* FOOTER */
.site-footer { background: var(--espresso); color: var(--cream); padding: 72px 0 28px; overflow: hidden; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.foot-links a { text-decoration: none; font-weight: 500; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-credit { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.site-footer__credit-link { display: inline-flex; align-items: center; padding: 4px 0; transition: transform .25s var(--ease); }
.site-footer__credit-link:hover { transform: translateY(-2px); }
.site-footer__credit-logo { height: 34px; width: auto; }
.foot-word { font: 400 clamp(120px, 27vw, 420px)/0.8 var(--display); color: var(--sky); letter-spacing: -0.04em; margin: 48px 0 0; text-align: center; white-space: nowrap; }
.foot-small { margin-top: 24px; font-size: 14px; color: #bfae9f; text-align: center; }

/* MOTION (entrances only when JS is running; content stays visible otherwise) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero h1 span, .js .lede, .js .hero-offer, .js .thumbs { animation: rise .9s var(--ease) both; }
.js .hero h1 .l2 { animation-delay: .08s; } .js .lede { animation-delay: .16s; } .js .hero-offer { animation-delay: .24s; } .js .thumbs { animation-delay: .32s; }
.js .arch { animation: archIn 1s var(--ease) both .1s; transform-origin: bottom; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes archIn { from { transform: scaleY(.2); opacity: 0; } to { transform: none; opacity: 1; } }
.bean { animation: drift 7s ease-in-out infinite alternate; }
.b2 { animation-duration: 9s; } .b3 { animation-duration: 8s; animation-delay: -3s; }
@keyframes drift { to { translate: 0 -18px; rotate: 18deg; } }
.product-stage { animation: bob 6s ease-in-out infinite alternate; }
@keyframes bob { to { translate: 0 -12px; } }

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

/* TABLET */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .tier { grid-template-columns: 1fr 1fr; }
  .t-price { text-align: left; grid-column: 1 / -1; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
  .t-price span { margin: 0; max-width: none; }
  .services .wrap { grid-template-columns: 1fr; }
  .services-head { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
  .services-head h2, .services-head > p { grid-column: 1; }
  .services-photo { grid-column: 2; grid-row: 1 / span 2; margin: 0; aspect-ratio: 1; height: auto; width: 100%; }
}

/* PHONE: its own composition */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-row { height: 72px; }
  .nav .btn { padding: 10px 16px; min-height: 42px; font-size: 14px; }
  .brand { font-size: 26px; }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; padding-bottom: 40px; gap: 8px; }
  .hero h1 { font-size: clamp(60px, 17vw, 88px); }
  .lede { margin-top: 20px; font-size: 17px; }
  .hero-art { order: -1; height: 340px; min-height: 0; }
  .product-stage { inset: 0 22% 0 0; }
  .product { height: 310px; }
  .bean { width: 36px !important; }
  .arch { width: 52%; right: 8%; }
  .arch-word { font-size: 56px; }
  .price { font-size: 38px; }
  .offer-grid, .ai-grid, .ops-grid, .faq-grid, .contact-grid, .fit-grid { grid-template-columns: 1fr; }
  .od-stage { height: 560px; }
  .od-arch { left: 6%; right: 2%; }
  .od-customer { width: 286px; height: 560px; left: 0; }
  .od-owner { width: 172px; height: 300px; right: -6px; bottom: -6px; border-radius: 34px; padding: 8px; }
  .od-owner .od-screen { border-radius: 27px; }
  .od-chat-head { padding: 22px 10px 8px; gap: 7px; }
  .od-chat-head b { font-size: 12px; } .od-chat-head small { font-size: 10px; }
  .od-avatar { width: 26px; height: 26px; font-size: 10px; }
  .od-chat { padding: 8px; gap: 6px; }
  .od-msg { font-size: 11px; padding: 8px 9px; } .od-msg b { font-size: 11.5px; }
  .od-actions span { font-size: 10.5px; padding: 6px 2px; }
  .od-step { font-size: 14px; padding: 10px 13px; }
  .services-head { display: block; }
  .services-photo { margin-top: 24px; aspect-ratio: 4/5; height: auto; width: 100%; }
  .menu-group li { grid-template-columns: 1fr auto; }
  .dots { display: none; }
  .item-tier { align-self: start; font-size: 14px; }
  .tier { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .events-copy { grid-column: 1 / -1; grid-row: auto; padding: 0; }
  .ev-a { grid-column: 1 / -1; }
  .ev-b, .ev-c { grid-column: span 1; aspect-ratio: 3/4; }
  .ev-d { grid-column: 1 / -1; }
  .ops-photo, .faq-photo { height: auto; width: 100%; aspect-ratio: 4/5; }
  .ai-media { padding-bottom: 0; }
  .ai-clip { width: 86%; }
  .ai-media .chat { position: relative; width: 92%; margin-top: -120px; }
  .ops-list div { grid-template-columns: 1fr; gap: 2px; }
  /* Phone: a 16:9 clip can't share a portrait screen with text beside it, so the
     clip fills the top two thirds and fades into a matching blue under the steps. */
  .build { background: #86C3E0; }
  .build-sticky { align-items: stretch; }
  .build-video {
    height: 60%; object-position: 50% 40%;
    -webkit-mask-image: linear-gradient(#000 78%, transparent);
    mask-image: linear-gradient(#000 78%, transparent);
  }
  .build-overlay { display: flex; }
  .build-copy { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 0 0 22px; max-width: none; width: 100%; }
  .build h2 { max-width: none; font-size: 30px; }
  .build-lede { display: none; }
  .build-rail { margin-top: 0; padding-left: 26px; }
  .build-steps li::before { left: -26px; width: 13px; height: 13px; }
  .build-steps li b { font-size: 17px; }
  .build-steps li.is-on b { font-size: 26px; }
  .build-steps li span { font-size: 14px; }
  .build-fallback { right: 6%; height: 52vh; }
  .fit-result { min-height: 560px; }
  .fit-cup { width: 40%; }
  .contact-card { min-height: 0; aspect-ratio: 3/4; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}

/* ===================== Detail pages (services, packages) ===================== */
.t-more { display: inline-block; font-weight: 700; color: inherit; text-underline-offset: 4px; }
.services-head .t-more { margin-top: 18px; }
.menu-group h3 a, .t-head h3 a, .t-head h2 a { color: inherit; text-decoration: none; }
.menu-group h3 a:hover, .t-head h3 a:hover, .t-head h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
a.item { color: inherit; text-decoration: none; }
a.item:hover .item-name { text-decoration: underline; text-underline-offset: 4px; }
.matrix th a { color: inherit; }

.page-hero { position: relative; background: var(--sky); color: var(--paper); padding-top: 88px; overflow-x: clip; }
.ph-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: 32px; padding-bottom: 56px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: 14px; font-weight: 500; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .7; }
.crumbs a { color: inherit; }
.page-hero h1 { font: 400 clamp(52px, 7vw, 108px)/.92 var(--display); letter-spacing: -0.03em; color: var(--paper); max-width: 12ch; text-wrap: balance; }
.ph-sub { margin-top: 10px; font: 400 clamp(22px, 2.2vw, 30px)/1.1 var(--display); color: var(--espresso); }
.ph-lede { margin-top: 20px; max-width: 48ch; font-size: 19px; }
.ph-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.ph-chips a { display: inline-block; background: var(--paper); color: var(--espresso); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 999px; padding: 9px 14px; transition: transform .2s var(--ease); }
.ph-chips a:hover { transform: translateY(-2px); }
.ph-photo { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; max-height: 560px; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-art { position: relative; margin: 0; height: min(60vh, 520px); min-height: 340px; }
.ph-arch { position: absolute; left: 18%; right: 6%; top: 6%; bottom: 0; background: var(--caramel); border-radius: 999px 999px 28px 28px; }
.ph-cut { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); height: 86%; width: auto; max-width: 90%; object-fit: contain; filter: drop-shadow(0 30px 24px rgba(15,59,102,.28)); }
.pk-facts { display: grid; gap: 10px; margin: 26px 0 28px; max-width: 520px; }
.pk-facts div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; }
.pk-facts dt { font-weight: 500; opacity: .9; }
.pk-facts dd { margin: 0; font-weight: 500; }
.pk-facts dd b { font: 400 30px/1 var(--display); color: var(--butter); margin-right: 6px; }

.svc-list { background: var(--cream); padding: calc(var(--section) * .6) 0 var(--section); }
.svc { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(48px, 7vw, 96px) 0; scroll-margin-top: 24px; }
.svc + .svc { border-top: 2px solid #EFE3D2; }
.svc-flip .svc-copy { order: 2; }
.svc h2 { font-size: clamp(36px, 4vw, 58px); max-width: 14ch; }
.svc-blurb { margin-top: 18px; max-width: 46ch; }
.svc h3 { margin-top: 26px; font-weight: 700; font-size: 17px; }
.svc-gets { margin: 8px 0 0; padding-left: 20px; }
.svc-gets li { margin-top: 4px; }
.svc-tiers { list-style: none; margin: 10px 0 26px; padding: 0; display: grid; gap: 6px; }
.svc-tiers a { display: grid; grid-template-columns: 7em 1fr; gap: 10px; padding: 8px 12px; border-radius: 12px; text-decoration: none; color: inherit; font-size: 15px; transition: transform .2s var(--ease); }
.svc-tiers a:hover { transform: translateX(4px); }
.svc-tiers .yes a { background: var(--yes); color: var(--yes-ink); }
.svc-tiers .add a { background: var(--add); color: var(--add-ink); }
.svc-tiers .no a { background: var(--no); color: var(--no-ink); }
.svc-demo { position: sticky; top: 24px; }

.more { background: var(--espresso); color: var(--cream); padding: var(--section) 0; }
.more h2 { color: var(--paper); }
.more-grid, .areas-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.more-grid a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; border-radius: 20px; background: var(--espresso-2); color: inherit; text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.more-grid a:hover { background: #47301f; transform: translateY(-3px); }
.more-grid b { font: 400 24px/1.05 var(--display); color: var(--butter); }
.more-grid span { font-size: 15px; }

.areas { background: var(--cream); padding: calc(var(--section) * .6) 0 var(--section); }
.areas-grid { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.area { background: var(--paper); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; }
.area h2 { font-size: 30px; max-width: none; }
.area h2 a { color: var(--sky-ink); text-decoration: none; }
.area > p { margin-top: 10px; font-size: 16px; }
.area ul { margin: 14px 0 18px; padding-left: 20px; font-size: 15.5px; }
.area ul a { color: inherit; }
.area-more { margin-top: auto; font-weight: 700; color: var(--espresso); }

.pk-incl { background: var(--cream); padding: var(--section) 0; }
.pk-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 36px; }
.pk-group, .pk-addons { background: var(--paper); border-radius: 22px; padding: 22px; }
.pk-group h3, .pk-addons h3 { font: 400 22px/1.1 var(--display); color: var(--sky-ink); margin-bottom: 10px; }
.pk-group h3 a { color: inherit; text-decoration: none; }
.pk-group ul, .pk-addons ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pk-group li, .pk-addons li { display: flex; flex-direction: column; }
.pk-group li a, .pk-addons li a { font-weight: 700; color: inherit; }
.pk-group li span, .pk-addons li span { font-size: 14px; color: var(--muted); }
.pk-addons { margin-top: 12px; background: var(--add); }
.pk-addons ul { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pk-run { background: var(--sky); color: var(--paper); padding: var(--section) 0; }
.pk-run h2 { color: var(--paper); }
.pk-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pk-steps li { background: rgba(255,255,255,.16); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.pk-steps b { font: 400 26px/1 var(--display); color: var(--espresso); }
.pk-faq { background: var(--paper); padding: var(--section) 0; }
.pk-faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pk-faq h2 { font-size: clamp(38px, 4.6vw, 64px); max-width: 13ch; }
.pk-ns { display: grid; gap: 10px; margin-top: 32px; max-width: 420px; }
.pk-n { display: grid; padding: 18px 20px; border-radius: 20px; background: var(--cream); color: inherit; text-decoration: none; transition: transform .2s var(--ease); }
.pk-n:hover { transform: translateX(6px); }
.pk-n small { color: var(--muted); font-weight: 500; }
.pk-n b { font: 400 28px/1.05 var(--display); }
.pk-index { padding-top: calc(var(--section) * .6); }
.pk-index .tier .t-more { color: var(--butter); }
.pk-index .tier-hot .t-more { color: var(--espresso); }
.pk-compare-h { margin-top: var(--section); color: var(--paper); max-width: 18ch; }
.compare-open { margin-top: 32px; background: var(--cream); color: var(--ink); border-radius: 24px; padding-top: 16px; }
.tier .t-more { color: var(--butter); margin-left: 4px; }
.tier-hot .t-more { color: var(--espresso); }

@media (max-width: 1024px) {
  .svc, .svc-flip { grid-template-columns: 1fr; }
  .svc-flip .svc-copy { order: 0; }
  .svc-demo { position: static; }
}
@media (max-width: 760px) {
  .page-hero { padding-top: 72px; }
  .ph-grid { grid-template-columns: 1fr; padding-top: 16px; padding-bottom: 40px; }
  .ph-photo { aspect-ratio: 16/11; }
  .ph-art { height: 300px; min-height: 0; order: -1; }
  .page-hero h1 { font-size: clamp(46px, 13vw, 72px); }
  .pk-facts div { grid-template-columns: 1fr; gap: 0; }
  .pk-faq-grid { grid-template-columns: 1fr; }
  .svc-tiers a { grid-template-columns: 6em 1fr; font-size: 14px; }
}
/* Long service names: let the CTA wrap instead of widening the page on phones */
.svc-copy, .svc-demo { min-width: 0; }
.svc .btn { white-space: normal; text-align: left; line-height: 1.25; }

/* Page photos */
.area-photo { display: block; margin: -26px -26px 20px; border-radius: 24px 24px 0 0; overflow: hidden; aspect-ratio: 16/10; }
.area-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.area:hover .area-photo img { transform: scale(1.04); }
.pk-run-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pk-run-grid .pk-steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pk-photo { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; }
.pk-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) {
  .pk-run-grid { grid-template-columns: 1fr; }
  .pk-photo { aspect-ratio: 16/10; }
}
.areas-grid.wrap { margin-left: auto; margin-right: auto; }
.pk-run-grid .pk-steps { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .pk-run-grid .pk-steps { grid-template-columns: 1fr; } }

/* ===================== System pages (/services/cloud-pos etc.) ===================== */
.sys-watch { background: var(--cream); padding: calc(var(--section) * .6) 0 var(--section); }
.sys-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.sys-player { position: relative; border-radius: 32px; overflow: hidden; background: var(--sky); aspect-ratio: 1; }
.sys-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sys-toggle {
  position: absolute; right: 16px; bottom: 16px; font: 700 14px/1 var(--text); color: var(--espresso);
  background: rgba(255,255,255,.92); border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer;
}
.sys-intro { margin-top: 14px; max-width: 46ch; }
.sys-watch h2, .sys-try h2, .sys-features h2 { font-size: clamp(38px, 4.6vw, 70px); max-width: 13ch; }
.sys-chapters { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; }
.sys-ch {
  width: 100%; text-align: left; border: 0; cursor: pointer; font: inherit; color: inherit;
  display: grid; grid-template-columns: 3.2em 1fr; gap: 2px 14px; padding: 14px 18px; border-radius: 18px; background: transparent;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.sys-ch:hover { background: rgba(255,255,255,.6); }
.sys-ch .sys-time { grid-row: 1 / span 2; font: 700 15px/1.6 var(--text); color: var(--muted); }
.sys-ch b { font: 400 24px/1.15 var(--display); }
.sys-ch .sys-text { font-size: 15.5px; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s var(--ease), opacity .35s var(--ease); }
.sys-ch.is-on { background: var(--paper); transform: translateX(6px); }
.sys-ch.is-on .sys-time { color: var(--sky-ink); }
.sys-ch.is-on .sys-text { max-height: 5em; opacity: 1; }

.sys-try { background: var(--sky); color: var(--paper); padding: var(--section) 0; }
.sys-try h2 { color: var(--paper); }
.sys-try .sys-demo { margin-top: 32px; }
.sys-features { background: var(--paper); padding: var(--section) 0; }
.sys-feat-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.sys-feat { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sys-feat li { background: var(--cream); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.sys-feat b { font: 400 22px/1.15 var(--display); color: var(--sky-ink); }
.sys-features h3 { font-weight: 700; font-size: 18px; margin-top: 12px; }
.svc-full { display: block; margin-top: 16px; }

@media (max-width: 1024px) {
  .sys-grid, .sys-feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sys-feat { grid-template-columns: 1fr; }
  .sys-ch b { font-size: 20px; }
}

.ops-list dt a { color: inherit; text-underline-offset: 4px; }
.ops-list dt a::after { content: " →"; }
.sys-watch { background: var(--paper); }
.sys-player { box-shadow: 0 0 0 1px #F0E4D2; }
.sys-ch:hover { background: var(--cream); }
.sys-ch.is-on { background: var(--cream); }

/* ===================== Careers ===================== */
.cr-why { background: var(--paper); padding: var(--section) 0; }
.cr-why h2, .cr-roles h2, .cr-how h2 { font-size: clamp(38px, 4.6vw, 70px); max-width: 14ch; }
.cr-why-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cr-roles { background: var(--cream); padding: var(--section) 0; }
.roles { display: grid; gap: 10px; margin-top: 32px; }
.role { background: var(--paper); border-radius: 22px; }
.role summary { cursor: pointer; list-style: none; padding: 22px 26px; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; }
.role summary::-webkit-details-marker { display: none; }
.role summary::after { content: "+"; font: 400 28px/1 var(--display); grid-column: 2; grid-row: 1 / span 2; transition: rotate .3s var(--ease); }
.role[open] summary::after { rotate: 45deg; }
.role-t { font: 400 clamp(22px, 2.2vw, 30px)/1.1 var(--display); color: var(--sky-ink); }
.role-m { font-size: 15px; color: var(--muted); font-weight: 500; }
.role-body { padding: 0 26px 26px; }
.role-body > p { max-width: 60ch; }
.role-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 18px 0 22px; }
.role-cols h3 { font-weight: 700; font-size: 17px; }
.role-cols ul { margin: 8px 0 0; padding-left: 20px; }
.role-cols li { margin-top: 4px; }
.cr-how { background: var(--sky); color: var(--paper); padding: var(--section) 0; }
.cr-how h2 { color: var(--paper); }
.cr-steps { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.cr-apply .wrap { display: block; }
.cr-form { max-width: 880px; margin: 0 auto; }
.cr-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.cr-wide { grid-column: 1 / -1; }
.cr-form textarea { font: 400 17px/1.5 var(--text); color: var(--ink); background: var(--cream); border: 2px solid transparent; border-radius: 14px; padding: 13px 16px; width: 100%; resize: vertical; }
.cr-form textarea:focus { outline: none; border-color: var(--espresso); }
.cr-form input[type=file] { background: var(--cream); border-radius: 14px; padding: 12px; }
.field.bad textarea { border-color: #B42318; }
@media (max-width: 760px) {
  .role-cols, .cr-fields { grid-template-columns: 1fr; }
  .role summary { grid-template-columns: 1fr auto; }
}

/* ===================== Footer: the big wordmark must never block the links ===================== */
.foot-word { pointer-events: none; }
.foot-row { position: relative; z-index: 1; }

/* ===================== Service menu as colourful cards (landing) ===================== */
.menu-board { background: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.menu-card { --c: var(--paper); --ink: var(--espresso); --soft: rgba(255,255,255,.45); --tag: rgba(42,26,18,.1);
  background: var(--c); color: var(--ink); border-radius: 28px; padding: 26px 22px 22px; display: flex; flex-direction: column; }
.menu-card h3 { font: 400 clamp(26px, 2.4vw, 34px)/1.02 var(--display); padding: 0 4px; }
.menu-card h3 a { color: inherit; text-decoration: none; }
.menu-card h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.mc-count { padding: 0 4px; margin-top: 6px; font-size: 14px; font-weight: 700; opacity: .75; }
.menu-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.mc-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border-radius: 18px; background: var(--soft); color: inherit; text-decoration: none; transition: transform .2s var(--ease), background-color .2s var(--ease); }
.mc-item:hover { transform: translateY(-2px); background: rgba(255,255,255,.7); }
.mc-item:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.mc-name { font-weight: 700; font-size: 17px; }
.mc-desc { grid-column: 1; font-size: 14.5px; line-height: 1.4; opacity: .82; }
.mc-tier { grid-column: 2; grid-row: 1 / span 2; align-self: start; white-space: nowrap; font-size: 12.5px; font-weight: 700; background: var(--tag); border-radius: 999px; padding: 5px 10px; }
.mc-more { margin-top: 16px; padding: 0 4px; font-weight: 700; color: inherit; text-underline-offset: 4px; }
.mc-menu-and-branding     { --c: #FFD84D; }
.mc-packaging-and-gifting { --c: #FFB084; }
.mc-events                { --c: #C9B8F2; }
.mc-creators-and-community{ --c: #FF9AA8; }
.mc-account-team          { --c: #A4D4C5; }
.mc-website-and-ordering  { --c: #5BA8E8; --soft: rgba(255,255,255,.55); }
.mc-google-and-ai-search  { --c: #1F5E3B; --ink: #FFF4E2; --soft: rgba(255,255,255,.1); --tag: rgba(255,244,226,.18); }
.mc-behind-the-counter    { --c: #2A1A12; --ink: #FFF4E2; --soft: rgba(255,255,255,.08); --tag: rgba(255,244,226,.18); }
.mc-google-and-ai-search .mc-item:hover, .mc-behind-the-counter .mc-item:hover { background: rgba(255,255,255,.16); }
@media (max-width: 1180px) { .menu-board { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .menu-card { padding: 22px 16px 18px; }
  .mc-item { grid-template-columns: 1fr; }
  .mc-tier { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
}
@media (min-width: 1025px) { .services .wrap { grid-template-columns: .55fr 1.45fr; gap: clamp(28px, 4vw, 56px); } }

/* ===================== HTML sitemap (/sitemap) ===================== */
.sm-xml { color: inherit; font-weight: 700; }
.sm { background: var(--cream); padding: calc(var(--section) * .6) 0 var(--section); }
.sm-top, .sm-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.sm-group { background: var(--paper); border-radius: 24px; padding: 24px; }
.sm-group h2, .sm-group h3 { font: 400 26px/1.1 var(--display); color: var(--sky-ink); margin-bottom: 12px; }
.sm-group h2 a, .sm-group h3 a, .sm-h a { color: inherit; text-decoration: none; }
.sm-group h2 a:hover, .sm-group h3 a:hover, .sm-h a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sm-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sm-group li a { font-weight: 700; color: var(--espresso); text-underline-offset: 4px; }
.sm-group li span { display: block; font-size: 14px; color: var(--muted); }
.sm-h { margin: 56px 0 20px; font-size: clamp(38px, 4.6vw, 64px); }
