:root {
  --navy-950: #071423;
  --navy-900: #0b1d31;
  --navy-800: #102b49;
  --navy-700: #173a60;
  --gold: #c7a466;
  --gold-light: #e5d2ab;
  --ink: #172235;
  --muted: #647083;
  --line: #dfe5ec;
  --soft: #f4f6f8;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(12, 29, 48, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
main section[id] { scroll-margin-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 82px 0; }
.compact-section { padding: 62px 0; }
.portfolio-showcase { padding: 96px 0; }
.section-soft { background: var(--soft); }
.eyebrow {
  margin: 0 0 16px;
  color: var(--navy-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-title {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.15;
  letter-spacing: -.045em;
}
.section-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: 78px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
  transition: background .25s, color .25s, box-shadow .25s;
}
.site-header.scrolled, .site-header.light-header {
  color: var(--navy-950);
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 35px rgba(10,25,44,.08);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 38px; height: 38px; }
.local-editor-entry { position: relative; flex: 0 0 auto; width: 36px; height: 36px; margin-left: auto; border: 2px solid #34270b; border-radius: 9px; background: #ffd447; box-shadow: 0 5px 15px rgba(0,0,0,.18); }
.local-editor-entry[hidden] { display: none; }
.local-editor-entry span { position: absolute; inset: 8px; border: 2px dashed #34270b; border-radius: 2px; }
.local-editor-entry:hover { transform: translateY(-1px); background: #ffe27a; }
.brand strong { display: block; font-size: 16px; line-height: 1.05; letter-spacing: .05em; }
.brand span { display: block; margin-top: 5px; opacity: .7; font-size: 10px; letter-spacing: .11em; }
.nav-links { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 700; }
.nav-links a { opacity: .84; transition: opacity .2s, color .2s; }
.nav-links a:hover { opacity: 1; color: var(--gold); }
.simple-nav { display: flex; }
.nav-blog { display: inline-flex; align-items: center; gap: 6px; }
.naver-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 7px; color: #fff; background: #03c75a; font-family: Arial, sans-serif; font-size: 16px; font-weight: 900; line-height: 1; }
.naver-icon.small { width: 19px; height: 19px; border-radius: 5px; font-size: 11px; }
.blog-button { justify-content: flex-start; }
.nav-cta { padding: 10px 17px; border: 1px solid currentColor; border-radius: 999px; }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: currentColor; cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s; }

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 38%, rgba(199,164,102,.2), transparent 22%),
    linear-gradient(135deg, var(--navy-950), #0d2744 60%, #123457);
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 88%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr; gap: 44px; align-items: center; padding-top: 78px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; color: var(--gold-light); font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.hero-kicker::before { content: ""; width: 35px; height: 1px; background: var(--gold); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 6vw, 82px); line-height: 1.07; letter-spacing: -.055em; }
.hero h1 em { display: block; color: var(--gold-light); font-style: normal; }
.hero-copy { max-width: 650px; margin: 28px 0 36px; color: #c7d1dd; font-size: 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--navy-950); }
.button-ghost { border-color: rgba(255,255,255,.34); color: #fff; background: rgba(255,255,255,.04); }
.button-dark { background: var(--navy-900); color: #fff; }
.button-outline { border-color: var(--line); color: var(--navy-900); background: #fff; }
.hero-note { margin-top: 20px; color: #91a2b5; font-size: 13px; }

.system-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.orbit { position: absolute; width: 460px; aspect-ratio: 1; border: 1px solid rgba(220,230,240,.15); border-radius: 50%; }
.orbit.two { width: 320px; }
.core-card { position: relative; z-index: 2; width: 220px; padding: 36px 25px; text-align: center; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; background: rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.25); backdrop-filter: blur(16px); }
.core-card img { width: 58px; margin: 0 auto 18px; }
.core-card strong { display: block; font-size: 21px; letter-spacing: .04em; }
.core-card span { color: #a9b8c8; font-size: 12px; }
.satellite { position: absolute; z-index: 3; min-width: 145px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(8,25,43,.82); box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.satellite small { display: block; color: var(--gold-light); font-size: 10px; letter-spacing: .1em; }
.satellite strong { font-size: 14px; }
.satellite.s1 { top: 72px; right: 5px; }
.satellite.s2 { bottom: 74px; right: 8px; }
.satellite.s3 { bottom: 115px; left: -10px; }

.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.principle { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.principle-number { color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.principle h3 { margin: 22px 0 9px; color: var(--navy-950); font-size: 21px; }
.principle p { margin: 0; color: var(--muted); }

.brand-story {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  padding: 32px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-700));
  box-shadow: var(--shadow);
}
.brand-word { display: block; padding: 2px 24px 4px; border-right: 1px solid rgba(255,255,255,.12); }
.brand-word:first-child { padding-left: 0; }
.brand-word:nth-child(3) { padding-right: 0; border-right: 0; }
.brand-word strong { display: block; margin-bottom: 9px; color: var(--gold-light); font-family: Georgia, serif; font-size: 32px; letter-spacing: -.03em; }
.brand-word span { color: #c5d0db; font-size: 16px; }
.brand-word b { color: #fff; }
.brand-story > p { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.12); color: var(--gold-light); font-weight: 800; }

.service-layout { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: start; }
.service-sticky { position: static; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.service-sticky .eyebrow { grid-column: 1 / -1; margin-bottom: -20px; }
.service-sticky .section-lead { margin: 0 0 5px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { padding: 28px; border: 1px solid #d9e0e8; border-radius: 23px; background: #fff; box-shadow: 0 18px 45px rgba(15,35,58,.06); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.service-tag { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.service-card h3 { margin: 8px 0 9px; font-size: 25px; line-height: 1.2; color: var(--navy-950); }
.service-card p { margin: 0; color: var(--muted); }
.icon-box { flex: 0 0 auto; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #eef2f6; color: var(--navy-700); font-size: 23px; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.feature-chips span { padding: 7px 11px; border-radius: 999px; background: #f3f5f8; color: #526073; font-size: 12px; font-weight: 700; }

.demo-shell { overflow: hidden; margin-top: 55px; border: 1px solid #d6dde6; border-radius: 30px; background: var(--navy-900); box-shadow: var(--shadow); }
.demo-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; color: #aebdcb; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 12px; }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #486079; }
.demo-body { display: grid; grid-template-columns: 210px 1fr 230px; min-height: 400px; color: #fff; }
.demo-side { padding: 25px; border-right: 1px solid rgba(255,255,255,.08); }
.demo-side:last-child { border-left: 1px solid rgba(255,255,255,.08); border-right: 0; }
.demo-side b { display: block; margin-bottom: 22px; font-size: 13px; }
.demo-side span { display: block; margin: 12px 0; color: #879aaf; font-size: 12px; }
.demo-screen { display: grid; place-items: center; padding: 30px; background: #0c1a2a; }
.phone-frame { width: 178px; aspect-ratio: 9/16; display: grid; align-content: end; padding: 20px; border: 5px solid #233c58; border-radius: 24px; background: linear-gradient(180deg, rgba(21,57,89,.2), rgba(7,19,34,.9)), linear-gradient(135deg, #46718c, #c6aa72); box-shadow: 0 25px 60px #050c15; }
.phone-frame strong { font-size: 18px; line-height: 1.2; }
.phone-frame small { margin-top: 8px; color: #d8e2ec; }

.portfolio-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; margin-top: 55px; }
.portfolio-card { min-height: 340px; padding: 40px; border-radius: 28px; overflow: hidden; position: relative; }
.portfolio-card.dark { color: #fff; background: linear-gradient(145deg, #0a1d31, #173f68); }
.portfolio-card.light { background: #e9edf1; }
.portfolio-card h3 { margin: 80px 0 10px; max-width: 440px; font-size: 30px; line-height: 1.2; }
.portfolio-card p { max-width: 500px; margin: 0; color: inherit; opacity: .72; }
.case-label { font-size: 12px; font-weight: 900; letter-spacing: .14em; color: var(--gold-light); }
.portfolio-card.light .case-label { color: var(--navy-700); }
.portfolio-card.wide { grid-column: 1 / -1; min-height: 270px; background: #f5efe4; }
.portfolio-card.wide h3 { margin-top: 48px; }
.case-status { position: absolute; right: 26px; top: 26px; padding: 6px 11px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; opacity: .72; }

.showcase-heading { display: grid; grid-template-columns: 1fr 390px; gap: 50px; align-items: end; }
.showcase-heading > p { margin: 0 0 7px; color: var(--muted); }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 48px 0 24px; }
.filter-button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #516072; font-weight: 800; cursor: pointer; }
.filter-button.active { border-color: var(--navy-900); color: #fff; background: var(--navy-900); }
.works-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.work-card { grid-column: span 6; overflow: hidden; border: 2px solid transparent; border-radius: 25px; background: #fff; cursor: pointer; box-shadow: 0 16px 44px rgba(12,29,48,.06); transition: transform .2s, box-shadow .2s, border-color .2s; }
.work-card:nth-child(3n) { grid-column: span 12; }
.work-card:hover, .work-card:focus-visible { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 28px 70px rgba(12,29,48,.18); outline: none; }
.work-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; color: #9cadbd; background: linear-gradient(145deg, #e7ebef, #f8f9fa); }
.work-cover img, .work-cover video { width: 100%; height: 100%; object-fit: cover; }
.work-cover video { background: #071423; }
.cover-collage { width: 100%; height: 100%; display: grid; grid-template-columns: 1.65fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; background: #fff; }
.collage-cell { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #0a1929; }
.collage-cell.primary { grid-row: 1 / 3; }
.collage-cell img, .collage-cell video { transition: transform .35s; }
.work-card:hover .collage-cell img, .work-card:hover .collage-cell video, .work-card:focus-visible .collage-cell img, .work-card:focus-visible .collage-cell video { transform: scale(1.035); }
.mini-play { position: absolute; left: 10px; bottom: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--navy-950); background: var(--gold-light); font-size: 11px; }
.work-cover-placeholder { text-align: center; font-weight: 800; }
.work-cover-placeholder span { display: block; margin-bottom: 8px; font-size: 34px; color: var(--gold); }
.work-play { position: absolute; inset: auto auto 18px 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--navy-950); background: var(--gold-light); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.media-count { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 7px 11px; border-radius: 999px; color: #fff; background: rgba(7,20,35,.82); box-shadow: 0 6px 20px rgba(0,0,0,.18); font-size: 11px; font-weight: 900; backdrop-filter: blur(8px); }
.work-view-cue { position: absolute; left: 50%; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 11px 17px; border: 2px solid #92692b; border-radius: 999px; color: #fff; background: #07121f; box-shadow: 0 8px 24px rgba(0,0,0,.28); font-size: 12px; font-weight: 900; opacity: 1; transform: translateX(-50%); transition: transform .2s, background .2s, color .2s; white-space: nowrap; backdrop-filter: blur(8px); animation: portfolioCueBlink 1.725s steps(1, end) infinite; }
.work-view-cue b { color: inherit; font-size: 19px; line-height: 1; }
.work-card:hover .work-view-cue, .work-card:focus-visible .work-view-cue { animation: none; color: #fff; background: #92692b; border-color: #92692b; box-shadow: 0 0 0 2px rgba(146,105,43,.18), 0 10px 28px rgba(0,0,0,.3); transform: translateX(-50%) translateY(-2px) scale(1.015); }
.work-card:hover .work-view-cue b, .work-card:focus-visible .work-view-cue b { color: inherit; }
@keyframes portfolioCueBlink {
  0%, 44% { color: #fff; background: #07121f; border-color: #92692b; box-shadow: 0 8px 24px rgba(0,0,0,.28); transform: translateX(-50%) scale(1); }
  45%, 72% { color: #fff; background: #92692b; border-color: #92692b; box-shadow: 0 0 0 2px rgba(146,105,43,.14), 0 9px 26px rgba(0,0,0,.3); transform: translateX(-50%) scale(1.015); }
  73%, 100% { color: #fff; background: #07121f; border-color: #92692b; box-shadow: 0 8px 24px rgba(0,0,0,.28); transform: translateX(-50%) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .work-view-cue { animation: none; color: #fff; background: #92692b; border-color: #92692b; box-shadow: 0 0 0 2px rgba(146,105,43,.14), 0 8px 24px rgba(0,0,0,.28); }
  .work-view-cue b { color: inherit; }
}
.work-card:hover .work-cover::after, .work-card:focus-visible .work-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; border: 3px solid rgba(199,164,102,.75); border-radius: 1px; pointer-events: none; }
.work-info { padding: 27px; }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--navy-700); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.work-status { padding: 4px 9px; border-radius: 999px; background: #eff2f5; letter-spacing: 0; }
.work-info h3 { margin: 16px 0 8px; color: var(--navy-950); font-size: 25px; line-height: 1.25; }
.work-info p { margin: 0; color: var(--muted); }
.portfolio-empty { padding: 70px 30px; text-align: center; border: 1px dashed #bdc8d3; border-radius: 26px; background: #fff; }
.portfolio-empty strong { display: block; color: var(--navy-900); font-size: 24px; }
.portfolio-empty p { margin: 10px 0 0; color: var(--muted); }
.media-item { position: relative; }
.inline-redact-trigger { position: absolute; top: 12px; right: 12px; z-index: 4; width: 34px; height: 34px; padding: 0; border: 2px solid #34270b; border-radius: 8px; background: #ffd447; box-shadow: 0 5px 16px rgba(0,0,0,.28); cursor: pointer; }
.inline-redact-trigger span { position: absolute; inset: 8px; border: 2px dashed #34270b; border-radius: 2px; }
.inline-redact-trigger:hover { transform: translateY(-1px); background: #ffe27a; }
.inline-redaction-dialog { position: fixed; inset: 0; width: min(1380px,calc(100% - 24px)); height: min(900px,calc(100dvh - 24px)); max-height: none; margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 24px; color: #16263a; background: #f3f6f8; box-shadow: 0 38px 120px rgba(0,0,0,.45); }
.inline-redaction-dialog[open] { display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; }
.inline-redaction-dialog::backdrop { background: rgba(4,14,25,.84); backdrop-filter: blur(7px); }
.inline-redaction-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 18px 22px; color: #fff; background: #08192b; }
.inline-redaction-head strong,.inline-redaction-head span { display: block; }
.inline-redaction-head strong { font-size: 22px; }
.inline-redaction-head span { margin-top: 2px; color: #b9c6d2; font-size: 13px; }
.inline-redaction-close { flex: 0 0 auto; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); font-size: 24px; cursor: pointer; }
.inline-redaction-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 20px; border-bottom: 1px solid #d9e0e7; background: #fff; }
.inline-mask-modes,.inline-redaction-actions,.inline-redaction-footer>div { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-redaction-toolbar button,.inline-redaction-footer button { min-height: 38px; padding: 0 14px; border: 1px solid #cbd5df; border-radius: 9px; color: #44536a; background: #fff; font-weight: 800; cursor: pointer; }
.inline-mask-mode.active { border-color: #173f68; color: #fff; background: #173f68; }
.inline-redaction-stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: auto; padding: 18px; background: #15273a; }
#inlineRedactionCanvas { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; cursor: crosshair; box-shadow: 0 18px 60px rgba(0,0,0,.35); touch-action: none; }
.inline-canvas-hint { position: absolute; left: 50%; bottom: 28px; padding: 10px 14px; border-radius: 999px; color: #2d2208; background: #ffd447; font-size: 13px; font-weight: 900; transform: translateX(-50%); pointer-events: none; }
.inline-redaction-footer { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 12px 20px; background: #fff; }
.inline-redaction-footer>span { color: #7b4650; font-size: 12px; }
.inline-redaction-footer .inline-redaction-save { border-color: #08192b; color: #fff; background: #08192b; }
body:has(.inline-redaction-dialog[open]) { overflow: hidden; }
.work-dialog { position: fixed; inset: 0; width: min(1320px, calc(100% - 32px)); height: min(820px, calc(100dvh - 32px)); max-height: none; margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 28px; color: var(--ink); background: #fff; box-shadow: 0 40px 120px rgba(5,15,27,.42); }
.work-dialog::backdrop { background: rgba(5,15,27,.78); backdrop-filter: blur(7px); }
body:has(.work-dialog[open]) { overflow: hidden; }
#portfolioDialogContent { height: 100%; }
.dialog-close { position: absolute; z-index: 4; top: 16px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: rgba(6,19,32,.88); font-size: 27px; cursor: pointer; }
.dialog-body { height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(250px, 31%) minmax(0, 1fr); gap: 26px; padding: 30px; }
.dialog-body.no-media { display: block; overflow: auto; padding: 52px; }
.dialog-copy { min-width: 0; overflow: auto; padding: 14px 4px 14px 8px; }
.dialog-head { max-width: 100%; }
.dialog-head h2 { margin: 12px 0; color: var(--navy-950); font-size: clamp(27px, 3vw, 40px); line-height: 1.15; }
.dialog-head p { color: var(--muted); font-size: 16px; }
.media-gallery { min-width: 0; min-height: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; overflow: auto; }
.media-gallery.single-media { display: block; height: 100%; overflow: hidden; }
.media-item { overflow: hidden; min-height: 280px; border-radius: 18px; background: #0a1929; }
.single-media .media-item { width: 100%; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.media-item img, .media-item video { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; background: #0a1929; }
.media-item:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.dialog-detail { margin-top: 24px; padding: 20px; border-radius: 16px; white-space: pre-line; color: #4f5e70; background: var(--soft); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 34px; }
.step { position: relative; padding: 28px 30px 28px 0; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.step strong { display: block; margin-bottom: 10px; color: var(--navy-950); }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.trial-section { padding: 46px 0; }
.trial-section .section-title { font-size: clamp(30px, 4vw, 43px); }
.trial-section .process { margin-top: 24px; }
.trial-section .step { padding-top: 20px; padding-bottom: 8px; }

.upload-guide-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: center; }
.upload-guide-copy .section-title { font-size: clamp(31px, 4vw, 48px); }
.guide-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.guide-links a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-900); background: #fff; font-size: 12px; font-weight: 800; }
.upload-flow { display: grid; gap: 10px; }
.upload-flow article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 17px 18px; border: 1px solid #d9e0e8; border-radius: 17px; background: #fff; }
.upload-flow article b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--navy-950); background: var(--gold-light); font-size: 12px; }
.upload-flow article strong { color: var(--navy-950); }
.upload-flow article p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.data-notice { margin: 4px 0 0; padding: 15px 17px; border-radius: 15px; color: #4e5d6f; background: #e7edf2; font-size: 12px; }
.data-notice strong { color: var(--navy-900); }

.cta-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 38px; align-items: end; padding: 44px; border-radius: 30px; color: #fff; background: var(--navy-900); box-shadow: var(--shadow); }
.cta-panel h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.12; letter-spacing: -.04em; }
.cta-panel p { color: #b5c2cf; }
.cta-actions { display: grid; gap: 10px; }
.link-status { margin-top: 10px; color: #8ea0b2; font-size: 12px; }

.site-footer { padding: 55px 0 30px; color: #bcc7d1; background: #07131f; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer-brand { color: #fff; font-size: 20px; font-weight: 900; letter-spacing: .05em; }
.footer-brand p { max-width: 430px; margin: 12px 0 0; color: #8797a8; font-size: 13px; font-weight: 400; letter-spacing: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #758698; font-size: 11px; }

.legal-main { padding: 150px 0 100px; min-height: 78vh; background: #f5f7f9; }
.legal-wrap { max-width: 860px; }
.legal-wrap h1 { margin: 0 0 18px; color: var(--navy-950); font-size: clamp(38px, 6vw, 60px); line-height: 1.15; letter-spacing: -.04em; }
.legal-note { padding: 18px 20px; margin: 28px 0; border-left: 3px solid var(--gold); background: #fff8e9; color: #665333; font-size: 14px; }
.legal-card { margin-top: 28px; padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.legal-card h2 { margin: 32px 0 8px; color: var(--navy-900); font-size: 20px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: #596678; }
.legal-card ul { padding-left: 20px; }
.faq-card details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-card details:first-child { padding-top: 0; }
.faq-card details:last-child { padding-bottom: 0; border-bottom: 0; }
.faq-card summary { position: relative; padding-right: 34px; color: var(--navy-950); font-size: 18px; font-weight: 850; cursor: pointer; list-style: none; }
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after { content: "+"; position: absolute; top: -4px; right: 0; color: var(--gold); font-size: 26px; font-weight: 500; }
.faq-card details[open] summary::after { content: "−"; }
.faq-card details p { margin: 12px 0 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.contact-box { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.contact-box small { color: var(--muted); }
.contact-box strong { display: block; margin-top: 10px; color: var(--navy-900); font-size: 19px; }
.disabled-link { opacity: .48; cursor: not-allowed; }

@media (max-width: 960px) {
  .site-header { height: 70px; }
  .menu-button { display: block; }
  .nav-links { position: fixed; inset: 70px 0 auto; display: none; padding: 24px 20px 30px; flex-direction: column; align-items: flex-start; background: #fff; color: var(--navy-950); box-shadow: 0 20px 40px rgba(8,24,42,.12); }
  .nav-links.open { display: flex; }
  .nav-links.simple-nav { position: static; display: flex; width: auto; padding: 0; flex-direction: row; align-items: center; background: transparent; box-shadow: none; }
  .hero { min-height: auto; padding: 115px 0 70px; }
  .hero-inner, .service-layout, .cta-panel, .upload-guide-layout { grid-template-columns: 1fr; }
  .system-visual { min-height: 450px; }
  .brand-story { display: block; }
  .brand-word { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 15px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .brand-word:first-child { padding-top: 0; }
  .brand-word:nth-child(3) { padding-bottom: 0; border-bottom: 0; }
  .service-sticky { display: block; }
  .service-sticky .eyebrow { margin-bottom: 16px; }
  .service-sticky .section-lead { margin-top: 20px; }
  .service-list { grid-template-columns: 1fr; }
  .three-grid { grid-template-columns: 1fr; }
  .demo-body { grid-template-columns: 150px 1fr; }
  .demo-side:last-child { display: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card.wide { grid-column: auto; }
  .showcase-heading { grid-template-columns: 1fr; }
  .work-card, .work-card:nth-child(3n) { grid-column: span 12; }
  .process { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 68px 0; }
  .compact-section { padding: 54px 0; }
  .portfolio-showcase { padding: 76px 0; }
  .brand span { display: none; }
  .hero h1 { font-size: 48px; }
  .hero-copy { font-size: 16px; }
  .button-row .button { width: 100%; }
  .system-visual { min-height: 380px; transform: scale(.86); margin: -20px; }
  .orbit { width: 390px; }
  .orbit.two { width: 275px; }
  .satellite.s1 { right: -15px; }
  .satellite.s3 { left: -15px; }
  .principle, .service-card { padding: 26px; }
  .brand-story { padding: 28px 24px; }
  .brand-word { grid-template-columns: 1fr; gap: 4px; }
  .brand-word strong { font-size: 30px; }
  .demo-body { display: block; }
  .demo-side { display: none; }
  .demo-screen { min-height: 420px; }
  .portfolio-card { min-height: 310px; padding: 30px; }
  .work-dialog { height: calc(100dvh - 18px); width: calc(100% - 18px); overflow: auto; border-radius: 20px; }
  .dialog-body { height: auto; min-height: 100%; grid-template-columns: 1fr; padding: 60px 16px 20px; }
  .dialog-copy { overflow: visible; padding: 0; }
  .media-gallery { grid-template-columns: 1fr; }
  .media-gallery.single-media { height: min(68dvh, 680px); }
  .media-item:first-child:nth-last-child(odd) { grid-column: auto; }
  .inline-redaction-dialog { width: calc(100% - 10px); height: calc(100dvh - 10px); border-radius: 14px; }
  .inline-redaction-head { padding: 14px 16px; }
  .inline-redaction-head span { display: none; }
  .inline-redaction-toolbar,.inline-redaction-footer { align-items: flex-start; flex-direction: column; }
  .inline-redaction-stage { padding: 8px; }
  .inline-canvas-hint { bottom: 14px; max-width: calc(100% - 20px); text-align: center; white-space: normal; }
  .inline-redaction-footer>div { width: 100%; }
  .inline-redaction-footer button { flex: 1; }
  .process { grid-template-columns: 1fr; }
  .cta-panel { padding: 34px 25px; }
  .footer-top, .footer-bottom { grid-template-columns: 1fr; display: grid; }
  .footer-links { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-card { padding: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
