/* ============================================================
   JSLOGISTICS — Industrial Editorial
   ============================================================ */

:root {
  --cream: #f1ebdd;
  --cream-deep: #e6dfce;
  --ink: #0e0d0b;
  --ink-soft: #1a1815;
  --signal: #e24a1a;
  --signal-dark: #b83a13;
  --steel: #4a4a46;
  --steel-soft: #807d75;
  --rule: rgba(14, 13, 11, 0.18);
  --shadow: 0 30px 60px -25px rgba(14, 13, 11, 0.45);

  --f-display: "Big Shoulders Stencil Display", "Impact", sans-serif;
  --f-serif: "Fraunces", "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --page-pad: clamp(20px, 4vw, 64px);
  --max-w: 1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* paper-grain noise */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(226,74,26,0.04), transparent 40%),
    radial-gradient(circle at 80% 85%, rgba(14,13,11,0.06), transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.055  0 0 0 0 0.051  0 0 0 0 0.043  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: auto, auto, 180px 180px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--signal); color: var(--cream); }

/* ============================================================
   TYPE
   ============================================================ */

.display, h1, h2.display {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.005em;
  font-style: normal;
}

h1 {
  font-size: clamp(60px, 12vw, 220px);
}

h2 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
}

.mono, .kicker, .coords, nav a, .tag {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.serif-lead {
  font-family: var(--f-serif);
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.45;
  font-weight: 400;
  font-style: italic;
  color: var(--steel);
}

/* ============================================================
   LAYOUT
   ============================================================ */

.shell {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

section {
  padding: clamp(60px, 10vw, 140px) 0;
  position: relative;
}

.rule {
  height: 1px;
  background: var(--rule);
  width: 100%;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  background: rgba(241, 235, 221, 0.78);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--page-pad);
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}

.brand .logo-mark {
  width: 40px;
  height: 40px;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
}

.brand-sub {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 3px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.nav a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--signal);
  opacity: 0;
  transition: opacity 0.2s;
}

.nav a:hover::before,
.nav a.is-active::before { opacity: 1; }

.nav a.is-active { color: var(--signal); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav ul {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    padding: 12px var(--page-pad) 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav ul.open {
    max-height: 360px;
  }
  .nav ul li { width: 100%; padding: 14px 0; border-top: 1px dashed var(--rule); }
  .nav ul li:first-child { border-top: none; }
  .nav-toggle { display: inline-block; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: 40px 0 80px;
  position: relative;
}

.hero-coords {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  color: var(--steel);
  margin-bottom: 36px;
}

.hero-coords span { display: inline-flex; align-items: center; gap: 10px; }
.hero-coords span::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--signal);
  display: inline-block;
}

.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.78;
  color: var(--ink);
  letter-spacing: -0.015em;
  position: relative;
}

.hero-headline .accent { color: var(--signal); }
.hero-headline em {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: none;
  font-size: 0.82em;
}

.hero-lower {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(30px, 5vw, 70px);
  align-items: end;
}

.hero-lead {
  max-width: 440px;
}

.hero-lead p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink); }
.hero-lead .kicker { display: block; margin-bottom: 16px; color: var(--signal); }

.hero-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.03);
}

.hero-img-wrap::after {
  content: "MANIFEST · NO. JSLG-2246";
  position: absolute;
  bottom: 14px; left: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--cream);
  background: rgba(14,13,11,0.5);
  padding: 6px 10px;
}

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

/* ============================================================
   SECTION HEADERS (with giant numeral)
   ============================================================ */

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(16px, 3vw, 40px);
  margin-bottom: clamp(32px, 5vw, 70px);
}

.section-num {
  font-family: var(--f-display);
  font-size: clamp(100px, 18vw, 260px);
  line-height: 0.75;
  color: var(--signal);
  margin-top: -0.05em;
}

.section-title {
  padding-top: 0.25em;
}

.section-title .kicker {
  display: block;
  color: var(--signal);
  margin-bottom: 12px;
}

.section-title h2 {
  margin-bottom: 16px;
}

.section-title p {
  max-width: 60ch;
  color: var(--steel);
}

@media (max-width: 640px) {
  .section-head { grid-template-columns: 1fr; }
  .section-num { font-size: 110px; }
}

