/* Section-specific styles for Aequilibria home */

/* ——— HERO ——— */
.hero {
  padding: 150px 0 60px;
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 20%, color-mix(in oklab, var(--accent) 25%, transparent), transparent 60%);
  z-index: 0;
}
.hero-sun {
  position: absolute; top: 8%; right: -8%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 30%, var(--bg)) 0%, var(--bg) 70%);
  filter: blur(60px);
  opacity: 0.6;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.08); }
}
.hero-grain {
  position: absolute; inset: 0;
  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 baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-ticker { margin-bottom: 20px; }
.hero-title {
  max-width: 18ch;
  font-size: clamp(60px, 9vw, 156px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  position: relative;
  z-index: 2;
}
.hero-title .line {
  display: block;
  overflow: visible;
  padding-bottom: 0.12em;
}
.hero-title .line > em,
.hero-title .line {
  animation: riseIn .9s cubic-bezier(.2,.8,.2,1) both;
}
.hero-title .line:nth-child(1) { animation-delay: .1s; }
.hero-title .line:nth-child(2) { animation-delay: .25s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}
.hero-title em {
  color: var(--accent);
  font-family: var(--serif);
}

.hero-meta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 40px;
  max-width: 1100px;
  margin-top: 40px;
  animation: riseIn 1s ease .5s both;
}
.hero-sub p {
  font-size: clamp(17px, 1.4vw, 22px);
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.45;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.hero-fine {
  color: var(--muted);
  margin-left: 4px;
}

.hero-portrait {
  position: absolute;
  top: 130px; right: 4%;
  width: min(320px, 24vw);
  aspect-ratio: 3/4;
  z-index: 1;
  transform: rotate(2deg);
  animation: riseIn 1.1s ease .3s both;
}
.hero-portrait .img-placeholder {
  width: 100%; height: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
}
.hero-portrait-img {
  width: 100%; height: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}
.hero-portrait-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.55) saturate(1.15) hue-rotate(-8deg) contrast(1.04) brightness(1.02);
}
.hero-portrait-caption {
  display: flex; justify-content: space-between;
  margin-top: 12px; color: var(--muted);
  font-size: 10px;
}
@media (max-width: 1100px) {
  .hero-portrait { display: none; }
}

.audience-switch {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 80px;
  animation: riseIn 1s ease .7s both;
}
.audience-card {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 28px; align-items: center;
  padding: 32px 6%;
  background: var(--bg);
  transition: background .3s;
  cursor: pointer;
}
.audience-card:hover { background: var(--paper); }
.audience-num { color: var(--muted); font-size: 13px; }
.audience-body h3 {
  font-family: var(--sans); font-weight: 500;
  font-size: 20px; letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.audience-body p {
  color: var(--muted); font-size: 14px; line-height: 1.5;
  max-width: 46ch;
}
.audience-arrow {
  font-family: var(--serif); font-size: 32px; color: var(--ink);
  transition: transform .3s;
}
.audience-card:hover .audience-arrow { transform: translateX(8px); color: var(--accent); }

@media (max-width: 800px) {
  .audience-switch { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; }
}

/* ——— PROOF MARQUEE ——— */
.proof-bar {
  padding: 0;
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
[data-palette="night"] .proof-bar { background: #0e0c0a; }
.marquee {
  width: 100%; overflow: hidden;
  padding: 28px 0;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 48px;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 40px);
  padding-right: 48px;
}
.marquee-track .dot-sep { color: var(--accent); font-size: 0.6em; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ——— VALUE STRIP ——— */
.value-strip {
  background: var(--bg);
}
.value-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start;
}
.value-lead { position: sticky; top: 120px; }
.value-lead h2 { margin-top: 20px; max-width: 12ch; }
.value-list {
  display: flex; flex-direction: column;
  gap: 0;
}
.value-item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.value-item:last-child { border-bottom: 1px solid var(--line); }
.value-num {
  font-family: var(--serif); font-size: 48px;
  color: var(--accent); line-height: 1;
}
.value-item h3 {
  font-family: var(--sans); font-weight: 500; font-size: 22px;
  letter-spacing: -0.01em; margin-bottom: 8px;
}
.value-item p {
  color: var(--ink-soft); max-width: 48ch; line-height: 1.55;
}
@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr; gap: 40px; }
  .value-lead { position: static; }
}

