/* ════════════════════════════════════════════
   OldTownKid — Hero (looping video + copy)
   ════════════════════════════════════════════ */

.otk-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0A0A0A;
  isolation: isolate;
}

/* ── Looping video background ── */
.otk-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.otk-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Dim so white type stays readable over any footage */
.otk-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.62) 60%, rgba(10,10,10,0.8) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.3) 35%, #0A0A0A 100%);
}

/* ── Content ── */
.otk-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 60rem;
  padding: 130px 24px 90px;
  text-align: center;
}
.otk-hero-logo:empty { display: none; }
.otk-hero-logo img {
  height: clamp(48px, 8vh, 84px);
  width: auto;
  margin: 0 auto 22px;
  display: block;
}

.otk-hero-title {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.92;
  color: #fff;
  font-size: clamp(3rem, 10.5vw, 8rem);
  text-wrap: balance;
}
.otk-hero-sub {
  margin-top: 10px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  color: rgba(255,255,255,0.92);
  font-size: clamp(1.75rem, 6.2vw, 4.5rem);
  text-wrap: balance;
}
.otk-hero-body {
  margin: 30px auto 0;
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.75;
  color: #d4d4d4;
  text-wrap: pretty;
}

/* ── Calls to action ── */
.otk-hero-cta {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 34px;
}
.otk-btn-solid {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 16px 34px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.15s ease;
}
.otk-btn-solid:hover { background: #e8e8e8; }
.otk-btn-solid:active { transform: scale(0.98); }

.otk-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 16px 4px;
}
.otk-btn-ghost span:first-child {
  position: relative;
}
.otk-btn-ghost span:first-child::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.45);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.otk-btn-ghost:hover span:first-child::after {
  background: #D4AF37;
  transform: scaleX(1);
}
.otk-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.otk-btn-ghost:hover .otk-arrow { transform: translateX(6px); }

/* ── Quiet entrance (once, on load) ── */
.otk-hero-inner > * {
  opacity: 0;
  transform: translateY(20px);
  animation: otk-hero-rise 0.85s cubic-bezier(0.22,1,0.36,1) forwards;
}
.otk-hero-title { animation-delay: 0.08s; }
.otk-hero-sub   { animation-delay: 0.18s; }
.otk-hero-body  { animation-delay: 0.28s; }
.otk-hero-cta   { animation-delay: 0.38s; }
@keyframes otk-hero-rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .otk-hero-inner > * { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .otk-hero-inner { padding: 120px 22px 80px; }
  .otk-hero-cta { flex-direction: column; gap: 6px; }
  .otk-btn-solid { width: 100%; justify-content: center; }
}

/* ── Conversion hero additions ── */
.otk-hero-eyebrow {
  font-size: clamp(0.6rem, 1.5vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}
.otk-hl {
  color: #D4AF37;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  white-space: nowrap;
}
.otk-hero-title { font-size: clamp(2.4rem, 7.4vw, 5.6rem); line-height: 0.98; }
.otk-hero-body { margin-top: 26px; max-width: 33rem; font-size: clamp(0.98rem, 1.7vw, 1.12rem); }

/* WhatsApp primary CTA */
.otk-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: #25D366;
  color: #05240f;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 16px 30px;
  min-width: 210px;
  text-decoration: none;
  box-shadow: 0 12px 34px -10px rgba(37,211,102,0.6);
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.25s;
}
.otk-btn-wa:hover { background: #22c35d; transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(37,211,102,0.75); }
.otk-btn-wa:active { transform: scale(0.985); }
.otk-btn-wa svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Gold secondary CTA — identical box metrics to the green button */
.otk-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8cd8b 0%, #c5a880 55%, #b9975f 100%);
  color: #241a06;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 16px 30px;
  min-width: 210px;
  text-decoration: none;
  box-shadow: 0 12px 34px -10px rgba(197,168,128,0.5);
  transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.25s;
}
.otk-btn-gold:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(197,168,128,0.68); }
.otk-btn-gold:active { transform: scale(0.985); }
.otk-btn-gold .otk-arrow { display: inline-block; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1); }
.otk-btn-gold:hover .otk-arrow { transform: translateX(6px); }

.otk-hero-reassure {
  margin-top: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55);
}

