/* BEEP Design System — light */

:root {
  --bg: #fcfaf7;
  --bg-elevated: #ffffff;
  --bg-subtle: #f3efe8;
  --bg-muted: #ebe6dd;
  --bg1: var(--bg-elevated);
  --bg2: var(--bg-subtle);
  --bg3: var(--bg-muted);
  --text: #2a2722;
  --text-secondary: #524e47;
  --text-muted: #6f6a62;
  --text-faint: #9a948a;
  --light: var(--text);
  --mid: var(--text-secondary);
  --dim: var(--text-muted);
  --muted: var(--text-faint);
  --bright: #1a1814;
  --white: #12100e;
  --heading: var(--white);
  --line: rgba(26, 24, 20, 0.1);
  --line2: rgba(26, 24, 20, 0.16);
  --gold: #8f6f24;
  --gold2: #a8842e;
  --goldd: #c4a24a;
  --goldbg: rgba(143, 111, 36, 0.1);
  --gold-soft: var(--goldbg);
  --nav-bg: rgba(250, 248, 244, 0.92);
  --nav-h: 3.5rem;
  --shadow-sm: 0 2px 12px rgba(26, 24, 20, 0.05);
  --shadow-md: 0 12px 40px rgba(26, 24, 20, 0.08);
  --shadow-lg: 0 28px 72px rgba(26, 24, 20, 0.12);
  --hero-glow: radial-gradient(ellipse 70% 55% at 75% 15%, rgba(168, 132, 46, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 45% at 5% 85%, rgba(168, 132, 46, 0.06), transparent 55%);
  --img-overlay: linear-gradient(180deg, transparent 40%, rgba(18, 16, 14, 0.55) 100%);
  --en: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t1: 0.14s;
  --t2: 0.28s;
  --t3: 0.45s;
  --pad: 5.5rem 0;
  --w: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 12px;
  --radius-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--en);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; transition: color var(--t1); }
a:hover { color: var(--gold2); }
hr { border: none; border-top: 1px solid var(--line); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--pad); }

