:root {
  --orange: #ff8d40;
  --orange-dark: #ff6700;
  --gradient: linear-gradient(135deg, #ff8d40 0%, #ff6700 100%);
  --dark: #2e2e2e;
  --deep: #1a1a1a;
  --white: #ffffff;
  --gray: #888888;
  --border: #3a3a3a;
  --border-soft: rgba(255, 255, 255, 0.08);
  --surface: rgba(26, 26, 26, 0.92);
  --surface-2: rgba(36, 36, 36, 0.92);
  --font: "owners", system-ui, -apple-system, sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--deep);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--white);
  background-color: var(--dark);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 10% 0%, rgba(255, 141, 64, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 70% 60% at 90% 100%, rgba(255, 103, 0, 0.04) 0%, transparent 70%);
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Ambient floating lights - ported from pre-rewrite backup */
@keyframes ambientDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(2%, 3%) scale(1.05); }
  66% { transform: translate(-2%, 1%) scale(0.98); }
}

.ambient-light {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(100px);
  animation: ambientDrift 25s ease-in-out infinite;
}

.ambient-light--1 {
  width: 600px; height: 600px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(255, 141, 64, 0.06) 0%, transparent 70%);
}

.ambient-light--2 {
  width: 500px; height: 500px;
  bottom: -150px; right: -150px;
  background: radial-gradient(circle, rgba(255, 103, 0, 0.05) 0%, transparent 70%);
  animation-delay: -12s;
}

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

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

main {
  display: block;
}

.page-shell {
  padding-top: 60px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background: var(--gradient);
  color: var(--deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 8px 24px rgba(255,103,0,0.35);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 12px 32px rgba(255,103,0,0.55);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255, 141, 64, 0.42);
}

.hero {
  padding: 92px 0 54px;
  position: relative;
}

/* Hero grid texture overlay - subtle depth */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 141, 64, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 141, 64, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

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

/* Hero text line-by-line animation with gradient accent */
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.7s ease forwards;
}

.hero-line:nth-child(1) { animation-delay: 0.2s; }
.hero-line:nth-child(2) { animation-delay: 0.4s; }
.hero-line:nth-child(3) { animation-delay: 0.6s; }
.hero-line:nth-child(4) { animation-delay: 0.8s; }

.hero-line--gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: center;
}

.hero-copy h1,
.page-lead h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 500;
  max-width: 10.5ch;
}

.hero-copy p,
.page-lead p,
.section-intro p,
.card p,
.footnote,
.founder-copy p,
.qa-item p,
.proof-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-copy .lead,
.page-lead .lead {
  margin-top: 20px;
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-side {
  display: grid;
  gap: 14px;
  align-self: center;
}

.side-card,
.card,
.proof-card,
.quote-card,
.qa-item,
.cta-band,
.local-band,
.audience-fit,
.pillar-card,
.detail-card,
.service-frame {
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 70px -34px rgba(0, 0, 0, 0.72);
}

.side-card {
  padding: 22px;
}

.side-card strong,
.stat-value,
.proof-copy strong,
.detail-card strong {
  color: var(--white);
}

/* 3D Card tilt + glare effect - interactive hover enhancement */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  position: relative;
  overflow: hidden;
}

.card-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 141, 64, 0.12) 0%,
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.card-3d:hover .card-glare {
  opacity: 1;
}

@media (hover: none) {
  .card-3d { transform: none !important; }
  .card-glare { display: none; }
}

/* Radial glow behind side-cards on hover - subtle depth enhancement */
.side-card {
  position: relative;
}

.side-card::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 141, 64, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.side-card:hover::before {
  opacity: 1;
}

.side-card-title,
.section-title,
.proof-copy h2,
.founder-copy h2,
.section-intro h2,
.cta-band h2,
.page-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.stat-list,
.detail-list,
.check-list,
.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stat-list {
  display: grid;
  gap: 10px;
}

.stat-item-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
}

.stat-item-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.section {
  padding: 38px 0 0;
}

.section + .section {
  padding-top: 78px;
}

.audience-fit {
  padding: 22px;
}

.audience-fit-grid,
.pillar-grid,
.detail-grid,
.qa-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.audience-fit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-fit-item {
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.audience-fit-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.audience-fit-item strong,
.pillar-card strong,
.detail-card strong,
.qa-item strong,
.proof-copy strong,
.footer-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--white);
}

