@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&display=swap');

/* =============================================
   TRAVERSS — Design System
   Palette : #000 | #FFF | #AAA
   Font    : Roboto 300 / 700
   ============================================= */

:root {
  --black:       #000000;
  --white:       #ffffff;
  --grey:        #aaaaaa;

  --radius:      20px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --t:           0.3s;
  --font:        'Roboto', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; background: transparent; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.4);
  border-radius: 10px;
  transition: background var(--t);
}
::-webkit-scrollbar-thumb:hover { background: var(--white); }

/* --- Selection --- */
::selection { background: var(--white); color: var(--black); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--t) var(--ease), padding var(--t) var(--ease);
}

.navbar.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 48px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.navbar__logo img {
  height: 36px;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.25));
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0; padding: 0;
}

.navbar__links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  opacity: 0.85;
  transition: opacity var(--t);
}

.navbar__links a:hover,
.navbar__links a[aria-current] { opacity: 1; }

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width var(--t) var(--ease);
}

.navbar__links a:hover::after,
.navbar__links a[aria-current]::after { width: 100%; }

/* Mobile hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 101;
}

.navbar__hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--white);
  transition: transform var(--t) var(--ease), opacity var(--t);
}

.navbar.menu-open .navbar__hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar.menu-open .navbar__hamburger span:nth-child(2) {
  opacity: 0;
}
.navbar.menu-open .navbar__hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .navbar { padding: 20px 24px; }
  .navbar.scrolled { padding: 14px 24px; }
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }

  .navbar.menu-open .navbar__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--black);
    justify-content: center;
    align-items: center;
    gap: 48px;
    z-index: 100;
  }

  .navbar.menu-open .navbar__links a {
    font-size: 1.4rem;
    letter-spacing: 0.3em;
  }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.btn:hover {
  background: var(--white);
  color: var(--black);
}

.btn:active {
  transform: scale(0.98);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 64px;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  top: 50%; left: 50%;
  width: calc(100vw - 40px);
  height: calc(100vh - 40px);
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  border-radius: var(--radius);
}

/* gradient overlay on video */
.hero__overlay {
  position: absolute;
  top: 20px; left: 20px; right: 20px; bottom: 20px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.90) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.05) 100%
  );
  z-index: 1;
  border-radius: var(--radius);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 14px 0;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 36px 0;
  line-height: 1.06;
}

/* =============================================
   POEM CARD  (full-screen, one per poem)
   ============================================= */
.poem-card {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 64px;
  overflow: hidden;
}

.poem-card__image {
  position: absolute;
  top: 50%; left: 50%;
  width: calc(100vw - 40px);
  height: calc(100vh - 40px);
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  border-radius: var(--radius);
  filter: brightness(42%);
  transition: filter 0.7s var(--ease);
}

.poem-card:hover .poem-card__image {
  filter: brightness(32%);
}

/* bottom vignette */
.poem-card__gradient {
  position: absolute;
  top: 20px; left: 20px; right: 20px; bottom: 20px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.96) 0%,
    rgba(0,0,0,0.45) 38%,
    rgba(0,0,0,0) 65%
  );
  z-index: 1;
  border-radius: var(--radius);
  pointer-events: none;
}

.poem-card__content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  width: 100%;
}

/* top-right poem index  e.g. "01" */
.poem-card__index {
  position: absolute;
  top: 44px; right: 44px;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

.poem-card__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  line-height: 1.08;
}

.poem-card__text {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  margin: 0 0 32px 0;
  color: rgba(255,255,255,0.82);
  white-space: pre-line;
}

.poem-card__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---- Like button ---- */
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), transform 0.12s;
  -webkit-appearance: none;
  appearance: none;
}

.like-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}

.like-btn:active { transform: scale(0.94); }

