/* ─────────────────────────────────────────────────────────────
   Only what Tailwind can't express:
   custom animations, clamp() sizes, state transitions, textures
───────────────────────────────────────────────────────────── */

/* ── Optical sizing for Fraunces variable font ──────────── */
.font-display, h1, h2, h3 {
  font-optical-sizing: auto;
}

/* ── Custom font sizes with clamp ───────────────────────── */
.section-heading {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-optical-sizing: auto;
}

.hero-section {
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  z-index: -1;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0) 58%,
    rgba(17, 17, 17, 0.65) 82%,
    rgba(17, 17, 17, 1) 100%
  );
  z-index: -1;
}
/* Hero heading: JS sets font-size per line to fill container width */
.hero-line {
  display: block;
  line-height: 0.9;
  /* fallback before JS runs */
  font-size: clamp(72px, 15vw, 220px);
}

.ea-heading {
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.08;
}

.ea-offer-highlight {
  display: inline-block;
  margin-top: 0.12em;
}

.quiz-left-heading {
  font-size: clamp(22px, 2.8vw, 38px);
}

.stat-num {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.footer-tagline {
  font-size: clamp(32px, 5.5vw, 80px);
  letter-spacing: -0.03em;
}

/* ── Founders photo frame ────────────────────────────────── */
.founders-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  margin-inline: auto;
}

.founders-frame-bg {
  position: absolute;
  inset: 0;
  border-radius: 54% 46% 42% 58% / 56% 42% 58% 44%;
  transform: translate(14px, 14px) rotate(5deg);
}

.founders-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 62% 38% 56% 44% / 48% 56% 44% 52%;
  transform: rotate(-2deg);
  box-shadow: 0 30px 60px -20px rgba(17, 17, 17, 0.28);
}

.founders-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founders-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(56px, 9vw, 96px);
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.78);
  user-select: none;
  pointer-events: none;
}

.founders-dot {
  position: absolute;
  top: -10px;
  right: 18px;
  width: 28px;
  height: 28px;
  background: #FFC300;
  border: 4px solid #fff;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* ── Wave section dividers ───────────────────────────────── */
.wave-divider {
  display: block;
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 70px;
}

/* ── Ticker animations ───────────────────────────────────── */
@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}

.ticker-track {
  animation: tickerScroll 36s linear infinite;
  will-change: transform;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }

.ticker-item {
  display: inline-block;
  will-change: transform;
}

.ea-ticker-track {
  animation: tickerScroll 24s linear infinite;
  will-change: transform;
}
.ea-ticker-wrap:hover .ea-ticker-track { animation-play-state: paused; }

/* ── Grain texture on purple section ────────────────────── */
.ea-grain::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

/* ── How it works — brew lab ──────────────────────────────── */
.how-brew-lab {
  --how-paper: #f7f1e6;
  background-color: var(--how-paper);
}

.how-brew-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image: none;
}

.how-brew-leaf {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image: none;
}

/* Yellow marker behind “all works” */
.how-works-mark {
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding: 0 0.04em;
}

.how-works-mark::after {
  content: '';
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.05em;
  height: 0.5em;
  background: #ffc300;
  transform: rotate(-1.25deg) skewX(-4deg);
  border-radius: 0.12em;
  z-index: -1;
  pointer-events: none;
}

.how-recipe-frame {
  position: relative;
  background-color: #fbf7ef;
}

.how-step--quiz {
  background: linear-gradient(105deg, rgba(255, 195, 0, 0.22) 0%, rgba(255, 255, 255, 0) 52%);
}

.how-tag-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 5.25rem;
  padding-top: 0.25rem;
}

.how-tag-string {
  width: 2px;
  height: 1.75rem;
  border-radius: 1px;
  background: linear-gradient(180deg, #c4bdb0, #9a9285);
  margin-bottom: 2px;
}

.how-tag {
  position: relative;
  width: 4.5rem;
  padding: 0.55rem 0.35rem 0.65rem;
  text-align: center;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #111;
  background: #fff;
  border: 2px solid #111;
  border-radius: 3px 3px 10px 10px;
  box-shadow: 4px 5px 0 rgba(17, 17, 17, 0.12);
}

.how-tag::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--how-paper);
  border: 2px solid #111;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.how-tag--yellow { background: linear-gradient(180deg, #fffef8 0%, #fff6d6 100%); }
