/* ==========================================================================
   PathoraTrip — Premium Design System
   Palette grounded in the client's own Silk Road photography:
   majolica tilework teal, night-sky ink, desert stone, antique brass.
   ========================================================================== */

:root {
  /* Color tokens */
  --ink: #14161c;
  --ink-soft: #20232c;
  --ink-line: rgba(250, 248, 244, 0.14);
  --stone: #ece7dc;
  --stone-deep: #ddd5c3;
  --paper: #faf8f4;
  --teal: #2c6a67;
  --teal-deep: #1b4644;
  --teal-mist: #e4eded;
  --brass: #b08d57;
  --brass-light: #d9bd8c;
  --brass-dim: #8a6c3f;
  --text-primary: #14161c;
  --text-muted: #5b5f6b;
  --text-inverse: #faf8f4;
  --text-inverse-muted: rgba(250, 248, 244, 0.66);

  /* Type */
  --font-display: "Bodoni Moda", "Times New Roman", serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 60px -25px rgba(20, 22, 28, 0.35);
  --shadow-tight: 0 8px 24px -12px rgba(20, 22, 28, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Utility
   ========================================================================== */

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-dim);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: block;
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--brass-light); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  white-space: nowrap;
}
.btn-brass {
  background: linear-gradient(135deg, var(--brass-light), var(--brass));
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(176, 141, 87, 0.65);
}
.btn-brass:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -14px rgba(176, 141, 87, 0.8);
}
.btn-ghost {
  background: transparent;
  color: var(--text-inverse);
  border-color: var(--ink-line);
}
.btn-ghost:hover {
  border-color: var(--text-inverse);
  transform: translateY(-2px);
}
.btn-outline-ink {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20, 22, 28, 0.2);
}
.btn-outline-ink:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.star8 { width: 100%; height: 100%; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.975);
  filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ==========================================================================
   Navigation
   ========================================================================== */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
#nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#nav.is-scrolled {
  padding: 14px 0;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(20, 22, 28, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--text-inverse);
  transition: color 0.5s ease;
}
#nav.is-scrolled .nav-brand-text { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-inverse-muted);
  transition: color 0.35s ease;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transition: right 0.4s var(--ease);
}
.nav-links a:hover { color: var(--text-inverse); }
.nav-links a:hover::after { right: 0; }
.nav-links a.nav-cta::after { display: none; }
#nav.is-scrolled .nav-links a { color: var(--text-muted); }
#nav.is-scrolled .nav-links a:hover { color: var(--ink); }

.nav-links a.nav-cta {
  padding: 14px 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text-inverse);
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
#nav.is-scrolled .nav-toggle span { background: var(--ink); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  top: -8%;
  left: 0;
  right: 0;
  bottom: -8%;
  will-change: transform;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroKen 22s ease-in-out infinite alternate;
}
@keyframes heroKen {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to { transform: scale(1.16) translate3d(-1.2%, -1%, 0); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,22,28,0.55) 0%, rgba(20,22,28,0.18) 32%, rgba(20,22,28,0.35) 68%, rgba(20,22,28,0.92) 100%);
}
.hero-ornament-wrap {
  position: absolute;
  top: 18%;
  right: 6%;
  width: 130px;
  height: 130px;
  will-change: transform;
}
.hero-ornament {
  width: 100%;
  height: 100%;
  color: var(--brass-light);
  opacity: 0.55;
  animation: spinSlow 60s linear infinite;
}
.hero-ornament path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawStar 2.6s var(--ease) 0.4s forwards;
}
@keyframes drawStar { to { stroke-dashoffset: 0; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) 96px;
  max-width: var(--container);
  margin: 0 auto;
  color: var(--text-inverse);
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-content .breadcrumbs,
.hero-content .eyebrow,
.hero-content .hero-title,
.hero-content .hero-sub,
.hero-content .hero-actions {
  opacity: 0;
  animation: heroRise 1.1s var(--ease) forwards;
}
.hero-content .breadcrumbs { animation-delay: 0.05s; }
.hero-content .eyebrow { animation-delay: 0.22s; }
.hero-content .hero-title { animation-delay: 0.42s; }
.hero-content .hero-sub { animation-delay: 0.68s; }
.hero-content .hero-actions { animation-delay: 0.9s; }
@media (prefers-reduced-motion: reduce) {
  .hero-content .breadcrumbs, .hero-content .eyebrow, .hero-content .hero-title,
  .hero-content .hero-sub, .hero-content .hero-actions { animation: none; opacity: 1; }
}
.hero-content .eyebrow { margin-bottom: 22px; color: var(--brass-light); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 16ch;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-light);
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--text-inverse-muted);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-inverse-muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll-cue .line {
  width: 1px;
  height: 46px;
  background: var(--ink-line);
  position: relative;
  overflow: hidden;
}
.hero-scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 100%;
  background: var(--brass-light);
  animation: scrollCue 2.4s var(--ease) infinite;
}
@keyframes scrollCue {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ==========================================================================
   Marquee strip
   ========================================================================== */

.marquee-strip {
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  padding: 20px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--text-inverse-muted);
  padding: 0 34px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 34px;
}
.marquee-track span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  display: block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Manifesto
   ========================================================================== */

