/* Chief and Honey's, Thompson's Station TN. Concept: build your cup. Their short real menu becomes a tap-through
   builder with the board's prices, and the scoops stack up as you go. Mint and pink from their oval logo and menu
   board, cream, chocolate, waffle tan. Fredoka + Albert Sans. */
:root {
  --bg: #fff9f2;
  --mint: #8ed4d3;
  --mint-deep: #5fbfc0;
  --pink: #ee7faf;
  --pink-soft: #ffe1ec;
  --ink: #3b2a2a;
  --muted: #7a6a6a;
  --waffle: #d9a86c;
  --waffle-dark: #b98246;
  --surface: #fff1e4;
  --accent: var(--pink);
  --accent2: var(--mint);
  --light: #fff9f2;
  --font-display: "Fredoka";
  --font-body: "Albert Sans";
}
html { scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--ink); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(2.3rem, 1rem + 4.4vw, 5rem); line-height: .98; }
h2 .split-mask, h1 .split-mask { padding-bottom: .14em; margin-bottom: -.14em; }
::selection { background: var(--pink); color: #fff; }
.cursor { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: var(--step-0); border: 2px solid transparent; transition: background .3s, color .3s, border-color .3s, transform .4s cubic-bezier(.34,1.56,.64,1); cursor: pointer; letter-spacing: .01em; }
.btn:hover { transform: translateY(-2px); }
.btn-pink { background: var(--pink); color: #fff; border-color: var(--pink); }
.btn-pink:hover { background: var(--ink); border-color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.btn-line:hover { border-color: var(--ink); }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 10px var(--gutter); }
.site-header.is-solid { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand img { width: 84px; height: auto; }
.site-nav { display: flex; gap: 24px; margin-left: 12px; }
.site-nav a { text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: var(--step-0); color: var(--ink); opacity: .78; transition: opacity .3s; }
.site-nav a:hover { opacity: 1; }
.call { margin-left: auto; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: var(--step-0); transition: background .3s; }
.call:hover { background: var(--pink); }
@media (max-width: 899px) { .site-nav, .call { display: none; } }

/* hero: scoop on a cone */
.hero { position: relative; min-height: 100svh; background: var(--mint); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(20px, 4vw, 60px); padding: 110px var(--gutter) 60px; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -30px; height: 60px; background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.hero-kicker { font-family: var(--font-display); font-weight: 500; font-size: var(--step-0); color: var(--ink); opacity: .75; margin-bottom: 16px; }
.hero h1 { font-size: clamp(3rem, 1rem + 7.4vw, 8.4rem); line-height: .94; font-weight: 700; color: var(--ink); }
.hero-sub { margin-top: 26px; max-width: 46ch; font-size: var(--step-0); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-cone { position: relative; z-index: 2; justify-self: center; width: min(34vw, 420px); display: grid; justify-items: center; }
.scoop-photo { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; z-index: 2; box-shadow: 0 30px 50px -30px rgba(59, 42, 42, .6); animation: drop 1.3s cubic-bezier(.34,1.56,.64,1) both .35s; }
.scoop-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; transform: scale(1.18); transform-origin: 50% 72%; }
.cone { width: 58%; aspect-ratio: 1 / 1.55; margin-top: -22%; clip-path: polygon(0 0, 100% 0, 50% 100%);
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(0, 0, 0, .14) 14px 18px),
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(0, 0, 0, .14) 14px 18px),
    linear-gradient(90deg, var(--waffle-dark), var(--waffle) 40%, var(--waffle) 60%, var(--waffle-dark));
  animation: rise 1s var(--ease-out) both .1s; }
.sticker { position: absolute; right: -8%; top: 4%; z-index: 3; background: var(--pink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: var(--step-0); padding: 10px 16px; border-radius: 999px; transform: rotate(8deg); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .4); animation: drop 1.2s cubic-bezier(.34,1.56,.64,1) both .9s; }
@keyframes drop { from { transform: translateY(-60px) scale(.9); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.motion-off .scoop-photo, .motion-off .cone, .motion-off .sticker { animation: none; }

/* hours */
.hours { padding: clamp(60px, 8vw, 110px) 0; }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hours-list { margin: 0; display: grid; gap: 10px; }
.hours-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 12px 0; border-top: 2px solid var(--ink); }
.hours-list dt { font-weight: 700; }
.hours-list dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); white-space: nowrap; }
address { font-style: normal; }
address p { line-height: 1.6; }
address a { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--pink); text-decoration: none; border-bottom: 2px solid color-mix(in srgb, var(--pink) 40%, transparent); }