/* Type */
.lbl {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  font-weight: 500;
}
.hero-h {
  font-size: clamp(2rem, 3vw + 1rem, 3.75rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--heading);
}
.sec-h {
  font-size: clamp(1.45rem, 1.5vw + 0.6rem, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--heading);
  line-height: 1.22;
}
.lead, .htag, .ib p, .about-block p, .page-hero .lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 38rem;
}
/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 600;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  max-width: var(--w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--gutter);
}
.nlogo { display: flex; align-items: center; color: var(--heading); flex-shrink: 0; }
.nlogo svg { height: 20px; width: auto; }
.nlogo svg path { fill: currentColor; }
.nr { display: flex; align-items: center; gap: 1.5rem; }
.nlinks { display: flex; gap: 1.75rem; list-style: none; align-items: center; margin: 0; padding: 0; }
.nlinks a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t1);
}
.nlinks a:hover, .nlinks a.on { color: var(--gold); }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line2);
  background: var(--bg-elevated);
  color: var(--heading);
  transition: border-color var(--t1), background var(--t1);
}
.nav-toggle:hover { border-color: var(--goldd); background: var(--bg-subtle); }
.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}
.nav-toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--t2), opacity var(--t2);
}
.site-nav.is-open .nav-toggle-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.is-open .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav.is-open {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-nav.is-open .nav-toggle {
  position: relative;
  z-index: 3;
  background: var(--bg-elevated);
  border-color: var(--line2);
}
.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  visibility: hidden;
  transition: visibility var(--t2);
}
.nav-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 14, 0.4);
  opacity: 0;
  transition: opacity var(--t2);
}
.nav-menu:not([hidden]) {
  pointer-events: auto;
  visibility: visible;
}
.nav-menu:not([hidden])::before { opacity: 1; }
.nav-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: min(100%, 22rem);
  height: 100%;
  padding:
    calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 1.25rem)
    1.75rem
    calc(2rem + env(safe-area-inset-bottom, 0px));
  background: var(--bg-elevated);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform var(--t2) var(--ease);
}
.nav-menu:not([hidden]) .nav-menu-panel { transform: translateX(0); }
.nlinks-mobile { flex-direction: column; align-items: stretch; gap: 0; }
.nlinks-mobile li { border-bottom: 1px solid var(--line); }
.nlinks-mobile a {
  display: block;
  padding: 1rem 0;
  font-size: 0.9375rem;
}
.nav-menu-cta { width: 100%; justify-content: center; }
body.nav-open {
  overflow: hidden;
  touch-action: none;
}
.hbg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--hero-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--heading);
  color: var(--bg);
  border: 1px solid var(--heading);
  transition: background var(--t1), color var(--t1), transform var(--t1), box-shadow var(--t1);
}
.btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--heading);
  border-color: var(--line2);
}
.btn-outline:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold);
}
.lnk {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Hero */
.home-hero, #hero {
  min-height: min(92vh, 900px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
  padding: 8.5rem var(--gutter) 5rem;
  max-width: var(--w);
  margin: 0 auto;
}
.home-hero--image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: min(88vh, 820px);
  overflow: hidden;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  background: #12100e url("/assets/home-hero.webp") center / cover no-repeat;
}
.home-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 12% 88%, rgba(168, 132, 46, 0.42), transparent 58%),
    radial-gradient(ellipse 50% 40% at 88% 18%, rgba(143, 111, 36, 0.32), transparent 55%),
    radial-gradient(ellipse 45% 38% at 72% 78%, rgba(196, 162, 74, 0.22), transparent 52%),
    radial-gradient(ellipse 60% 50% at 38% 42%, rgba(80, 62, 28, 0.28), transparent 60%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(8, 7, 6, 0.82), transparent 62%),
    radial-gradient(ellipse 80% 55% at 50% 40%, rgba(12, 11, 10, 0.35), rgba(12, 11, 10, 0.68));
  pointer-events: none;
}
.home-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 8rem var(--gutter) 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-hero--image .hey {
  color: var(--goldd);
}
.home-hero--image .hero-h,
.home-hero--image .htitle {
  color: #fff;
}
.home-hero--image .htag {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.82);
}
.home-hero--image .hero-actions {
  justify-content: center;
}
.home-hero--image .btn {
  background: #fff;
  color: var(--heading);
  border-color: #fff;
}
.home-hero--image .btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.home-hero--image .btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.home-hero--image .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}
.hey {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: up 0.7s var(--ease) 0.1s forwards;
}
.htitle { opacity: 0; animation: up 0.85s var(--ease) 0.2s forwards; margin-bottom: 1rem; }
.htag { opacity: 0; animation: up 0.85s var(--ease) 0.32s forwards; margin-bottom: 1.75rem; }
.hfr { opacity: 0; animation: slide-in 0.95s var(--ease) 0.25s forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; opacity: 0; animation: up 0.85s var(--ease) 0.42s forwards; }

/* Images / frames */
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-zoom { cursor: zoom-in; }
.ss,
.media-zoom,
.img-band-item[data-lightbox] {
  cursor: zoom-in;
}
.ss {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
  transition: transform var(--t2) var(--ease), box-shadow var(--t2);
}
.ss:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ss-bar {
  background: var(--bg-subtle);
  padding: 0.5rem 0.85rem;
  display: flex;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line);
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dr { background: #e8a0a0; }
.dy { background: #e8d4a0; }
.dg { background: #a8d4b0; }
.ss-wrap { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-muted); }
.ss-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t3); }
.ss:hover .ss-wrap img { transform: scale(1.02); }

/* Product cards */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.product-card {
  display: grid;
  grid-template-rows: auto auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t2), box-shadow var(--t2), border-color var(--t2);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--goldd);
}
.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--bg-muted);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t3);
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body { padding: 1.75rem; }
.product-card-body h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.product-card-body p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 1rem; }

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.hcard {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t1), box-shadow var(--t1);
}
.hcard:hover { border-color: var(--goldd); box-shadow: var(--shadow-sm); }
.hcard h3 { font-size: 1rem; font-weight: 600; color: var(--heading); }
.hcard p { font-size: 0.9rem; color: var(--text-secondary); flex: 1; line-height: 1.65; }

