:root {
  --black: #050505;
  --ink: #0a0a0a;
  --panel: #121212;
  --panel-2: #1a1a1a;
  --white: #f5f5f5;
  --muted: #a8a8a8;
  --line: rgba(245, 245, 245, 0.14);
  --red: #ed1c24;
  --blue: #0047a0;
  --font-brand: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 68rem;
  --radius: 0.2rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(90% 50% at 0% 0%, rgba(237, 28, 36, 0.12), transparent 50%),
    radial-gradient(70% 40% at 100% 10%, rgba(0, 71, 160, 0.14), transparent 45%),
    var(--black);
  min-height: 100vh;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--white);
  color: var(--black);
  padding: 0.6rem 0.9rem;
  z-index: 20;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding:
    calc(1rem + env(safe-area-inset-top, 0px))
    clamp(1rem, 4vw, 2.5rem)
    1rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.logo-img {
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-word {
  font-family: var(--font-brand);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  opacity: 0.9;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid rgba(245, 245, 245, 0.45);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
}

.hero-media,
.hero-veil {
  position: absolute;
  inset: 0;
}

.hero-media .hero-video,
.hero-media .hero-poster-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero-media .hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  /* Avoid upscaling blur: keep native pixels sharp under object-fit cover */
  transform: none;
}

.hero-media .hero-poster-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
}

.hero-media.is-playing .hero-poster-fallback {
  opacity: 0;
  pointer-events: none;
}

.hero-veil {
  /* Keep text readable without burying the Seoul footage */
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.28) 0%, rgba(5, 5, 5, 0.12) 38%, rgba(5, 5, 5, 0.62) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.45) 0%, rgba(5, 5, 5, 0.12) 42%, transparent 70%);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 42rem);
  margin: 0 auto 0 clamp(1rem, 4vw, 2.5rem);
  padding: 7rem 0 3.25rem;
  animation: rise 0.85s ease both;
}

.hero-logo {
  width: clamp(4.5rem, 12vw, 7rem);
  height: auto;
  border-radius: 50%;
  margin-bottom: 1rem;
  animation: logo-in 0.9s ease both;
}

.brand {
  margin: 0 0 0.45rem;
  font-family: var(--font-brand);
  font-size: clamp(3.4rem, 12vw, 6.5rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}

.brand::after {
  content: "";
  display: block;
  width: min(12rem, 55%);
  height: 2px;
  margin-top: 0.65rem;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%);
  animation: rule-in 0.8s 0.2s ease both;
}

.hero h1 {
  margin: 0.85rem 0 0.95rem;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 28ch;
}

.lede {
  margin: 0 0 1.5rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-group .btn {
  min-height: 2.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.85rem 1.2rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #c8161d;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(245, 245, 245, 0.4);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--white);
  background: rgba(245, 245, 245, 0.06);
}

.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-brand);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-intro h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}

.section-intro p,
.service p,
.service li,
.lead-form,
.site-footer {
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 2rem;
}

@media (min-width: 820px) {
  .service-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.service {
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--line);
}

.service-kicker {
  margin: 0 0 0.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}

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

.accent-blue {
  color: #5b8fd4;
}

.service h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}

.service ul {
  margin: 1rem 0;
  padding-left: 1.15rem;
}

.service li + li {
  margin-top: 0.4rem;
}

.note {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
}

.testimonials {
  border-bottom: 1px solid var(--line);
}

.review-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .review-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.review-note {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: var(--panel);
  border-top: 3px solid var(--blue);
}

