/* ═══════════════════════════════════
   Freeze & Breeze — App Stylesheet
   © Appnow Cloud 2026
   ═══════════════════════════════════ */

/* ═══ FONTS ═══ */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/instrument-serif-regular.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url(/fonts/instrument-serif-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Syne';
  font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/syne-latin.woff2) format('woff2');
}

/* ═══ VARIABLES ═══ */
:root {
  --bg: #0a0e14;
  --surface: #111822;
  --surface-raised: #1a2533;
  --border: #1e2d3d;
  --border-accent: #2a4055;
  --text: #e0e8f0;
  --text-dim: #8a9bb0;
  --text-muted: #5a7088;
  --accent: #7dd3fc;
  --accent-dim: #38bdf8;
  --accent-glow: rgba(125, 211, 252, 0.06);
  --white: #f0f7ff;
  --snow: #c8e0f4;
  --warm: #fbbf24;
}

/* ═══ BASE ═══ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: 'Syne', sans-serif; background: var(--bg);
  color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--bg); }

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 2rem 3rem; display: flex; justify-content: space-between; align-items: center;
  background: rgba(10,14,20,0.7); backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent; transition: all 0.4s ease;
}
.nav-logo {
  font-family: 'Instrument Serif', serif; font-size: 1.15rem; font-weight: 400;
  font-style: italic; letter-spacing: 0.02em; color: var(--white);
  text-decoration: none; display: flex; align-items: center; gap: 0.6rem;
}
.nav-logo-icon {
  width: auto; height: 1.8rem; color: var(--accent);
  filter: drop-shadow(0 0 6px rgba(125,211,252,0.2));
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--white); }

/* Hamburger */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; width: 36px; height: 36px;
  position: relative; z-index: 10000;
}
.nav-hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--white); margin: 4px auto;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ═══ OPENING — full-bleed hero image ═══ */
.opening {
  position: relative; width: 100%; height: 100vh; height: 100dvh;
  overflow: hidden;
}
.opening-image {
  position: absolute; inset: 0;
}
.opening-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.opening-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(10,14,20,0.2) 0%,
    rgba(10,14,20,0.35) 40%,
    rgba(10,14,20,0.7) 100%
  );
  text-align: center; padding: 2rem;
}
.opening-title {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  line-height: 0.9;
}
.t-freeze, .t-breeze {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(3.5rem, 12vw, 9rem);
  color: var(--white); letter-spacing: -0.04em;
  text-shadow: 0 4px 60px rgba(0,0,0,0.5);
}
.t-and {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-style: italic; font-size: clamp(2rem, 6vw, 4.5rem);
  color: var(--accent); line-height: 1;
  margin: -0.1em 0;
  text-shadow: 0 2px 40px rgba(125,211,252,0.3);
}
.opening-tagline {
  font-family: 'Syne', sans-serif; font-size: clamp(0.7rem, 2vw, 1rem);
  font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--snow); margin-top: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* ── Snowflakes ── */