.how-tag--purple {
  background: linear-gradient(180deg, #faf8ff 0%, #ece4ff 100%);
  color: #5a1fc9;
}
.how-tag--pink {
  background: linear-gradient(180deg, #fffaf9 0%, #fde8e4 100%);
  color: #b84a42;
}

.how-blend-bar {
  display: flex;
  height: 7px;
  max-width: 300px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid #111;
  box-shadow: 2px 3px 0 rgba(17, 17, 17, 0.08);
}

.how-blend-bar span:nth-child(1) { flex: 1.1; background: #f0a49a; }
.how-blend-bar span:nth-child(2) { flex: 0.85; background: #7b30ff; opacity: 0.85; }
.how-blend-bar span:nth-child(3) { flex: 0.7; background: #ffc300; }
.how-blend-bar span:nth-child(4) { flex: 0.95; background: #2a6b3f; opacity: 0.75; }

.how-steam {
  position: absolute;
  left: 0;
  top: -1.5rem;
  display: flex;
  gap: 10px;
  pointer-events: none;
}

.how-steam-wisp {
  width: 8px;
  height: 28px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 50% 30%, rgba(17, 17, 17, 0.14), transparent 70%);
  animation: howSteamRise 3.2s ease-in-out infinite;
}

.how-steam-wisp--b { animation-delay: 0.5s; transform: translateX(4px); }
.how-steam-wisp--c { animation-delay: 1s; transform: translateX(-2px); }

@keyframes howSteamRise {
  0%, 100% { opacity: 0; transform: translateY(10px) scale(0.85); }
  35% { opacity: 0.55; }
  100% { opacity: 0; transform: translateY(-32px) scale(1.05); }
}

@media (min-width: 640px) {
  .how-tilt-1 { transform: rotate(-0.55deg); }
  .how-tilt-2 { transform: rotate(0.45deg); }
  .how-tilt-3 { transform: rotate(-0.35deg); }
}

.how-cup-wrap {
  position: relative;
  width: 100%;
  max-width: 200px;
}

.how-cup-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(4px 8px 0 rgba(17, 17, 17, 0.06));
}

.how-cup-fill {
  transform-origin: 50% 100%;
  animation: howTeaSwirl 7s ease-in-out infinite;
}

@keyframes howTeaSwirl {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 0.92; }
  50% { transform: scaleY(1.03) translateY(-2px); opacity: 1; }
}

.how-cup-steam--1,
.how-cup-steam--2,
.how-cup-steam--3 {
  transform-origin: 50% 100%;
  animation: howCupSteam 4s ease-in-out infinite;
}

.how-cup-steam--2 { animation-delay: 0.6s; }
.how-cup-steam--3 { animation-delay: 1.2s; }

@keyframes howCupSteam {
  0%, 100% { opacity: 0.35; transform: translateY(4px); }
  45% { opacity: 0.85; transform: translateY(-6px); }
}

.how-cta {
  border-bottom: 2px solid #ffc300;
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.how-cta:hover {
  border-bottom-color: #111111;
  color: #111111;
}

@media (prefers-reduced-motion: reduce) {
  .how-cta .transition-transform { transition: none; }
  .how-steam-wisp,
  .how-cup-fill,
  .how-cup-steam--1,
  .how-cup-steam--2,
  .how-cup-steam--3 {
    animation: none !important;
  }
  .how-tilt-1,
  .how-tilt-2,
  .how-tilt-3 {
    transform: none;
  }
}

/* ── Scroll dot animation ────────────────────────────────── */
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50%       { opacity: 1;   transform: translateY(4px); }
}
.scroll-dot { animation: scrollPulse 2s ease-in-out infinite; }

/* ── Quiz modal transitions ──────────────────────────────── */
.quiz-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.quiz-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.quiz-modal-inner {
  transform: translateY(28px) scale(0.96);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}
.quiz-overlay.active .quiz-modal-inner {
  transform: translateY(0) scale(1);
}

/* Quiz panel: outer .quiz-modal-scroll is overflow-hidden; inner .quiz-body-scroll scrolls */

.quiz-body-scroll {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.quiz-option-grid {
  padding-bottom: 12px;
}

@media (max-width: 639px) {
  .quiz-option-grid {
    padding-bottom: 16px;
  }
}

.quiz-panel-top-accent {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    #ffc300 0%,
    #f0a49a 38%,
    #7b30ff 100%
  );
}

.quiz-left-pane-deco {
  position: absolute;
  inset: -40% -30% auto -30%;
  height: 70%;
  background: radial-gradient(
    ellipse 80% 60% at 30% 20%,
    rgba(255, 195, 0, 0.22),
    transparent 55%
  );
  pointer-events: none;
}

.quiz-progress-track {
  height: 14px;
  border-radius: 9999px;
  border: 3px solid #111111;
  background: #fff;
  padding: 3px;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.14);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    #ffc300 0%,
    #f0a49a 52%,
    #7b30ff 100%
  );
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.quiz-result-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 9999px;
  border: 3px solid #111111;
  background: linear-gradient(145deg, #ffc300 0%, #ffe083 100%);
  font-size: clamp(2.5rem, 8vw, 3rem);
  line-height: 1;
  box-shadow: 5px 7px 0 #111111;
}

.quiz-ingredient-pill {
  display: inline-block;
  padding: 0.42rem 0.95rem;
  border-radius: 9999px;
  border: 3px solid #111111;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  color: #111111;
  box-shadow: 2px 3px 0 #111111;
}

.quiz-result-cta {
  display: block;
  min-height: 52px;
  padding: 0.95rem 1.75rem;
  border-radius: 9999px;
  border: 3px solid #111111;
  background: #ffc300;
  color: #111111;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 4px 6px 0 #111111;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

@media (hover: hover) {
  .quiz-result-cta:hover {
    filter: brightness(1.05);
    transform: translate(-2px, -2px);
    box-shadow: 6px 8px 0 #111111;
  }
}

.quiz-result-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #111111;
}

.quiz-result-cta-secondary {
  display: block;
  min-height: 52px;
  padding: 0.95rem 1.75rem;
  border-radius: 9999px;
  border: 3px solid #111111;
  background: #ffffff;
  color: #111111;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 4px 6px 0 #111111;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

@media (hover: hover) {
  .quiz-result-cta-secondary:hover {
    filter: brightness(1.02);
    transform: translate(-2px, -2px);
    box-shadow: 6px 8px 0 #111111;
  }
}

.quiz-result-cta-secondary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #111111;
}

@media (max-width: 639px) {
  .quiz-overlay.active .quiz-modal-inner {
    transform: none;
  }
}

/* ── FAQ accordion ───────────────────────────────────────── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s ease;
}
.faq-item.open .faq-answer  { max-height: 260px; }
.faq-item.open .faq-icon    { transform: rotate(45deg); }
.faq-icon { transition: transform 0.28s ease; display: inline-block; }

/* ── Quiz options (bold sticker cards) ───────────────────── */
.quiz-option {
  border-radius: 1rem;
  border: 3px solid #111111;
  cursor: pointer;
  box-shadow: 4px 5px 0 #111111;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

@media (hover: hover) {
  .quiz-option:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 8px 0 #111111;
  }
}

.quiz-option:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #111111;
}

.quiz-option.selected {
  transform: translate(-4px, -4px);
  border-color: #ffc300;
  box-shadow: 8px 9px 0 #111111;
}

.quiz-option.selected .quiz-option-emoji {
  animation: quizEmojiPop 0.45s cubic-bezier(0.22, 1.5, 0.36, 1);
}

@keyframes quizEmojiPop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

/* ── Blend Lab page ──────────────────────────────────────── */
.blend-tag-base {
  background: linear-gradient(180deg, #f4faf7 0%, #d9eee3 100%);
  color: #14522f;
}

.blend-group:first-child .blend-group-inner {
  background: linear-gradient(105deg, rgba(255, 195, 0, 0.16) 0%, rgba(255, 255, 255, 0) 50%);
}

@media (min-width: 640px) {
  .blend-group:nth-child(2) .blend-group-tilt {
    transform: rotate(0.35deg);
  }
  .blend-group:nth-child(3) .blend-group-tilt {
    transform: rotate(-0.35deg);
  }
  .blend-group:nth-child(4) .blend-group-tilt {
    transform: rotate(0.28deg);
  }
  .blend-recipe-tilt {
    transform: rotate(-0.25deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blend-group-tilt,
  .blend-recipe-tilt {
    transform: none !important;
  }
}

.blend-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.45rem;
}

.blend-name-field {
  margin-bottom: 1.25rem;
}

.blend-name-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
  margin-bottom: 0.45rem;
}


.blend-row-label-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.blend-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 0.85rem;
}

.blend-remove-ing {
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b84a42;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(184, 74, 66, 0.35);
  padding: 0.15rem 0;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.blend-remove-ing:hover {
  color: #111111;
  border-bottom-color: #111111;
}

.blend-badge {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  border: 2px solid #111111;
  line-height: 1.2;
}

.blend-badge--quiz {
  background: #ffc300;
  color: #111111;
}

.blend-badge--extra {
  background: #fff;
  color: #5a1fc9;
  border-color: #5a1fc9;
}

.blend-picker {
  max-width: 100%;
}

.blend-add-toolbar label {
  cursor: default;
}

.blend-edu-kicker {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
  margin-bottom: 0.45rem;
}

.blend-edu-body {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.78);
}

.blend-edu-reco {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(17, 17, 17, 0.72);
}

.blend-edu-li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.82);
}