/* Trust numbers */
.otk-trust {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 46px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.otk-trust div { display: flex; flex-direction: column; gap: 5px; }
.otk-trust strong {
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.otk-trust span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.otk-clients {
  margin-top: 26px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.85);
}

@media (max-width: 640px) {
  .otk-hero-inner { padding: 110px 20px 130px; }
  .otk-hero-cta { flex-direction: column; gap: 4px; }
  .otk-btn-wa, .otk-btn-gold { width: 100%; justify-content: center; }
  .otk-trust { gap: 12px 26px; margin-top: 34px; }
}

/* ── Floating WhatsApp button (all pages) ── */
.otk-wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25D366;
  color: #05240f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.6), 0 0 0 0 rgba(37,211,102,0.55);
  animation: otk-wa-pulse 2.8s ease-out infinite;
  transition: transform 0.25s ease;
}
.otk-wa-float:hover { transform: scale(1.08); }
.otk-wa-float svg { width: 30px; height: 30px; }
@keyframes otk-wa-pulse {
  0%   { box-shadow: 0 12px 30px -8px rgba(0,0,0,0.6), 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 12px 30px -8px rgba(0,0,0,0.6), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 30px -8px rgba(0,0,0,0.6), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .otk-wa-float { animation: none; } }

/* ── Sticky mobile CTA bar ── */
.otk-sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 85;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  background: rgba(10,10,10,0.93);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.otk-sticky-cta.otk-show { transform: none; }
.otk-sticky-cta .otk-sticky-txt { flex: 1; min-width: 0; }
.otk-sticky-cta .otk-sticky-txt strong { display: block; font-size: 0.8rem; color: #fff; font-weight: 600; }
.otk-sticky-cta .otk-sticky-txt span { display: block; font-size: 0.66rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.otk-sticky-cta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: #05240f;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 20px;
  text-decoration: none;
  white-space: nowrap;
}
.otk-sticky-cta a svg { width: 16px; height: 16px; }
@media (max-width: 820px) {
  .otk-sticky-cta { display: flex; }
  .otk-wa-float { bottom: 84px; width: 50px; height: 50px; }
  .otk-wa-float svg { width: 26px; height: 26px; }
}

/* ── Hero proof card: the transformation, above the fold ── */
.otk-hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
}
@media (min-width: 1000px) {
  .otk-hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 60px; }
  .otk-hero-inner { text-align: left; padding: 120px 0 90px; max-width: none; }
  .otk-hero-body { margin-left: 0; margin-right: 0; }
  .otk-hero-cta { justify-content: flex-start; }
  .otk-trust { justify-content: flex-start; gap: 14px 40px; }
  .otk-hero-title { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
}

.otk-proof {
  margin: 0 0 70px;
  opacity: 0;
  transform: translateY(26px);
  animation: otk-hero-rise 0.9s 0.45s cubic-bezier(0.22,1,0.36,1) forwards;
}
@media (min-width: 1000px) { .otk-proof { margin-bottom: 0; } }

.otk-proof-card {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 62vh;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 90px -25px rgba(0,0,0,0.9);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
}
.otk-proof-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.otk-proof-beforewrap {
  position: absolute; inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0);
}
.otk-proof-line {
  position: absolute; top: 0; bottom: 0;
  left: var(--p, 50%);
  width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, transparent, #D4AF37 25%, #D4AF37 75%, transparent);
  box-shadow: 0 0 18px rgba(212,175,55,0.65);
  z-index: 3;
}
.otk-proof-tag {
  position: absolute; bottom: 14px; z-index: 4;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(0,0,0,0.65);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
}
.otk-proof-tag-b { left: 14px; }
.otk-proof-tag-a { right: 14px; color: #D4AF37; border-color: rgba(212,175,55,0.5); }
.otk-proof-cap {
  margin-top: 14px;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.otk-proof-cap span { color: rgba(212,175,55,0.9); }

@media (max-width: 999px) {
  .otk-proof-card { max-width: 300px; max-height: 46vh; }
  .otk-hero-inner { padding-bottom: 30px; }
}

/* ── Client roster band ── */
.otk-clients-band {
  position: relative;
  z-index: 3;
  background: #0A0A0A;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 34px 0 38px;
  overflow: hidden;
}
.otk-clients-heading {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}
.otk-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.otk-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  animation: otk-marquee 46s linear infinite;
}
.otk-marquee:hover .otk-marquee-track { animation-play-state: paused; }
@keyframes otk-marquee { to { transform: translateX(-50%); } }
.otk-client-name {
  display: inline-flex;
  align-items: center;
  padding: 0 30px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.otk-client-name:hover { color: #D4AF37; }
.otk-client-sep {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: rgba(212,175,55,0.55);
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
  .otk-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}

/* ════════════════════════════════════════════
   Premium finish layer — restraint, not effects
   ════════════════════════════════════════════ */

/* 1. Film grain: reads as cinema, not stock footage.
      Deliberately faint — if you can clearly see it, it's too strong. */
.otk-hero-bg::before {
  content: '';
  position: absolute;
  inset: -60%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: otk-grain 0.7s steps(3) infinite;
  will-change: transform;
}
@keyframes otk-grain {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-1.5%, 1%); }
  66%  { transform: translate(1%, -1.5%); }
  100% { transform: translate(0, 0); }
}

/* 2. Vignette: pulls the eye to the centre so type feels placed, not floated */
.otk-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 78% 68% at 50% 45%, transparent 42%, rgba(0,0,0,0.42) 100%);
}

