/* ── LOGO BAND ── */
.logo-band {
  padding: 48px 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--warm);
  overflow: hidden;
  display: flex;
  gap: 0;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-shrink: 0;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.logo-track+.logo-track {
  animation-delay: -10s;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.logo-item {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  font-style: italic;
  color: var(--mist);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--petal);
  flex-shrink: 0;
}

/* ── FEATURES ── */
#features {
  padding: 120px 5%;
}

.features-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}

.feat-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}

.feat-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

.feat-title em {
  font-style: italic;
  color: var(--rose);
}

.feat-desc {
  color: var(--mist);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 380px;
}

.feat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--charcoal);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: gap 0.2s;
}

.feat-link:hover {
  gap: 14px;
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.bento {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  position: relative;
}

.bento:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px var(--shadow);
}

.bento-1 {
  grid-column: span 7;
}

.bento-2 {
  grid-column: span 5;
}

.bento-3 {
  grid-column: span 5;
}

.bento-4 {
  grid-column: span 7;
}

.bento-5 {
  grid-column: span 6;
}

.bento-6 {
  grid-column: span 6;
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  background: rgba(212, 96, 122, 0.1);
  border-radius: 50px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.bento h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.2;
}

.bento p {
  color: var(--mist);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 340px;
}

.bento-visual {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  height: 140px;
  position: relative;
}

.waveform-visual {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 100%;
  padding: 0 20px;
  background: var(--charcoal);
}

.wv-bar {
  width: 3px;
  border-radius: 3px;
  flex-shrink: 0;
  background: linear-gradient(to top, var(--rose), #F2C4CE);
  animation: wvAnim 1.8s ease-in-out infinite alternate;
  opacity: 0.8;
}

@keyframes wvAnim {
  0% {
    height: 4px;
    opacity: 0.3
  }

  100% {
    height: var(--h);
    opacity: 1
  }
}

.threads-visual {
  background: var(--cream);
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thread-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--warm);
  border-radius: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
}

.thread-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.thread-wave {
  flex: 1;
  height: 16px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.tw-bar {
  width: 2px;
  border-radius: 2px;
  background: var(--mist);
  opacity: 0.4;
}

.anon-visual {
  background: linear-gradient(135deg, #1C1A18, #2D2B28);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.anon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(242, 196, 206, 0.15);
  border: 1.5px solid rgba(242, 196, 206, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.anon-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(242, 196, 206, 0.1);
  animation: ringExpand 3s ease-in-out infinite;
}

.anon-ring:nth-child(1) {
  width: 110px;
  height: 110px;
  animation-delay: 0s;
}

.anon-ring:nth-child(2) {
  width: 150px;
  height: 150px;
  animation-delay: 0.5s;
}

.anon-ring:nth-child(3) {
  width: 190px;
  height: 190px;
  animation-delay: 1s;
}

@keyframes ringExpand {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1)
  }

  50% {
    opacity: 0.6;
    transform: scale(1.03)
  }
}

.explore-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.etag {
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 6px 14px;
  border: 1.5px solid;
  transition: all 0.2s;
}

.etag:hover {
  transform: scale(1.05);
}

.etag-1 {
  background: rgba(212, 96, 122, 0.08);
  border-color: rgba(212, 96, 122, 0.3);
  color: var(--rose);
}

.etag-2 {
  background: rgba(122, 158, 135, 0.08);
  border-color: rgba(122, 158, 135, 0.3);
  color: var(--sage);
}

.etag-3 {
  background: rgba(201, 133, 58, 0.08);
  border-color: rgba(201, 133, 58, 0.3);
  color: var(--amber);
}

.etag-4 {
  background: rgba(28, 26, 24, 0.05);
  border-color: var(--border);
  color: var(--mist);
}

.etag-5 {
  background: rgba(212, 96, 122, 0.05);
  border-color: rgba(212, 96, 122, 0.2);
  color: var(--rose);
}

/* Live Rooms Visual */
.live-room-visual {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #1A0E1C, #0E1A1C);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.live-room-card-mini {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF4757;
  animation: pulse 1.5s ease infinite;
  flex-shrink: 0;
}

.live-room-info {
  flex: 1;
}

.live-room-topic {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(245, 239, 228, 0.85);
}

.live-room-count {
  font-size: 0.65rem;
  color: rgba(245, 239, 228, 0.35);
  margin-top: 2px;
}

.live-room-avs {
  display: flex;
}

.live-room-avs span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(15, 14, 12, 0.9);
  margin-left: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
}