.blend-edu-li-pct {
  flex-shrink: 0;
  min-width: 2.5rem;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 0.82rem;
  color: #111111;
}

.blend-edu-li-copy {
  min-width: 0;
}

.blend-ing-details {
  margin-top: 0.65rem;
  border-radius: 10px;
  border: 2px dashed rgba(17, 17, 17, 0.18);
  background: rgba(255, 255, 255, 0.45);
  padding: 0.15rem 0.65rem 0.65rem;
}

.blend-ing-details-sum {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.5);
  cursor: pointer;
  list-style: none;
  padding: 0.5rem 0 0.35rem;
}

.blend-ing-details-sum::-webkit-details-marker {
  display: none;
}

.blend-ing-details[open] .blend-ing-details-sum {
  color: #111111;
}

.blend-ing-details-body {
  padding: 0.25rem 0 0.35rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.75);
}

.blend-ing-details-body p {
  margin: 0 0 0.5rem;
}

.blend-ing-details-body p:last-child {
  margin-bottom: 0;
}

.blend-ing-details-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.38);
  margin-bottom: 0.15rem;
}


.blend-row-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #111111;
}

.blend-skip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
  cursor: pointer;
  user-select: none;
}

.blend-skip-input {
  width: 1rem;
  height: 1rem;
  accent-color: #111111;
  cursor: pointer;
}