/* 3. Imperceptible drift — the frame feels alive without anyone noticing why */
.otk-hero-bg video {
  animation: otk-drift 34s ease-in-out infinite alternate;
  transform-origin: 52% 45%;
}
@keyframes otk-drift {
  from { transform: scale(1.015); }
  to   { transform: scale(1.075); }
}

/* 4. Weight in the micro-interactions — where premium actually lives */
.otk-btn-wa,
.otk-btn-solid,
.otk-btn-ghost .otk-arrow,
.otk-client-name,
.otk-proof-card {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.otk-btn-wa { transition-duration: 0.55s; }
.otk-btn-solid { transition-duration: 0.5s; }

/* Light passes across the primary CTA — a slow sweep, once every few seconds */
.otk-btn-wa { position: relative; overflow: hidden; }
.otk-btn-wa::after {
  content: '';
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg);
  animation: otk-sheen 5.5s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
}
@keyframes otk-sheen {
  0%, 62% { left: -70%; }
  86%     { left: 130%; }
  100%    { left: 130%; }
}

/* The proof card lifts fractionally when touched */
.otk-proof-card { transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), box-shadow 0.6s cubic-bezier(0.16,1,0.3,1); }
.otk-proof-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 52px 110px -28px rgba(0,0,0,0.95), 0 0 0 1px rgba(212,175,55,0.22);
}

/* Type settles rather than snapping */
.otk-hero-inner > * { animation-duration: 1.05s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

/* Respect the user, and spare weaker devices */
@media (prefers-reduced-motion: reduce) {
  .otk-hero-bg::before,
  .otk-hero-bg video,
  .otk-btn-wa::after { animation: none; }
}
@media (max-width: 820px) {
  /* grain animation is a real battery cost on phones — keep it static */
  .otk-hero-bg::before { animation: none; opacity: 0.03; }
  .otk-hero-bg video { animation-duration: 48s; }
}

/* ── FAQ (AEO: visible answers, not just schema) ── */
.otk-faq { background: #0A0A0A; padding: 100px 24px; }
.otk-faq-wrap { max-width: 46rem; margin: 0 auto; }
.otk-faq-eyebrow {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.36em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.otk-faq-title {
  margin-top: 16px; font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: #fff;
}
.otk-faq-list { margin-top: 44px; }
.otk-faq-item { border-bottom: 1px solid rgba(255,255,255,0.09); }
.otk-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(0.98rem, 2vw, 1.1rem); font-weight: 500; color: #fff;
  transition: color 0.3s cubic-bezier(0.16,1,0.3,1);
}
.otk-faq-item summary::-webkit-details-marker { display: none; }
.otk-faq-item summary:hover { color: #D4AF37; }
.otk-faq-icon {
  position: relative; flex-shrink: 0; width: 14px; height: 14px;
}
.otk-faq-icon::before, .otk-faq-icon::after {
  content: ''; position: absolute; background: #D4AF37;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.otk-faq-icon::before { top: 6px; left: 0; width: 14px; height: 1.5px; }
.otk-faq-icon::after  { left: 6px; top: 0; width: 1.5px; height: 14px; }
.otk-faq-item[open] .otk-faq-icon::after { transform: rotate(90deg); opacity: 0; }
.otk-faq-a { padding: 0 0 24px; }
.otk-faq-a p {
  margin: 0; max-width: 40rem;
  font-size: 0.95rem; line-height: 1.8; color: #a1a1a1;
}
