/* ─────────────────────────────────────────────────────────────
   Arie Safari — Premium Layer (Playful Luxury)
   Loaded after inline page styles, so these win on collisions.
   ───────────────────────────────────────────────────────────── */

:root {
  --ease-soft: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-cinema: cubic-bezier(.65,.05,.36,1);
  --shadow-soft: 0 1px 2px rgba(10,61,107,.04), 0 8px 24px rgba(10,61,107,.06);
  --shadow-lift: 0 2px 4px rgba(10,61,107,.05), 0 24px 60px -10px rgba(10,61,107,.18);
  --shadow-sticker: 0 1px 0 rgba(255,255,255,.6) inset, 0 -1px 0 rgba(10,61,107,.04) inset, 0 14px 30px -8px rgba(10,61,107,.18), 0 4px 10px -4px rgba(10,61,107,.10);
  --shadow-gold: 0 1px 0 rgba(255,255,255,.5) inset, 0 16px 36px -10px rgba(232,160,48,.4), 0 4px 12px -4px rgba(232,160,48,.25);
}

/* ── Dark mode ─────────────────────────────────────────────
   Activated via [data-theme="dark"] on <html>. Translates the
   blue/cream palette to a midnight + warm-gold variant.        */
html[data-theme="dark"] {
  --blue:        #5DB1F0;
  --blue-dark:   #4AADE8;
  --blue-deeper: #061322;
  --blue-light:  #7CC4FF;
  --blue-pale:   #0F2336;
  --gold:        #F2B85A;
  --gold-light:  #F8D38A;
  --cream:       #08111F;
  --dark:        #EAF1FA;
  --mid:         #93A8BF;
  --border:      rgba(125,170,220,.18);
}
html[data-theme="dark"] body { background: #08111F; color: #EAF1FA; }
html[data-theme="dark"] nav { background: rgba(8,17,31,.85) !important; border-bottom-color: rgba(125,170,220,.12) !important; }
html[data-theme="dark"] .nav-brand { color: #EAF1FA !important; }
html[data-theme="dark"] .nav-links a { color: #93A8BF !important; }
html[data-theme="dark"] .nav-links a:hover { color: #7CC4FF !important; }
html[data-theme="dark"] .disclosure-bar { background: #1A1208 !important; border-bottom-color: #5C4513 !important; color: #F2B85A !important; }
html[data-theme="dark"] .disclosure-bar a { color: #7CC4FF !important; }
html[data-theme="dark"] .proof-strip { background: #0F2336 !important; color: #93A8BF !important; }
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .tl-item,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .collab-type,
html[data-theme="dark"] .fun-fact,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .media-kit-card {
  background: #12243B !important;
  border-color: rgba(125,170,220,.12) !important;
}
html[data-theme="dark"] .btn-white { background: #F2B85A !important; color: #08111F !important; }
html[data-theme="dark"] .btn-secondary { background: #12243B !important; color: #7CC4FF !important; }
html[data-theme="dark"] .brand-pill { background: #0F2336 !important; color: #7CC4FF !important; }
html[data-theme="dark"] .form-input { background: #08111F !important; color: #EAF1FA !important; border-color: rgba(125,170,220,.18) !important; }
html[data-theme="dark"] .blog-tag { background: #0F2336 !important; color: #7CC4FF !important; }
html[data-theme="dark"] .blog-title { color: #EAF1FA !important; }
html[data-theme="dark"] .blog-excerpt { color: #93A8BF !important; }
html[data-theme="dark"] .blog-hero-title { color: #EAF1FA !important; }
html[data-theme="dark"] .blog-hero-sub { color: #93A8BF !important; }
html[data-theme="dark"] .blog-hero { background: linear-gradient(160deg,#0A1F33 0%,#08111F 70%) !important; }
html[data-theme="dark"] .section-title { color: #EAF1FA !important; }
html[data-theme="dark"] .post-body p,
html[data-theme="dark"] .article-body p { color: #C7D5E6 !important; }
html[data-theme="dark"] .fun-fact-text { color: #C7D5E6 !important; }
html[data-theme="dark"] footer { background: linear-gradient(180deg,#08111F 0%,#040912 100%) !important; }

/* Theme toggle button — top-right, prominent */
.theme-toggle {
  position: fixed; top: 86px; right: 1.5rem; z-index: 220;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold, #E8A030); border: 3px solid white;
  box-shadow: 0 10px 28px -4px rgba(232,160,48,.55), 0 4px 12px -2px rgba(10,61,107,.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-soft);
  font-size: 22px; line-height: 1; padding: 0;
  animation: themeToggleIntro 1s var(--ease-spring) .8s both;
}
@keyframes themeToggleIntro {
  from { transform: scale(0) rotate(-180deg); opacity: 0; }
  60%  { transform: scale(1.18) rotate(20deg); opacity: 1; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}
.theme-toggle:hover {
  transform: translateY(-3px) rotate(-18deg) scale(1.1);
  box-shadow: 0 16px 36px -4px rgba(232,160,48,.7);
}
.theme-toggle::after {
  content: 'Dark mode'; position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%); white-space: nowrap;
  background: var(--dark, #0D1B2A); color: white;
  font-family: var(--font-body, system-ui); font-size: 12px; font-weight: 500;
  letter-spacing: .04em; padding: 6px 12px; border-radius: 100px;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease-soft);
  box-shadow: 0 6px 16px rgba(10,61,107,.2);
}
.theme-toggle:hover::after { opacity: 1; }
html[data-theme="dark"] .theme-toggle {
  background: #F2B85A; border-color: #12243B;
  box-shadow: 0 10px 28px -4px rgba(242,184,90,.45), 0 4px 12px -2px rgba(0,0,0,.4);
}
html[data-theme="dark"] .theme-toggle::after { content: 'Light mode'; background: #F2B85A; color: #08111F; }
.theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: inline; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (max-width:768px) { .theme-toggle { top: auto; bottom: 84px; right: 1rem; width: 48px; height: 48px; font-size: 19px; } /* avoid sticky CTA */ }

/* Smooth color transitions when toggling */
html.theme-transition,
html.theme-transition * {
  transition: background-color .35s var(--ease-soft), color .35s var(--ease-soft), border-color .35s var(--ease-soft), box-shadow .35s var(--ease-soft) !important;
}

/* ── Smoother global feel ─────────────────────────────────── */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: var(--gold, #E8A030); color: #0D1B2A; }

/* Always-on scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold,#E8A030) 0%, var(--blue,#1A7FD4) 100%);
  z-index: 999; pointer-events: none;
  box-shadow: 0 0 12px rgba(232,160,48,.5);
  transition: width .08s linear;
}

/* ── Cursor paw trail (desktop only) ──────────────────────── */
.paw-trail {
  position: fixed; pointer-events: none; z-index: 998;
  font-size: 22px; opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(.5);
  animation: pawFade .9s var(--ease-soft) forwards;
  filter: drop-shadow(0 2px 4px rgba(10,61,107,.3));
  user-select: none;
}
@keyframes pawFade {
  0%   { opacity: 0; transform: translate(-50%,-50%) rotate(var(--rot,0deg)) scale(.4); }
  20%  { opacity: .55; transform: translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1); }
  100% { opacity: 0; transform: translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1.2) translateY(8px); }
}
@media (hover: none), (max-width: 768px), (prefers-reduced-motion: reduce) {
  .paw-trail { display: none !important; }
}

/* ── Cinematic reveals ───────────────────────────────────── */
[data-anim] { opacity: 0; will-change: transform, opacity; }
[data-anim].in {
  opacity: 1;
  transition: transform .9s var(--ease-cinema), opacity .9s var(--ease-cinema);
}
[data-anim="up"]      { transform: translate3d(0, 40px, 0); }
[data-anim="up"].in   { transform: translate3d(0, 0, 0); }
[data-anim="left"]    { transform: translate3d(-50px, 0, 0); }
[data-anim="left"].in { transform: translate3d(0, 0, 0); }
[data-anim="right"]   { transform: translate3d(50px, 0, 0); }
[data-anim="right"].in{ transform: translate3d(0, 0, 0); }
[data-anim="zoom"]    { transform: scale(.92); }
[data-anim="zoom"].in { transform: scale(1); }
[data-anim="blur"]    { filter: blur(12px); transform: translate3d(0, 24px, 0); }
[data-anim="blur"].in { filter: blur(0); transform: translate3d(0, 0, 0); }

[data-stagger] > * { opacity: 0; transform: translate3d(0, 32px, 0); will-change: transform, opacity; }
[data-stagger].in > * {
  opacity: 1; transform: translate3d(0, 0, 0);
  transition: opacity .8s var(--ease-cinema), transform .8s var(--ease-cinema);
}
[data-stagger].in > *:nth-child(1) { transition-delay: .05s; }
[data-stagger].in > *:nth-child(2) { transition-delay: .12s; }
[data-stagger].in > *:nth-child(3) { transition-delay: .19s; }
[data-stagger].in > *:nth-child(4) { transition-delay: .26s; }
[data-stagger].in > *:nth-child(5) { transition-delay: .33s; }
[data-stagger].in > *:nth-child(6) { transition-delay: .40s; }
[data-stagger].in > *:nth-child(7) { transition-delay: .47s; }
[data-stagger].in > *:nth-child(8) { transition-delay: .54s; }

@media (prefers-reduced-motion: reduce) {
  [data-anim], [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ── Ken-Burns + parallax for hero/feature imagery ───────── */
.kb-zoom { animation: kenBurns 22s var(--ease-soft) infinite alternate; }
@keyframes kenBurns {
  0%   { transform: scale(1.04) translate3d(0,0,0); }
  100% { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}
.parallax { will-change: transform; transition: transform .15s linear; }

/* ── Hero gold-shimmer headline ──────────────────────────── */
.shimmer {
  background: linear-gradient(90deg,
    rgba(255,255,255,.85) 0%,
    #F5C870 40%,
    #F8DBA1 50%,
    #F5C870 60%,
    rgba(255,255,255,.85) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmerSlide 6s linear infinite;
}
@keyframes shimmerSlide { from { background-position: 220% 0; } to { background-position: -220% 0; } }

/* ── Magnetic / lift buttons & cards ─────────────────────── */
.btn-white, .btn-outline, .btn-primary, .btn-secondary,
.form-submit, .nav-cta {
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-soft), background .25s var(--ease-soft), color .25s var(--ease-soft) !important;
  will-change: transform;
}
.btn-white:hover, .btn-primary:hover { box-shadow: var(--shadow-lift) !important; }
.nav-cta { box-shadow: 0 6px 16px -4px rgba(26,127,212,.4) !important; }
.nav-cta:hover { box-shadow: 0 12px 28px -6px rgba(26,127,212,.55) !important; transform: translateY(-2px) !important; }

.magnetic { transition: transform .25s var(--ease-spring); }

/* ── Sticker-style cards (playful luxury) ────────────────── */
.tl-item, .blog-card, .stat-card, .collab-type, .fun-fact, .vid-card, .contact-form, .media-kit-card {
  box-shadow: var(--shadow-sticker);
  transition: transform .45s var(--ease-spring), box-shadow .45s var(--ease-soft) !important;
}
.tl-item:hover, .stat-card:hover, .collab-type:hover, .fun-fact:hover {
  transform: translateY(-6px) rotate(-.3deg);
  box-shadow: var(--shadow-lift);
}
.blog-card:hover { transform: translateY(-8px) rotate(.3deg); box-shadow: var(--shadow-lift); }

/* Gold-accent sticker variant */
.sticker-gold { box-shadow: var(--shadow-gold); }

/* Subtle inner-glow ring on focus for a11y */
:focus-visible {
  outline: 2px solid var(--gold, #E8A030);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Wiggle on hover (emojis, badges) ────────────────────── */
.wiggle { display: inline-block; transition: transform .25s var(--ease-spring); }
.wiggle:hover, .fun-fact:hover .fun-fact-emoji, .collab-type:hover .collab-type-icon {
  transform: rotate(-8deg) scale(1.18);
}

/* ── Soft drifting gradient blob backdrop ────────────────── */
.bg-blobs { position: relative; isolation: isolate; overflow: hidden; }
.bg-blobs::before, .bg-blobs::after {
  content: ''; position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(80px); opacity: .55; pointer-events: none;
  animation: blobDrift 18s var(--ease-soft) infinite alternate;
}
.bg-blobs::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(232,160,48,.45), transparent 70%);
  top: -120px; left: -120px;
}
.bg-blobs::after {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(74,173,232,.55), transparent 70%);
  bottom: -180px; right: -150px;
  animation-delay: -9s;
}
@keyframes blobDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(40px, 30px, 0) scale(1.08); }
  100% { transform: translate3d(-30px, -20px, 0) scale(.95); }
}
@media (prefers-reduced-motion: reduce) { .bg-blobs::before, .bg-blobs::after { animation: none; } }

/* ── Hero image polish ───────────────────────────────────── */
.hero-left { background: linear-gradient(135deg, #0A3D6B 0%, #1A7FD4 100%); }
.hero-left img, .hero-left picture { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero-left picture { display: block; }

/* Tiny floating sparkle on hero badge */
.hero-badge { animation: fadeUp .4s ease both, badgeFloat 4s var(--ease-soft) 1s infinite alternate !important; }
@keyframes badgeFloat { to { transform: translateY(-4px); } }

/* ── Timeline (day-in-life) refinement ───────────────────── */
.tl-time { display: flex; align-items: baseline; gap: 2px; }
.tl-time small {
  font-family: var(--font-display, 'Bebas Neue'), sans-serif;
  font-size: 13px; letter-spacing: 1px; opacity: .55; margin-left: 2px;
}
.tl-content h4 { font-size: 17px !important; letter-spacing: -.005em; }
.tl-content em { font-style: italic; color: var(--blue-deeper, #0A3D6B); font-weight: 500; }

/* ── Hero facelift accents ───────────────────────────────── */
.hero-issue {
  position: absolute; bottom: 1.75rem; left: 2.5rem;
  font-family: var(--font-serif, 'Fraunces', serif); font-style: italic;
  font-size: 13px; letter-spacing: .12em; color: rgba(255,255,255,.55);
  text-transform: uppercase; z-index: 3;
  border-top: 1px solid rgba(255,255,255,.18); padding-top: .6rem;
}
.hero-eyebrow-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold, #E8A030); margin-right: .55rem;
  box-shadow: 0 0 0 4px rgba(232,160,48,.18);
  animation: dotPulse 1.8s var(--ease-soft) infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,160,48,.18); }
  50%      { box-shadow: 0 0 0 8px rgba(232,160,48,.08); }
}
.hero-scroll-cue {
  position: absolute; bottom: 2rem; right: 3rem;
  display: inline-flex; align-items: center; gap: .55rem;
  color: rgba(255,255,255,.55); text-decoration: none;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 500; transition: color .2s var(--ease-soft);
  z-index: 3;
}
.hero-scroll-cue svg { animation: scrollBounce 1.8s var(--ease-soft) infinite; }
.hero-scroll-cue:hover { color: var(--gold, #E8A030); }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (max-width: 960px) { .hero-scroll-cue, .hero-issue { display: none; } }

/* Refined hero stats — show a gold underline on first */
.hero-stats { position: relative; }
.hero-stat:first-child { position: relative; }
.hero-stat:first-child::after {
  content: ''; position: absolute; left: 50%; bottom: 14px;
  width: 28px; height: 2px; background: var(--gold, #E8A030);
  transform: translateX(-50%); border-radius: 2px;
}

/* ── Marquee gets a slow pause-on-hover feel ─────────────── */
.marquee-track { animation-duration: 36s !important; }

/* ── Footer warmth ──────────────────────────────────────── */
footer { background: linear-gradient(180deg, #0A3D6B 0%, #061E36 100%) !important; }
.footer-brand { transition: letter-spacing .4s var(--ease-soft); }
.footer-brand:hover { letter-spacing: 3px; }

/* ── Picture / responsive image base ─────────────────────── */
picture { display: inline-block; }
picture img { max-width: 100%; height: auto; }

/* Lazy-image fade-in */
img[loading="lazy"] { opacity: 0; transition: opacity .6s var(--ease-soft); }
img[loading="lazy"].loaded, img[loading="lazy"].in-view { opacity: 1; }

/* ── Section dividers — subtle paw separator ─────────────── */
.paw-divider {
  text-align: center; padding: 1rem 0; color: var(--gold,#E8A030);
  font-size: 18px; letter-spacing: 1.5rem; opacity: .55;
}

/* ── Article (blog post) editorial polish ────────────────── */
/* Scoped narrowly so we don't fight existing .post-body typography. */
.article-body > p:first-of-type:not(:has(strong)):not(:has(em))::first-letter,
.article-body > p:nth-of-type(2)::first-letter {
  font-family: var(--font-display, 'Bebas Neue'), serif;
  font-size: 4.2em; line-height: .82; float: left;
  padding: 6px 12px 0 0; color: var(--blue, #1A7FD4);
  font-weight: 400;
}
.article-body blockquote {
  font-family: var(--font-serif, 'Fraunces', serif);
  font-style: italic; font-size: 1.25em; line-height: 1.55;
  border-left: 3px solid var(--gold,#E8A030);
  padding: .25rem 0 .25rem 1.5rem; margin: 2rem 0;
  color: var(--blue-deeper, #0A3D6B);
}
/* Subtle gold underline accent under article h2's first word */
.article-body h2 {
  position: relative; display: inline-block;
}
.article-body h2::after {
  content: ''; display: block; width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold,#E8A030), transparent);
  border-radius: 2px; margin-top: .35rem;
}
/* Pull-quote helper class authors can apply: <p class="pull-quote">...</p> */
.article-body .pull-quote {
  font-family: var(--font-serif, 'Fraunces', serif);
  font-style: italic; font-size: 1.5em; line-height: 1.45;
  color: var(--blue-deeper, #0A3D6B);
  border-top: 1px solid rgba(232,160,48,.4);
  border-bottom: 1px solid rgba(232,160,48,.4);
  padding: 1.5rem 0; margin: 2.5rem 0; text-align: center;
}

/* ── Newsletter slide-up bar ──────────────────────────────── */
.newsletter-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 160;
  background: var(--blue-deeper, #0A3D6B);
  border-top: 2px solid var(--gold, #E8A030);
  padding: 1.4rem 2rem;
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 -8px 40px rgba(10,61,107,.4);
  will-change: transform;
}
.newsletter-bar.visible { transform: translateY(0); }

.newsletter-bar-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap;
}
.newsletter-bar-text { flex: 1 1 200px; }
.newsletter-bar-headline {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 22px; letter-spacing: 1px; color: white; line-height: 1; margin-bottom: .3rem;
}
.newsletter-bar-sub {
  font-family: var(--font-serif, 'Fraunces', serif);
  font-style: italic; font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.4;
}
.newsletter-bar-form { display: flex; gap: .55rem; flex: 1 1 260px; }
.newsletter-bar-input {
  flex: 1; padding: 10px 18px; border-radius: 100px; border: none;
  font-size: 14px; font-family: var(--font-body, 'DM Sans', sans-serif); outline: none;
}
.newsletter-bar-btn {
  background: var(--gold, #E8A030); color: #0D1B2A;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 18px; letter-spacing: 1px;
  padding: 10px 26px; border-radius: 100px; border: none; cursor: pointer;
  white-space: nowrap; transition: opacity .2s;
}
.newsletter-bar-btn:hover { opacity: .88; }
.newsletter-bar-btn:disabled { opacity: .6; cursor: wait; }
.newsletter-bar-close {
  background: none; border: none; color: rgba(255,255,255,.4);
  font-size: 22px; cursor: pointer; padding: 6px; line-height: 1; flex-shrink: 0;
  transition: color .2s;
}
.newsletter-bar-close:hover { color: white; }
.newsletter-bar-success {
  color: var(--gold, #E8A030);
  font-family: var(--font-serif, 'Fraunces', serif); font-style: italic; font-size: 15px;
}
/* hide mobile sticky-cta when newsletter bar is visible */
body:has(.newsletter-bar.visible) #stickyCta { display: none !important; }
@media (max-width: 600px) {
  .newsletter-bar { padding: 1.2rem 1.25rem; }
  .newsletter-bar-inner { gap: .85rem; }
  .newsletter-bar-text, .newsletter-bar-form { flex: 1 1 100%; }
}

/* ── Faves gate modal ──────────────────────────────────────── */
.faves-gate-backdrop {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10,29,50,.82);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.faves-gate-backdrop.active {
  opacity: 1; visibility: visible;
}
.faves-gate-modal {
  background: white; border-radius: 28px;
  padding: 3rem 2.5rem; max-width: 440px; width: 100%;
  text-align: center; position: relative;
  box-shadow: 0 40px 80px rgba(10,61,107,.35);
  transform: translateY(24px) scale(.97);
  transition: transform .35s cubic-bezier(.22,.61,.36,1) .08s;
}
.faves-gate-backdrop.active .faves-gate-modal {
  transform: translateY(0) scale(1);
}
.faves-gate-paw {
  font-size: 48px; display: block; margin-bottom: .85rem; line-height: 1;
}
.faves-gate-headline {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 36px; letter-spacing: 1px; color: var(--blue-deeper, #0A3D6B);
  line-height: 1; margin-bottom: .75rem;
}
.faves-gate-sub {
  font-family: var(--font-serif, 'Fraunces', serif);
  font-style: italic; font-size: 16px; color: var(--mid, #4A6080);
  line-height: 1.6; margin-bottom: 1.5rem;
}
.faves-gate-form { display: flex; flex-direction: column; gap: .65rem; }
.faves-gate-input {
  padding: 13px 20px; border-radius: 100px;
  border: 1.5px solid var(--border, rgba(26,127,212,0.15));
  font-size: 15px; font-family: var(--font-body, 'DM Sans', sans-serif);
  outline: none; text-align: center; background: var(--cream, #FAFCFF);
  transition: border-color .2s;
}
.faves-gate-input:focus { border-color: var(--blue, #1A7FD4); }
.faves-gate-btn {
  background: var(--blue, #1A7FD4); color: white;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 22px; letter-spacing: 1px;
  padding: 13px; border-radius: 100px; border: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.faves-gate-btn:hover { background: var(--blue-dark, #0E5A9A); transform: translateY(-1px); }
.faves-gate-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.faves-gate-success {
  color: var(--blue, #1A7FD4);
  font-family: var(--font-serif, 'Fraunces', serif);
  font-style: italic; font-size: 17px; line-height: 1.5; padding: .5rem 0;
}
.faves-gate-skip {
  background: none; border: none; cursor: pointer;
  font-size: 13px; color: var(--mid, #4A6080); margin-top: .85rem;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color .2s; display: block; width: 100%;
}
.faves-gate-skip:hover { color: var(--dark, #0D1B2A); }

/* ── Mobile fixes (added 2026-06-02) ─────────────────────────────────────────
   Big display headings had font-size minimums (50–80px) larger than a phone
   screen, forcing horizontal page overflow. Cap them on small screens. This
   sheet loads after each page's inline <style>, so !important wins.
   overflow-x:clip is a safety net that (unlike hidden) doesn't break the
   sticky shop category nav. */
html, body { overflow-x: clip; }
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(44px, 15vw, 72px) !important; }
  .page-title, .shop-hero h1, .faves-hero h1, .cover-title {
    font-size: clamp(38px, 12vw, 62px) !important; }
  .blog-hero-title { font-size: clamp(34px, 11vw, 56px) !important; }
  .post-title, .post-hero h1 { font-size: clamp(30px, 9vw, 48px) !important; }
  .contact-title, .policy-hero h1, .error-headline {
    font-size: clamp(32px, 10vw, 56px) !important; }
  .section-title { font-size: clamp(30px, 8vw, 52px) !important; }
  .numbers-title, .mk-title, .case-title, .numbers-total-num {
    font-size: clamp(30px, 9vw, 52px) !important; }
}