/* ============================================================
   STAT STRIP
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 40px 0;
}

.stat { padding: 8px 24px 8px 0; position: relative; }
.stat + .stat { border-left: 1px solid var(--rule); padding-left: 24px; }
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(52px, 6vw, 88px);
  line-height: 1;
  color: var(--ink);
  display: block;
}
.stat-num sup { font-size: 0.4em; color: var(--signal); vertical-align: top; margin-left: 6px; }
.stat-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 12px;
  display: block;
}

@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat + .stat { border-left: none; padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--rule); padding-left: 24px; }
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.service {
  background: var(--cream);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-ghost {
  position: absolute;
  top: -30px; right: -10px;
  font-family: var(--f-display);
  font-size: 220px;
  line-height: 0.7;
  color: var(--cream-deep);
  z-index: 0;
  pointer-events: none;
  transition: color 0.4s, transform 0.4s;
}

.service:hover {
  background: var(--ink);
  color: var(--cream);
}
.service:hover .service-ghost { color: var(--signal); transform: translate(-6px, 6px); }
.service:hover .service-meta,
.service:hover .service-title-sub { color: var(--cream); }

.service-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin: -28px -28px 22px;
  position: relative;
  z-index: 1;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transition: transform 0.6s ease;
}
.service:hover .service-img img { transform: scale(1.05); }

.service-body { position: relative; z-index: 1; }

.service-meta {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  transition: color 0.4s;
}

.service-title {
  font-family: var(--f-display);
  font-size: 36px;
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.service-title-sub {
  font-family: var(--f-serif);
  font-size: 14px;
  font-style: italic;
  color: var(--steel);
  transition: color 0.4s;
}

@media (max-width: 1040px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .services { grid-template-columns: 1fr; } }

/* ============================================================
   ROUTE MAP DECORATIVE PANEL
   ============================================================ */

.route-panel {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(40px, 8vw, 100px) var(--page-pad);
  margin: 0 calc(var(--page-pad) * -1);
  position: relative;
  overflow: hidden;
}
.route-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(241,235,221,0.04) 40px 41px);
  pointer-events: none;
}
.route-panel .shell { padding: 0; position: relative; }

.route-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.route-copy .kicker { color: var(--signal); display: block; margin-bottom: 14px; }
.route-copy h2 {
  font-family: var(--f-display);
  font-size: clamp(52px, 8vw, 120px);
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 22px;
}
.route-copy p { color: rgba(241,235,221,0.7); max-width: 40ch; }

.route-map-svg { width: 100%; height: auto; display: block; }
.route-map-svg .land { fill: rgba(241,235,221,0.06); stroke: rgba(241,235,221,0.25); stroke-width: 0.5; }
.route-map-svg .line { fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 4 4; }
.route-map-svg .dot { fill: var(--signal); }
.route-map-svg .label {
  font-family: var(--f-mono);
  font-size: 7px;
  fill: var(--cream);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

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

/* ============================================================
   PRICING TABLE (manifest style)
   ============================================================ */

.manifest {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-mono);
  font-size: 12px;
}
.manifest thead th {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid var(--ink);
  font-weight: 500;
}
.manifest tbody td {
  padding: 20px 16px;
  border-bottom: 1px dashed var(--rule);
  vertical-align: top;
  color: var(--ink);
}
.manifest .code { color: var(--signal); font-weight: 600; }
.manifest .svc {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
}
.manifest .desc { color: var(--steel); font-family: var(--f-mono); font-size: 11px; max-width: 32ch; }
.manifest .price { font-size: 13px; white-space: nowrap; }
.manifest tbody tr:hover td { background: var(--cream-deep); }

@media (max-width: 700px) {
  .manifest thead { display: none; }
  .manifest, .manifest tbody, .manifest tr, .manifest td { display: block; width: 100%; }
  .manifest tbody td { padding: 8px 0; border: none; }
  .manifest tbody tr { padding: 16px 0; border-bottom: 1px dashed var(--rule); }
}

/* ============================================================
   OFFER DETAIL LIST
   ============================================================ */

.offer-list { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.offer-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr auto;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: padding 0.2s;
}
.offer-row:hover { padding-left: 20px; }
.offer-row .num { color: var(--signal); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.2em; }
.offer-row h3 { font-family: var(--f-display); font-size: 34px; text-transform: uppercase; line-height: 0.9; letter-spacing: 0.01em; }
.offer-row h3 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 0.55em; text-transform: none; color: var(--steel); margin-left: 10px; display: inline-block; }
.offer-row p { color: var(--steel); max-width: 55ch; }
.offer-row .chip {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .offer-row { grid-template-columns: auto 1fr; grid-auto-rows: auto; }
  .offer-row p { grid-column: 1 / -1; }
  .offer-row .chip { grid-column: 1 / -1; justify-self: start; }
}

/* ============================================================
   DOWNLOAD CARDS
   ============================================================ */