/* build your cup */
.build { padding: clamp(60px, 9vw, 130px) 0; background: var(--pink-soft); position: relative; overflow: hidden; }
.build-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-bottom: clamp(30px, 4vw, 60px); }
.build-head p { max-width: 38ch; color: var(--muted); }
.build-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.step { border: 0; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.step legend { width: 100%; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.step legend b { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: var(--step--1); font-weight: 600; }
.step label { cursor: pointer; }
.step input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.step span { display: inline-flex; align-items: baseline; gap: 8px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 2px solid color-mix(in srgb, var(--ink) 12%, transparent); font-weight: 500; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.step span strong { font-weight: 700; }
.step span small { color: var(--muted); font-size: var(--step--1); }
.step span em { font-style: normal; color: var(--muted); font-family: var(--font-display); }
.step input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.step input:checked + span em, .step input:checked + span small { color: color-mix(in srgb, #fff 75%, transparent); }
.step input:focus-visible + span { outline: 3px solid var(--mint-deep); outline-offset: 2px; }
.step-extras span { padding: 10px 14px; border-radius: 999px; }
.step .free span { background: var(--mint); border-color: var(--mint); }
.step .free input:checked + span { background: var(--mint-deep); border-color: var(--mint-deep); color: var(--ink); }
.step .free span i { font-style: normal; font-size: var(--step--1); opacity: .8; }
.step span.pop, .chips span.pop { animation: pop .45s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
.build-cup { position: sticky; top: 100px; display: grid; justify-items: center; gap: 20px; }
.cup-stage { position: relative; width: min(100%, 360px); aspect-ratio: 1 / 1.1; }
.scoop-stack { position: absolute; inset: 0; }
.scoop { position: absolute; left: 50%; width: 44%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%) scale(0); transition: transform .5s cubic-bezier(.34,1.56,.64,1), top .5s cubic-bezier(.34,1.56,.64,1), left .5s cubic-bezier(.34,1.56,.64,1); box-shadow: inset -12px -14px 0 rgba(0, 0, 0, .08), 0 14px 20px -14px rgba(0, 0, 0, .35); }
.scoop.s1 { background: var(--pink); top: 34%; z-index: 3; }
.scoop.s2 { background: var(--mint); top: 14%; z-index: 2; }
.scoop.f1, .scoop.f2, .scoop.f3, .scoop.f4 { width: 20%; top: 40%; z-index: 3; }
.scoop.f1 { background: var(--pink); } .scoop.f2 { background: var(--mint); } .scoop.f3 { background: #ffd166; } .scoop.f4 { background: #7a4b3a; }
[data-scoops="single"] .scoop.s1, [data-scoops="double"] .scoop.s1 { transform: translateX(-50%) scale(1); }
[data-scoops="double"] .scoop.s2 { transform: translateX(-50%) scale(1); }
[data-scoops="flight"] .scoop.f1 { left: 20%; transform: translateX(-50%) scale(1); }
[data-scoops="flight"] .scoop.f2 { left: 40%; transform: translateX(-50%) scale(1); transition-delay: .05s; }
[data-scoops="flight"] .scoop.f3 { left: 60%; transform: translateX(-50%) scale(1); transition-delay: .1s; }
[data-scoops="flight"] .scoop.f4 { left: 80%; transform: translateX(-50%) scale(1); transition-delay: .15s; }
[data-scoops="flight"] .vessel { opacity: 0; }
[data-scoops="flight"] .scoop-stack::after { content: ""; position: absolute; left: 6%; right: 6%; top: 60%; height: 10%; border-radius: 10px; background: #fff; box-shadow: 0 12px 20px -12px rgba(0, 0, 0, .35); }
.vessel { position: absolute; left: 50%; transform: translateX(-50%); transition: opacity .35s; z-index: 1; }
.vessel-cup { top: 56%; width: 48%; height: 36%; background: #fff; clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); opacity: 0; }
.vessel-cup::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--mint) 0 18px, transparent 18px 36px); opacity: .55; }
.vessel-cone { top: 56%; width: 44%; height: 42%; clip-path: polygon(0 0, 100% 0, 50% 100%); opacity: 0;
  background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(0, 0, 0, .14) 10px 13px), repeating-linear-gradient(-45deg, transparent 0 10px, rgba(0, 0, 0, .14) 10px 13px), linear-gradient(90deg, var(--waffle-dark), var(--waffle) 40%, var(--waffle) 60%, var(--waffle-dark)); }
.vessel-bowl { top: 58%; width: 62%; height: 26%; border-radius: 0 0 40% 40% / 0 0 100% 100%; opacity: 0;
  background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(0, 0, 0, .14) 10px 13px), repeating-linear-gradient(-45deg, transparent 0 10px, rgba(0, 0, 0, .14) 10px 13px), linear-gradient(90deg, var(--waffle-dark), var(--waffle) 40%, var(--waffle) 60%, var(--waffle-dark)); }
[data-base="cup"] .vessel-cup, [data-base="cone"] .vessel-cone, [data-base="bowl"] .vessel-bowl { opacity: 1; }
[data-base="bowl"] .scoop.s1 { top: 40%; }
[data-base="bowl"] .scoop.s2 { top: 20%; }
.sprinkle-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.sprinkle-layer i { position: absolute; width: 10px; height: 4px; border-radius: 2px; animation: sprinkle .5s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes sprinkle { from { transform: translateY(-20px) scale(0); opacity: 0; } to { opacity: 1; } }
.cup-summary { width: 100%; max-width: 360px; background: #fff; border-radius: 20px; padding: 20px 22px; box-shadow: 0 30px 50px -36px rgba(59, 42, 42, .5); }
.cup-line { color: var(--muted); font-size: var(--step--1); line-height: 1.5; }
.cup-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 12px; border-top: 2px solid var(--ink); }
.cup-total span { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); }
.cup-total b { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: 1; display: inline-block; }
.cup-total b.bump { animation: pop .45s cubic-bezier(.34,1.56,.64,1); }
.cup-note { margin-top: 10px; font-size: var(--step--1); color: var(--muted); }

/* the board */
.board { padding: clamp(60px, 9vw, 130px) 0; }
.board-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.board-list ul { list-style: none; margin: 30px 0 0; padding: 0; }
.board-list li { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; padding: 20px 0; border-top: 2px solid var(--ink); }
.board-list h3 { font-size: var(--step-2); margin-bottom: 6px; color: var(--pink); }
.board-list li p { color: var(--muted); max-width: 46ch; }
.board-list li b { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); }
.flavors-note { margin-top: 36px; padding: 24px; border-radius: 20px; background: var(--mint); }
.flavors-note h3 { font-size: var(--step-1); margin-bottom: 8px; }
.flavors-note p { line-height: 1.6; }
.flavors-note em { font-style: normal; font-weight: 700; }
.board-photo { margin: 0; position: sticky; top: 100px; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); }
.board-photo img { width: 100%; height: 100%; object-fit: cover; }
.board-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--bg); padding: 8px 14px; border-radius: 999px; font-family: var(--font-display); font-weight: 500; font-size: var(--step--1); }

