/* JNscale landing pages, shared stylesheet */

:root {
  --ink: #17130d;
  --ink-soft: #4a4336;
  --ink-faint: #8a8172;
  --paper: #faf7f1;
  --paper-deep: #f2ecdf;
  --line: #e4dcc9;
  --gold: #a2761f;
  --gold-deep: #855e12;
  --white: #ffffff;
  --radius: 10px;
  --shadow-card: 0 1px 2px rgba(23, 19, 13, 0.05), 0 12px 32px -16px rgba(23, 19, 13, 0.18);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }

.accent { color: var(--gold); font-style: italic; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

.lede {
  font-size: 1.16rem;
  color: var(--ink-soft);
  max-width: 640px;
}

.section-head { margin-bottom: 56px; }
.section-head .lede { margin-top: 18px; }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 17px 32px;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 28px -14px rgba(23, 19, 13, 0.55);
}

.btn-primary:hover { transform: translateY(-1px); background: #262015; }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 14px 28px -14px rgba(162, 118, 31, 0.6);
}

.btn-gold:hover { transform: translateY(-1px); background: var(--gold-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover { border-color: var(--ink); }

.btn-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand svg { width: 26px; height: 26px; }

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

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:hover { color: var(--ink); }

.nav .btn { padding: 12px 22px; font-size: 0.95rem; }
.nav-links .btn-gold { color: var(--white); }

/* ---------- hero ---------- */

.hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 30px;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 { max-width: 820px; }

.hero .lede { margin-top: 26px; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.hero-stat {
  flex: 1 1 240px;
  padding: 28px 32px;
  border-right: 1px solid var(--line);
}

.hero-stat:last-child { border-right: none; }

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- logos strip ---------- */

.logos {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.logos p {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 26px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 44px;
}

.logo-row span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.logo-row img { height: 30px; width: auto; opacity: 0.75; filter: grayscale(1); }

/* ---------- sections ---------- */

.section { padding: 104px 0; }
.section-tint { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-dark .kicker { color: var(--gold); }
.section-dark .lede { color: #c9c1b0; }

/* ---------- metrics ---------- */

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(250, 247, 241, 0.14);
  border-radius: var(--radius);
  padding: 40px 34px;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 14px;
  font-size: 0.98rem;
  color: #c9c1b0;
  line-height: 1.5;
}

.results-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.result-group {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(250, 247, 241, 0.14);
  border-radius: var(--radius);
  padding: 38px 36px;
}

.result-group h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
}

.result-group .scope {
  margin-top: 8px;
  font-size: 0.93rem;
  color: #8a8172;
  line-height: 1.5;
}

.result-rows {
  margin-top: 30px;
  display: grid;
  gap: 26px;
}

.result-rows strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.result-rows span {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  color: #c9c1b0;
  line-height: 1.5;
}

.ads-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}

.ads-proof figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(250, 247, 241, 0.14);
  border-radius: var(--radius);
  padding: 14px;
}

.ads-proof figcaption {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #c9c1b0;
  margin-bottom: 10px;
}

.ads-proof img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.section-tint .ads-proof { margin: 0 0 24px; }

.section-tint .ads-proof figure {
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.section-tint .ads-proof figcaption { color: var(--ink-soft); }

.section-tint .ads-proof img { border: 1px solid var(--line); }

.partners-line {
  margin-top: 54px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 36px;
}

.partners-line p {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8172;
}

.partners-line span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #c9c1b0;
  letter-spacing: 0.03em;
}

.partners-line img { height: 28px; width: auto; opacity: 0.8; }

/* ---------- services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: var(--shadow-card);
}

.service .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.service h3 { margin: 12px 0 10px; }

.service > p { color: var(--ink-soft); font-size: 0.99rem; }

.service ul {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 11px;
}

.service li {
  position: relative;
  padding-left: 26px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 13px;
  height: 2px;
  background: var(--gold);
}

/* ---------- case studies ---------- */

.cs-statbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  margin-bottom: 60px;
}

.cs-statbar div {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}

.cs-statbar div:last-child { border-right: none; }

.cs-statbar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
}

.cs-statbar span { font-size: 0.86rem; color: var(--ink-soft); }

.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.case:last-of-type { border-bottom: 1px solid var(--line); }

.case-media {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 300px;
  padding: 18px;
  display: grid;
  gap: 16px;
  align-content: center;
}

.case-media figure { margin: 0; }

.case-media figcaption {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 7px;
}

.case-media figure.after figcaption { color: var(--gold-deep); }

.case-media img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--white);
}

.case-media .placeholder {
  padding: 40px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.case-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--paper-deep);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.case-result {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 14px;
}