.opening-snow {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  overflow: hidden;
}
.opening-snow span {
  position: absolute; top: -5%; display: block;
  width: 6px; height: 6px; background: rgba(255,255,255,0.7);
  border-radius: 50%; animation: snowfall linear infinite;
  filter: blur(0.5px);
}
.opening-snow span:nth-child(1)  { left: 5%;  width: 4px; height: 4px; animation-duration: 8s;  animation-delay: 0s;    opacity: 0.6; }
.opening-snow span:nth-child(2)  { left: 15%; width: 6px; height: 6px; animation-duration: 11s; animation-delay: 1s;    opacity: 0.8; }
.opening-snow span:nth-child(3)  { left: 25%; width: 3px; height: 3px; animation-duration: 9s;  animation-delay: 3s;    opacity: 0.5; }
.opening-snow span:nth-child(4)  { left: 35%; width: 5px; height: 5px; animation-duration: 13s; animation-delay: 0.5s;  opacity: 0.7; }
.opening-snow span:nth-child(5)  { left: 45%; width: 7px; height: 7px; animation-duration: 10s; animation-delay: 2s;    opacity: 0.9; }
.opening-snow span:nth-child(6)  { left: 55%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: 4s;    opacity: 0.5; }
.opening-snow span:nth-child(7)  { left: 65%; width: 5px; height: 5px; animation-duration: 7s;  animation-delay: 1.5s;  opacity: 0.8; }
.opening-snow span:nth-child(8)  { left: 75%; width: 3px; height: 3px; animation-duration: 14s; animation-delay: 3.5s;  opacity: 0.4; }
.opening-snow span:nth-child(9)  { left: 85%; width: 6px; height: 6px; animation-duration: 9s;  animation-delay: 0.8s;  opacity: 0.7; }
.opening-snow span:nth-child(10) { left: 92%; width: 4px; height: 4px; animation-duration: 11s; animation-delay: 5s;    opacity: 0.6; }
.opening-snow span:nth-child(11) { left: 10%; width: 3px; height: 3px; animation-duration: 15s; animation-delay: 2.5s;  opacity: 0.4; }
.opening-snow span:nth-child(12) { left: 30%; width: 5px; height: 5px; animation-duration: 8s;  animation-delay: 6s;    opacity: 0.6; }
.opening-snow span:nth-child(13) { left: 50%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: 1.2s;  opacity: 0.5; }
.opening-snow span:nth-child(14) { left: 70%; width: 7px; height: 7px; animation-duration: 10s; animation-delay: 4.5s;  opacity: 0.8; }
.opening-snow span:nth-child(15) { left: 40%; width: 3px; height: 3px; animation-duration: 13s; animation-delay: 7s;    opacity: 0.4; }
@keyframes snowfall {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); }
  25%  { transform: translateY(25vh) translateX(15px) rotate(90deg); }
  50%  { transform: translateY(50vh) translateX(-10px) rotate(180deg); }
  75%  { transform: translateY(75vh) translateX(20px) rotate(270deg); }
  100% { transform: translateY(105vh) translateX(-5px) rotate(360deg); }
}

.img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--surface) 0%, var(--border) 50%, var(--surface) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--text-muted);
  text-align: center; padding: 2rem; letter-spacing: 0.05em;
}

/* ═══ INTRO — centered quote block ═══ */
.intro {
  padding: 6rem 3rem; text-align: center;
}
.intro-inner { max-width: 680px; margin: 0 auto; }
.intro-lead {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.6rem); line-height: 1.7;
  color: var(--snow);
}
.intro-byline {
  margin-top: 2rem; font-family: 'Syne', sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
}

/* ═══ CONCEPT — side-by-side blocks ═══ */
.concept {
  padding: 6rem 3rem; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.concept-inner { max-width: 900px; margin: 0 auto; }
.concept-block {
  display: flex; gap: 3rem; align-items: flex-start;
  padding: 3rem 0;
}
.concept-block.reverse { flex-direction: row-reverse; text-align: right; }
.concept-num {
  font-size: 3rem; flex-shrink: 0; line-height: 1;
}
.concept-text h2 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1;
  color: var(--white); margin-bottom: 1rem;
}
.concept-text h2 em {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400; color: var(--accent);
}
.concept-text p {
  font-size: 1rem; line-height: 1.8; color: var(--text-dim);
}
.concept-divider {
  width: 60px; height: 1px; background: var(--border-accent);
  margin: 0 auto;
}

/* ═══ FULL-WIDTH IMAGE BREAK ═══ */
.full-image {
  width: 100%; max-height: 50vh; overflow: hidden;
}
.full-image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}

/* ═══ HOW IT WORKS ═══ */
.how {
  padding: 6rem 3rem;
}
.how-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.how-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1;
  color: var(--white); margin-bottom: 4rem;
}
.how-title em {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400; color: var(--accent);
}
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.how-step {
  padding: 2.5rem 2rem; background: var(--bg); text-align: left;
  transition: background 0.3s ease;
}
.how-step:hover { background: var(--surface); }
.how-step-num {
  font-family: 'Instrument Serif', serif; font-size: 2.5rem;
  color: var(--border-accent); line-height: 1; margin-bottom: 1.25rem;
}
.how-step:hover .how-step-num { color: var(--accent-dim); }
.how-step h3 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1rem; color: var(--white); margin-bottom: 0.75rem;
}
.how-step p { font-size: 0.88rem; line-height: 1.7; color: var(--text-dim); }

