/* ==========================================================================
   Twinetic AI Studio — Site Stylesheet
   Dark charcoal theme, Source Sans 3, lime accent pulled from logo
   ========================================================================== */

:root {
  --charcoal-950: #141414;
  --charcoal-900: #1b1b1b80;
  --bg: #1f1f1f;             /* neutral charcoal base, no green tint */
  --bg-alt: #262626;         /* subtle alternate section shade */
  --bg-card: #2a2a2a;
  --border: #3a3a3a;
  --border-soft: #303030;

  --text-primary: #f4f6ee;
  --text-secondary: #c2c9b6;
  --text-muted: #8d9682;

  --accent: #9fe100;
  --accent-dim: #7fb300;
  --accent-soft: rgba(159, 225, 0, 0.12);
  --accent-soft-border: rgba(159, 225, 0, 0.35);

  --font-sans: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1180px;
  --radius: 12px;
  --radius-sm: 8px;
  --scroll-offset: 90px; /* fallback; set precisely by script.js */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 16px; color: var(--text-secondary); }

.accent { color: var(--accent); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero-inner .eyebrow {
  font-size: 1.56rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-accent {
  background: var(--accent);
  color: #16190f;
}
.btn-accent:hover { background: #b3f200; }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Hero tagline (formerly the top bar) ---------- */
.hero-tagline {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin: -4px 0 16px;
}

/* ---------- Category name emphasis ---------- */
.cat {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: inherit;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(31, 31, 31, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex-shrink: 0;
}
.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}
.brand-logo {
  height: 53px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}
.site-nav a:not(.btn):hover { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
/* ---------- Promo banner (Film It cross-link) — thin pill sized to its
   own text, same treatment as the small accent-soft "FILM IT" tag ---------- */
.promo-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-border);
  border-radius: 999px;
  padding: 6px 16px;
  margin-top: 20px;
  transition: border-color 0.15s ease;
}
.promo-banner:hover { border-color: var(--accent); }
.promo-banner .text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  border-bottom: 1px solid var(--border-soft);
}

/* ---------- Darkened autoplay background video (Film It / Recruitment) ---------- */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: linear-gradient(155deg, #333333, #1b1b1b80 70%);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.72) 0%, rgba(20, 20, 20, 0.82) 100%);
}
.hero.video-hero .hero-inner {
  z-index: 2;
}
.hero.video-hero { padding: 130px 0; }

.hero-motif {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  width: 640px;
  max-width: 60vw;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 620px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 34px;
  margin-bottom: 30px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge::before {
  content: "";
  width: 14px;
  height: 7px;
  background: url('media/Twinetic AI Studio Bullet.png') no-repeat center / contain;
  flex-shrink: 0;
}

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

/* ---------- Dash divider (echoes logo tick marks) ---------- */
.dash-divider {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 40vw;
  padding: 0;
  height: 0;
}
.section-flourish {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 18px;
}

/* ---------- Pace / intro section ---------- */
.pace-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-soft);
}
.pace-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.pace-inner p {
  font-size: 1.05rem;
}

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 34px;
  margin-top: 28px;
}

/* ---------- Section scroll offset (nav-link jump targets) ---------- */
/* Leaves a gap above each section's flourish equal to the flourish's own
   height, instead of it sitting flush under the sticky header. */
#rescue-it, #change-it, #create-it, #build-it, #pricing {
  scroll-margin-top: var(--scroll-offset);
}

/* ---------- Service sections ---------- */
.service-section {
  padding: 39px 0 78px;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.service-index {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.service-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 4px;
}
.service-heading h2 { margin-bottom: 0; }
.service-sub {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
}

.service-tagline {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 36px;
}

.whats-included {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.whats-included h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.whats-included ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.whats-included li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.97rem;
}
.whats-included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 7px;
  background: url('media/Twinetic AI Studio Bullet.png') no-repeat center / contain;
}
.whats-included .service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.service-copy p:last-child { margin-bottom: 0; }
.service-copy .service-faq-q {
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 8px;
}
.service-copy ul {
  padding-left: 20px;
  color: var(--text-secondary);
}
.service-copy li { margin-bottom: 8px; }

.atlanta-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 18px;
}
.atlanta-note p { margin: 0; color: var(--text-primary); font-size: 0.92rem; }
.atlanta-note strong { color: var(--accent); }