.manifesto {
  padding: clamp(90px, 12vw, 160px) 0;
  background: var(--paper);
}
.manifesto .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.manifesto-lead {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.3;
  color: var(--ink);
  font-weight: 500;
}
.manifesto-side { padding-top: 12px; }
.manifesto-side p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px;
  margin-top: 8px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--teal);
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Featured journeys — asymmetric bento
   ========================================================================== */

.journeys {
  padding: clamp(60px, 8vw, 100px) 0 clamp(100px, 10vw, 140px);
  background: var(--paper);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  color: var(--ink);
  margin-top: 14px;
  max-width: 14ch;
}
.section-head .lede {
  max-width: 34ch;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 6px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 140px;
  gap: 20px;
}
.j-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text-inverse);
  box-shadow: var(--shadow-tight);
  grid-column: span 2;
  grid-row: span 3;
}
.j-card.large { grid-column: span 4; grid-row: span 3; }
.j-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.j-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,22,28,0) 40%, rgba(20,22,28,0.86) 100%);
  z-index: 1;
  transition: opacity 0.4s ease;
}
.j-card:hover img { transform: scale(1.08); }
.j-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 26px;
}
.j-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 8px;
  display: block;
}
.j-card h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 10px;
}
.j-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.j-price { font-size: 13px; color: var(--text-inverse-muted); }
.j-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250,248,244,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.35s ease, transform 0.35s var(--ease), border-color 0.35s ease;
}
.j-card:hover .j-arrow {
  background: var(--brass);
  border-color: var(--brass);
  transform: rotate(45deg);
}

/* ==========================================================================
   Editorial value panels
   ========================================================================== */

.why {
  background: var(--ink);
  color: var(--text-inverse);
  padding: clamp(90px, 10vw, 140px) 0;
}
.why .section-head h2 { color: var(--text-inverse); }
.why .section-head .lede { color: var(--text-inverse-muted); }

