/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */

:root {
  --ink: #14160f;
  --paper: #f3f0e4;
  --paper-dim: #e9e5d5;
  --dark: #14160f;
  --dark-2: #1c2016;
  --dark-line: #33372a;

  --green: #3abe82;
  --green-deep: #1f7e52;
  --green-tint: #b7ecd1;
  --green-soft: rgba(58, 190, 130, 0.14);

  --cream-line: rgba(20, 22, 15, 0.12);

  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --wrap: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: var(--dark);
  padding: 10px 16px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--dark);
  box-shadow: 0 10px 28px -12px rgba(58, 190, 130, 0.65);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(58, 190, 130, 0.8);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--cream-line);
}
.btn-ghost:hover {
  background: rgba(20, 22, 15, 0.05);
  transform: translateY(-2px);
}

/* Dark-section contexts need a light-on-dark ghost button instead. */
.cta-banner .btn-ghost {
  color: #f4f2e6;
  border-color: rgba(244, 242, 230, 0.3);
}
.cta-banner .btn-ghost:hover {
  background: rgba(244, 242, 230, 0.08);
}

.btn-lg { padding: 15px 28px; font-size: 1rem; }

.btn-nav { display: inline-flex; }

/* ------------------------------------------------------------------ */
/* Nav                                                                 */
/* ------------------------------------------------------------------ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 240, 228, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand-logo {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(20, 22, 15, 0.72);
}
.nav-links a { transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--cream-line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 28px 22px;
  border-top: 1px solid var(--cream-line);
}
.nav-mobile a {
  padding: 12px 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--cream-line);
}
.nav-mobile .btn { margin-top: 14px; justify-content: center; }
.nav-mobile.open { display: flex; }

/* ------------------------------------------------------------------ */
/* Hero                                                                 */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 120%;
  background-image:
    linear-gradient(to right, rgba(20,22,15,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,22,15,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 20%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 20%, black, transparent 70%);
  z-index: -1;
}

.hero-ghost {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 34vw;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(20, 22, 15, 0.06);
  white-space: nowrap;
  z-index: -1;
  pointer-events: none;
}

.hero-wrap { position: relative; z-index: 1; }

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 22px;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.hs-line {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.hs-sm {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: rgba(20, 22, 15, 0.5);
}

.hs-xl {
  font-size: clamp(4.2rem, 15vw, 11.5rem);
  color: var(--ink);
  margin: -4px 0;
}

.hs-md {
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  font-weight: 800;
}

.hs-md em {
  font-style: italic;
  color: var(--green-deep);
}

.hero-foot {
  margin-top: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--cream-line);
  padding-top: 32px;
}

.ink-green { color: var(--green-deep); }

.hero-sub {
  max-width: 40ch;
  margin: 0;
  font-size: 1.02rem;
  color: rgba(20, 22, 15, 0.66);
  font-weight: 400;
}

.hero-cta-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.hero-cta-note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(20, 22, 15, 0.45);
  max-width: 32ch;
}

/* ------------------------------------------------------------------ */
/* Marquee                                                             */
/* ------------------------------------------------------------------ */

.marquee-strip {
  background: var(--dark);
  color: var(--green-tint);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  align-items: center;
  animation: marquee 48s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  white-space: nowrap;
}