.audience-fit-item p,
.pillar-card p,
.detail-card p {
  color: #b8b8b8;
  font-size: 1rem;
  line-height: 1.65;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-intro p {
  max-width: 46rem;
}

.pillars {
  display: grid;
  gap: 18px;
}

.pillar-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-card,
.detail-card,
.qa-item {
  padding: 24px;
}

.pillar-card .kicker,
.detail-card .kicker,
.proof-copy .kicker,
.founder-copy .kicker,
.breadcrumb,
.mini-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.pillar-card h3,
.detail-card h3,
.qa-item h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.pillar-card p,
.detail-card p,
.qa-item p {
  margin-bottom: 18px;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li,
.detail-list li {
  position: relative;
  padding-left: 18px;
  color: #b8b8b8;
  font-size: 0.95rem;
  line-height: 1.65;
}

.check-list li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.proof-card,
.founder-band,
.service-band {
  display: grid;
  gap: 24px;
  padding: 26px;
}

.proof-card {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  align-items: center;
}

.proof-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.proof-media img,
.proof-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-copy .card-link {
  margin-top: 18px;
}

.service-band,
.founder-band {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
  align-items: start;
}

.founder-copy p + p {
  margin-top: 1.25rem;
}

.founder-shift {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 141, 64, 0.42);
}

.founder-media {
  display: flex;
  justify-content: flex-end;
}

.founder-media-card {
  position: relative;
  width: 100%;
  max-width: 252px;
  padding: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 141, 64, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 141, 64, 0.08), rgba(255, 141, 64, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 18px 48px rgba(0, 0, 0, 0.24);
}

.founder-media-quote {
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.4);
}

.founder-media img {
  width: 100%;
  max-width: 228px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.founder-detail-strip {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.qa-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-band {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.cta-band h2 {
  margin-bottom: 0;
}

.cta-band p {
  margin: 0;
  max-width: 48rem;
}

.cta-band .page-actions {
  margin-top: 2px;
}

.breadcrumb {
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.66);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.32);
}

.page-hero {
  padding: 88px 0 38px;
}

.page-lead {
  max-width: 840px;
}

.page-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.06fr) minmax(260px, 0.94fr);
  align-items: start;
}

.page-sidebar {
  display: grid;
  gap: 18px;
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card p:last-child,
.qa-item p:last-child,
.proof-copy p:last-child,
.founder-copy p:last-child {
  margin-bottom: 0;
}

.local-band {
  padding: 22px;
}

.local-band strong {
  display: block;
  margin-bottom: 10px;
}

.footer {
  padding: 72px 0 56px;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.8fr));
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-brandmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-brandmark .logo-icon {
  display: flex;
  color: var(--orange);
}

.footer-brandmark .logo-icon svg {
  width: 32px;
  height: 32px;
}

.footer-link-list {
  display: grid;
  gap: 10px;
}

.footer-link-list a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-link-list a:hover,
.footer-link-list a:focus-visible,
.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--orange);
  outline: none;
}

.footer-meta {
  margin-top: 18px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.56);
}

.footer-meta p {
  margin: 0;
}

.footer-note {
  margin-top: 16px;
  max-width: 50rem;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.65;
}

.visually-soft {
  color: rgba(255, 255, 255, 0.56);
}

@media (max-width: 1080px) {
  .hero-grid,
  .proof-card,
  .service-band,
  .founder-band,
  .page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-lead h1 {
    max-width: none;
  }

  .founder-media img {
    max-width: 228px;
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding-top: 48px;
  }

  .section + .section {
    padding-top: 60px;
  }

  .audience-fit-grid,
  .pillar-grid,
  .detail-grid,
  .qa-grid {
    grid-template-columns: 1fr;
  }

  .proof-card,
  .service-band,
  .founder-band,
  .cta-band,
  .audience-fit,
  .pillar-card,
  .detail-card,
  .qa-item,
  .side-card,
  .proof-card,
  .local-band {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .hero,
  .page-hero {
    padding-top: 76px;
  }

  .hero-copy h1,
  .page-lead h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
    line-height: 0.98;
  }

  .hero-copy .lead,
  .page-lead .lead {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-actions,
  .page-actions {
    flex-direction: column;
  }

  .footer {
    padding: 56px 0 44px;
  }
}