/* ═══ THE CUP — F.A.B ═══ */
.the-cup {
  padding: 6rem 3rem; border-top: 1px solid var(--border);
}
.cup-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; gap: 4rem; align-items: center;
}
.cup-image {
  flex: 0 0 320px; max-width: 320px;
}
.cup-image img {
  width: 100%; height: auto; display: block;
  border-radius: 6px;
}
.cup-label {
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.5rem;
}
.cup-text h2 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(3rem, 8vw, 5rem); line-height: 1;
  color: var(--white); letter-spacing: 0.08em; margin-bottom: 1.5rem;
}
.cup-text h2 em {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400; color: var(--accent);
}
.cup-text p {
  font-size: 1.05rem; line-height: 1.8; color: var(--text-dim);
}

/* ═══ GALLERY — masonry-ish grid ═══ */
.gallery {
  padding: 0 3rem 6rem;
}
.gallery-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto; gap: 0.75rem;
}
.gallery-item {
  overflow: hidden; position: relative; border-radius: 4px;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.tall { grid-row: span 2; }
.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(transparent, rgba(10,14,20,0.85));
  font-family: 'Syne', sans-serif; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8);
}

/* ═══ CTA ═══ */
.cta {
  padding: 8rem 3rem; text-align: center; position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta h2 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05;
  color: var(--white); letter-spacing: -0.03em;
}
.cta h2 em {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400; color: var(--accent);
}
.cta p {
  margin-top: 1.5rem; font-size: 1rem; color: var(--text-dim); line-height: 1.7;
}

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-block; font-family: 'Syne', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 1rem 2.5rem; background: var(--accent); color: var(--bg);
  border: none; border-radius: 3px; cursor: pointer; text-decoration: none;
  transition: all 0.3s ease; margin-top: 2.5rem;
}
.btn-primary:hover {
  background: var(--white); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(125,211,252,0.15);
}

/* ═══ FOOTER ═══ */
footer {
  padding: 2.5rem 3rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-left {
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.03em;
}
.footer-right { font-family: 'Syne', sans-serif; font-size: 0.7rem; color: var(--text-muted); }
.footer-right a {
  color: var(--text-dim); text-decoration: none; margin-left: 2rem;
  font-weight: 600; transition: color 0.3s ease;
}
.footer-right a:hover { color: var(--accent); }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ INGREDIENTS PAGE ═══ */
.page-header {
  padding: 8rem 3rem 4rem; max-width: 1000px; margin: 0 auto;
}
.page-header .label {
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 2rem;
}
.page-header h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1;
  color: var(--white); letter-spacing: -0.03em;
}
.page-header h1 em {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400; color: var(--accent);
}
.page-header .intro {
  margin-top: 2rem; font-size: 1.05rem; line-height: 1.7;
  color: var(--text-dim); max-width: 600px;
}

.content {
  max-width: 1000px; margin: 0 auto; padding: 0 3rem 6rem;
}

.ingredients-toggle {
  display: flex; gap: 0; border: 1px solid var(--border);
  border-radius: 3px; width: fit-content; margin-bottom: 3rem; overflow: hidden;
}
.ingredients-toggle button {
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.75rem 1.5rem;
  background: transparent; color: var(--text-dim); border: none; cursor: pointer;
  transition: all 0.3s ease;
}
.ingredients-toggle button.active {
  background: var(--accent); color: var(--bg);
}
.ingredients-toggle button:not(.active):hover {
  background: var(--surface-raised); color: var(--text);
}

.ingredients-panel { display: none; }
.ingredients-panel.active { display: block; }

.ingredients-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: 3px;
  overflow: hidden;
}
.ingredient {
  padding: 2rem; background: var(--bg); transition: background 0.3s ease;
}
.ingredient:hover { background: var(--surface); }
.ingredient-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.ingredient h3 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1rem; color: var(--white); margin-bottom: 0.5rem;
}
.ingredient p { font-size: 0.85rem; line-height: 1.6; color: var(--text-dim); }