.marquee-track .star { color: var(--green); font-size: 0.7rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

/* ------------------------------------------------------------------ */
/* Section shared                                                      */
/* ------------------------------------------------------------------ */

section { padding: 96px 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  letter-spacing: -0.02em;
  line-height: 1.06;
  max-width: 16ch;
  margin: 0 0 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: rgba(20, 22, 15, 0.65);
  max-width: 52ch;
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Services                                                             */
/* ------------------------------------------------------------------ */

.services { background: var(--dark); color: #f4f2e6; }
.services .eyebrow { color: var(--green); }
.services .section-sub { color: rgba(244, 242, 230, 0.62); }

.service-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 14px;
}

.service-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: 20px;
  padding: 32px 28px 34px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  right: -6px;
  bottom: -34px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 8rem;
  line-height: 1;
  color: rgba(244, 242, 230, 0.045);
  pointer-events: none;
}

.service-card:hover {
  background: #232819;
  border-color: rgba(58, 190, 130, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -18px rgba(58, 190, 130, 0.2);
  z-index: 2;
}
.service-card:hover .service-icon {
  background: var(--green);
  color: var(--dark);
  transform: scale(1.06);
}

.service-card--feature {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: space-between;
  padding: 40px 36px 44px;
}
.service-card--feature h3 { font-size: 2rem; }
.service-card--feature p { max-width: 42ch; font-size: 1.02rem; }
.service-card--feature::before { font-size: 14rem; }

.feature-questions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
}

.feature-questions span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: rgba(244, 242, 230, 0.4);
  letter-spacing: -0.01em;
}
.feature-questions span:nth-child(2) { color: rgba(244, 242, 230, 0.62); padding-left: 24px; }
.feature-questions span:nth-child(3) { color: var(--green); padding-left: 48px; }

.feature-bottom {
  position: relative;
  z-index: 1;
}

.service-card--loop {
  border-style: dashed;
  border-color: rgba(58, 190, 130, 0.45);
  background: var(--green-soft);
}
.service-card--loop:hover { border-style: dashed; }

.service-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(244, 242, 230, 0.35);
  position: relative;
  z-index: 1;
}

