/* Victor — landing page
   Desktop 1280+ · Tablet 768–1279 · Mobile up to 767 */

:root {
  --bg: #07090b;
  --surf: #111510;
  --surf-2: #171c15;
  --foot: #0b0e0a;
  --line: #262d22;
  --lime: #cdf000;
  --lime-edge: #cfef00;
  --white: #ffffff;
  --muted: #a3a99e;
  --dim: #6b7266;
  --on-lime: #2a3200;

  --display: "Tektur", "Noto Sans KR", system-ui, sans-serif;
  --body: "Inter", "Noto Sans KR", system-ui, sans-serif;

  --content: 1200px;
  --gutter: 120px;
  --header-h: 82px;
  --catbar-h: 62px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
body.no-scroll { overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--bg); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--content) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.eyebrow {
  font-family: var(--display); font-weight: 500; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime);
}
.h2 {
  font-family: var(--display); font-weight: 700; font-size: 52px;
  line-height: 1; text-transform: uppercase; color: var(--white);
}
.lead { font-size: 18px; color: var(--muted); }
.icon { width: 100%; height: 100%; display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4;
  padding: 14px 28px; border: 1.5px solid transparent; white-space: nowrap;
  transition: box-shadow .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn-primary { background: var(--lime); color: var(--bg); box-shadow: 0 0 26px rgba(205, 240, 0, .55); }
.btn-primary:hover { box-shadow: 0 0 38px rgba(205, 240, 0, .8); }
.btn-outline { border-color: var(--lime); color: var(--lime); }
.btn-outline:hover { background: rgba(205, 240, 0, .1); box-shadow: 0 0 20px rgba(205, 240, 0, .25); }
.btn-dark { background: var(--bg); color: var(--lime); }
.btn-dark:hover { background: #000; }
.btn-sm { padding: 9px 20px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 11, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
  max-width: calc(var(--content) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
}
.logo img { width: 148px; height: auto; }
.nav { display: flex; align-items: center; gap: 40px; margin-left: auto; margin-right: 40px; }
.nav-link { font-weight: 500; font-size: 16px; color: var(--muted); transition: color .2s; }
.nav-link:hover { color: var(--white); }
.nav-link.is-active { color: var(--lime); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 40px; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); transition: transform .25s, opacity .25s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 16px 24px; border-top: 1px solid var(--line); background: var(--bg);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-family: var(--display); font-weight: 600; font-size: 22px; text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; }

/* Hero */
/* Always full width. Height follows the 1440×700 artwork up to a 790px cap;
   on wider screens the video crops evenly from the top and bottom. */
.hero {
  position: relative; overflow: hidden; background: #000;
  width: 100%; height: clamp(600px, 48.6vw, 790px);
  display: flex; align-items: center; justify-content: center;
}
.hero-bg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; background: #000; }
.hero-content {
  position: relative; z-index: 1; text-align: center; max-width: 720px; padding: 0 24px;
  display: flex; flex-direction: column; align-items: center;
}
.hero-content::before {
  content: ""; position: absolute; inset: -40px -60px; z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent);
}
.hero .eyebrow { font-size: 13px; letter-spacing: 0.08em; margin-bottom: 22px; }
.hero-title {
  font-family: var(--display); font-weight: 700; font-size: 78px; line-height: 0.98;
  text-transform: uppercase; color: var(--white);
}
.hero-sub { margin-top: 28px; font-size: 18px; line-height: 1.5; color: #c4c8c0; max-width: 660px; }
.hero-actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  padding: 40px 0; display: flex; flex-direction: column; gap: 20px; overflow: hidden;
}
.marquee-row { overflow: hidden; }
/* padding-right equals the gap, so -50% lands exactly on the second copy */
.marquee-track { display: flex; gap: 16px; padding-right: 16px; width: max-content; animation: marquee 90s linear infinite; }
.marquee-row--reverse .marquee-track { animation-direction: reverse; }
.marquee-row:hover .marquee-track, .marquee-row:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0;
  padding: 20px 28px 20px 20px; background: var(--surf);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600; font-size: 17px; color: var(--white); white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.chip:hover { border-color: rgba(205, 240, 0, .5); background: var(--surf-2); }
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: var(--radius);
  background: rgba(205, 240, 0, .14); color: var(--lime);
}
.icon-tile .icon { width: 20px; height: 20px; }