/* Image band */
.img-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.img-band-item {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--bg-muted);
  cursor: zoom-in;
  transition: transform var(--t2), box-shadow var(--t2), border-color var(--t2);
}
.img-band-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--goldd);
}
.img-band-item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--bg-muted);
  aspect-ratio: 16/10;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-media video {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero-media-fallback {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-placeholder-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 4px;
  border: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split-section.reverse .split-media { order: 2; }
.split-section.reverse .split-copy { order: 1; }
.split-media .media-frame { aspect-ratio: 4/3; }

.section-alt { background: var(--bg-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-elevated { background: var(--bg-elevated); }

.page-hero {
  padding: 9rem var(--gutter) 3.5rem;
  max-width: var(--w);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.page-hero--legal {
  padding-bottom: 2rem;
  border-bottom: none;
}
.page-hero .hero-h { margin-bottom: 1rem; }
.legal-wrap {
  padding: 2.5rem 0 5rem;
  border-top: 1px solid var(--line);
  background: var(--bg-subtle);
}

/* About */
.about-block { padding: var(--pad); }
.about-block p { margin-bottom: 0.85rem; max-width: 40rem; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; max-width: 40rem; }
.about-list li {
  font-size: 1rem;
  color: var(--text-secondary);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.65;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.team-grid--photos { margin-top: 0; }
.team-card {
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.team-card--photo {
  padding: 0;
  overflow: hidden;
  cursor: default;
  transition: transform var(--t2) var(--ease), box-shadow var(--t2), border-color var(--t2);
}
.team-card--photo:hover,
.team-card--photo:focus-within {
  transform: translateY(-5px);
  border-color: var(--goldd);
  box-shadow: var(--shadow-md);
}
.team-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-muted);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.45s var(--ease), transform 0.55s var(--ease);
  transform: scale(1);
}
.team-card--photo:hover .team-photo img,
.team-card--photo:focus-within .team-photo img {
  filter: grayscale(0%);
  transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .team-card--photo:hover,
  .team-card--photo:focus-within { transform: none; }
  .team-card--photo:hover .team-photo img,
  .team-card--photo:focus-within .team-photo img { transform: none; }
}
.team-info { padding: 1.25rem 1.35rem 1.5rem; }
.team-card h3, .team-info h3 { font-size: 1rem; font-weight: 600; color: var(--heading); margin-bottom: 0.25rem; }
.team-card p, .team-info p { font-size: 0.875rem; color: var(--text-muted); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.5rem; }
.why-card {
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.why-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--gold); margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.about-quote {
  text-align: center;
  padding: 5rem var(--gutter);
  max-width: var(--w);
  margin: 0 auto;
}
.about-quote .sec-h { max-width: 36rem; margin: 0 auto 1.25rem; }
.about-mission { text-align: center; padding: 3rem var(--gutter) 5rem; border-top: 1px solid var(--line); }
.about-mission p { max-width: 34rem; margin: 0 auto; color: var(--text-secondary); }

.contact-hero-panel {
  max-width: 36rem;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form-intro {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 36rem;
}
.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-status {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.55;
}
.form-status--success {
  background: var(--gold-soft);
  border: 1px solid var(--goldd);
  color: var(--heading);
}
.form-status--error {
  background: rgba(180, 60, 50, 0.08);
  border: 1px solid rgba(180, 60, 50, 0.25);
  color: #8b3a32;
}
.contact-sidebar-card--highlight {
  background: linear-gradient(165deg, var(--bg-elevated) 0%, var(--bg-subtle) 100%);
  border-color: var(--goldd);
}
.contact-steps {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.contact-steps li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-card {
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t2), box-shadow var(--t2);
}
.contact-card:hover { border-color: var(--goldd); box-shadow: var(--shadow-md); }
.contact-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--heading); margin-bottom: 0.65rem; }
.contact-card p { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 1.25rem; line-height: 1.7; }
.contact-card--primary {
  background: linear-gradient(165deg, var(--bg-elevated) 0%, var(--bg-subtle) 100%);
  border-color: var(--goldd);
}
.contact-page { padding: var(--pad); }
.contact-page .wrap { max-width: var(--w); }
.contact-reasons { padding: var(--pad); }
.contact-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.contact-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-form-panel {
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; gap: 1rem; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  transition: border-color var(--t1), box-shadow var(--t1);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--goldd);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.form-field textarea { resize: vertical; min-height: 7rem; }
.form-note {
  font-size: 0.8125rem;
  color: var(--text-faint);
  line-height: 1.6;
  margin-top: 0.25rem;
}
.form-success {
  padding: 0.85rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--gold-soft);
  border: 1px solid var(--goldd);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--heading);
}
.contact-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-sidebar-card {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-sidebar-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.75rem;
}
.contact-products { padding: var(--pad); border-top: 1px solid var(--line); }
.contact-collab { padding: var(--pad); }
.collab-info-card {
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.collab-info-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.85rem;
}
.collab-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.contact-faq {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--line);
}
.contact-faq .wrap > .lbl { display: block; margin-bottom: 0.5rem; }
.contact-faq .wrap > .sec-h { margin-bottom: 2rem; }
.contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.about-team-block {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.about-team-block .team-grid--photos {
  margin-top: 0;
}
.contact-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.contact-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.contact-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.contact-legal-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-faint);
}