/* ——— ABOUT ——— */
.about {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid {
  display: grid; grid-template-columns: 0.9fr 1.4fr;
  gap: 80px; align-items: start;
}
.about-portrait {
  position: sticky; top: 120px;
}
.about-portrait .img-placeholder {
  width: 100%; aspect-ratio: 4/5;
  border-radius: 4px;
}
.about-portrait-img {
  width: 100%; aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-portrait-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.03) saturate(1.05);
}
.about-caption {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 16px; color: var(--muted); font-size: 10px;
}
.about-body h2 {
  margin: 20px 0 32px;
  max-width: 18ch;
}
.about-lede p {
  font-size: 18px; color: var(--ink-soft);
  line-height: 1.6; margin-bottom: 20px;
  max-width: 58ch;
}
.about-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin: 48px 0;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar .mono {
  color: var(--accent); margin-bottom: 10px;
}
.pillar p {
  font-size: 15px; color: var(--ink-soft); line-height: 1.5;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { position: static; max-width: 360px; }
  .about-pillars { grid-template-columns: 1fr; }
}

/* ——— SERVICES ——— */
.services { background: var(--bg); }
.services-head {
  max-width: 800px; margin-bottom: 72px;
}
.services-head h2 { margin: 20px 0 20px; }
.services-sub {
  font-size: 18px; color: var(--ink-soft); max-width: 56ch;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  min-height: 540px;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.service-card.featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.service-card.featured .service-num,
.service-card.featured .service-list li,
.service-card.featured .service-price { color: color-mix(in oklab, var(--bg) 70%, transparent); }
.service-card.featured .service-list li::before { background: var(--accent); }
.service-card.featured .service-cta { color: var(--bg); }
.featured-badge {
  position: absolute; top: -14px; left: 32px;
  background: var(--coral, var(--accent)); color: var(--paper);
  padding: 6px 14px; border-radius: 100px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.service-top { margin-bottom: 24px; }
.service-num { color: var(--muted); margin-bottom: 16px; }
.service-card h3 { font-size: 30px; line-height: 1.1; }
.service-body { flex: 1; }
.service-body p {
  color: var(--ink-soft);
  font-size: 15px; line-height: 1.55;
  margin-bottom: 20px;
}
.service-card.featured .service-body p { color: color-mix(in oklab, var(--bg) 85%, transparent); }
.service-list { list-style: none; padding: 0; margin: 0; }
.service-list li {
  padding: 10px 0 10px 18px; position: relative;
  font-size: 14px; color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.service-card.featured .service-list li { border-color: rgba(255,255,255,0.12); }
.service-list li:first-child { border-top: none; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 17px;
  width: 8px; height: 1px; background: var(--accent);
}
.service-foot {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.service-card.featured .service-foot { border-color: rgba(255,255,255,0.12); }
.service-cta {
  font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.service-cta .arrow { transition: transform .25s; }
.service-cta:hover .arrow { transform: translateX(4px); }
.service-price { font-size: 11px; }

.services-cta {
  margin-top: 40px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 32px 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.services-cta-text .mono { color: var(--accent); display: block; margin-bottom: 4px; }
.services-cta-text p { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-cta { flex-direction: column; gap: 20px; align-items: flex-start; }
}

/* ——— CORPORATE ——— */
.corporate {
  background: var(--ink);
  color: var(--bg);
}
[data-palette="night"] .corporate { background: #0a0807; }
.corporate-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.corporate-left h2 { color: var(--bg); max-width: 12ch; margin: 20px 0 28px; }
.corporate-left em { color: var(--accent); }
.corporate-lede {
  color: color-mix(in oklab, var(--bg) 75%, transparent);
  font-size: 18px; line-height: 1.6;
  max-width: 52ch; margin-bottom: 40px;
}
.corporate-stats {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px; align-items: stretch;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 32px;
}
.stat-sep { width: 1px; background: rgba(255,255,255,0.12); }
.stat-num {
  font-family: var(--serif); font-size: 56px; line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-unit { font-size: 24px; margin-left: 2px; }
.stat-label {
  font-size: 12px; color: color-mix(in oklab, var(--bg) 65%, transparent);
  margin-top: 10px; max-width: 20ch; line-height: 1.4;
}

.corporate-card {
  background: color-mix(in oklab, var(--bg) 6%, var(--ink));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.corp-card-tag {
  color: var(--accent);
  margin-bottom: 16px;
}
.corporate-card h3 {
  color: var(--bg); font-size: 32px; line-height: 1.1;
  margin-bottom: 32px; max-width: 16ch;
}
.corporate-steps {
  list-style: none; padding: 0; margin: 0;
}
.corporate-steps li {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 20px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.corporate-steps li:first-child { border: none; }
.step-num {
  font-family: var(--serif); font-size: 32px;
  color: var(--accent); line-height: 1;
}
.corporate-steps strong {
  display: block; color: var(--bg); font-weight: 500;
  font-size: 16px; margin-bottom: 4px;
}
.corporate-steps span {
  color: color-mix(in oklab, var(--bg) 65%, transparent);
  font-size: 14px; line-height: 1.5;
}

@media (max-width: 900px) {
  .corporate-grid { grid-template-columns: 1fr; gap: 40px; }
  .corporate-stats { grid-template-columns: 1fr; gap: 20px; }
  .stat-sep { height: 1px; width: 100%; }
}

/* ——— TESTIMONIALS ——— */
.testimonials { background: var(--bg-2); }
.testimonials-head { margin-bottom: 60px; max-width: 800px; }
.testimonials-head h2 { margin-top: 20px; }
.testimonials-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.t-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 0;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 380px;
}
.t-card.accent {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.t-quote-mark {
  font-family: var(--serif); font-size: 88px; line-height: 0.5;
  color: var(--accent); margin-bottom: 20px;
}
.t-card.accent .t-quote-mark { color: var(--paper); opacity: 0.6; }
.t-card blockquote {
  margin: 0; padding: 0;
  font-family: var(--serif); font-size: 22px;
  line-height: 1.35; letter-spacing: -0.01em;
  flex: 1;
}
.t-card figcaption {
  display: flex; gap: 14px; align-items: center;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.t-card.accent figcaption { border-color: rgba(255,255,255,0.25); }
.t-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  flex-shrink: 0;
}
.t-avatar.img-placeholder::after { font-size: 18px; font-family: var(--serif); }
.t-name { font-weight: 500; }
.t-role { color: var(--muted); font-size: 10px; margin-top: 2px; }
.t-card.accent .t-role { color: rgba(255,255,255,0.7); }

@media (max-width: 900px) {
  .testimonials-row { grid-template-columns: 1fr; }
}

/* ——— PODCAST ——— */
.podcast { background: var(--bg); }
.podcast-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 80px; align-items: start;
}
.podcast-left h2 { margin: 20px 0 20px; max-width: 14ch; }
.podcast-left em { color: var(--accent); }
.podcast-left p {
  font-size: 18px; color: var(--ink-soft); line-height: 1.55;
  max-width: 44ch; margin-bottom: 28px;
}
.podcast-right {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.episode {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: padding-left .3s;
}
.episode:hover { padding-left: 12px; background: linear-gradient(to right, color-mix(in oklab, var(--accent) 10%, transparent), transparent); }
.ep-cover { width: 80px; height: 80px; border-radius: 6px; }
.ep-cover.img-placeholder::after { font-family: var(--mono); font-size: 10px; }
.ep-num { color: var(--muted); font-size: 10px; margin-bottom: 4px; }
.ep-title { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.ep-meta { color: var(--muted); font-size: 10px; }
.ep-play {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: transform .3s, background .3s;
}
.episode:hover .ep-play { background: var(--accent); transform: scale(1.1); }
@media (max-width: 900px) {
  .podcast-grid { grid-template-columns: 1fr; gap: 40px; }
  .ep-title { font-size: 18px; }
}

/* ——— FAQ ——— */
.faq { background: var(--paper); border-top: 1px solid var(--line); }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 80px; align-items: start;
}
.faq-left { position: sticky; top: 120px; }
.faq-left h2 { margin-top: 20px; }
.faq-right { display: flex; flex-direction: column; }
.faq-right details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq-right details:last-child { border-bottom: 1px solid var(--line); }
.faq-right summary {
  font-family: var(--serif); font-size: 24px; line-height: 1.25;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: start;
  gap: 20px;
}
.faq-right summary::-webkit-details-marker { display: none; }
.faq-right .plus {
  font-family: var(--sans); font-size: 20px; color: var(--accent);
  transition: transform .3s; flex-shrink: 0;
}
.faq-right details[open] .plus { transform: rotate(45deg); }
.faq-right details p {
  margin-top: 14px; color: var(--ink-soft);
  font-size: 16px; line-height: 1.6; max-width: 58ch;
}
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-left { position: static; }
}

/* ——— Brand glyph motifs ——— */
.hero-glyph {
  position: absolute;
  top: 18%; left: -8%;
  width: 520px; height: 520px;
  opacity: 0.22;
  pointer-events: none;
  animation: spin 80s linear infinite;
}
.hero-glyph svg { width: 100%; height: 100%; }
@keyframes spin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}
.hero-portrait { position: absolute; }
.hero-portrait-arc {
  position: absolute;
  inset: -20px -40px -20px -20px;
  z-index: -1;
  opacity: 0.9;
  pointer-events: none;
}
.hero-portrait-arc svg { width: 100%; height: 100%; overflow: visible; }

.book-glyph {
  position: absolute;
  top: 50%; left: 50%;
  width: 780px; height: 780px;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
  animation: spin 140s linear infinite;
}
.book-glyph svg { width: 100%; height: 100%; }

.footer {
  position: relative;
  overflow: hidden;
}
.footer-glyph {
  position: absolute;
  top: 50%; right: -140px;
  transform: translateY(-50%);
  width: 460px; height: 460px;
  opacity: 0.35;
  pointer-events: none;
}
.footer-glyph svg { width: 100%; height: 100%; }
.footer .container { position: relative; z-index: 2; }

/* brand-tinted service card header */
.service-card::before {
  content: "";
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><g stroke='%23c9a24a' stroke-width='3' fill='none'><circle cx='100' cy='100' r='42'/><ellipse cx='100' cy='100' rx='42' ry='22' transform='rotate(45 100 100)'/><ellipse cx='100' cy='100' rx='42' ry='22' transform='rotate(90 100 100)'/><ellipse cx='100' cy='100' rx='42' ry='22' transform='rotate(135 100 100)'/></g></svg>");
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.6;
}
.service-card.featured::before { filter: brightness(1.4); }
.book {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
[data-palette="night"] .book { background: #0a0807; }
.book-inner {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto;
}
.book-inner .eyebrow { color: color-mix(in oklab, var(--bg) 60%, transparent); }
.book-inner .eyebrow::before { background: color-mix(in oklab, var(--bg) 60%, transparent); }
.book-title {
  color: var(--bg);
  font-size: clamp(52px, 8vw, 120px);
  line-height: 1.05; margin: 24px 0;
  padding-bottom: 0.08em;
}
.book-title em { color: var(--accent); }
.book-sub {
  font-size: 20px; color: color-mix(in oklab, var(--bg) 75%, transparent);
  max-width: 54ch; margin: 0 auto 40px;
  line-height: 1.5;
}
.book-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.book-actions .btn-primary {
  background: var(--accent); color: var(--paper);
}
.book-actions .btn-primary:hover { background: var(--paper); color: var(--ink); }
.book-actions .btn-ghost {
  color: var(--bg); border-color: color-mix(in oklab, var(--bg) 40%, transparent);
}
.book-actions .btn-ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.book-trust {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 32px;
  color: color-mix(in oklab, var(--bg) 55%, transparent);
  font-size: 10px;
}
.book-orbit {
  position: absolute; inset: 0; pointer-events: none;
}
.book-orbit .orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 50%, transparent), transparent 70%);
  filter: blur(40px);
}
.book-orbit .orb-1 { width: 500px; height: 500px; top: -10%; left: -10%; animation: drift 18s ease-in-out infinite alternate; }
.book-orbit .orb-2 { width: 400px; height: 400px; bottom: -10%; right: -5%; animation: drift 22s ease-in-out infinite alternate-reverse; }
.book-orbit .orb-3 { width: 300px; height: 300px; top: 30%; right: 25%; opacity: 0.4; animation: drift 26s ease-in-out infinite alternate; }

/* ——— FOOTER ——— */
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-tag { color: rgba(255,255,255,0.7); max-width: 34ch; font-size: 15px; line-height: 1.5; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.newsletter { display: flex; gap: 0; border: 1px solid rgba(255,255,255,0.2); border-radius: 100px; overflow: hidden; max-width: 280px; }
.newsletter input {
  flex: 1; padding: 12px 16px; background: transparent; border: none;
  color: var(--bg); font-family: var(--sans); font-size: 14px;
  outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter button {
  padding: 0 18px; background: var(--accent); color: var(--paper);
  border: none; cursor: pointer; font-size: 14px;
  font-family: var(--sans); font-weight: 500;
  transition: background .2s;
}
.newsletter button:hover { background: var(--paper); color: var(--ink); }
.footer-bottom {
  padding-top: 30px;
  display: flex; justify-content: space-between;
  color: rgba(255,255,255,0.5); font-size: 12px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