/* Sections */
.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-head--center { align-items: center; text-align: center; }

/* Designs */
.designs { padding: 40px 0 100px; }
.design-list { margin-top: 48px; display: flex; flex-direction: column; gap: 48px; }
.design { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; container-type: inline-size; }
.design img { width: 100%; aspect-ratio: 1200 / 560; object-fit: cover; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Products */
.products { padding: 24px 0 100px; }
.products .section-head { gap: 10px; }
.product-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  background: var(--surf); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.product-img { width: 100%; aspect-ratio: 1146 / 780; object-fit: cover; }
.product-body { padding: 32px 32px 36px; display: flex; flex-direction: column; gap: 20px; }
.product-title { display: flex; align-items: center; gap: 14px; }
.product-title .icon-tile { width: 52px; height: 52px; border-radius: 2px; }
.product-title .icon-tile .icon { width: 26px; height: 26px; }
.product-title h3 { font-family: var(--display); font-weight: 700; font-size: 28px; text-transform: uppercase; }
.dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 17px; color: var(--muted); }
.dash-list li::before { content: "–"; margin-right: 10px; }
.dash-list.is-placeholder { color: var(--dim); }
.list-label { font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); margin-bottom: -10px; }

/* All features */
.features { padding: 100px 0; }
.cat-bar {
  position: sticky; top: var(--header-h); z-index: 20;
  margin-top: 48px; padding: 10px 0;
  background: linear-gradient(var(--bg) 80%, rgba(7, 9, 11, 0));
}
.cat-chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0; padding: 10px 18px; border: 1px solid var(--line);
  font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
  transition: color .2s, background-color .2s, box-shadow .2s, border-color .2s;
}
.cat-chip:hover { color: var(--white); border-color: #3a4433; }
.cat-chip.is-active { background: var(--lime); border-color: var(--lime); color: var(--bg); box-shadow: 0 0 16px rgba(205, 240, 0, .4); }

.cat-group { scroll-margin-top: calc(var(--header-h) + var(--catbar-h) + 16px); }
.cat-heading {
  margin: 48px 0 24px; font-family: var(--display); font-weight: 700; font-size: 22px;
  line-height: 1; text-transform: uppercase; color: var(--lime);
}
.cat-heading .num { margin-right: 12px; }
.feature-stack { display: flex; flex-direction: column; gap: 24px; }

.feature {
  position: relative; display: flex; align-items: center; gap: 48px; padding: 48px;
  background: var(--surf); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + var(--catbar-h) + 16px);
}
.feature.is-flash { animation: flash 1.4s ease; }
@keyframes flash { 0%, 40% { border-color: var(--lime); box-shadow: 0 0 30px rgba(205, 240, 0, .25); } 100% { border-color: var(--line); box-shadow: none; } }
.feature-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.feature-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feature-meta .eyebrow { font-size: 13px; }
.feature-tag {
  font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--bg); background: var(--lime); padding: 3px 8px;
}
.feature-title { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.05; text-transform: uppercase; }
.feature-desc { font-size: 18px; color: var(--muted); max-width: 560px; }
.points { padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.points-label { font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); }
.points ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: pt; }
.points li { counter-increment: pt; display: flex; gap: 16px; font-size: 16px; color: var(--muted); }
.points li::before { content: counter(pt); min-width: 8px; color: var(--white); }
.value-box {
  background: rgba(205, 240, 0, .08); border: 1px solid rgba(205, 240, 0, .35); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 6px; max-width: 560px;
}
.value-box p:not(.points-label) { font-size: 15px; color: var(--muted); }