.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--ink-line);
}
.panel:last-child { border-bottom: 1px solid var(--ink-line); }
.panel-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.panel-media img { width: 100%; height: 100%; object-fit: cover; }
.panel-text .eyebrow { margin-bottom: 18px; }
.panel-text h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  margin-bottom: 18px;
}
.panel-text p {
  color: var(--text-inverse-muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 46ch;
}
.panel.reverse { grid-template-columns: 1fr 1fr; }
.panel.reverse .panel-media { order: 2; }
.panel.reverse .panel-text { order: 1; }

/* ==========================================================================
   Gallery teaser
   ========================================================================== */

.gallery-teaser {
  position: relative;
  padding: clamp(90px, 10vw, 140px) 0;
  background: var(--stone);
  overflow: hidden;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.mosaic a {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.mosaic a:nth-child(2) { aspect-ratio: 3/4; margin-top: 40px; }
.mosaic a:nth-child(3) { margin-top: -20px; }
.mosaic a:nth-child(4) { margin-top: 20px; }
.mosaic img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.mosaic a:hover img { transform: scale(1.06); }
.mosaic a::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(20,22,28,0.12);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.mosaic a:hover::after { opacity: 1; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  padding: clamp(90px, 10vw, 140px) 0;
  background: var(--paper);
}
.t-shell {
  max-width: 760px;
  margin: 56px auto 0;
  text-align: center;
  position: relative;
}
.t-quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  color: var(--teal-mist, var(--stone));
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  user-select: none;
}
.t-slide {
  display: none;
  position: relative;
  z-index: 1;
}
.t-slide.is-active { display: block; animation: fadeUp 0.7s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.t-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.5;
  color: var(--ink);
}
.t-name {
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.t-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.t-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--stone-deep);
  transition: background 0.3s ease, transform 0.3s ease;
}
.t-dots button.is-active { background: var(--brass); transform: scale(1.3); }

.trust-bar {
  margin-top: 90px;
  padding-top: 56px;
  border-top: 1px solid rgba(20,22,28,0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-bar .stat-num { font-size: 30px; }
.trust-bar .stat-label { font-size: 12px; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section { padding: clamp(60px, 8vw, 100px) 0 clamp(90px, 10vw, 140px); background: var(--paper); }
.faq-list { max-width: 820px; margin: 50px auto 0; }
.faq-item {
  border-top: 1px solid rgba(20,22,28,0.12);
}
.faq-item:last-child { border-bottom: 1px solid rgba(20,22,28,0.12); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 4px;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--ink);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(20,22,28,0.2);
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s ease;
}
.faq-q .plus::before { left: 9px; right: 9px; top: 14px; height: 1px; }
.faq-q .plus::after { top: 9px; bottom: 9px; left: 14px; width: 1px; }
.faq-item.is-open .plus { transform: rotate(135deg); border-color: var(--brass); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a p {
  padding: 0 4px 28px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 60ch;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  position: relative;
  padding: clamp(120px, 16vw, 220px) 0;
  background: var(--ink);
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(44,106,103,0.35), transparent 60%);
  animation: ctaGlow 9s ease-in-out infinite;
  transform-origin: 50% 20%;
}
@keyframes ctaGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.12); }
}
.final-cta::after {
  content: "";
  position: absolute;
  top: 14%;
  right: 9%;
  width: 84px;
  height: 84px;
  background: var(--brass-light);
  opacity: 0.16;
  clip-path: polygon(50% 5%, 81.8% 81.8%, 5% 50%, 81.8% 18.2%, 50% 95%, 18.2% 18.2%, 95% 50%, 18.2% 81.8%);
  animation: spinSlow 55s linear infinite;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .final-cta::before { animation: none; }
  .final-cta::after { animation: none; }
}
.final-cta .wrap { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 500;
  color: var(--text-inverse);
  max-width: 18ch;
  margin: 20px auto 0;
  line-height: 1.15;
}
.final-cta p {
  margin: 24px auto 0;
  max-width: 48ch;
  color: var(--text-inverse-muted);
  font-size: 16px;
  line-height: 1.7;
}
.final-cta .hero-actions { justify-content: center; margin-top: 44px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink-soft);
  color: var(--text-inverse-muted);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--ink-line);
}
.footer-brand .nav-brand-text { color: var(--text-inverse); font-size: 22px; }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.7; max-width: 32ch; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-inverse);
  margin-bottom: 18px;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text-inverse-muted);
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--brass-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--ink-line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.footer-socials a:hover { border-color: var(--brass); color: var(--brass-light); }
.footer-socials svg { width: 15px; height: 15px; fill: currentColor; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .manifesto .wrap { grid-template-columns: 1fr; }
  .panel, .panel.reverse { grid-template-columns: 1fr; }
  .panel.reverse .panel-media, .panel.reverse .panel-text { order: initial; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 760px) {
  .nav-links { position: fixed; top: 0; right: -100%; width: min(320px, 82vw); height: 100svh;
    background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: 100px 32px 40px; gap: 26px; transition: right 0.5s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,0.15); }
  .nav-links.is-open { right: 0; }
  .nav-links a { color: var(--ink); font-size: 18px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav-toggle.is-open span { background: var(--ink); }

  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .j-card, .j-card.large { grid-column: span 2; grid-row: span 3; }

  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic a:nth-child(n) { margin-top: 0 !important; }

  .manifesto-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

@media (max-width: 480px) {
  .hero-scroll-cue { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
}