.service-icon {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  margin: 18px 0 22px;
  position: relative;
  z-index: 1;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.service-card p {
  margin: 0;
  color: rgba(244, 242, 230, 0.62);
  font-size: 0.96rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------------ */
/* Why it matters                                                       */
/* ------------------------------------------------------------------ */

.why { background: var(--paper); }

.compare-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare-card {
  border-radius: 20px;
  padding: 32px 32px 36px;
}

.compare-card--usual {
  background: var(--paper-dim);
  border: 1px solid var(--cream-line);
}

.compare-card--loop {
  background: var(--dark);
  border: 1px solid var(--dark-line);
  box-shadow: 0 30px 60px -32px rgba(20, 22, 15, 0.35);
}

.compare-label {
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-card--usual .compare-label { color: rgba(20, 22, 15, 0.45); }
.compare-card--loop .compare-label { color: var(--green); }

.compare-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: compare;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compare-card li {
  counter-increment: compare;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  font-size: 1.02rem;
  font-weight: 500;
}

.compare-card li::before {
  content: counter(compare, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  flex-shrink: 0;
}

.compare-card--usual li {
  color: rgba(20, 22, 15, 0.5);
  border-bottom: 1px solid var(--cream-line);
}
.compare-card--usual li:last-child {
  text-decoration: line-through;
  text-decoration-color: rgba(20, 22, 15, 0.3);
}
.compare-card--usual li::before { color: rgba(20, 22, 15, 0.35); }

.compare-card--loop li {
  color: rgba(244, 242, 230, 0.85);
  border-bottom: 1px solid var(--dark-line);
}
.compare-card--loop li:last-child {
  color: var(--green);
  font-weight: 700;
}
.compare-card--loop li::before { color: var(--green); }

.compare-card li:last-child { border-bottom: none; }

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

/* ------------------------------------------------------------------ */
/* Fit                                                                  */
/* ------------------------------------------------------------------ */

.fit {
  background: var(--dark);
  color: #f4f2e6;
}

.fit .eyebrow { color: var(--green); }
.fit .section-title { color: #f4f2e6; }
.fit .section-sub { color: rgba(244, 242, 230, 0.62); }

.fit-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.fit-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: 20px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.fit-card:hover {
  background: #232819;
  border-color: rgba(58, 190, 130, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -18px rgba(58, 190, 130, 0.2);
  z-index: 2;
}

.fit-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #f4f2e6;
}

.fit-check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------------------ */
/* Testimonials                                                        */
/* ------------------------------------------------------------------ */

.testimonials { background: var(--paper); }

.testimonial-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.testimonial-feature {
  margin: 0;
  position: relative;
  background: var(--dark);
  color: #f4f2e6;
  border-radius: 24px;
  padding: 44px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 30px 60px -32px rgba(20, 22, 15, 0.35);
}

.testimonial-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  line-height: 1;
  color: var(--green);
  display: block;
  margin-bottom: 8px;
}

.testimonial-feature blockquote {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.testimonial-feature figcaption,
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.testimonial-feature figcaption strong,
.testimonial-card figcaption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-feature figcaption span,
.testimonial-card figcaption span {
  font-size: 0.82rem;
  color: rgba(244, 242, 230, 0.5);
}

.testimonial-card figcaption span { color: rgba(20, 22, 15, 0.45); }

.testimonial-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-feature .testimonial-avatar {
  background: rgba(244, 242, 230, 0.1);
  color: var(--green);
}

.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card {
  margin: 0;
  background: #fdfcf6;
  border: 1px solid var(--cream-line);
  border-radius: 18px;
  padding: 26px 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 20px 34px -22px rgba(58, 190, 130, 0.4);
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(20, 22, 15, 0.8);
}

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

/* ------------------------------------------------------------------ */
/* CTA banner                                                          */
/* ------------------------------------------------------------------ */

.cta-banner {
  background: var(--dark);
  color: #f4f2e6;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%);
  margin: -24px 0;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,190,130,0.28), transparent 70%);
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(10px);
}

.cta-wrap {
  position: relative;
  text-align: center;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.cta-sub {
  color: rgba(244, 242, 230, 0.65);
  font-size: 1.08rem;
  margin: 0 0 32px;
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                  */
/* ------------------------------------------------------------------ */

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--cream-line);
  padding: 6px 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-family: var(--font-body);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.faq-item[open] summary::after {
  content: "\2212";
  background: var(--green);
  border-color: var(--green);
  color: var(--dark);
}

.faq-answer {
  padding: 0 4px 22px;
  max-width: 68ch;
}
.faq-answer p {
  margin: 0;
  color: rgba(20, 22, 15, 0.68);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* Footer                                                               */
/* ------------------------------------------------------------------ */

.footer {
  background: var(--dark);
  color: #f4f2e6;
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--dark-line);
}

.footer-logo { height: 26px; }

.footer-brand p {
  margin: 16px 0 0;
  color: rgba(244, 242, 230, 0.55);
  max-width: 32ch;
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 242, 230, 0.45);
  margin: 0 0 18px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(244, 242, 230, 0.72);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
  line-height: 1.5;
}
.footer-col a:hover { color: var(--green); }

.footer-icon-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  color: rgba(244, 242, 230, 0.72);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.footer-icon-link svg { width: 18px; height: 18px; }
.footer-icon-link:hover {
  color: var(--green);
  border-color: rgba(58, 190, 130, 0.4);
  background: #232819;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0 30px;
  border-top: 1px solid var(--dark-line);
  font-size: 0.82rem;
  color: rgba(244, 242, 230, 0.45);
}

.footer-bottom .mono {
  font-family: var(--font-mono);
  color: var(--green);
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------------ */
/* Reveal animation                                                    */
/* ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.08s);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

/* ------------------------------------------------------------------ */
/* Press page                                                           */
/* ------------------------------------------------------------------ */

.press-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 70px;
}

.press-title { max-width: 20ch; }

.press-mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.press-video-section { background: var(--dark); color: #f4f2e6; }
.press-video-section .eyebrow { color: var(--green); }

.press-video-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.press-video-card {
  display: block;
  width: 100%;
  padding: 0;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.press-video-card:hover {
  border-color: rgba(58, 190, 130, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -22px rgba(58, 190, 130, 0.35);
}

.press-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.press-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(20, 22, 15, 0.55);
  border: 1.5px solid rgba(244, 242, 230, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4f2e6;
  backdrop-filter: blur(2px);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.press-play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.press-video-card:hover .press-play-btn {
  background: var(--green);
  border-color: var(--green);
  color: var(--dark);
  transform: translate(-50%, -50%) scale(1.08);
}

.press-video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 600;
}
.press-video-caption .press-mono { color: var(--green); font-weight: 500; }

.press-photo-section { background: var(--paper); }

.press-photo-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.press-photo-card {
  display: block;
  width: 100%;
  padding: 0;
  background: #fdfcf6;
  border: 1px solid var(--cream-line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.press-photo-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 20px 34px -22px rgba(58, 190, 130, 0.35);
}

.press-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.press-photo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.press-photo-caption .press-mono { color: rgba(20, 22, 15, 0.45); font-weight: 500; }

.press-cta-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Lightbox */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(20, 22, 15, 0.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }

.lightbox-figure {
  margin: 0;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-figure img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(244, 242, 230, 0.7);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(244, 242, 230, 0.25);
  background: rgba(244, 242, 230, 0.08);
  color: #f4f2e6;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lightbox-close:hover {
  background: var(--green);
  color: var(--dark);
  border-color: var(--green);
}

.lightbox-figure-video { width: min(90vw, 960px); }

.lightbox-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.lightbox-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1024px) {
  .press-video-grid { grid-template-columns: repeat(2, 1fr); }
  .press-photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .press-hero { padding: 100px 0 50px; }
  .press-video-grid { grid-template-columns: 1fr; }
  .press-photo-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .fit-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .hero-ghost { display: none; }
  .hero-foot { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
  section { padding: 70px 0; }
  .hero { padding: 56px 0 46px; }
  .service-grid { grid-template-columns: 1fr; }

  /* Hero: independently tuned mobile scale, not just a smaller vw clamp.
     Goal: headline through primary CTA fits close to one screen. */
  .hero-tag { margin-bottom: 10px; font-size: 0.7rem; }

  .hero-stack { margin-top: 20px; }
  .hs-sm { font-size: 1.5rem; }
  .hs-xl { font-size: 3.9rem; line-height: 0.94; margin: 2px 0; }
  .hs-md { font-size: 2rem; }

  .hero-foot {
    margin-top: 40px;
    padding-top: 0;
    border-top: none;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-sub { font-size: 0.86rem; max-width: none; }

  .hero-ctas { flex-direction: column; width: 100%; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Demote the secondary action to a plain text link so only one
     real button competes for the thumb on first load. */
  .hero-ctas .btn-ghost {
    border: none;
    background: none;
    padding: 6px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: rgba(20, 22, 15, 0.6);
    text-align: center;
  }

  .hero-cta-note { font-size: 0.78rem; text-align: center; }

  /* Loop tiles: the "fill the empty space" question stack in the
     Ideation feature card was a desktop-only device. On a stacked
     single-column mobile grid, every tile should just be a plain
     flex column like the rest. */
  .feature-questions { display: none; }
  .service-card--feature {
    grid-column: span 1;
    grid-row: span 1;
    justify-content: flex-start;
    padding: 32px 28px 34px;
  }
  .service-card--feature h3 { font-size: 1.18rem; }
  .service-card--feature p { max-width: none; font-size: 0.96rem; }
  .service-card--feature::before { font-size: 8rem; }

  .service-card { padding-top: 16px; padding-bottom: 48px; }
  .service-num { display: none; }

  .cta-banner { padding: 100px 0; }

  /* Footer: everything centered on mobile. */
  .footer-top { text-align: center; }
  .footer-brand,
  .footer-col {
    align-items: center;
  }
  .footer-brand .brand-logo {
    display: block;
    margin: 0 auto;
  }
  .footer-brand p { max-width: none; }
  .footer-icon-row { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  /* Sticky nav: the desktop frosted-glass transparency isn't opaque
     enough on mobile and lets scrolled content bleed through. */
  .nav {
    background: var(--paper);
    backdrop-filter: none;
  }
}