.downloads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dl {
  display: block;
  border: 1px solid var(--ink);
  padding: 28px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}
.dl::before {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 4px;
  background: var(--signal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.dl:hover { transform: translateY(-4px); background: var(--ink); color: var(--cream); }
.dl:hover::before { transform: scaleX(1); }
.dl:hover .dl-meta { color: var(--cream); opacity: 0.7; }

.dl-format {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--signal);
  color: var(--cream);
  display: inline-block;
  margin-bottom: 28px;
}
.dl-title { font-family: var(--f-display); font-size: 44px; text-transform: uppercase; line-height: 0.9; margin-bottom: 8px; }
.dl-desc { font-family: var(--f-serif); font-style: italic; color: var(--steel); margin-bottom: 24px; }
.dl-meta {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px dashed var(--rule);
  transition: color 0.3s, opacity 0.3s;
}
.dl-arrow { font-size: 20px; font-family: var(--f-serif); font-weight: 600; }

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

/* ============================================================
   GALLERY
   ============================================================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.gallery figure {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.gallery figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.4s;
  filter: saturate(0.95) contrast(1.03);
}
.gallery figure:hover img { transform: scale(1.04); filter: saturate(1.05) contrast(1.05); }
.gallery figcaption {
  position: absolute;
  bottom: 12px; left: 14px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(14,13,11,0.55);
  padding: 6px 10px;
}

.g-a { grid-column: span 7; aspect-ratio: 16/10; }
.g-b { grid-column: span 5; aspect-ratio: 3/4; }
.g-c { grid-column: span 5; aspect-ratio: 4/5; }
.g-d { grid-column: span 7; aspect-ratio: 16/9; }

@media (max-width: 800px) {
  .gallery { grid-template-columns: 1fr; }
  .g-a, .g-b, .g-c, .g-d { grid-column: 1; aspect-ratio: 4/3; }
}

/* ============================================================
   VIDEO BLOCK
   ============================================================ */

.video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink);
  overflow: hidden;
  margin-top: 60px;
  box-shadow: var(--shadow);
}
.video-wrap video,
.video-wrap iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-wrap::after {
  content: "FILM · JSLG-REEL-01";
  position: absolute;
  top: 14px; left: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--cream);
  background: rgba(14,13,11,0.6);
  padding: 6px 10px;
  pointer-events: none;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.contact-block { padding: 0; }
.contact-block .kicker { color: var(--signal); display: block; margin-bottom: 14px; }
.contact-lines { display: grid; gap: 22px; margin-top: 32px; }
.contact-line { display: grid; grid-template-columns: 100px 1fr; align-items: baseline; padding-bottom: 18px; border-bottom: 1px dashed var(--rule); gap: 18px; }
.contact-line .lbl { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel); }
.contact-line .val { font-family: var(--f-serif); font-size: 20px; line-height: 1.35; color: var(--ink); }
.contact-line .val a:hover { color: var(--signal); }

#map {
  width: 100%;
  height: 520px;
  background: var(--ink);
  position: relative;
  box-shadow: var(--shadow);
}

.map-marker-pin {
  width: 36px; height: 36px;
  background: var(--signal);
  border: 3px solid var(--cream);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel); }
.form-grid input, .form-grid textarea {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 10px 0;
  font-family: var(--f-serif);
  font-size: 17px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--signal); }
.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  #map { height: 360px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  border: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, padding-right 0.3s;
}
.btn:hover { background: var(--signal); color: var(--cream); padding-right: 32px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px var(--page-pad) 40px;
  margin-top: 80px;
}
footer .shell { padding: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(241,235,221,0.15);
}
.footer-head {
  font-family: var(--f-display);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--cream);
}
.footer-head em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.6em;
  color: var(--signal);
  text-transform: none;
}
footer h4 { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(241,235,221,0.6); margin-bottom: 18px; font-weight: 500; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; font-family: var(--f-serif); }
footer a:hover { color: var(--signal); }

.footer-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241,235,221,0.5);
  flex-wrap: wrap;
  gap: 14px;
}

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

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(.2,.8,.25,1), transform 0.9s cubic-bezier(.2,.8,.25,1);
}
.reveal.in { opacity: 1; transform: none; }

.hero-headline > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: rise 1.1s cubic-bezier(.2,.8,.25,1) forwards;
}
.hero-headline > span:nth-child(1) { animation-delay: 0.05s; }
.hero-headline > span:nth-child(2) { animation-delay: 0.18s; }
.hero-headline > span:nth-child(3) { animation-delay: 0.31s; }
.hero-headline > span:nth-child(4) { animation-delay: 0.44s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