.back-link {
  display: inline-block; margin-top: 3rem;
  font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.05em; color: var(--accent); text-decoration: none;
  transition: color 0.3s ease;
}
.back-link:hover { color: var(--white); }

/* ═══ CHAT BUBBLE ═══ */
.chat-bubble {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--bg); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}
.chat-bubble:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(125,211,252,0.3); }
.chat-bubble.hidden { display: none; }

.chat-window {
  position: fixed; bottom: 5rem; right: 1.5rem; z-index: 9998;
  width: 440px; height: 600px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border);
  display: none; flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  overflow: hidden;
}
.chat-window.open { display: flex; }

.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.chat-header-title {
  font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.05em; color: var(--accent);
}
.chat-header-sub {
  font-family: 'Syne', sans-serif; font-size: 0.65rem;
  color: var(--text-muted); letter-spacing: 0.03em;
}
.chat-close {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 1.2rem; padding: 0; line-height: 1;
}
.chat-close:hover { color: var(--white); }

.chat-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  min-height: 0;
}
.chat-msg {
  font-size: 0.95rem; line-height: 1.6; padding: 0.75rem 1rem;
  border-radius: 8px; max-width: 85%; word-wrap: break-word;
}
.chat-msg.assistant {
  background: var(--surface); color: var(--text);
  align-self: flex-start; border-bottom-left-radius: 2px;
}
.chat-msg.user {
  background: var(--accent); color: var(--bg);
  align-self: flex-end; border-bottom-right-radius: 2px;
}
.chat-msg.typing {
  background: var(--surface); color: var(--text-muted);
  align-self: flex-start; font-style: italic;
}