.review-context {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.review-note blockquote {
  margin: 0;
}

.review-excerpt {
  flex: 1;
}

.review-excerpt p {
  margin: 0 0 1.3rem;
  max-width: 32ch;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  font-weight: 500;
}

.review-excerpt cite {
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
}

.review-full {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.review-full summary {
  min-height: 2.75rem;
  padding: 0.8rem 0;
  font-size: 0.95rem;
  cursor: pointer;
  text-underline-offset: 0.2em;
}

.review-full summary:hover {
  text-decoration: underline;
}

.review-full summary:focus-visible,
.reviews-next:focus-visible {
  outline: 2px solid #7eb0ff;
  outline-offset: 4px;
}

.review-full p {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
}

.reviews-next {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1.5rem;
  text-underline-offset: 0.25em;
}

.lead-form {
  display: grid;
  gap: 1.15rem;
  max-width: 40rem;
  padding: 1.25rem 0 0;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  font-weight: 600;
  color: var(--white);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.phone-control select,
.field textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(245, 245, 245, 0.38);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 0.85rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  min-height: 2.75rem;
}

.phone-control {
  display: grid;
  grid-template-columns: auto minmax(10.25rem, 0.95fr) minmax(0, 1.25fr);
  gap: 0;
  align-items: stretch;
}

.country-flag {
  display: grid;
  place-items: center;
  min-width: 3.15rem;
  padding: 0 0.6rem;
  background: var(--panel-2);
  border: 1px solid rgba(245, 245, 245, 0.38);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
}

.country-flag img {
  width: 2rem;
  height: 1.35rem;
  border-radius: 0.08rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(245, 245, 245, 0.18);
}

.phone-control select,
.phone-control input[type="tel"] {
  min-width: 0;
  border-radius: 0;
}

.phone-control select {
  padding-right: 0.45rem;
  border-right: 0;
  color: var(--white);
  appearance: auto;
}

.phone-control input[type="tel"] {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.field-help {
  margin: -0.05rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.field input:focus-visible,
.phone-control select:focus-visible,
.field textarea:focus-visible,
.choice input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.choice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  font-weight: 500;
  cursor: pointer;
  min-height: 2.75rem;
}

.choice input {
  margin-top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  accent-color: var(--red);
}

.form-privacy {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
}

.form-status {
  margin: 0;
  font-weight: 600;
  color: #7eb0ff;
}

.form-status[data-state="error"] {
  color: #ff7a7a;
}

.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  display: grid;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-brand-row {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.footer-brand {
  margin: 0 0 0.25rem;
  font-family: var(--font-brand);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  text-underline-offset: 0.18em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rule-in {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .logo-word {
    font-size: 1.35rem;
  }

  .hero-media .hero-video,
  .hero-media .hero-poster-fallback {
    object-position: center 42%;
  }

  .hero-veil {
    /* Stronger bottom/left veil so muted copy stays readable on bright highway frames */
    background:
      linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.5) 0%,
        rgba(5, 5, 5, 0.28) 32%,
        rgba(5, 5, 5, 0.72) 68%,
        rgba(5, 5, 5, 0.9) 100%
      ),
      linear-gradient(90deg, rgba(5, 5, 5, 0.62) 0%, rgba(5, 5, 5, 0.28) 48%, transparent 78%);
  }

  .hero-copy {
    margin-left: 1rem;
    margin-right: 1rem;
    width: auto;
    max-width: 100%;
    padding: calc(5.25rem + env(safe-area-inset-top, 0px)) 0
      calc(2.75rem + env(safe-area-inset-bottom, 0px));
  }

  /* Header already shows the mark; drop the duplicate to free vertical space */
  .hero-logo {
    display: none;
  }

  .brand {
    font-size: clamp(2.55rem, 13vw, 3.6rem);
  }

  .hero h1 {
    font-size: clamp(1.15rem, 4.2vw, 1.35rem);
    max-width: 22ch;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9);
  }

  .lede {
    color: #d6d6d6;
    font-size: 0.98rem;
    max-width: 34ch;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.95), 0 0 2px rgba(0, 0, 0, 1);
  }

  .brand,
  .hero-logo {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-group .btn {
    width: 100%;
  }

  .section-intro h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .lead-form .btn-primary {
    width: 100%;
  }

  .phone-control {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .phone-control select {
    border-right: 1px solid rgba(245, 245, 245, 0.38);
    border-radius: 0 var(--radius) var(--radius) 0;
  }

  .phone-control input[type="tel"] {
    grid-column: 1 / -1;
    margin-top: 0.55rem;
    border-radius: var(--radius);
  }

  .site-footer {
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Short phones and landscape: keep hero CTAs in the first viewport */
@media (max-height: 700px) {
  .hero-logo {
    display: none;
  }

  .hero-copy {
    padding-top: calc(4.25rem + env(safe-area-inset-top, 0px));
    padding-bottom: 1.5rem;
  }

  .brand {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .hero h1 {
    margin: 0.55rem 0 0.65rem;
  }

  .lede {
    margin-bottom: 1rem;
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-top: calc(3.75rem + env(safe-area-inset-top, 0px));
    padding-bottom: 1.25rem;
    width: min(100% - 2rem, 36rem);
  }

  .brand {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .hero h1 {
    max-width: 36ch;
    font-size: 1.1rem;
  }

  .lede {
    max-width: 48ch;
    margin-bottom: 0.85rem;
  }

  .cta-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta-group .btn {
    width: auto;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media .hero-video {
    display: none !important;
  }

  .hero-media .hero-poster-fallback {
    opacity: 0.72 !important;
  }

  .hero-copy,
  .hero-logo,
  .brand::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
/* Site measurement controls share the footer's dark palette. */
.analytics-privacy {
  grid-column: 1 / -1;
  max-width: 68ch;
  color: var(--muted, #b8b8b8);
  font-size: 0.875rem;
  line-height: 1.6;
}
.analytics-privacy summary { cursor: pointer; }
.analytics-privacy button {
  background: #111;
  color: #f4f4f4;
  border: 1px solid #666;
  padding: 0.625rem 0.875rem;
  font: inherit;
  cursor: pointer;
}
.analytics-privacy button:focus-visible { outline: 2px solid #f4f4f4; outline-offset: 3px; }
