/* ═══════════════════════════════════════════
   HANNAART — Global Design System
   ═══════════════════════════════════════════ */

:root {
  --bg:        #131B30;   /* deep navy (2026-08-21, was #0B0B0F near-black) */
  --bg2:       #1C2540;   /* one step above --bg, same blue family (was #16181D) */
  --text:      #EAEAEA;
  --muted:     rgba(234,234,234,0.42);
  --dim:       rgba(234,234,234,0.18);
  --xdim:      rgba(234,234,234,0.08);
  --border:    rgba(255,255,255,0.055);
  --nav-w:     200px;
  --ease:      cubic-bezier(0.25,0.46,0.45,0.94);
  --ease-out:  cubic-bezier(0.16,1,0.3,1);
}

/* ── Reset ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Noise overlay (global) ── */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9000;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ── Page transition ── */
body { opacity: 1; transition: opacity 0.35s var(--ease); }
body.page-exit { opacity: 0; }
body.page-enter { opacity: 0; animation: pageEnter 0.4s var(--ease-out) 0.05s forwards; }
@keyframes pageEnter { to { opacity: 1; } }

/* ── Custom cursor ── */
/* Custom-cursor mode DISABLED 2026-08-13. `* { cursor: none }` hid the real mouse pointer
   everywhere and replaced it with JS-drawn .cursor/.cursor-ring elements. If that JS is slow,
   blocked, or errors, the site has NO visible pointer at all and becomes unclickable — which
   is exactly what happened. A decorative cursor is not worth making the site unusable when
   anything upstream fails. Re-enable only behind a feature check that verifies main.js ran. */
* { cursor: auto; }
button, a, .lang-btn { cursor: pointer; }
.pointer-halo {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.28s ease;
}
.pointer-halo.visible { opacity: 1; }
.cursor, .cursor-ring { display: none !important; }
.cursor {
  position: fixed;
  width: 7px; height: 7px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, width 0.2s var(--ease), height 0.2s var(--ease), opacity 0.2s;
}
.cursor-ring {
  position: fixed;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.18s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.2s;
}
.cursor.hover  { width: 12px; height: 12px; }
.cursor-ring.hover { width: 52px; height: 52px; border-color: rgba(255,255,255,0.55); }

/* ═══════════════════════════════════════════
   SIDE NAVIGATION
   ═══════════════════════════════════════════ */
.sidenav {
  position: fixed;
  top: 0; left: 0;
  width: var(--nav-w);
  height: 100vh;
  background: rgba(19,27,48,0.82);   /* --bg at 82% */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.8rem 2rem;
  z-index: 100;
}

.sidenav-logo {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sidenav-logo span { color: var(--dim); font-weight: 300; }
.sidenav-logo a { color: var(--text); }

.sidenav nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidenav nav a {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center;
  transition: color 0.25s;
}
.sidenav nav a::before {
  content: '';
  display: inline-block;
  width: 0; height: 1px;
  background: var(--text);
  margin-right: 0;
  transition: width 0.25s var(--ease), margin-right 0.25s var(--ease);
  flex-shrink: 0;
}
.sidenav nav a:hover,
.sidenav nav a.active { color: var(--text); }
.sidenav nav a:hover::before,
.sidenav nav a.active::before { width: 14px; margin-right: 9px; }

.sidenav-bottom {
  display: flex; flex-direction: column; gap: 1rem;
}
.artist-tag {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--xdim);
  white-space: nowrap;
}
.copy-line {
  font-size: 0.58rem;
  color: var(--xdim);
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════
   MAIN CONTENT WRAPPER (inner pages)
   ═══════════════════════════════════════════ */
.page-wrap {
  margin-left: var(--nav-w);
  min-height: 100vh;
  padding: 0 3.5rem 6rem;
}

/* ── Page header ── */
.page-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.page-title {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--text);
}
.page-sub {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.4rem;
}

/* ══ BUTTONS ══ */
.btn-solid {
  display: inline-block;
  padding: 0.78rem 2.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--text);
  color: var(--bg);
  border: 1.5px solid var(--text);
  transition: background 0.22s, color 0.22s;
}
.btn-solid:hover { background: transparent; color: var(--text); }

.btn-ghost {
  display: inline-block;
  padding: 0.78rem 1.8rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--muted);
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: border-color 0.22s, color 0.22s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--text); }

/* ══ SECTION LABELS ══ */
.label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ══ DIVIDER ══ */
.divider {
  width: 32px; height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 1rem 0;
}