.chat-input-row {
  display: flex; border-top: 1px solid var(--border); padding: 0.5rem;
  gap: 0.5rem; background: var(--surface);
}
.chat-input {
  flex: 1; background: var(--bg); border: 1px solid var(--border);
  color: var(--text); padding: 0.6rem 0.75rem; border-radius: 6px;
  font-family: inherit; font-size: 0.95rem; outline: none;
  resize: none; min-height: 36px; max-height: 80px;
}
.chat-input:focus { border-color: var(--accent-dim); }
.chat-input::placeholder { color: var(--text-muted); }
.chat-send {
  background: var(--accent); color: var(--bg); border: none;
  padding: 0 0.75rem; border-radius: 6px; cursor: pointer;
  font-family: 'Syne', sans-serif; font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.chat-send:hover { background: var(--white); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* ═══ CHAT PAGE ═══ */
.chat-page {
  display: flex; flex-direction: column;
  height: 100vh; height: 100dvh;
  max-width: 800px; margin: 0 auto;
  background: var(--bg);
}
.chat-page-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface); flex-shrink: 0;
}
.chat-page-logo {
  font-family: 'Instrument Serif', serif; font-size: 1rem; font-weight: 400;
  font-style: italic; color: var(--white); text-decoration: none;
}
.chat-page-logo:hover { color: var(--accent); }
.chat-page-label {
  font-family: 'Syne', sans-serif; font-size: 0.6rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.05em;
  padding-left: 1rem; border-left: 1px solid var(--border);
}
.chat-page-messages {
  flex: 1; overflow-y: auto; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem; min-height: 0;
}
.chat-page-messages .chat-msg {
  font-size: 0.95rem; line-height: 1.6; padding: 0.75rem 1rem;
  border-radius: 10px; max-width: 75%; word-wrap: break-word;
}
.chat-page-messages .chat-msg.assistant {
  background: var(--surface); color: var(--text);
  align-self: flex-start; border-bottom-left-radius: 2px;
}
.chat-page-messages .chat-msg.user {
  background: var(--accent); color: var(--bg);
  align-self: flex-end; border-bottom-right-radius: 2px;
}
.chat-page-messages .chat-msg.typing {
  background: var(--surface); color: var(--text-muted);
  align-self: flex-start; font-style: italic;
}
.chat-page-input-row {
  display: flex; gap: 0.75rem; padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface); flex-shrink: 0;
}
.chat-page-input-row .chat-input {
  flex: 1; background: var(--bg); border: 1px solid var(--border);
  color: var(--text); padding: 0.75rem 1rem; border-radius: 8px;
  font-family: inherit; font-size: 1rem; outline: none;
  resize: none; min-height: 44px; max-height: 120px;
}
.chat-page-input-row .chat-input:focus { border-color: var(--accent-dim); }
.chat-page-input-row .chat-input::placeholder { color: var(--text-muted); }
.chat-page-input-row .chat-send {
  background: var(--accent); color: var(--bg); border: none;
  padding: 0 1.25rem; border-radius: 8px; cursor: pointer;
  font-family: 'Syne', sans-serif; font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  align-self: flex-end; min-height: 44px;
}
.chat-page-input-row .chat-send:hover { background: var(--white); }
.chat-page-input-row .chat-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* ═══ RESPONSIVE ═══ */

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .ingredients-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 1.5rem 1.5rem; }
  .nav-hamburger { display: block; }
  .nav-links {
    display: flex; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    background: var(--bg);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2.5rem; z-index: 9999;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a {
    font-size: 1.2rem; letter-spacing: 0.12em; color: var(--text);
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  }
  .nav-links a:nth-child(1) { transition-delay: 0s; }
  .nav-links a:nth-child(2) { transition-delay: 0.06s; }
  .nav-links a:nth-child(3) { transition-delay: 0.12s; }
  .nav-links a:nth-child(4) { transition-delay: 0.18s; }
  .nav-links a:nth-child(5) { transition-delay: 0.24s; }
  .nav-links.open a { opacity: 1; transform: translateY(0); }

  .intro { padding: 4rem 1.5rem; }
  .concept { padding: 4rem 1.5rem; }
  .concept-block { flex-direction: column; gap: 1.5rem; }
  .concept-block.reverse { flex-direction: column; text-align: left; }
  .how { padding: 4rem 1.5rem; }
  .how-steps { grid-template-columns: 1fr; }
  .the-cup { padding: 4rem 1.5rem; }
  .cup-inner { flex-direction: column; gap: 2.5rem; text-align: center; }
  .cup-image { flex: none; max-width: 260px; margin: 0 auto; }
  .gallery { padding: 0 1rem 4rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.tall { grid-row: span 1; }
  .cta { padding: 5rem 1.5rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .chat-window { display: none !important; }
  .chat-bubble { bottom: 1rem; right: 1rem; width: 48px; height: 48px; font-size: 1.2rem; }
  .page-header { padding: 7rem 1.5rem 3rem; }
  .content { padding: 0 1.5rem 4rem; }
  .ingredients-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  nav { padding: 1rem 1rem; }
  .nav-logo { font-size: 1rem; }
  .nav-logo-icon { height: 1.4rem; }
  .t-freeze, .t-breeze { font-size: clamp(2.5rem, 14vw, 4rem); }
  .t-and { font-size: clamp(1.5rem, 6vw, 2.5rem); }
  .opening-tagline { font-size: 0.65rem; letter-spacing: 0.2em; }
  .intro { padding: 3rem 1rem; }
  .intro-lead { font-size: 1.1rem; }
  .concept { padding: 3rem 1rem; }
  .concept-text h2 { font-size: 1.5rem; }
  .how { padding: 3rem 1rem; }
  .how-title { font-size: clamp(1.5rem, 7vw, 2.2rem); margin-bottom: 2.5rem; }
  .how-step { padding: 1.5rem; }
  .the-cup { padding: 3rem 1rem; }
  .cup-image { max-width: 220px; }
  .cup-text h2 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .gallery { padding: 0 0.5rem 3rem; }
  .cta { padding: 3rem 1rem; }
  .cta h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  footer { padding: 2rem 1rem; }
  .page-header { padding: 5.5rem 1rem 2rem; }
  .content { padding: 0 1rem 3rem; }
  .chat-page-header { padding: 0.75rem 1rem; }
  .chat-page-messages { padding: 1rem; }
  .chat-page-messages .chat-msg { max-width: 90%; font-size: 0.9rem; }
  .chat-page-input-row { padding: 0.75rem 1rem; }
  .chat-page-input-row .chat-input { font-size: 16px; }
}