.live-room-avs span:first-child {
  margin-left: 0;
}

/* Community Circles Visual */
.circles-visual {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.circle-card-mini {
  flex: 1;
  min-width: 120px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 14px;
  text-align: center;
  transition: all 0.25s;
}

.circle-card-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--shadow);
}

.circle-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.circle-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 3px;
}

.circle-members {
  font-size: 0.65rem;
  color: var(--mist);
}

.circle-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  background: rgba(212, 96, 122, 0.1);
  color: var(--rose);
  border: 1px solid rgba(212, 96, 122, 0.2);
}

/* Mood Badges row for anonymous bento */
.mood-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.mood-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 239, 228, 0.6);
  animation: floatBadge var(--dur, 3s) ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-4px)
  }
}

#how-it-works {
  padding: 120px 5%;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

#how-it-works::before {
  content: 'Listen.';
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 20vw;
  font-weight: 900;
  font-style: italic;
  color: rgba(255, 255, 255, 0.025);
  bottom: -4vw;
  right: -2%;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hiw-header {
  text-align: center;
  margin-bottom: 80px;
}

.hiw-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petal);
  margin-bottom: 16px;
}

.hiw-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--cream);
  line-height: 1.1;
}

.hiw-title em {
  font-style: italic;
  color: var(--petal);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 54px;
  left: calc(16.7% + 16px);
  right: calc(16.7% + 16px);
  height: 1px;
  background: linear-gradient(90deg, var(--petal), rgba(242, 196, 206, 0.2), transparent);
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-num-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(242, 196, 206, 0.1);
  border: 1px solid rgba(242, 196, 206, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
  color: var(--petal);
  position: relative;
  z-index: 2;
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(242, 196, 206, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  border: 1px solid rgba(242, 196, 206, 0.15);
}

.step-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-card p {
  color: rgba(245, 239, 228, 0.5);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── TESTIMONIALS ── */
#testimonials {
  padding: 120px 5%;
  background: var(--cream);
}

.testi-header {
  margin-bottom: 60px;
}

.testi-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}

.testi-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  line-height: 1.1;
}

.testi-title em {
  font-style: italic;
  color: var(--rose);
}

.testi-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}

.testi-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testi-card {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px var(--shadow);
}

.testi-card.featured {
  background: var(--charcoal);
}

.testi-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(212, 96, 122, 0.15);
  position: absolute;
  top: 16px;
  left: 28px;
  pointer-events: none;
  user-select: none;
}

.testi-card.featured .testi-quote-mark {
  color: rgba(242, 196, 206, 0.1);
}

.testi-body {
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--charcoal);
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.testi-card.featured .testi-body {
  color: var(--cream);
  font-size: 1.35rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.t-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--charcoal);
}

.testi-card.featured .t-name {
  color: var(--cream);
}

.t-handle {
  font-size: 0.78rem;
  color: var(--mist);
  margin-top: 1px;
}

.testi-card.featured .t-handle {
  color: rgba(245, 239, 228, 0.45);
}

.mood-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 4px 12px;
  background: rgba(212, 96, 122, 0.1);
  color: var(--rose);
  border: 1px solid rgba(212, 96, 122, 0.2);
  flex-shrink: 0;
}

.testi-card.featured .mood-pill {
  background: rgba(242, 196, 206, 0.15);
  color: var(--petal);
  border-color: rgba(242, 196, 206, 0.25);
}