/* ---------- Media / video sample row ---------- */
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
.media-row.single {
  display: flex;
  justify-content: center;
}
.media-row.single .video-frame {
  width: calc(50% - 10px);
}
.media-row.triple {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- Film It: price callout ---------- */
.film-price-note {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
  text-align: center;
  margin-top: 8px;
}
.film-price-note .price-tag {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.film-price-note .price-detail { font-size: 0.98rem; color: var(--text-secondary); margin: 0; }

/* ---------- Film It: hero video sample buttons ---------- */
.film-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 10px 0 14px;
}
.film-hero-actions .amp {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 1.1rem;
}
.film-hero-stack {
  margin: 0 0 22px;
}
.film-hero-stack p {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  font-size: 1.3rem;
  margin: 0 0 6px;
}
.film-hero-stack p:last-child { margin-bottom: 0; }
.back-to-ai {
  display: block;
  text-align: center;
  margin-top: 40px;
}

/* ---------- Film It: Why Us list ---------- */
.why-us-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  max-width: 760px;
  margin: 28px auto;
  padding: 0;
}
.why-us-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.98rem;
}
.why-us-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 7px;
  background: url('media/Twinetic AI Studio Bullet.png') no-repeat center / contain;
}
@media (max-width: 640px) {
  .why-us-list { grid-template-columns: 1fr; }
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(155deg, #333333, #1b1b1b80 70%);
  border: 1px solid var(--border);
  min-width: 0;
  width: 100%;
}
.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Video frames: continuous autoplay + click-to-expand ---------- */
.video-frame {
  cursor: pointer;
}
.video-frame:hover,
.video-frame:focus-visible {
  border-color: var(--accent);
  outline: none;
}
.video-frame video {
  background: transparent;
}

.frame-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.05) 0%, rgba(20, 20, 20, 0.05) 55%, rgba(20, 20, 20, 0.78) 100%);
  transition: background 0.2s ease;
}
.video-frame:hover .frame-overlay,
.video-frame:focus-visible .frame-overlay {
  background: rgba(20, 20, 20, 0.55);
}

/* Once a real video file has loaded, drop the placeholder label/file-tag
   and the resting overlay tint — only show a play icon, and only on hover. */
.video-frame.has-video .frame-overlay {
  background: transparent;
}
.video-frame.has-video:hover .frame-overlay,
.video-frame.has-video:focus-visible .frame-overlay {
  background: rgba(20, 20, 20, 0.35);
}
.video-frame.has-video .play-icon {
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.video-frame.has-video:hover .play-icon,
.video-frame.has-video:focus-visible .play-icon {
  opacity: 1;
}
.video-frame.has-video .frame-overlay .label,
.video-frame.has-video .frame-overlay .file-tag {
  display: none;
}

/* Video cards with a persistent title above the frame and an always-visible
   play icon (used on the Senior Living Tours samples). */
.video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.video-card-title {
  text-align: center;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin: 0;
}
.video-frame.has-video.always-play .play-icon {
  opacity: 1;
}

.play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: rgba(20, 20, 20, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.video-frame:hover .play-icon,
.video-frame:focus-visible .play-icon {
  transform: scale(1.08);
}
.play-icon::before {
  content: "";
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--accent);
  margin-left: 3px;
}
.frame-overlay .label {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
  margin: 0;
}
.frame-overlay .file-tag {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-border);
  border-radius: 6px;
  padding: 3px 9px;
  margin: 0;
}

/* ---------- Video lightbox / popup player ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
}
.video-modal.open { display: flex; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.9);
}
.video-modal-inner {
  position: relative;
  z-index: 1;
  width: min(92vw, 1200px);
  max-height: 90vh;
  aspect-ratio: 16 / 9;
}
.video-modal-player {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius);
  background: #000;
  object-fit: contain;
}
.video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal-close:hover { border-color: var(--accent); color: var(--accent); }
body.modal-open { overflow: hidden; }
a.media-frame:hover .file-tag { background: var(--accent); color: #16190f; }

/* ---------- Sample Job Requests dropdown ---------- */
.sample-requests {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 22px;
}
.sample-requests summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.98rem;
}
.sample-requests summary::-webkit-details-marker { display: none; }
.sample-requests summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.sample-requests[open] summary::after { transform: rotate(45deg); }
.sample-requests summary .sr-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sample-requests summary .sr-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-border);
  padding: 3px 9px;
  border-radius: 999px;
}
.sample-requests ul {
  margin: 0;
  padding: 0 0 20px;
  list-style: none;
  border-top: 1px solid var(--border);
}
.sample-requests li {
  padding: 12px 0 12px 26px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-style: italic;
}
.sample-requests li::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--accent);
  font-size: 1.1rem;
  font-style: normal;
}
.sample-requests li + li { border-top: 1px solid var(--border-soft); }