/* ═══════════════════════════════════════════
   GALLERY PAGE
   ═══════════════════════════════════════════ */
.gallery-filters {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}
/* Stable artwork grid.
   CSS multi-column masonry repeatedly reflowed dynamically loaded images in Firefox,
   eventually consuming gigabytes of memory and hanging the tab. */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.gallery-item {
  min-width: 0;
  position: relative;
  overflow: hidden;
  display: block;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.65s var(--ease), filter 0.5s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.07) saturate(1.1);
}

/* Featured items — controlled imperfection, breaks the robotic grid */
.gallery-item.featured {
  position: relative;
  margin-top: -22px;
  margin-bottom: 26px;
  z-index: 2;
}
.gallery-item.featured:hover img {
  transform: scale(1.04);
  filter: brightness(1.1) saturate(1.12);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,27,48,0.88) 0%, transparent 55%);   /* --bg fade */
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem 1.2rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.item-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.item-meta {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   ARTWORK DETAIL PAGE
   ═══════════════════════════════════════════ */
.artwork-layout {
  display: grid;
  grid-template-columns: 62% 1fr;
  gap: 5rem;
  align-items: start;
  padding-top: 3.5rem;
}
.artwork-image-wrap {
  position: relative;
  overflow: hidden;
}
.artwork-image-wrap .img-protected,
.artwork-image-wrap img {
  width: 100%;
  display: block;
}
.artwork-info { padding-top: 1rem; }
.artwork-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 1.6rem;
}
.artwork-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}
.artwork-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.meta-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.meta-value {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.artwork-desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-style: italic;
}
.artwork-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 3rem;
}
.artwork-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
.artwork-nav-link {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.artwork-nav-link:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 6rem;
  align-items: start;
  padding-top: 2rem;
}
.about-image-wrap {
  position: sticky;
  top: 3rem;
  overflow: hidden;
  transform: translateY(-18px); /* slight vertical offset — intentional, breaks grid rigidity */
}
.about-image-wrap img { width: 100%; }
.about-text { padding-top: 1rem; }
/* Pull-quote line — the signature statement */
.about-pull {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 2rem;
  padding-left: 1.2rem;
  border-left: 2px solid rgba(255,255,255,0.18);
}
.about-body {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 2rem;
}
.about-body p + p { margin-top: 1.2rem; }
.about-signature {
  font-family: 'Caveat', cursive;
  font-size: 2.8rem;
  font-weight: 400;
  color: rgba(234,234,234,0.22);
  transform: rotate(-2deg);
  display: inline-block;
  margin-top: 2rem;
}

/* ═══════════════════════════════════════════
   SHOP PAGE
   ═══════════════════════════════════════════ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.shop-item { display: block; }
.shop-image-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.2rem;
  aspect-ratio: 3/4;
}
.shop-image-wrap .img-protected {
  width: 100%; height: 100%;
}
.shop-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.shop-item:hover .shop-image-wrap img { transform: scale(1.05); }
.shop-image-wrap .quick-view {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(19,27,48,0.55);   /* --bg at 55% */
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}
.shop-item:hover .quick-view { opacity: 1; }
.shop-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.shop-item-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.shop-item-medium {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.shop-item-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}
.shop-item-availability {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(120,220,120,0.7);
  margin-top: 0.3rem;
}
.shop-item-availability.sold { color: var(--dim); }

/* ═══════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  padding-top: 2rem;
  align-items: start;
}
.contact-left .contact-intro {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 380px;
}
.contact-detail {
  margin-bottom: 2.5rem;
}
.contact-detail-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.5rem;
}
.contact-detail-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.contact-detail-value:hover { color: var(--text); }
.socials { display: flex; gap: 1.5rem; margin-top: 2rem; }
.social-link {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.2s;
  position: relative;
}
.social-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--text);
  transform: scaleX(0);
  transition: transform 0.2s var(--ease);
}
.social-link:hover { color: var(--text); }
.social-link:hover::after { transform: scaleX(1); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 2.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.6rem; }
.form-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}
.form-input,
.form-textarea {
  background: rgba(28,37,64,0.7);   /* --bg2 at 70% */
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  padding: 1.1rem 1.3rem;
  outline: none;
  resize: none;
  transition: border-color 0.25s, background 0.25s;
}
.form-input:focus,
.form-textarea:focus {
  border-color: rgba(255,255,255,0.25);
  background: rgba(28,37,64,0.9);   /* --bg2 at 90% */
}
.form-textarea { min-height: 160px; }
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(234,234,234,0.12); }