.blend-row-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.blend-slider {
  flex: 1;
  min-width: 0;
  height: 14px;
  border-radius: 999px;
  border: 3px solid #111111;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  -webkit-appearance: none;
  appearance: none;
}

.blend-slider:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.blend-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid #111111;
  background: #ffc300;
  box-shadow: 3px 3px 0 rgba(17, 17, 17, 0.35);
  cursor: grab;
}

.blend-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
}

.blend-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid #111111;
  background: #ffc300;
  box-shadow: 3px 3px 0 rgba(17, 17, 17, 0.35);
  cursor: grab;
}

.blend-pct {
  width: 3rem;
  flex-shrink: 0;
  font-size: 1rem;
  text-align: right;
  color: #111111;
}

.blend-live-bar {
  height: 14px;
  max-width: none !important;
  border-width: 3px;
}

.blend-live-bar span {
  min-width: 3px;
  transition:
    flex 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}

.blend-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blend-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #111111;
  flex-shrink: 0;
}

.blend-preview-card {
  border-radius: 2px;
}

/* ── Blog / Journal styles ───────────────────────────────── */
.journal-heading {
  font-size: clamp(72px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.article-hero-title {
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.article-body h2 {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #111111;
  margin-top: 2.8em;
  margin-bottom: 0.65em;
  font-optical-sizing: auto;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #404040;
  margin-bottom: 1.2em;
}

.article-body ul {
  list-style: none;
  padding: 0;
  margin: 0.5em 0 1.4em 0;
}

.article-body ul li {
  padding-left: 1.6em;
  position: relative;
  font-size: 1.05rem;
  color: #404040;
  line-height: 1.7;
  margin-bottom: 0.3em;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0.1em;
  top: 0.62em;
  width: 0.45em;
  height: 0.45em;
  background: #FFC300;
  border-radius: 2px;
  transform: rotate(45deg);
}

.article-body blockquote {
  border-left: 4px solid #FFC300;
  margin: 1.8em 0;
  padding: 0.9em 1.5em;
  background: rgba(255, 195, 0, 0.07);
  border-radius: 0 8px 8px 0;
}

.article-body blockquote p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.125rem;
  color: #111;
  margin: 0;
  line-height: 1.65;
}

.article-equation {
  background: #111111;
  color: #FFC300;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  padding: 1.25em 2em;
  border-radius: 14px;
  margin: 1.75em 0;
  text-align: center;
  letter-spacing: -0.01em;
}

.blog-card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3em 0.85em;
  border-radius: 999px;
  border: 2px solid currentColor;
}

.site-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.site-breadcrumbs li + li::before {
  content: '/';
  margin: 0 0.55rem;
  opacity: 0.35;
  font-weight: 500;
}

.site-breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.site-breadcrumbs a:hover {
  opacity: 0.75;
}

.site-breadcrumbs--dark {
  color: rgba(255, 255, 255, 0.45);
}

.site-breadcrumbs--dark a:hover {
  color: #ffc300;
  opacity: 1;
}

.site-breadcrumbs--dark [aria-current='page'] {
  color: rgba(255, 255, 255, 0.75);
}

.site-breadcrumbs--light {
  color: rgba(17, 17, 17, 0.45);
}

.site-breadcrumbs--light a:hover {
  color: #7b30ff;
  opacity: 1;
}

.site-breadcrumbs--light [aria-current='page'] {
  color: rgba(17, 17, 17, 0.75);
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.blog-card-meta time {
  color: #71717a;
}

.blog-card-meta .meta-dot {
  opacity: 0.45;
}

.article-byline time {
  font-variant-numeric: tabular-nums;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  nav, section, footer { padding-left: 32px !important; padding-right: 32px !important; }
  .grid.grid-cols-3    { grid-template-columns: 1fr 1fr !important; }
  .grid-cols-4         { grid-template-columns: 1fr 1fr !important; }
  .grid-cols-\[1fr_2\.2fr\]        { grid-template-columns: 1fr !important; }
  .grid-cols-\[1\.1fr_0\.9fr\]     { grid-template-columns: 1fr !important; gap: 40px !important; }
  .section-heading { position: static !important; }
}

@media (max-width: 640px) {
  .grid.grid-cols-3  { grid-template-columns: 1fr !important; }
  .grid-cols-4       { grid-template-columns: 1fr 1fr !important; }
  .hero-line         { font-size: clamp(52px, 20vw, 90px) !important; }
  .ea-heading        { font-size: clamp(32px, 9vw, 56px); line-height: 1.12; }
  .wave-divider svg  { height: 40px; }
}