.feature-preview { position: relative; flex: 0 0 564px; height: 430px; align-self: center; }
/* Phones: one screen sits in the middle; two screens get equal gaps at both sides and between. */
/* --ya / --yb: how high the first and second phone sit. */
.feature-preview { --pw: 273px; --gap: calc((100% - 2 * var(--pw)) / 3); --ya: 23px; --yb: -177px; }
.phone {
  position: absolute; width: var(--pw); aspect-ratio: 360 / 800; border: 1px solid var(--lime-edge);
  border-radius: 16px; overflow: hidden; background: var(--surf-2);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone--a { left: var(--gap); top: var(--ya); }
.phone--b { left: calc(2 * var(--gap) + var(--pw)); top: var(--yb); }
.feature-preview.is-single .phone--a { left: calc(50% - var(--pw) / 2); }
/* For screens whose feature sits at the bottom (e.g. a bottom sheet): crop the top instead of the bottom. */
.feature-preview.is-low .phone--a { top: var(--yb); }

/* Contact banner */
.contact { padding: 40px 0 100px; }
.contact-banner {
  display: flex; align-items: center; gap: 40px; padding: 72px;
  background: var(--lime); box-shadow: 0 0 60px rgba(205, 240, 0, .45);
}
.contact-text { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.contact-title { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; text-transform: uppercase; color: var(--bg); }
.contact-text p { font-size: 18px; color: var(--on-lime); }

/* Footer */
.site-footer { background: var(--foot); border-top: 1px solid var(--line); padding: 56px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { display: inline-flex; }
.footer-logo img { width: 148px; height: auto; }
.footer-copy { font-size: 14px; color: var(--dim); }
.footer-cols { display: flex; gap: 80px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 15px; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.lang-option { align-self: flex-start; padding: 0; font-family: "Noto Sans KR", var(--body); font-size: 15px; color: var(--muted); transition: color .2s; }
.lang-option:hover { color: var(--white); }
.lang-option.is-current { color: var(--lime); }
.footer-head { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); }

/* Contact pop-up */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .75); }
.modal-panel {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--surf); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; display: flex; flex-direction: column; gap: 20px;
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; }
.modal-title { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1; text-transform: uppercase; }
.modal-close { font-size: 22px; line-height: 1; color: var(--muted); width: 32px; height: 32px; margin: -6px -6px 0 0; }
.modal-close:hover { color: var(--white); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-weight: 500; font-size: 13px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; background: var(--foot); border: 1px solid var(--line); border-radius: 2px;
  color: var(--white); font: inherit; font-size: 16px; padding: 14px 14px;
}
.field input { height: 52px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff5a5a; }
.form-note { font-size: 14px; color: var(--muted); min-height: 0; }
.form-note:empty { display: none; }
.modal-panel .btn-primary { box-shadow: 0 0 28px rgba(205, 240, 0, .55); }

/* Korean */
html[lang="ko"] body { word-break: keep-all; }
html[lang="ko"] .lead, html[lang="ko"] .feature-desc, html[lang="ko"] .points li,
html[lang="ko"] .hero-sub, html[lang="ko"] .value-box p { line-height: 1.6; }
html[lang="ko"] .hero-title { font-family: "Noto Sans KR", sans-serif; font-weight: 900; font-size: 68px; line-height: 1.15; letter-spacing: -0.02em; }
html[lang="ko"] .h2, html[lang="ko"] .feature-title, html[lang="ko"] .contact-title,
html[lang="ko"] .product-title h3, html[lang="ko"] .cat-heading, html[lang="ko"] .modal-title { font-family: "Noto Sans KR", sans-serif; font-weight: 900; letter-spacing: -0.01em; line-height: 1.2; }
html[lang="ko"] .eyebrow, html[lang="ko"] .cat-chip, html[lang="ko"] .points-label,
html[lang="ko"] .list-label, html[lang="ko"] .footer-head, html[lang="ko"] .btn { letter-spacing: 0; }