/* ── BETA ── */
#join-beta {
  padding: 120px 5%;
  background: var(--warm);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.beta-left .beta-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 20px;
}

.beta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  line-height: 1.05;
  margin-bottom: 20px;
}

.beta-title em {
  font-style: italic;
  color: var(--rose);
}

.beta-body {
  color: var(--mist);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.beta-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--mist);
}

.trust-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(122, 158, 135, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.beta-right .form-wrap {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 40px 100px var(--shadow);
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.form-sub {
  color: var(--mist);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.form-field {
  margin-bottom: 14px;
  pointer-events: auto;
}

.form-input {
  width: 100%;
  min-height: 48px;
  background: var(--warm);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  color: var(--charcoal);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s;
  cursor: text;
  touch-action: manipulation;
  -webkit-user-select: text;
  user-select: text;
  pointer-events: auto;
}

.form-input::placeholder {
  color: var(--mist);
}

.form-input:focus {
  border-color: var(--rose);
  background: var(--cream);
  box-shadow: 0 0 0 4px rgba(212, 96, 122, 0.08);
}

.form-submit {
  width: 100%;
  background: var(--charcoal);
  color: var(--cream);
  border: none;
  border-radius: 14px;
  padding: 15px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: auto;
  transition: all 0.3s;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  background: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(212, 96, 122, 0.3);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-text {
  font-size: 0.78rem;
  color: var(--mist);
  white-space: nowrap;
}

.social-logins {
  display: flex;
  gap: 10px;
}

.s-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--warm);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 11px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.2s;
  cursor: auto;
}

.s-btn:hover {
  border-color: var(--charcoal);
}

.form-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--mist);
  line-height: 1.5;
}

.form-note span {
  color: var(--rose);
  font-weight: 600;
}

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  padding: 60px 5% 40px;
  color: var(--cream);
  position: relative;
  z-index: 50;
}

footer a,
footer button {
  pointer-events: auto;
  touch-action: manipulation;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .f-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
  display: block;
}

.footer-brand .f-tagline {
  color: rgba(245, 239, 228, 0.45);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 260px;
}

.footer-brand .f-social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.f-social-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 239, 228, 0.5);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s;
}

.f-social-btn:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--cream);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.4);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(245, 239, 228, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 12px;
  transition: color 0.2s;
  pointer-events: auto;
  touch-action: manipulation;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.f-copy {
  color: rgba(245, 239, 228, 0.3);
  font-size: 0.8rem;
}

.f-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 196, 206, 0.08);
  border: 1px solid rgba(242, 196, 206, 0.15);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--petal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.f-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--petal);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.4
  }
}

/* ── PAGE SWITCHING ── */
.page {
  animation: pageIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── SCROLL PERFORMANCE: content-visibility for smoother scroll ── */
section,
.page>section,
#features,
#how-it-works,
#stories,
#join-beta,
#community,
.nf-section,
.hiw-section,
.testi-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-link {
  position: relative;
}

.nav-link.active {
  color: var(--charcoal) !important;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(28, 26, 24, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--rose);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link.active::after {
  width: 16px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-d1 {
  transition-delay: 0.1s;
}

.reveal-d2 {
  transition-delay: 0.2s;
}

.reveal-d3 {
  transition-delay: 0.3s;
}

.reveal-d4 {
  transition-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--charcoal);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.4s;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 60px rgba(28, 26, 24, 0.25);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   ── APP OVERLAY SYSTEM ──
   ============================================================ */
.app-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(28, 26, 24, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.app-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Footer & shared components
   ══════════════════════════════════════════════ */

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 56px 5% 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .f-logo {
    font-size: 1.3rem;
  }

  .f-tagline {
    font-size: 0.82rem;
  }

  .footer-col h4 {
    font-size: 0.7rem;
    margin-bottom: 10px;
  }

  .footer-col a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding-top: 20px;
  }

  .f-social {
    gap: 8px;
  }

  .f-social-btn {
    width: 34px;
    height: 34px;
  }
}