/* the shop */
.shop { background: var(--mint); padding: clamp(60px, 9vw, 130px) 0; }
.shop-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.shop-logo { width: min(34vw, 320px); height: auto; transform: rotate(-4deg); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .18)); }
.shop-copy p { margin-top: 22px; max-width: 52ch; line-height: 1.7; }
.shop-social a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(0, 0, 0, .25); }

/* say hi */
.hi { padding: clamp(60px, 9vw, 130px) 0; background: var(--ink); color: var(--bg); }
.hi-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 100px); align-items: start; }
.hi h2 { color: var(--pink); }
.hi-copy p { margin-top: 22px; max-width: 44ch; line-height: 1.7; color: color-mix(in srgb, var(--bg) 82%, transparent); }
.hi-direct a { color: var(--bg); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .3); line-height: 1.9; }
.hi-form { background: var(--bg); color: var(--ink); border-radius: 24px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 700; font-size: var(--step--1); color: var(--muted); margin-bottom: 10px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 2px solid color-mix(in srgb, var(--ink) 18%, transparent); font-weight: 700; font-size: var(--step--1); transition: background .25s, color .25s, border-color .25s; }
.chips input:checked + span { background: var(--pink); color: #fff; border-color: var(--pink); }
.chips input:focus-visible + span { outline: 3px solid var(--mint-deep); outline-offset: 2px; }
.hi-form label:not(.chips label) { display: grid; gap: 6px; font-size: var(--step--1); font-weight: 700; color: var(--muted); }
.hi-form input:not([type=radio]), .hi-form textarea { width: 100%; padding: 13px 14px; border: 2px solid color-mix(in srgb, var(--ink) 15%, transparent); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 400; transition: border-color .3s; }
.hi-form input:focus, .hi-form textarea:focus { outline: none; border-color: var(--mint-deep); }
.hi-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hi-form button { justify-self: start; margin-top: 4px; }
.form-note { font-size: var(--step--1); color: var(--muted); }

/* footer */
.site-footer { background: var(--ink); color: var(--bg); padding: 10px 0 30px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-grid { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 40px; align-items: start; padding-top: 40px; }
.foot-brand { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); line-height: 1; display: grid; gap: 6px; }
.foot-brand small { font-family: var(--font-body); font-weight: 500; font-size: var(--step--1); color: var(--mint); }
.foot-col p { color: color-mix(in srgb, var(--bg) 75%, transparent); font-size: var(--step--1); line-height: 1.8; }
.foot-col a { color: var(--bg); text-decoration: none; font-weight: 700; }
.foot-fine { margin-top: 40px; font-size: var(--step--1); color: color-mix(in srgb, var(--bg) 45%, transparent); }

/* sticky call bar (phones): its own solid pill so it reads over every section */
.callbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: none; gap: 6px; padding: 6px;
  background: var(--bg); border: 2px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28), 0 0 0 4px rgba(255, 249, 242, .55); }
.callbar a { flex: 1; text-align: center; padding: 13px 10px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; font-size: var(--step--1); }
.callbar a.alt { background: var(--pink); color: #fff; flex: 1.3; }

/* phones + small tablets */
@media (max-width: 899px) {
  html { scroll-padding-top: 76px; }
  .hero { grid-template-columns: 1fr; padding: 92px var(--gutter) 70px; min-height: auto; gap: 36px; }
  .hero-cone { width: min(62vw, 300px); order: -1; }
  .hero h1 { font-size: clamp(2.7rem, 1rem + 9vw, 4.4rem); }
  .hours-grid { grid-template-columns: 1fr; gap: 24px; }
  .build-head, .build-grid, .board-grid, .shop-grid, .hi-grid { grid-template-columns: 1fr; }
  .build-cup { position: static; }
  .board-photo { position: static; aspect-ratio: 4 / 5; }
  .shop-logo { width: min(60vw, 260px); }
  .hi-form .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .site-footer { padding-bottom: 96px; }
  .callbar { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .step span.pop, .chips span.pop, .cup-total b.bump { animation: none; } .btn:hover { transform: none; } .sprinkle-layer i { animation: none; } }
