:root {
  --ink: #161616;
  --muted: #5e594f;
  --paper: #f6f3ee;
  --white: #fffcf8;
  --line: #e4ddd3;
  --blue: #2457c5;
  --red: #d0121a;
  --header: 76px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header);
  padding: 0 28px;
  background: rgba(255, 252, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; font-size: 15px; letter-spacing: -0.01em; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }
.nav-cta {
  padding: 8px 14px;
  background: var(--ink);
  color: #fff !important;
  box-shadow: none !important;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  background: #111 url("../assets/sliding-dark.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 42%, rgba(0,0,0,0.62) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - var(--header));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 28px 72px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker i {
  display: inline-block;
  width: 12px;
  height: 16px;
  background: linear-gradient(90deg, var(--blue) 0 42%, transparent 42% 50%, var(--red) 50% 92%, transparent 92%);
}
.hero-line {
  margin-top: 10px;
  max-width: 16em;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-pause {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(0,0,0,0.35);
  color: #fff;
  padding: 8px 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-light { background: #fff; color: #111; }
.btn-line { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--ink); background: transparent; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 88px 28px; }
.section-head { max-width: 40rem; margin-bottom: 36px; }
.section-head h1, .section-head h2, .page-title h1 {
  margin-top: 8px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 650;
}
.lead { color: var(--muted); font-size: 18px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts article { padding: 28px; }
.facts article + article { border-left: 1px solid var(--line); }
.facts span { display: block; color: var(--blue); font-size: 13px; letter-spacing: 0.08em; }
.facts strong { display: block; margin-top: 8px; font-size: 22px; letter-spacing: -0.03em; }
.facts p { margin-top: 6px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.prose p + p { margin-top: 14px; }
.cards, .product-grid, .case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card, .product-card, .case-grid figure {
  background: var(--white);
  border: 1px solid var(--line);
}
.card { padding: 22px; }
.card h3, .product-card h3 { font-size: 20px; letter-spacing: -0.03em; }
.card p, .product-card p { margin-top: 8px; color: var(--muted); }
.media-card img, .case-grid img, .product-card img, .frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.media-card figcaption, .case-grid figcaption, .product-card div { padding: 14px 16px 18px; }
.wide img { aspect-ratio: 16/10; }

.page-title { padding: 64px 0 8px; }
.page-title .wrap { padding-top: 0; padding-bottom: 0; }
.table { width: 100%; border-collapse: collapse; background: var(--white); }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { width: 34%; font-weight: 600; background: #fbf9f6; }

.product-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: center; margin-top: 48px; }
.product-block img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.product-block ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.product-block li + li { margin-top: 6px; }

.form {
  display: grid;
  gap: 14px;
  max-width: 760px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d9d2c8;
  background: #fff;
  padding: 10px 12px;
}
textarea { min-height: 120px; resize: vertical; }
.check { grid-template-columns: 18px 1fr; align-items: start; }
.check input { width: 18px; margin-top: 4px; }
.form-note, .draft-note { color: var(--muted); font-size: 14px; }
.result {
  padding: 14px 16px;
  background: #f3f7ee;
  border: 1px solid #d5e3c8;
}

.band {
  background: #171717;
  color: #fff;
}
.band .wrap { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.band p { margin-top: 8px; color: rgba(255,255,255,0.78); }

.site-footer {
  padding: 36px 28px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.8fr;
  gap: 24px;
}
.site-footer img { height: 32px; width: auto; margin-bottom: 10px; }
.site-footer a { color: var(--ink); }

.zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.lightbox {
  width: min(960px, 92vw);
  padding: 0;
  border: 0;
  background: transparent;
}
.lightbox::backdrop { background: rgba(12, 12, 12, 0.86); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #111; }
.lightbox p { margin: 0; padding: 12px 14px 0; color: #fff; background: #111; }
.lightbox form { margin: 0; padding: 10px 14px 14px; background: #111; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 28px; }
  .facts, .cards, .product-grid, .case-grid, .split, .product-block, .fields, .footer-grid, .band .wrap {
    grid-template-columns: 1fr;
    display: grid;
  }
  .facts article + article { border-left: 0; border-top: 1px solid var(--line); }
  .band .wrap { align-items: start; }
  .hero-pause { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
}