.like-btn.liked {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.like-btn svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.like-btn.liked svg { transform: scale(1.35); }

.like-btn__count {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  min-width: 16px;
}

/* =============================================
   LIKE ANIMATION
   ============================================= */
@keyframes heartFloat {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(0.6); }
  50%  { opacity: 1; transform: translate(-50%, -90%) scale(1.5); }
  100% { opacity: 0; transform: translate(-50%, -140%) scale(1.1); }
}

.like-anim {
  position: fixed;
  top: 50%; left: 50%;
  z-index: 1000;
  pointer-events: none;
  animation: heartFloat 1.4s var(--ease) forwards;
  color: var(--white);
}

/* =============================================
   INTERSECTION OBSERVER  — .reveal
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   CREATE PAGE
   ============================================= */
.create-page {
  position: fixed;
  inset: 0;
  background: var(--black);
  overflow: hidden;
}

.camera-wrap {
  position: absolute;
  inset: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}

#camera, #photoCanvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Viewfinder corners */
.viewfinder {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.viewfinder::before, .viewfinder::after,
.viewfinder span::before, .viewfinder span::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  border-color: rgba(255,255,255,0.55);
  border-style: solid;
}

.viewfinder::before  { top: 24px;    left: 24px;  border-width: 2px 0 0 2px; }
.viewfinder::after   { top: 24px;    right: 24px; border-width: 2px 2px 0 0; }
.viewfinder span::before { bottom: 24px; left: 24px;  border-width: 0 0 2px 2px; }
.viewfinder span::after  { bottom: 24px; right: 24px; border-width: 0 2px 2px 0; }

/* Steps indicator */
.create-steps {
  position: absolute;
  top: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.create-step {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background var(--t), transform var(--t);
}

.create-step.active {
  background: var(--white);
  transform: scale(1.5);
}

/* Shutter button */
.shutter-btn {
  position: absolute;
  bottom: 44px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s;
  -webkit-appearance: none;
  appearance: none;
}

.shutter-btn::after {
  content: '';
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.15s var(--ease);
}

.shutter-btn:hover::after { transform: scale(0.88); }
.shutter-btn:active { transform: translateX(-50%) scale(0.94); }

/* Poem form overlay (over the photo) */
.poem-form {
  position: absolute;
  inset: 20px;
  z-index: 5;
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  padding: 52px;
  overflow-y: auto;
}

.poem-form.visible { display: flex; }

.poem-form textarea {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font);
  resize: none;
  width: 100%;
}

.poem-form__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(0,0,0,0.9);
  line-height: 1.1;
  margin: 0 0 16px 0;
  min-height: 1.2em;
}

.poem-form__body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  text-shadow: 0 0 12px rgba(0,0,0,0.85);
  height: 13em;
}

.poem-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.poem-form__counter {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color var(--t);
}

.poem-form__counter.warning { color: rgba(255,200,0,0.9); }
.poem-form__counter.error   { color: rgba(255,60,60,0.9); }

/* =============================================
   STATIC PAGES (contact, privacy)
   ============================================= */
.static-hero {
  position: relative;
  width: 100%;
  height: 55vh;
  display: flex;
  align-items: flex-end;
  padding: 64px;
  overflow: hidden;
}

.static-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 64px; right: 64px;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.static-hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 10px 0;
}

.static-hero__title {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  line-height: 0.92;
}

.static-content {
  max-width: 720px;
  margin: 80px auto;
  padding: 0 48px;
}

.static-content h2 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 56px 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.static-content p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
  margin: 0 0 16px 0;
}

.contact-email {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 6px;
  margin-top: 28px;
  transition: border-color var(--t);
}

.contact-email:hover { border-color: var(--white); }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 44px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__copy {
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}

.footer__links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}

.footer__links a {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  position: relative;
  opacity: 0.75;
  transition: opacity var(--t);
}

.footer__links a:hover { opacity: 1; }

.footer__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width var(--t) var(--ease);
}

.footer__links a:hover::after { width: 100%; }