/* ── How to Buy section ── */
.how-to-buy {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}
.how-to-buy-title {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 3rem;
}
.how-to-buy-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.buy-step-num {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--dim);
  margin-bottom: 0.9rem;
}
.buy-step-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.buy-step-desc {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}
.how-to-buy-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.how-to-buy-note {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .how-to-buy-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .how-to-buy-footer { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

/* ── Language toggle ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.8rem;
}
.lang-btn {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.lang-btn.active { color: var(--text); }
.lang-btn:hover  { color: var(--muted); }
.lang-sep {
  font-size: 0.44rem;
  color: var(--xdim);
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — iPAD
   ═══════════════════════════════════════════ */

/* iPad landscape (≤1180px) — tighten sidenav */
@media (max-width: 1180px) {
  :root { --nav-w: 160px; }
  .page-wrap { padding: 0 2.5rem 5rem; }
  .how-to-buy-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* iPad portrait (≤820px) — horizontal top nav */
@media (max-width: 820px) {
  :root { --nav-w: 0px; }

  .sidenav {
    width: 100%;
    height: 52px;
    flex-direction: row;
    align-items: center;
    padding: 0 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .sidenav nav {
    flex-direction: row;
    gap: 1.8rem;
    margin-left: auto;
  }
  .sidenav-bottom { display: none; }

  .page-wrap {
    margin-left: 0;
    margin-top: 52px;
    padding: 0 1.5rem 4rem;
  }

  .page-header { padding: 2.5rem 0 2rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .page-title { font-size: clamp(2rem, 8vw, 3rem); }

  /* Gallery: 2 columns */
  .gallery-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

  /* Artwork detail: stack */
  .artwork-layout { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2rem; }

  /* About: stack */
  .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-wrap { position: static; transform: none; max-height: 60vw; overflow: hidden; }
  .about-image-wrap img { object-fit: cover; width: 100%; height: 100%; }

  /* Shop: 2 columns */
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Contact: stack */
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-left .contact-intro { font-size: 1rem; }
}

/* ═══════════════════════════════════════════
   IMAGE PROTECTION
   ═══════════════════════════════════════════ */

/* Wrapper present on every displayed artwork image */
.img-protected {
  position: relative;
  line-height: 0;
}
.img-protected img {
  display: block;
  width: 100%;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none; /* clicks pass to parent <a>, right-click blocked */
}

/* Transparent guard overlay — carries the watermark */
.img-guard {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.img-guard::after {
  content: '© HannaArt';
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  pointer-events: none;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════
   SUBSCRIBE STRIP
   ═══════════════════════════════════════════ */
.subscribe-strip {
  margin-top: 5rem;
  margin-bottom: 5rem;
  padding: 3rem 3.5rem;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.subscribe-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.subscribe-sub {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}
.subscribe-form { display: flex; flex-direction: column; gap: 1rem; }
.subscribe-row {
  display: flex;
  gap: 0.8rem;
}
.subscribe-row input[type="email"] {
  flex: 1;
  background: rgba(28,37,64,0.7);   /* --bg2 at 70% */
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color 0.25s;
}
.subscribe-row input[type="email"]:focus { border-color: rgba(255,255,255,0.25); }
.subscribe-row input[type="email"]::placeholder { color: rgba(234,234,234,0.2); }
.subscribe-row button {
  padding: 0.85rem 1.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--text);
  color: var(--bg);
  border: 1.5px solid var(--text);
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.22s, color 0.22s;
}
.subscribe-row button:hover { background: transparent; color: var(--text); }
.subscribe-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.62rem;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.6;
  cursor: pointer;
}
.subscribe-gdpr input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--text); }
.subscribe-gdpr a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.subscribe-msg {
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.6;
  padding: 0.8rem 0;
}
.subscribe-msg.ok    { color: rgba(120,220,120,0.85); }
.subscribe-msg.error { color: rgba(220,100,80,0.85); }

@media (max-width: 820px) {
  .subscribe-strip { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.5rem; }
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(14px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}
.fade-up { animation: fadeUp 0.7s var(--ease-out) both; }
.fade-in { animation: fadeIn 0.6s var(--ease) both; }

/* Reliability overrides: keep Firefox on native, non-animated rendering. */
body::after { display: none !important; }
body, body.page-enter, body.page-exit {
  opacity: 1 !important;
  animation: none !important;
  transition: none !important;
}
.cursor, .cursor-ring { display: none !important; }