.case-body p { color: var(--ink-soft); font-size: 1rem; }

.case-body ul {
  list-style: none;
  margin: 20px 0;
  display: grid;
  gap: 10px;
}

.case-body li {
  position: relative;
  padding-left: 28px;
  font-size: 0.97rem;
  font-weight: 500;
}

.case-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.5 11.2 3.3 8l-1.1 1.1 4.3 4.3 7.3-7.3-1.1-1.1z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.5 11.2 3.3 8l-1.1 1.1 4.3 4.3 7.3-7.3-1.1-1.1z"/></svg>') center / contain no-repeat;
}

.case-strategy {
  font-size: 0.93rem;
  color: var(--ink-faint);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

/* ---------- process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-card);
}

.step .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--paper-deep);
  -webkit-text-stroke: 1.2px var(--gold);
  line-height: 1;
}

.step h3 { margin: 18px 0 4px; }

.step .phase {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.step ul {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 11px;
}

.step li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.step li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 13px;
  height: 2px;
  background: var(--gold);
}

/* ---------- deliverables ---------- */

.deliver-list {
  counter-reset: deliver;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.deliver-list li {
  counter-increment: deliver;
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 500;
}

.deliver-list li:last-child { border-bottom: none; }

.deliver-list li::before {
  content: "0" counter(deliver);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  min-width: 34px;
}

/* ---------- marquee ---------- */

.marquee-section { overflow: hidden; padding-bottom: 104px; }

.marquee {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scroll 48s linear infinite;
}

.marquee:hover { animation-play-state: paused; }

.marquee > img {
  height: 240px;
  width: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}

.marquee-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  height: 240px;
  padding: 20px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-sizing: border-box;
}

.marquee-card p {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.marquee-card img {
  width: 660px;
  height: auto;
  display: block;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- booking ---------- */

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.booking-check h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 34px 0 14px;
}

.booking-check ul { list-style: none; display: grid; gap: 12px; }

.booking-check li {
  position: relative;
  padding-left: 30px;
  color: #c9c1b0;
  font-size: 1rem;
}

.booking-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.5 11.2 3.3 8l-1.1 1.1 4.3 4.3 7.3-7.3-1.1-1.1z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.5 11.2 3.3 8l-1.1 1.1 4.3 4.3 7.3-7.3-1.1-1.1z"/></svg>') center / contain no-repeat;
}

.calendly-shell {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 660px;
}

/* ---------- faq ---------- */

.faq-list { display: grid; gap: 14px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 28px 24px;
  color: var(--ink-soft);
  font-size: 0.99rem;
  max-width: 720px;
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: #c9c1b0;
  padding: 72px 0 40px;
}

.footer .brand { color: var(--paper); margin-bottom: 14px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250, 247, 241, 0.12);
}

.footer p { font-size: 0.95rem; }

.footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 16px;
}

.footer ul { list-style: none; display: grid; gap: 10px; }

.footer a { color: #c9c1b0; text-decoration: none; font-size: 0.95rem; }

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

.footer-legal {
  padding-top: 32px;
  font-size: 0.8rem;
  color: #8a8172;
  line-height: 1.7;
}

.footer-legal .copyright { margin-bottom: 16px; }

/* ---------- sticky mobile cta ---------- */

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}

.sticky-cta .btn { width: 100%; }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .metric-grid, .process-grid, .results-split { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .cs-statbar { grid-template-columns: repeat(2, 1fr); }
  .cs-statbar div:nth-child(2) { border-right: none; }
  .cs-statbar div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .case { grid-template-columns: 1fr; gap: 32px; }
  .booking-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 56px; }
  .nav-links li:not(.nav-cta) { display: none; }
  .hero-stats { flex-direction: column; }
  .hero-stat { flex-basis: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .hero-stat:last-child { border-bottom: none; }
  .sticky-cta.on { display: block; }
  .marquee > img { height: 170px; }
  .marquee-card { height: 170px; gap: 10px; padding: 14px 18px; }
  .marquee-card img { width: 460px; }
}

@media (max-width: 420px) {
  .cs-statbar div { padding: 18px 16px; }
  .cs-statbar strong { font-size: 1.5rem; }
}

/* ---------- cookie consent ---------- */

.consent {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 360px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
}

.consent p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 14px; }
.consent a { color: var(--gold-deep); }
.consent-btns { display: flex; gap: 10px; }
.consent .btn { padding: 10px 18px; font-size: 0.9rem; }

/* white-on-transparent logos need inverting on the light strip */
.logo-row img.inv { filter: grayscale(1) invert(0.8); }