/* =============================================
   NAVBAR — auth extras
   ============================================= */
.navbar__user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar__pseudo {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar__badge {
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 5px;
  border: 1px solid var(--white);
  letter-spacing: 0.05em;
}

.navbar__logout {
  background: none;
  border: none;
  color: var(--grey);
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: color var(--t);
}

.navbar__logout:hover { color: var(--white); }

/* =============================================
   AUTH PAGES
   ============================================= */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-eyebrow {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 12px 0;
}

.auth-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 48px 0;
  line-height: 1;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-field label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-hint {
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: none;
  opacity: 0.7;
}

.auth-field input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 300;
  padding: 10px 0;
  outline: none;
  transition: border-color var(--t);
  width: 100%;
}

.auth-field input:focus {
  border-bottom-color: var(--white);
}

.auth-field input::placeholder {
  color: rgba(255,255,255,0.2);
}

.auth-form .btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

.auth-error {
  background: rgba(255,60,60,0.12);
  border: 1px solid rgba(255,60,60,0.35);
  color: rgba(255,120,120,1);
  font-size: 0.82rem;
  font-weight: 300;
  padding: 12px 16px;
  margin-bottom: 8px;
}

.auth-switch {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--grey);
  margin-top: 32px;
  text-align: center;
}

.auth-switch a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color var(--t);
}

.auth-switch a:hover { border-color: var(--white); }

/* =============================================
   PRINT / POD
   ============================================= */
.print-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--t), color var(--t);
  flex-shrink: 0;
  text-decoration: none;
}

.print-btn:hover {
  border-color: var(--white);
  color: var(--white);
}

.print-btn svg { width: 15px; height: 15px; }

/* Print hero */
.print-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 64px;
  overflow: hidden;
}

.print-hero__image {
  position: absolute;
  top: 50%; left: 50%;
  width: calc(100vw - 40px);
  height: calc(100vh - 40px);
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  border-radius: var(--radius);
  filter: brightness(38%);
}

.print-hero__overlay {
  position: absolute;
  top: 20px; left: 20px; right: 20px; bottom: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
  border-radius: var(--radius);
  pointer-events: none;
}

.print-hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.print-hero__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  line-height: 1.05;
}

.print-hero__text {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.8);
  margin: 0 0 20px 0;
  white-space: pre-line;
}

.print-hero__brand {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.3);
  margin: 0;
  text-transform: uppercase;
}

/* Print actions section */
.print-actions {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 80px 64px;
}

.print-actions__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.print-actions__eyebrow {
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 12px 0;
}

.print-actions__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  line-height: 1.1;
}

.print-actions__desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 0;
  max-width: 400px;
}

.print-actions__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* Notify modal */
.notify-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.notify-modal__card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 48px;
  max-width: 420px;
  width: 100%;
}

.notify-modal__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.notify-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 300;
  padding: 10px 0;
  outline: none;
  box-sizing: border-box;
  transition: border-color var(--t);
}

.notify-input:focus { border-bottom-color: var(--white); }

.notify-close {
  display: block;
  margin-top: 16px;
  background: none;
  border: none;
  color: var(--grey);
  font-family: var(--font);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: color var(--t);
}

.notify-close:hover { color: var(--white); }

/* Freemium limit banner */
.limit-banner {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--white);
  color: var(--black);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: slideUp 0.4s var(--ease);
}

@keyframes slideUp {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .hero          { padding: 32px 24px; }
  .hero__content { max-width: 100%; }
  .poem-card     { padding: 32px 24px; }
  .poem-card__content { max-width: 100%; }
  .poem-card__index { top: 28px; right: 28px; }
  .static-hero   { padding: 32px 24px; height: 45vh; }
  .static-hero::after { left: 24px; right: 24px; }
  .static-content { padding: 0 24px; margin: 48px auto; }
  footer { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
  .poem-form { padding: 32px 28px; }
}