.legal-doc {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.legal-doc .effective {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.legal-doc .lead-legal {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.legal-section { margin-bottom: 2.25rem; padding-bottom: 0.25rem; }
.legal-section:last-of-type { margin-bottom: 0; }
.legal-section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}
.legal-section p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  list-style: none;
  margin: 0.35rem 0 1rem;
  padding: 0;
}
.legal-section li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0.35rem 0 0.35rem 1.1rem;
  position: relative;
}
.legal-section li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.legal-contact {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.ft-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.8rem;
}
.ft-legal-links a { color: var(--text-muted); }
.ft-legal-links a:hover { color: var(--gold); }

/* Engine / feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-tile {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature-tile h3 { font-size: 0.95rem; font-weight: 600; color: var(--heading); margin-bottom: 0.4rem; }
.feature-tile p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

.steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 1.25rem; max-width: 36rem; }
.steps li {
  counter-increment: step;
  padding-left: 3rem;
  position: relative;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* Platform catalog (Studio) */
.sh {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.sh-text .lbl { margin-bottom: 0.5rem; }
.sh-n { font-family: var(--mono); font-size: 0.75rem; color: var(--text-faint); }
#intro { border-top: 1px solid var(--line); }
.ig { display: grid; grid-template-columns: 200px 1fr; gap: 3.5rem; align-items: start; }
.ia { position: sticky; top: 6rem; }
.ia .lbl { padding-top: 0.85rem; border-top: 2px solid var(--gold); }
.ib .sec-h { margin-bottom: 1rem; }
.ifn { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--text-muted); }

#values { background: var(--bg-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vg { display: grid; grid-template-columns: repeat(3, 1fr); }
.vc {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  transition: background var(--t2);
}
.vc:last-child { border-right: none; }
.vc:hover { background: var(--gold-soft); }
.vn { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 0.85rem; }
.vc h3 { font-size: 1rem; font-weight: 600; color: var(--heading); margin-bottom: 0.45rem; }
.vc p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

#modules { background: var(--bg-elevated); }
.mg { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.mc {
  background: var(--bg);
  padding: 2.25rem;
  position: relative;
  transition: background var(--t2);
}
.mc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--gold), transparent);
  transition: height var(--t3);
}
.mc:hover { background: var(--bg-subtle); }
.mc:hover::before { height: 70%; }
.mt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.mc h3 { font-size: 1.05rem; font-weight: 600; color: var(--heading); margin-bottom: 0.55rem; }
.mc p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.cl { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.25rem; }
.cl li { font-size: 0.85rem; color: var(--text-muted); padding-left: 1rem; position: relative; }
.cl li::before { content: '→'; position: absolute; left: 0; color: var(--gold); opacity: 0.7; }

#workflows { background: var(--bg-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wg { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.wc {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--t2), box-shadow var(--t2);
}
.wc:hover { border-color: var(--goldd); box-shadow: var(--shadow-sm); }
.wt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.wc h3 { font-size: 1.05rem; font-weight: 600; color: var(--heading); margin-bottom: 0.85rem; }
.wsteps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 0.55rem; }
.wsteps li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  counter-increment: s;
}
.wsteps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.tg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tc { padding: 1.75rem; border-right: 1px solid var(--line); background: var(--bg-elevated); }
.tc:last-child { border-right: none; }
.tc h3 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.85rem; padding-bottom: 0.65rem; border-bottom: 1px solid var(--line); }
.tl { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.tl li { font-size: 0.875rem; color: var(--text-secondary); padding: 0.35rem 0 0.35rem 0.65rem; border-left: 2px solid var(--line); }

#benefits { background: var(--bg-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bcol { background: var(--bg-elevated); padding: 1.5rem 1.15rem; }
.br { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; padding-bottom: 0.65rem; border-bottom: 1px solid var(--line); }
.bl { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.bl li { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.55; padding-left: 0.55rem; border-left: 2px solid var(--line); }

.st { width: 100%; border-collapse: collapse; }
.st th {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line2);
  font-weight: 500;
}
.st td { padding: 1rem; font-size: 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-secondary); }
.st td:first-child { font-weight: 600; color: var(--heading); white-space: nowrap; }
.st tr:hover td { background: var(--gold-soft); }