/* ---------- Pricing ---------- */
.pricing-section { padding: 40px 0 80px; border-bottom: 1px solid var(--border-soft); }
.section-intro {
  max-width: 700px;
  font-size: 1.02rem;
  margin-bottom: 44px;
}
.section-intro a { color: var(--accent); font-weight: 700; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.price-card h3 { margin-bottom: 18px; }
.price-card .price-tag {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
}
.price-card .price-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.price-card .btn { margin-top: auto; }

.price-card-feature {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--accent-soft), var(--bg-card) 60%);
}

.pricing-notes {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.pricing-notes h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}
.pricing-notes ul {
  padding-left: 20px;
  margin: 0 0 16px;
  color: var(--text-secondary);
}
.pricing-notes li { margin-bottom: 6px; }
.pricing-notes p:last-child { margin-bottom: 0; font-weight: 600; color: var(--text-primary); }

/* ---------- Bottom CTA ---------- */
.cta-section {
  padding: 35px 0 70px;
  text-align: center;
}
.cta-section h2 { margin-bottom: 12px; }
.cta-section p { max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px 0 24px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.footer-logo { height: 53px; width: auto; border-radius: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { font-size: 0.88rem; color: var(--text-secondary); }
.footer-nav a:hover { color: var(--accent); }
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-contact a { color: var(--text-secondary); font-weight: 600; }
.footer-contact a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* ---------- Contact page ---------- */
.contact-section { padding: 35px 0 90px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 52px;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.contact-info-block h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.form-field label .optional { color: var(--text-muted); font-weight: 400; }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: -6px; }

/* ---------- Thank you page ---------- */
.thanks-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 0;
}
.thanks-icon { width: 64px; margin: 0 auto 26px; }
.thanks-section h1 { margin-bottom: 14px; }
.thanks-section p { max-width: 480px; margin: 0 auto 28px; font-size: 1.05rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .service-layout { grid-template-columns: 1fr; gap: 28px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    gap: 18px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .media-row { grid-template-columns: 1fr; }
  .media-row.single .video-frame { width: 100%; }
  .media-row.triple { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact { align-items: flex-start; }
  .hero-motif { display: none; }
}

/* ==========================================================================
   Watch the Proof — unlisted Hammer & Dash showcase page
   Not linked from any nav; reachable only by direct URL.
   ========================================================================== */
body.proof-page {
  background: #000;
  /* Road-sign yellow with a touch of magenta warmth — overrides the
     Twinetic lime-green accent for this page only. */
  --accent: #FFB627;
  --accent-dim: #E89A0C;
  --accent-soft: rgba(255, 182, 39, 0.14);
  --accent-soft-border: rgba(255, 182, 39, 0.38);
}

/* Corner graphics — locked to the viewport corners at all sizes, including
   on resize and on mobile. Non-interactive so they never block clicks. */
.proof-corner {
  position: fixed;
  width: clamp(384px, 54vw, 780px);
  height: auto;
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}
.proof-corner-tl { top: 16px; left: 16px; }
.proof-corner-tr { top: 16px; right: 16px; }
.proof-corner-bl { bottom: 16px; left: 16px; }
.proof-corner-br { bottom: 16px; right: 16px; }

.proof-hero {
  padding: 8px 0 8px;
  text-align: center;
  position: relative;
  z-index: 5;
}
.proof-logo {
  display: block;
  width: min(210px, 30vw);
  height: auto;
  margin: 0 auto 4px;
  position: relative;
  z-index: 5;
}
.proof-subhead {
  max-width: 620px;
  margin: 0 auto 4px;
  font-size: 1.05rem;
}

.proof-videos {
  padding: 4px 0 24px;
}

/* Investor deck card in the hero, underneath the logo — same tap-to-view
   thumbnail treatment as the Invest page, links back there. Matches the
   exact 10px title-to-frame gap the video cards get from .video-card's
   flex `gap`; this title isn't inside a .video-card, so it needs the same
   spacing set explicitly. */
.proof-hero .video-card-title {
  margin: 4px 0 10px;
}
.proof-deck-thumb {
  display: inline-block;
  width: min(280px, 45vw);
  margin: 0 auto 24px;
}
.proof-videos .media-row {
  margin-bottom: 0;
  /* Always exactly 2 columns (2-over-2 for the 4 cards) — auto-fit could
     land on 3-over-1 at certain widths, which looked lopsided. The two
     columns still shrink fluidly together as the window narrows thanks to
     the min-width:0 fix on .media-frame/.video-card below; only the
     720px breakpoint collapses this to a single column. */
  grid-template-columns: repeat(2, 1fr);
}
/* Show the full, uncropped frame of each proof video instead of the
   site-wide cover-crop — letterboxed on black so nothing gets cut off. */
.proof-videos .media-frame video,
.proof-videos .media-frame img {
  object-fit: contain;
  background: #000;
}

/* Vimeo-hosted placements — fills the same 16:9 frame as the self-hosted
   video cards. Clicking anywhere on the card enlarges it in the same
   lightbox the other two cards use (see script.js). */
.proof-vimeo-frame {
  background: #000;
  cursor: pointer;
}
.proof-vimeo-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Transparent layer on top of the iframe — a cross-origin iframe swallows
   clicks before they ever reach the parent page, so this catches the
   click for the enlarge behavior instead of letting Vimeo's own player
   intercept it. */
.proof-vimeo-catcher {
  position: absolute;
  inset: 0;
  z-index: 1;
}

@media (max-width: 720px) {
  .proof-corner { width: clamp(288px, 108vw, 480px); }
  /* The fixed 2-column grid above needs an explicit collapse here — it
     won't shrink itself down to one column the way auto-fit used to. */
  .proof-videos .media-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Shared small UI reused across the Hammer & Dash pages (Watch the Proof,
   Invest, and the Hammer & Dash contact page). .hnd-logo-row wraps just
   the page's logo so a button can be vertically centered against it
   specifically (not the whole hero) and right-aligned to the same content
   edge as everything else inside .container — e.g. the email field on
   the contact page.
   ========================================================================== */
.hnd-logo-row {
  position: relative;
}
.hnd-topbar-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 50;
  font-weight: 700;
}
.hnd-topbar-btn:hover {
  transform: translateY(-50%);
}

/* ==========================================================================
   Invest — QR-code investor landing page
   Reuses body.proof-page (black bg, road-sign yellow accent, corner
   graphics). Not linked from any nav; reachable only by direct URL / QR.
   ========================================================================== */
.invest-hero {
  padding: 64px 0 80px;
  text-align: center;
  position: relative;
  z-index: 5;
}
.invest-logo {
  display: block;
  /* Half the size of the logo on Watch the Proof (min(420px, 60vw)). */
  width: min(210px, 30vw);
  height: auto;
  margin: 0 auto 20px;
  position: relative;
  z-index: 5;
}
/* Force these onto their own line, full width, one under the other — the
   <a> tags inside are inline-level and would otherwise sit side by side
   if there's room for both. */
.invest-cta-row,
.invest-thumb-row {
  display: block;
  width: 100%;
  text-align: center;
}

.invest-thumb-link {
  display: inline-block;
  position: relative;
  width: min(560px, 90vw);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.invest-thumb-link:hover,
.invest-thumb-link:focus-visible {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.65);
}
.invest-thumb {
  display: block;
  width: 100%;
  height: auto;
}
.invest-thumb-tap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 24px 16px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.78) 100%);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.invest-thumb-link:hover .invest-thumb-tap,
.invest-thumb-link:focus-visible .invest-thumb-tap {
  opacity: 1;
}
.invest-thumb-tap-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.invest-thumb-tap-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Scoped to .proof-page (Watch the Proof, Invest, and the Hammer & Dash
   contact page all carry this class) rather than just .invest-page, so
   every yellow button on any Hammer & Dash page dims to a darker yellow
   on hover instead of falling through to the site-wide green. */
.proof-page .btn-accent:hover {
  background: var(--accent-dim);
}

/* The yellow CTA button now stands in for the old "Investor Presentation"
   text header — sized up a bit and given generous breathing room so it
   reads as a header, not just an in-flow button. */
.invest-cta-header {
  display: inline-flex;
  font-size: 1.05rem;
  padding: 15px 32px;
  margin-bottom: 32px;
}

.invest-secondary {
  margin-top: 52px;
}
.invest-secondary p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.invest-secondary-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.invest-secondary-link:hover {
  text-decoration: underline;
}

/* Moved to the top, right under the logo — tighter spacing than the
   bottom-of-page placement it used to have. */
.invest-secondary-top {
  margin-top: 4px;
  margin-bottom: 28px;
}

@media (max-width: 720px) {
  .invest-hero { padding: 40px 0 56px; }
  .invest-title { margin-bottom: 28px; }
  .invest-thumb-tap { opacity: 1; padding: 16px 12px 12px; }
}

/* ==========================================================================
   Hammer & Dash contact page — simplified version of the main contact
   page, reusing .contact-section/.contact-grid/.form-grid etc. Reuses
   body.proof-page for the black bg + yellow accent.
   ========================================================================== */
.hnd-contact-logo-row {
  text-align: center;
  padding-top: 28px;
  margin-bottom: 24px;
}
.hnd-contact-logo {
  display: inline-block;
  width: min(160px, 26vw);
  height: auto;
}
.hnd-contact-section {
  padding-top: 20px;
  position: relative;
  z-index: 5;
}
.hnd-first-info-block {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