/* ---------- Tablet: 768–1279 ---------- */
@media (max-width: 1279px) {
  :root { --gutter: 40px; --header-h: 72px; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-actions { gap: 16px; }
  .hero { height: clamp(560px, 54vw, 700px); }
  .hero-title { font-size: 60px; }
  html[lang="ko"] .hero-title { font-size: 54px; }
  .hero-sub { font-size: 17px; max-width: 560px; }
  .h2 { font-size: 44px; }
  .designs, .products, .contact { padding-bottom: 80px; }
  .features { padding: 80px 0; }
  .design-list { gap: 32px; margin-top: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .feature { flex-direction: column; align-items: stretch; gap: 32px; padding: 40px 40px 0; }
  .feature-desc, .value-box { max-width: none; }
  .feature-preview { flex: none; width: 100%; height: 420px; }
  .feature-preview { --pw: 220px; --ya: 24px; --yb: -40px; }

  .contact-banner { padding: 48px; }
  .contact-title { font-size: 34px; }
  .footer-cols { gap: 48px; }
}

/* ---------- Mobile: up to 767 ---------- */
@media (max-width: 767px) {
  :root { --gutter: 16px; --header-h: 64px; --catbar-h: 56px; }
  .logo img { width: 120px; }

  .hero { height: auto; display: block; padding: 0 0 48px; }
  .hero-bg { position: relative; height: 340px; object-position: 14% 40%; }
  .hero::after {
    content: ""; position: absolute; left: 0; right: 0; top: 200px; height: 140px;
    background: linear-gradient(rgba(0, 0, 0, 0), #000); pointer-events: none;
  }
  .hero-content { margin-top: -70px; padding: 0 16px; }
  .hero-content::before { display: none; }
  .hero .eyebrow { margin-bottom: 14px; font-size: 12px; }
  .hero-title { font-size: 40px; }
  html[lang="ko"] .hero-title { font-size: 36px; }
  .hero-sub { font-size: 16px; margin-top: 18px; }
  .hero-actions { margin-top: 26px; width: 100%; flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; }

  .marquee { padding: 28px 0; gap: 12px; }
  .marquee-track { gap: 10px; padding-right: 10px; }
  .chip { padding: 12px 18px 12px 12px; gap: 10px; font-size: 15px; }
  .icon-tile { width: 32px; height: 32px; }
  .icon-tile .icon { width: 18px; height: 18px; }

  .h2 { font-size: 34px; }
  .lead { font-size: 16px; }
  .designs { padding: 24px 0 64px; }
  .design-list { gap: 20px; margin-top: 28px; }
  .products { padding: 8px 0 64px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .product-body { padding: 24px 24px 28px; gap: 16px; }
  .product-title .icon-tile { width: 44px; height: 44px; }
  .product-title .icon-tile .icon { width: 22px; height: 22px; }
  .product-title h3 { font-size: 24px; }
  .dash-list { font-size: 16px; }

  .features { padding: 64px 0; }
  .cat-bar { margin-top: 28px; }
  .cat-chips { margin: 0 -16px; padding: 0 16px; }
  .cat-chip { padding: 9px 14px; font-size: 12px; }
  .cat-heading { margin: 36px 0 16px; font-size: 19px; }
  .feature-stack { gap: 16px; }
  .feature { padding: 24px 20px 0; gap: 24px; }
  .feature-title { font-size: 24px; }
  .feature-desc { font-size: 16px; }
  .points li { font-size: 15px; gap: 12px; }
  .value-box { padding: 14px; }
  .value-box p:not(.points-label) { font-size: 14px; }
  .feature-preview { height: 300px; }
  .feature-preview { --pw: 150px; --ya: 18px; --yb: -16px; }
  .phone { border-radius: 12px; }

  .contact { padding: 16px 0 64px; }
  .contact-banner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 24px; }
  .contact-title { font-size: 28px; }
  .contact-text p { font-size: 16px; }
  .contact-banner .btn { width: 100%; }

  .site-footer { padding: 40px 0; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-cols { width: 100%; flex-wrap: wrap; gap: 32px 24px; }
  .footer-col { flex: 1 1 calc(50% - 12px); }

  .modal { padding: 0; align-items: flex-end; }
  .modal-panel { max-width: none; max-height: 92vh; padding: 28px 20px 24px; border-radius: 12px 12px 0 0; gap: 16px; }
  .modal-title { font-size: 24px; }
}

/* Reduced motion: stop the running rows and let people swipe them instead */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .marquee-row { overflow-x: auto; scrollbar-width: none; }
  .feature.is-flash { animation: none; }
}