#closing {
  text-align: center;
  padding: 6rem var(--gutter);
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
}
.cl-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.cl-logo svg {
  height: 22px;
  width: auto;
  max-width: 140px;
  margin: 0 auto;
  color: var(--heading);
  opacity: 0.85;
}
.cl-logo svg path { fill: currentColor; }
.cl-title { font-size: clamp(1.6rem, 2vw + 0.5rem, 2.75rem); font-weight: 400; color: var(--heading); max-width: 28rem; margin: 0 auto 1.25rem; line-height: 1.2; }
.cl-body { max-width: 32rem; margin: 0 auto; color: var(--text-secondary); font-size: 1rem; line-height: 1.75; }
.cl-meta { margin-top: 1.5rem; font-size: 0.8rem; color: var(--text-faint); font-family: var(--mono); }

/* Footer */
footer.site-ft {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  background: var(--bg-elevated);
}
.ft-inner { display: flex; flex-direction: column; gap: 2.5rem; }
.ft-brand { max-width: 22rem; }
.ft-brand .fl { display: inline-flex; margin-bottom: 1rem; color: var(--heading); }
.fl svg { height: 16px; width: auto; }
.fl svg path { fill: currentColor; }
.ft-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}
.ft-cta {
  display: inline-flex;
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--t1);
}
.ft-cta:hover { color: var(--gold2); }
.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.ft-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ft-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1px solid var(--line);
  background: var(--bg);
  transition: color var(--t1), border-color var(--t1), background var(--t1);
}
.ft-social-link:hover {
  color: var(--gold);
  border-color: var(--goldd);
  background: var(--gold-soft);
}
.ft-icon {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}
.ft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 3rem;
}
.ft-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.ft-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.ft-col a { font-size: 0.9rem; color: var(--text-muted); }
.ft-col a:hover { color: var(--gold); }
.ft-legal { font-size: 0.8rem; color: var(--text-faint); margin: 0; }

/* Lightbox */
body.lbox-open { overflow: hidden; }
#lbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t2);
}
#lbox.open { opacity: 1; pointer-events: auto; }
#lbox-bd {
  position: absolute;
  inset: 0;
  background: rgba(12, 11, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: zoom-out;
}
#lbox-c {
  position: relative;
  z-index: 1;
  max-width: min(94vw, 1120px);
  width: 100%;
  transform: scale(0.96) translateY(8px);
  transition: transform var(--t2);
}
#lbox.open #lbox-c { transform: scale(1) translateY(0); }
#lbox-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  background: var(--bg-elevated);
  width: min(94vw, 1120px);
  aspect-ratio: 8 / 5;
  display: flex;
  flex-direction: column;
}
#lbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.85rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
}
#lbox-bar .lbox-dots { display: flex; gap: 0.35rem; }
#lbox-close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line2);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--t1), border-color var(--t1), background var(--t1);
}
#lbox-close:hover {
  color: var(--heading);
  border-color: var(--goldd);
  background: var(--bg);
}
#lbox-img {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  background: var(--bg-muted);
}

.rev { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.rev.in { opacity: 1; transform: none; }

@keyframes up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

.home-cta { text-align: center; padding: 5rem 0 6rem; }
.home-cta .sec-h { max-width: 34rem; margin: 0 auto 1rem; }
.home-cta p { max-width: 32rem; margin: 0 auto 1.5rem; color: var(--text-secondary); }

@media (max-width: 1024px) {
  .home-hero, #hero, .split-section, .product-showcase { grid-template-columns: 1fr; }
  .home-cards, .feature-grid, .team-grid, .why-grid, .img-band { grid-template-columns: 1fr; }
  .ig { grid-template-columns: 1fr; }
  .ia { position: static; }
  .vg, .tg, .mg, .wg, .bc { grid-template-columns: 1fr; }
  .vc, .tc { border-right: none; border-bottom: 1px solid var(--line); }
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-bar { min-height: var(--nav-h); }
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-split { grid-template-columns: 1fr; }
  .contact-reasons-grid,
  .contact-faq-grid { grid-template-columns: 1fr; }
  .home-hero-inner { padding: 7rem var(--gutter) 4rem; }
}
@media (max-width: 640px) {
  .contact-grid, .product-showcase { grid-template-columns: 1fr; }
  .contact-reasons-grid,
  .contact-faq-grid,
  .contact-split,
  .form-row--2 { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  .legal-doc { padding: 1.75rem 1.25rem 2rem; }
  .page-hero { padding-top: 7.5rem; }
  .contact-form-panel { padding: 1.35rem; }
}
