/* =============================================
   AVERON — VIDEO PORTFOLIO
   modern premium document style
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --page: #eef0f4;
  --paper: #ffffff;
  --soft: #f7f8fa;
  --ink: #0b0d12;
  --ink-2: #555b66;
  --ink-3: #969ca8;
  --accent: #2f6bff;
  --accent-2: #1f55df;
  --accent-soft: rgba(47, 107, 255, 0.10);
  --lime: #2f6bff;
  --lime-ink: #0c0d10;
  --line: rgba(11, 13, 18, 0.09);
  --line-2: rgba(11, 13, 18, 0.16);
  --play-shadow: 8px 8px 0 rgba(47, 107, 255, 0.18);
  --play-hard-shadow: 7px 7px 0 var(--ink);
  --wrap: 1040px;
  --pad: clamp(76px, 10vw, 128px);
  --radius: 16px;
  --font: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --display: 'Space Grotesk', 'Pretendard Variable', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  font-family: var(--font);
  background: var(--page);
  color: var(--ink);
  line-height: 1.7;
  letter-spacing: -0.012em;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(47, 107, 255, 0.16); color: var(--ink); }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; }

/* ---------- Document shell ---------- */
.doc {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-top: 66px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(11,13,18,.04);
  overflow-x: hidden;
}
.inner { width: 100%; max-width: 1040px; margin: 0 auto; padding-left: clamp(22px, 5vw, 56px); padding-right: clamp(22px, 5vw, 56px); }
.section { padding-top: var(--pad); padding-bottom: var(--pad); }
.center { text-align: center; }
.dash-section {
  max-width: none;
  margin: 0;
  padding-top: clamp(86px, 9vw, 116px);
  padding-bottom: clamp(86px, 9vw, 116px);
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.section-meta {
  display: inline-flex;
  width: fit-content;
  padding: 5px 11px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(47,107,255,.18);
  transform: rotate(-1.4deg);
  margin-bottom: 28px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.db-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.db-header > div:first-child { max-width: 430px; }
.module-title {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3.4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  word-break: keep-all;
}
.module-title::after,
.section-head h2::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 6%;
  bottom: .02em;
  z-index: -1;
  height: .28em;
  background: rgba(47,107,255,.18);
  transform: rotate(-1.2deg);
}
.module-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.58;
  word-break: keep-all;
}

/* ---------- Accent bar + eyebrow ---------- */
.bar { width: 38px; height: 5px; border-radius: 0; background: var(--accent); margin-bottom: 24px; box-shadow: 5px 5px 0 rgba(11,13,18,.18); transform: rotate(-2deg); }
.center .bar { margin-left: auto; margin-right: auto; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.hl { background: var(--accent); padding: 1px 8px 3px; border-radius: 3px; color: #fff; box-shadow: 4px 4px 0 var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 28px; border-radius: 10px;
  border: 2px solid var(--ink);
  font-size: 0.97rem; font-weight: 700;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn-light { background: #fff; color: var(--ink); box-shadow: 5px 5px 0 rgba(47,107,255,.2); }
.btn-light:hover { transform: translate(-2px, -3px) rotate(1deg); box-shadow: 8px 8px 0 rgba(47,107,255,.25), 0 16px 40px -16px rgba(0,0,0,.5); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.25); color: #fff; }
.btn-outline-light:hover { transform: translateY(-2px); border-color: #fff; background: rgba(255,255,255,.06); }
.btn-lime { background: var(--accent); color: #fff; font-weight: 800; box-shadow: var(--play-hard-shadow), 0 10px 34px rgba(47,107,255,.28); }
.btn-lime:hover { transform: translate(-2px, -3px) rotate(-1deg); box-shadow: 10px 10px 0 var(--ink), 0 16px 44px rgba(47,107,255,.36); background: #245ee8; }

/* ---------- Header ---------- */
.doc-head {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 90;
  width: min(100%, 1180px);
  transform: translateX(-50%);
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(11,13,18,.06);
  box-shadow: 0 12px 34px rgba(11,13,18,.035);
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.doc-head.scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 42px rgba(11,13,18,.06);
}
.head-row { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand .logo-mark { width: 24px; height: auto; }
.brand .logo-word { font-family: var(--display); font-weight: 700; letter-spacing: 0.02em; font-size: 1rem; }
.head-filters {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 18px 0 30px;
  overflow-x: auto;
  scrollbar-width: none;
}
.head-filters::-webkit-scrollbar { display: none; }
.doc-head.portfolio-active .head-filters {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-top: 0;
}
.doc-head.portfolio-active .head-nav a:not(.head-cta) {
  display: none;
}
.head-nav { display: flex; align-items: center; gap: 26px; }
.head-nav a { font-size: 0.9rem; color: var(--ink-2); transition: color .2s var(--ease); }
.head-nav a:hover { color: var(--ink); }
.head-nav .head-cta {
  color: #fff !important; background: #111318;
  padding: 9px 18px; border-radius: 999px; font-weight: 800;
  transition: background .2s var(--ease);
}
.head-nav .head-cta:hover { background: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 66px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, #f6f8fc 0%, #fff 34%, #fff 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  opacity: .42;
  background-image:
    linear-gradient(rgba(47,107,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,107,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black 0%, transparent 58%);
  -webkit-mask-image: linear-gradient(90deg, black 0%, transparent 58%);
}
.hero::after {
  opacity: .8;
  background:
    linear-gradient(90deg, rgba(47,107,255,.07) 0%, rgba(47,107,255,0) 38%),
    radial-gradient(circle at 83% 48%, rgba(47,107,255,.10) 0%, rgba(47,107,255,0) 34%);
}
.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 3px solid var(--ink);
}
.hero-grid::before {
  width: min(28vw, 250px);
  height: 60px;
  left: clamp(8px, 2vw, 24px);
  top: clamp(74px, 8vw, 104px);
  background: var(--accent);
  transform: rotate(-7deg);
  box-shadow: 9px 9px 0 var(--ink);
}
.hero-grid::after {
  width: min(22vw, 190px);
  height: 52px;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(52px, 6vw, 88px);
  background: #fff;
  transform: rotate(7deg);
  box-shadow: -8px 8px 0 rgba(47,107,255,.34);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 360px);
  align-items: center;
  gap: clamp(40px, 5.8vw, 78px);
  padding-top: clamp(76px, 8vw, 110px);
  padding-bottom: clamp(78px, 8vw, 112px);
}
.hero-copy {
  position: relative;
  min-width: 0;
  text-align: left;
}
.hero-copy::before {
  content: "AVERON VIDEO";
  display: inline-flex;
  padding: 5px 11px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(47,107,255,.18);
  transform: rotate(-1.8deg);
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
}
.hero-visual {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}
.hero-reference-wrap {
  position: relative;
  width: min(100%, 352px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 26px;
  background: #07080b;
  border: 3px solid var(--ink);
  box-shadow:
    10px 10px 0 rgba(47,107,255,.2),
    0 38px 92px -46px rgba(11,13,18,.72),
    0 0 0 12px rgba(47,107,255,.035);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity 1.05s var(--ease), transform 1.35s var(--ease);
  contain: layout paint;
  backface-visibility: hidden;
}
.hero-reference-wrap.is-active {
  opacity: 1;
  transform: none;
}
.hero-reference-wrap::before,
.hero-reference-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-reference-wrap::before {
  border: 8px solid #111318;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 18px 42px rgba(255,255,255,.07);
}
.hero-reference-wrap::after {
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.14) 100%);
}
.hero-reference-video {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  pointer-events: none;
  opacity: 0;
  filter: brightness(1.04) saturate(1.07) contrast(1.02);
  transform: translateX(-50%) scale(1.005);
  transition: opacity 1.05s var(--ease), transform 1.35s var(--ease);
}
.hero-reference-video.is-showing {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.hero-reference-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  opacity: 1;
  transition: opacity 1.05s var(--ease);
}
.hero-reference-wrap.is-active .hero-reference-poster {
  opacity: 0;
}
.hero-reference-video.is-leaving {
  opacity: 0;
}
.hero-title {
  position: relative;
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.25rem, 5.75vw, 5.1rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-shadow: none;
  white-space: nowrap;
  word-break: keep-all;
}
.hero-title::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 10%;
  bottom: .02em;
  z-index: -1;
  height: .22em;
  background: rgba(47,107,255,.16);
  transform: rotate(-1.2deg);
}
.hero-title span {
  display: block;
  color: var(--accent);
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Stat strip ---------- */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 560px);
  margin-top: clamp(30px, 4.2vw, 46px);
  gap: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(249,251,255,.76));
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow:
    var(--play-shadow),
    0 22px 56px rgba(18,24,38,.07),
    inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.hero-stats li:nth-child(1) { transform: rotate(-.5deg); }
.hero-stats li:nth-child(2) { transform: rotate(.4deg); }
.hero-stats li:nth-child(3) { transform: rotate(-.35deg); }
.hero-stats li {
  position: relative;
  list-style: none;
  text-align: left;
  padding: 22px 24px 23px;
  border-radius: 0;
  background: transparent;
}
.hero-stats li + li { border-left: 1px solid rgba(11,13,18,.07); }
.hero-stats li::before { display: none; }
.hero-stats strong {
  display: block;
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1.55rem, 2.35vw, 1.95rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1;
  padding-left: 0;
  font-variant-numeric: tabular-nums;
}
.hero-stats span {
  display: block;
  margin-top: 9px;
  color: #68717f;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
  word-break: keep-all;
  padding-left: 0;
}

/* ---------- Section head ---------- */
.section-head { margin-bottom: clamp(38px, 5vw, 56px); }
.section-head h2 {
  position: relative;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}
.section-head.center h2 { margin-right: auto; margin-left: auto; }
.section-head p { color: var(--ink-2); font-size: 1.04rem; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 2px; }
.doc-head .head-filters { display: none; }
.doc-head.portfolio-active .head-filters {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-top: 0;
}
.portfolio-filters {
  width: fit-content;
  max-width: 100%;
  padding: 0;
}
.portfolio-filter-home {
  align-self: flex-end;
  margin-left: auto;
}
.chip {
  --chip-color: var(--accent);
  --chip-soft: rgba(47,107,255,.10);
  --chip-border: rgba(47,107,255,.18);
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 5px;
  border: 2px solid var(--chip-border);
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--ink-2);
  background: #fff;
  transition: transform .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease);
}
.chip:hover {
  transform: translate(-1px, -2px) rotate(-1deg);
  color: var(--chip-color);
  border-color: var(--chip-color);
  box-shadow: none;
}
.chip.is-active {
  background: var(--chip-color);
  color: #fff;
  border-color: var(--chip-color);
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--ink);
}
.chip[data-filter="own"] { --chip-color: #2563eb; --chip-soft: rgba(37,99,235,.10); --chip-border: rgba(37,99,235,.22); }
.chip[data-filter="food"] { --chip-color: #ef4444; --chip-soft: rgba(239,68,68,.10); --chip-border: rgba(239,68,68,.22); }
.chip[data-filter="build"] { --chip-color: #0f9f7a; --chip-soft: rgba(15,159,122,.10); --chip-border: rgba(15,159,122,.22); }
.chip[data-filter="brand"] { --chip-color: #d97706; --chip-soft: rgba(217,119,6,.10); --chip-border: rgba(217,119,6,.24); }

/* ---------- Portfolio archive ---------- */
.portfolio-container {
  position: relative;
  margin-top: 28px;
  padding: 30px;
  background: #fbfcff;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(47,107,255,.16), inset 0 1px 0 rgba(255,255,255,.9);
}
.portfolio-container::before {
  content: "PICK";
  position: absolute;
  right: 24px;
  top: -18px;
  z-index: 2;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  transform: rotate(5deg);
  box-shadow: 5px 5px 0 var(--ink);
}
.portfolio-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(11,13,18,.07);
}
.sub-module-title {
  position: relative;
  margin: 0;
  padding-left: 15px;
  color: var(--accent);
  font-size: 1.16rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}
.sub-module-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 3px;
  height: 1.05em;
  border-radius: 3px;
  background: var(--accent);
}
.archive-note {
  flex: 0 0 auto;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Portfolio database cards ---------- */
.portfolio-db-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  max-height: 880px;
  overflow-y: auto;
  padding-right: 15px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.portfolio-db-grid::-webkit-scrollbar { width: 4px; }
.portfolio-db-grid::-webkit-scrollbar-track { background: transparent; }
.portfolio-db-grid::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 999px; }
.portfolio-db-grid::after {
  content: "";
  position: sticky;
  bottom: -1px;
  grid-column: 1 / -1;
  height: 1px;
}
.portfolio-db-grid.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.portfolio-scrollbar {
  display: none;
}
.card {
  display: block;
  width: 100%;
  text-align: left;
}
.card.is-hidden { display: none; }
.project-card {
  --cat-color: var(--accent);
  --cat-soft: rgba(47,107,255,.10);
  --cat-border: rgba(47,107,255,.22);
  --cat-shadow: rgba(47,107,255,.13);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--cat-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)),
    linear-gradient(135deg, var(--cat-soft), rgba(255,255,255,0) 55%);
  box-shadow: 6px 6px 0 var(--cat-shadow), 0 1px 0 rgba(11,13,18,.03);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease);
}
.project-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  height: 4px;
  background: var(--cat-color);
  opacity: .9;
}
.project-card--own { --cat-color: #2563eb; --cat-soft: rgba(37,99,235,.10); --cat-border: rgba(37,99,235,.26); --cat-shadow: rgba(37,99,235,.16); }
.project-card--food { --cat-color: #ef4444; --cat-soft: rgba(239,68,68,.10); --cat-border: rgba(239,68,68,.26); --cat-shadow: rgba(239,68,68,.14); }
.project-card--build { --cat-color: #0f9f7a; --cat-soft: rgba(15,159,122,.10); --cat-border: rgba(15,159,122,.26); --cat-shadow: rgba(15,159,122,.14); }
.project-card--brand { --cat-color: #d97706; --cat-soft: rgba(217,119,6,.10); --cat-border: rgba(217,119,6,.28); --cat-shadow: rgba(217,119,6,.15); }
.project-card:hover {
  transform: translateY(-5px) rotate(-.6deg);
  border-color: var(--cat-color);
  box-shadow: 9px 9px 0 var(--cat-shadow), 0 10px 30px rgba(11,13,18,.06);
}
.project-card:focus-visible {
  outline: 3px solid rgba(47,107,255,.28);
  outline-offset: 3px;
}
.card-media,
.project-img {
  display: block;
  position: relative;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 0;
  overflow: hidden;
  background: var(--soft);
  border: 0;
}
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease), opacity .3s ease; }
.card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(0,0,0,.22) 100%);
  opacity: 1;
  transition: opacity .4s var(--ease);
}
.card:hover .card-media img, .card:hover .card-media video { transform: scale(1.05); }
.card-views {
  position: absolute;
  top: 9px;
  left: -42px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 158px;
  min-height: 32px;
  padding: 0 12px;
  color: #181a1f;
  background: linear-gradient(90deg, #ffd43b 0%, #ffea87 100%);
  border: 0;
  border-radius: 0;
  box-shadow: 0 5px 12px rgba(176,132,0,.28);
  font-family: var(--font);
  font-size: .90rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.025em;
  white-space: nowrap;
  pointer-events: auto;
  cursor: zoom-in;
  transform: rotate(-31deg);
  transform-origin: center;
}
.card-dur {
  position: absolute; bottom: 12px; right: 12px; z-index: 3;
  font-family: var(--mono); font-size: .80rem;
  padding: 4px 9px; border-radius: 6px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px); color: #fff;
}
.card-play {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--ink);
  transform: translate(-50%, -50%) scale(.7); opacity: 0;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,.5);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.card-play svg { width: 20px; height: 20px; margin-left: 3px; }
.card:hover .card-play { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.project-info {
  display: block;
  padding: 16px 16px 18px;
}
.project-no {
  display: block;
  margin-bottom: 11px;
  color: var(--accent);
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.28;
  word-break: keep-all;
}
.project-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}
.project-views {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: var(--cat-color);
  background: var(--cat-soft);
  border: 1px solid var(--cat-border);
  border-radius: 5px;
  font-family: var(--font);
  font-size: .80rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.project-card--own .project-views,
.project-card--food .project-views {
  color: #4b5563;
  background: #f3f4f6;
  border-color: #d1d5db;
}
.tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: .80rem;
  font-weight: 850;
  line-height: 1;
}
.tag-cat {
  background: var(--cat-soft);
  color: var(--cat-color);
  border: 1px solid var(--cat-border);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tag-ad {
  color: #566171;
  background: rgba(11,13,18,.045);
  border: 1px solid rgba(11,13,18,.13);
}
/* ---------- Proof image strip ---------- */
.sec-proof {
  max-width: none;
  padding-left: clamp(22px, 5vw, 56px);
  padding-right: clamp(22px, 5vw, 56px);
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(47,107,255,.10) 0%, rgba(47,107,255,0) 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  border-top: 1px solid rgba(11,13,18,.07);
  border-bottom: 1px solid rgba(11,13,18,.07);
}
.proof-head {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}
.proof-headline {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.proof-subline {
  margin-top: 12px;
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.24rem);
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.03em;
}
.proof-frame {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding: 18px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.proof-scroll-rows {
  display: grid;
  gap: 10px;
}
.proof-scroll-outer {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.proof-scroll-outer.is-dragging { cursor: grabbing; }
.proof-scroll-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 18px 0;
  will-change: transform;
}
.proof-scroll-img {
  height: 220px;
  width: auto;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  pointer-events: none;
  box-shadow: 8px 8px 0 rgba(47,107,255,.22), 0 14px 36px -18px rgba(11,13,18,.30);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.proof-scroll-img:nth-child(3n+1) { transform: rotate(-1.1deg); }
.proof-scroll-img:nth-child(3n+2) { transform: rotate(.9deg); }
.proof-scroll-img:nth-child(3n) { transform: rotate(-.35deg); }
.proof-scroll-outer.is-dragging .proof-scroll-img { transform: none; }

/* ---------- Review photo strip ---------- */
.sec-reviews {
  position: relative;
  max-width: none;
  overflow: hidden;
  padding: clamp(82px, 9vw, 116px) 0 clamp(90px, 10vw, 128px);
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(47,107,255,.12) 0%, rgba(47,107,255,0) 30%),
    linear-gradient(180deg, #f3f6fb 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(11,13,18,.07);
}
.sec-reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(47,107,255,.045) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(47,107,255,.035) 0 1px, transparent 1px 100%);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 42%, black 0%, transparent 70%);
  opacity: .45;
}
.review-copy {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 44px));
  margin: 0 auto clamp(34px, 4vw, 48px);
}
.review-copy h2 {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.review-copy h2::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 8%;
  bottom: .02em;
  z-index: -1;
  height: .26em;
  background: rgba(47,107,255,.18);
  transform: rotate(-1.4deg);
}
.review-copy > p:last-child {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
  word-break: keep-all;
}
.review-marquee-rows {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(6px, 1vw, 14px);
}
.review-marquee {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.review-marquee-track {
  display: flex;
  width: max-content;
  gap: clamp(14px, 1.7vw, 22px);
  padding: 18px 0 24px;
  will-change: transform;
  user-select: none;
}
.review-marquee-track.is-dragging {
  cursor: grabbing;
  animation: none;
}
.review-marquee:has(.review-marquee-track.is-dragging) {
  cursor: grabbing;
}
.video-review-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(214px, 18vw, 292px);
  height: clamp(286px, 24vw, 390px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  border: 3px solid var(--ink);
  box-shadow:
    8px 8px 0 rgba(47,107,255,.18),
    0 28px 70px rgba(15,23,42,.12),
    0 2px 0 rgba(255,255,255,.96) inset;
  transform: rotate(-.6deg) translateZ(0);
  cursor: zoom-in;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.video-review-card:hover {
  transform: translateY(-4px) rotate(.4deg) translateZ(0);
  border-color: rgba(47,107,255,.24);
  box-shadow:
    11px 11px 0 rgba(47,107,255,.22),
    0 34px 80px rgba(15,23,42,.16),
    0 2px 0 rgba(255,255,255,.96) inset;
}
.video-review-card:focus-visible {
  outline: 3px solid rgba(47,107,255,.30);
  outline-offset: 4px;
}
.video-review-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
  pointer-events: none;
}
.video-review-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.review-marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(44px, 11vw, 180px);
  pointer-events: none;
}
.review-marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, #f3f6fb 0%, rgba(243,246,251,0) 100%);
}
.review-marquee-fade-right {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}

/* ---------- Process ---------- */
#process {
  position: relative;
  max-width: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 17% 20%, rgba(47,107,255,.10) 0%, rgba(47,107,255,0) 30%),
    linear-gradient(180deg, #f7f8fb 0%, #eef1f6 100%);
  padding-left: clamp(22px, 5vw, 56px);
  padding-right: clamp(22px, 5vw, 56px);
}
#process::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,107,255,.24), transparent);
  pointer-events: none;
}
#process .section-head,
#process .steps {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  counter-reset: none;
}
.step {
  position: relative;
  isolation: isolate;
  min-height: 150px;
  padding: 22px 14px 24px;
  overflow: visible;
  border: 2px solid rgba(11,13,18,.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.82)),
    radial-gradient(circle at 18% 0%, rgba(47,107,255,.11), transparent 42%);
  box-shadow:
    7px 7px 0 rgba(47,107,255,.14),
    0 18px 44px rgba(15,23,42,.06),
    inset 0 1px 0 rgba(255,255,255,.92);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.step:nth-child(1) { transform: rotate(-.7deg); }
.step:nth-child(2) { transform: rotate(.6deg); }
.step:nth-child(3) { transform: rotate(-.45deg); }
.step:nth-child(4) { transform: rotate(.7deg); }
.step::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: 17px;
  opacity: 0;
  background: linear-gradient(135deg, rgba(47,107,255,.14), rgba(255,255,255,0) 52%);
  transition: opacity .28s var(--ease);
  pointer-events: none;
}
.step::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  z-index: 1;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--accent);
  opacity: .72;
  transform: scaleX(.32);
  transform-origin: left center;
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}
.step > :not(.step-arrow) {
  position: relative;
  z-index: 2;
}
.step:hover {
  transform: translateY(-6px) rotate(0deg);
  border-color: rgba(47,107,255,.28);
  box-shadow:
    10px 10px 0 rgba(47,107,255,.18),
    0 26px 58px rgba(15,23,42,.10),
    inset 0 1px 0 rgba(255,255,255,.96);
}
.step:hover::before { opacity: 1; }
.step:hover::after { opacity: 1; transform: scaleX(1); }
.step .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  margin-bottom: 22px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: 4px 4px 0 rgba(11,13,18,.22), 0 10px 24px rgba(47,107,255,.26);
}
.step-arrow {
  position: absolute;
  right: -14px;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: .9rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(47,107,255,.24);
}
.step h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.step p {
  color: var(--ink-2);
  font-size: .82rem;
  line-height: 1.55;
  word-break: keep-all;
}

/* ---------- Contact ---------- */
.contact { position: relative; background: #fbfcfe; color: var(--ink); overflow: hidden; padding-top: clamp(86px,12vw,128px); padding-bottom: clamp(86px,12vw,128px); border-top: 1px solid rgba(11,13,18,.07); box-shadow: inset 0 18px 48px rgba(15,23,42,.035); }
.contact::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(251,252,254,.98) 44%, rgba(246,248,252,.98) 100%),
    radial-gradient(ellipse 42% 34% at 50% 0%, rgba(47,107,255,.07) 0%, transparent 72%);
}
.contact .inner { position: relative; }
.contact .eyebrow { color: var(--accent); }
.contact h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.contact-title span {
  color: var(--accent);
}
.contact p { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 0; }
.contact .bar { margin-left: auto; margin-right: auto; background: var(--accent); }
.contact-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(34px, 4.6vw, 56px);
}
.contact-copy {
  max-width: 620px;
  text-align: center;
}
.video-inquiry-card {
  position: relative;
  width: min(100%, 760px);
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,251,255,.96)),
    radial-gradient(circle at 16% 0%, rgba(47,107,255,.10), transparent 38%);
  color: var(--ink);
  box-shadow:
    12px 12px 0 rgba(47,107,255,.16),
    0 30px 80px rgba(27,37,62,.12),
    inset 0 1px 0 rgba(255,255,255,.95);
}
.video-inquiry-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(47,107,255,0));
}
.video-call-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 800;
  font-size: .96rem;
  white-space: nowrap;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.video-call-ghost:hover {
  transform: translateY(-2px);
}
.video-inquiry-form {
  display: grid;
  gap: 18px;
  padding: 36px 34px 34px;
}
.video-form-field {
  display: grid;
  gap: 8px;
}
.video-form-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #22262e;
  font-size: .83rem;
  font-weight: 760;
  letter-spacing: -0.018em;
}
.required-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(47,107,255,.18);
  border-radius: 999px;
  background: rgba(47,107,255,.08);
  color: var(--accent);
  font-size: .68rem;
  font-weight: 850;
  line-height: 1;
}
.video-form-field input {
  width: 100%;
  height: 54px;
  border: 2px solid rgba(11,13,18,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  padding: 0 16px;
  font-size: .94rem;
  font-weight: 560;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.video-form-field input:focus {
  border-color: rgba(47,107,255,.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47,107,255,.12);
}
.video-form-field.is-invalid label {
  color: #dc2626;
}
.video-form-field.is-invalid input {
  border-color: #ef4444;
  background: #fff7f7;
  box-shadow: 0 0 0 4px rgba(239,68,68,.12);
}
.video-form-field.is-invalid .video-phone-row input {
  border-color: #ef4444;
  background: #fff7f7;
}
.video-phone-row {
  display: grid;
  grid-template-columns: 1fr 10px 1fr 10px 1fr;
  align-items: center;
  gap: 8px;
}
.video-phone-row i {
  display: block;
  width: 10px;
  height: 1px;
  background: rgba(11,13,18,.30);
}
.video-privacy-wrap {
  display: grid;
  overflow: hidden;
  gap: 0;
  border: 2px solid rgba(11,13,18,.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,.04);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.video-privacy-wrap.is-invalid {
  border-color: #ef4444;
  background: #fff7f7;
  box-shadow: 0 0 0 4px rgba(239,68,68,.12), 0 10px 28px rgba(15,23,42,.04);
}
.video-privacy-wrap.is-invalid .video-privacy {
  color: #b91c1c;
}
.video-privacy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 16px;
  color: #4f5663;
  font-size: .9rem;
  font-weight: 780;
  line-height: 1.5;
  border-top: 1px solid rgba(11,13,18,.08);
}
.video-privacy input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}
.privacy-detail {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.privacy-detail summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  background: #f2f5f8;
  color: #1d2430;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: -0.018em;
}
.privacy-detail summary::-webkit-details-marker { display: none; }
.privacy-detail summary::after {
  content: "▼";
  float: right;
  color: #98a1ae;
  font-weight: 900;
  font-size: .78rem;
  transition: transform .2s var(--ease);
}
.privacy-detail[open] summary::after { transform: rotate(180deg); }
.privacy-detail div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-top: 1px solid rgba(11,13,18,.08);
  color: #687181;
  font-size: .8rem;
  line-height: 1.55;
}
.privacy-detail p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}
.video-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}
.video-submit-btn {
  min-height: 56px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.018em;
  box-shadow: var(--play-hard-shadow), 0 16px 34px rgba(47,107,255,.28);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.video-submit-btn:hover {
  transform: translate(-2px, -3px) rotate(-1deg);
  background: #245ee8;
  box-shadow: 10px 10px 0 var(--ink), 0 20px 44px rgba(47,107,255,.36);
}
.video-submit-btn:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}
.video-call-ghost {
  border: 2px solid rgba(11,13,18,.16);
  background: rgba(255,255,255,.76);
  color: #151820;
  box-shadow: 5px 5px 0 rgba(47,107,255,.14);
}
.video-call-ghost:hover {
  border-color: rgba(47,107,255,.34);
  background: #fff;
  color: var(--accent);
}

/* ---------- Footer ---------- */
.footer { background: #f6f8fc; color: var(--ink); border-top: 1px solid rgba(11,13,18,.08); padding: 34px 0; }
.footer .inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer .brand { color: var(--ink); }
.footer .logo-mark path { fill: var(--ink); }
.footer-copy { color: #8a92a0; font-size: 0.82rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #667085; font-size: 0.85rem; transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--accent); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(10,10,14,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage { width: min(420px, 92vw); display: flex; flex-direction: column; gap: 14px; transform: scale(.96); transition: transform .35s var(--ease); }
.lightbox.open .lb-stage { transform: scale(1); }
#lb-video { width: 100%; aspect-ratio: 9 / 16; max-height: 80vh; border-radius: var(--radius); background: #000; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.lb-caption { display: flex; align-items: center; gap: 12px; justify-content: center; color: rgba(255,255,255,.7); font-size: 0.9rem; }
.lb-tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; background: rgba(47,107,255,.14); color: #9db9ff; border: 1px solid rgba(47,107,255,.45); }
.lb-title { color: #fff; font-weight: 500; }
.lb-close {
  position: fixed; top: 22px; right: 26px; z-index: 101; width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.6rem; line-height: 1; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center; transition: background .2s var(--ease), transform .2s var(--ease);
}
.lb-close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }

/* ---------- Dialogs ---------- */
.review-zoom-modal,
.phone-modal,
.video-result-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9,11,16,.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s var(--ease);
}
.review-zoom-modal.open,
.phone-modal.open,
.video-result-modal.open {
  opacity: 1;
  visibility: visible;
}
.review-zoom-card {
  position: relative;
  display: grid;
  place-items: center;
  width: min(92vw, 560px);
  max-height: 88vh;
  padding: clamp(10px, 2vw, 14px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08)),
    rgba(10,12,18,.72);
  box-shadow: 0 42px 110px rgba(0,0,0,.45);
  transform: scale(.96) translateY(8px);
  transition: transform .28s var(--ease);
}
.review-zoom-modal.open .review-zoom-card {
  transform: scale(1) translateY(0);
}
.review-zoom-card img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(88vh - 28px);
  border-radius: 18px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.32);
}
.review-zoom-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #11141a;
  border: 1px solid rgba(11,13,18,.10);
  box-shadow: 0 16px 36px rgba(0,0,0,.20);
  font-size: 1.45rem;
  line-height: 1;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.review-zoom-close:hover {
  transform: rotate(90deg);
  background: #f5f7fb;
}
.phone-modal-card,
.video-result-card {
  position: relative;
  width: min(100%, 430px);
  padding: 34px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,249,252,.96));
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0,0,0,.30);
  transform: translateY(10px) scale(.98);
  transition: transform .28s var(--ease);
}
.phone-modal.open .phone-modal-card,
.video-result-modal.open .video-result-card {
  transform: none;
}
.phone-modal-close,
.video-result-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(11,13,18,.06);
  color: var(--ink-2);
  font-size: 1.35rem;
  line-height: 1;
}
.phone-modal-eyebrow,
.video-result-eyebrow {
  margin: 0 0 12px !important;
  color: var(--accent) !important;
  font-family: var(--mono);
  font-size: .72rem !important;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.phone-modal-card h3,
.video-result-card h3 {
  margin: 0 0 14px;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.phone-modal-card p,
.video-result-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.72;
  word-break: keep-all;
}
.phone-modal-card strong {
  display: block;
  margin: 24px 0 18px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.52rem;
  letter-spacing: .02em;
}
.phone-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero-visual {
    justify-content: flex-start;
  }
  .hero-reference-wrap {
    width: min(74vw, 320px);
  }
  .hero-title { font-size: clamp(3rem, 8vw, 4.7rem); }
  .db-header { display: block; }
  .db-header > div:first-child { max-width: none; }
  .filters { justify-content: flex-start; margin-top: 22px; }
  .head-filters { margin-left: 22px; margin-right: 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) .step-arrow { display: none; }
}
@media (max-width: 560px) {
  .hero {
    min-height: calc(100svh - 66px);
    align-items: stretch;
    color: #fff;
    background: #080a10;
  }
  .hero::before,
  .hero::after {
    opacity: 0;
  }
  .hero-grid {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: calc(100svh - 66px);
    align-items: center;
    justify-content: center;
    padding-top: 58px;
    padding-bottom: 66px;
  }
  .hero-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    pointer-events: none;
    border: 0;
    box-shadow: none;
    transform: none;
    background:
      radial-gradient(circle at 50% 48%, rgba(47,107,255,.12) 0%, rgba(47,107,255,0) 36%),
      linear-gradient(180deg, rgba(4,6,10,.76) 0%, rgba(4,6,10,.62) 42%, rgba(4,6,10,.9) 100%);
  }
  .hero-grid::after {
    display: none;
  }
  .hero-copy {
    z-index: 2;
    width: min(100%, 430px);
    margin: auto;
    text-align: center;
    padding: 0 16px;
  }
  .hero-copy::before {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
    color: #6fa0ff;
    background: rgba(255,255,255,.94);
    border-color: rgba(255,255,255,.94);
    box-shadow: 4px 4px 0 rgba(47,107,255,.42);
    text-shadow: none;
    transform: rotate(-1deg);
  }
  .hero-title {
    max-width: 100%;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(2.25rem, 10vw, 3.2rem);
    line-height: 1.04;
    text-shadow:
      0 2px 0 rgba(0,0,0,.62),
      0 5px 18px rgba(0,0,0,.82),
      0 0 36px rgba(0,0,0,.72);
  }
  .hero-title span {
    color: #2f75ff;
    text-shadow:
      0 2px 0 rgba(0,0,0,.68),
      0 5px 18px rgba(0,0,0,.86),
      0 0 28px rgba(0,0,0,.72),
      0 0 18px rgba(47,117,255,.34);
  }
  .hero-title::after {
    display: none;
  }
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 408px);
    margin: clamp(46px, 8vh, 76px) auto 0;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(6,10,18,.78), rgba(6,10,18,.52));
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
    box-shadow:
      0 26px 60px rgba(0,0,0,.34),
      inset 0 1px 0 rgba(255,255,255,.18);
    backdrop-filter: blur(18px) saturate(128%);
    -webkit-backdrop-filter: blur(18px) saturate(128%);
  }
  .hero-stats li,
  .hero-stats li:first-child {
    transform: none;
    padding: 21px 8px 18px;
    background: transparent;
    text-align: center;
  }
  .hero-stats li::before {
    left: 50%;
    top: 13px;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #1f6bff;
    transform: translateX(-50%);
    box-shadow: 0 0 14px rgba(31,107,255,.58);
  }
  .hero-stats li + li {
    border-top: 0;
    border-left: 1px solid rgba(255,255,255,.12);
  }
  .hero-stats strong {
    color: #fff;
    padding-left: 0;
    font-family: var(--font);
    font-size: clamp(1.18rem, 5.6vw, 1.52rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    text-shadow: 0 3px 18px rgba(0,0,0,.42);
  }
  .hero-stats span {
    margin-top: 9px;
    padding-left: 0;
    color: rgba(255,255,255,.68);
    font-size: .64rem;
    font-weight: 650;
  }
  .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    min-width: 0;
    pointer-events: none;
  }
  .hero-reference-wrap {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }
  .hero-reference-wrap::before,
  .hero-reference-wrap::after {
    display: none;
  }
  .hero-reference-video,
  .hero-reference-poster {
    object-position: 50% 20%;
    filter: brightness(.6) saturate(1.02) contrast(1.08);
    transition-duration: .35s;
  }
  .hero-visual.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .proof-head { margin-bottom: 24px; }
  .proof-headline { font-size: clamp(2rem, 8.4vw, 2.55rem); }
  .proof-subline {
    margin-top: 10px;
    font-size: 1.02rem;
  }
  .proof-frame {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .proof-scroll-rows {
    display: grid;
    gap: 8px;
    overflow: hidden;
    margin-right: -18px;
    margin-left: -18px;
    padding-left: 18px;
  }
  .proof-scroll-outer {
    display: block;
    margin: 0;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .proof-scroll-track {
    gap: 10px;
  }
  .proof-scroll-img {
    height: 178px;
    border-radius: 12px;
  }
  .sec-reviews {
    padding: 72px 0 78px;
  }
  .review-copy {
    width: calc(100% - 36px);
    margin-bottom: 24px;
    text-align: left;
  }
  .review-copy h2 {
    font-size: clamp(2rem, 8.2vw, 2.45rem);
    letter-spacing: -0.055em;
  }
  .review-copy > p:last-child {
    margin-top: 12px;
    font-size: .92rem;
  }
  .review-marquee-track {
    gap: 10px;
    padding: 10px 0 14px;
  }
  .video-review-card {
    width: 148px;
    height: 198px;
    border-radius: 14px;
    border-width: 2px;
    box-shadow: 4px 4px 0 rgba(47,107,255,.14), 0 16px 36px rgba(15,23,42,.12);
  }
  .video-review-card:hover {
    transform: translateZ(0);
    box-shadow: 4px 4px 0 rgba(47,107,255,.14), 0 16px 36px rgba(15,23,42,.12);
  }
  .review-zoom-card {
    width: min(94vw, 430px);
    max-height: 86vh;
    padding: 8px;
    border-radius: 20px;
  }
  .review-zoom-card img {
    max-height: calc(86vh - 16px);
    border-radius: 15px;
  }
  .review-zoom-close {
    top: -12px;
    right: -8px;
    width: 38px;
    height: 38px;
  }
  .review-marquee-fade {
    width: 34px;
  }
  .dash-section {
    margin-top: 0;
    margin-bottom: 54px;
    padding-top: 116px;
  }
  .section-meta {
    margin-bottom: 14px;
    transform: none;
  }
  .module-title {
    width: auto;
    font-size: 1.82rem;
  }
  .section-head h2,
  .review-copy h2 {
    width: fit-content;
  }
  .module-desc { font-size: .92rem; }
  .head-row { gap: 12px; }
  .doc-head.portfolio-active .head-row {
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    overflow: visible;
  }
  .doc-head.portfolio-active .brand {
    display: none;
  }
  .head-filters {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 6px 7px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .doc-head.portfolio-active .head-filters {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    justify-content: flex-start;
    gap: 5px;
    align-items: center;
    padding-top: 4px;
    padding-right: 8px;
    padding-bottom: 7px;
    padding-left: 8px;
    scroll-padding-inline: 8px;
    scroll-snap-type: x proximity;
  }
  .doc-head.portfolio-active .head-filters .chip {
    min-height: 32px;
    padding: 6px 9px;
    border-width: 1px;
    border-radius: 7px;
    font-size: .70rem;
    scroll-snap-align: start;
    white-space: nowrap;
  }
  .doc-head.portfolio-active .head-filters .chip.is-active { box-shadow: 3px 3px 0 var(--ink); }
  .head-filters::-webkit-scrollbar { display: none; }
  .doc-head.portfolio-active .head-nav { display: none; }
  #works {
    padding-right: 18px;
    padding-left: 18px;
    padding-top: 54px;
  }
  #works .db-header {
    display: grid;
    gap: 14px;
  }
  #works .module-title {
    font-size: clamp(2rem, 9vw, 2.6rem);
    letter-spacing: -0.055em;
  }
  #works .module-desc {
    margin-top: 8px;
    color: #68717f;
    font-size: .9rem;
    line-height: 1.55;
  }
  .portfolio-filters {
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 2px 8px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .portfolio-filters::-webkit-scrollbar { display: none; }
  .portfolio-filter-home {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
  .chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 9px;
    font-size: .76rem;
  }
  .portfolio-container {
    position: relative;
    margin-top: 20px;
    padding: 18px 0 0;
    border: 0;
    border-top: 1px solid rgba(11,13,18,.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .portfolio-container::before {
    display: none;
  }
  .portfolio-container::after {
    content: "";
    position: absolute;
    top: 70px;
    right: -18px;
    bottom: 8px;
    width: 46px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff 72%);
  }
  .portfolio-list-head {
    display: flex;
    align-items: flex-end;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: 0;
  }
  .sub-module-title {
    padding-left: 11px;
    font-size: 1rem;
  }
  .sub-module-title::before {
    top: .24em;
    width: 2px;
  }
  .archive-note {
    display: block;
    margin-top: 0;
    font-size: .65rem;
  }
  .portfolio-db-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(144px, calc((100vw - 76px) / 2), 204px);
    grid-template-columns: none;
    grid-template-rows: repeat(2, auto);
    gap: 12px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 18px 8px 0;
    margin-right: -18px;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
    overscroll-behavior-x: contain;
    contain: layout paint;
    scrollbar-width: none;
    cursor: grab;
  }
  .portfolio-db-grid.is-dragging {
    scroll-behavior: auto;
  }
  .portfolio-db-grid::-webkit-scrollbar { display: none; }
  .portfolio-db-grid::after { display: none; }
  .portfolio-scrollbar {
    display: block;
    position: relative;
    height: 12px;
    margin: 11px 2px 0;
    border-radius: 999px;
    background: rgba(11, 13, 18, .08);
    overflow: hidden;
    touch-action: none;
  }
  .portfolio-scrollbar-thumb {
    position: absolute;
    left: 0;
    top: 2px;
    width: 42px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 4px 10px rgba(37, 99, 235, .22);
    cursor: grab;
  }
  .portfolio-scrollbar.is-dragging .portfolio-scrollbar-thumb {
    cursor: grabbing;
  }
  .project-card {
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(15,23,42,.05);
  }
  .project-card:hover {
    transform: none;
    box-shadow: 0 10px 26px rgba(15,23,42,.05);
  }
  .project-img {
    height: auto;
    aspect-ratio: 5 / 7;
    border-radius: 14px 14px 0 0;
  }
  .project-img img { object-position: center top; }
  .card-play { display: none; }
  .card-dur {
    right: 8px;
    bottom: 8px;
    padding: 4px 7px;
    border-radius: 5px;
    font-size: .70rem;
  }
  .card-views {
    top: 6px;
    left: -35px;
    width: 132px;
    min-height: 28px;
    padding: 0 8px;
    font-size: .74rem;
    transform: rotate(-31deg);
  }
  .project-info { padding: 12px 10px 13px; }
  .project-no {
    margin-bottom: 8px;
    font-size: .80rem;
    letter-spacing: 0;
    line-height: 1.25;
  }
  .project-tags {
    gap: 4px;
  }
  .tag {
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: .72rem;
  }
  .project-views {
    min-height: 26px;
    padding: 4px 8px;
    font-size: .72rem;
  }
  .head-nav { gap: 14px; }
  .head-nav a:not(.head-cta) { display: none; }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step {
    transform: none !important;
    min-height: auto;
    padding: 22px 20px 24px;
  }
  .step:nth-child(2n) .step-arrow { display: inline-flex; }
  .step-arrow {
    right: 50%;
    top: auto;
    bottom: -22px;
    transform: translateX(50%) rotate(90deg);
  }
  .contact { padding-top: 76px; padding-bottom: 64px; }
  .contact-shell {
    display: block;
    text-align: center;
  }
  .contact-title { font-size: clamp(2.45rem, 12vw, 3.35rem) !important; }
  .video-inquiry-card {
    display: block;
    margin-top: 30px;
    width: 100%;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }
  .video-inquiry-card::before { display: none; }
  .video-inquiry-form { padding: 0; }
  .video-form-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .video-submit-btn,
  .video-call-ghost {
    width: 100%;
    min-height: 54px;
    font-size: .92rem;
  }
  .video-phone-row {
    grid-template-columns: 1fr 8px 1fr 8px 1fr;
    gap: 6px;
  }
  .video-form-field input {
    height: 50px;
    padding: 0 13px;
    font-size: .9rem;
  }
  .phone-modal-card,
  .video-result-card {
    padding: 30px 24px;
    border-radius: 22px;
  }
  .footer .inner { justify-content: center; text-align: center; }
}
@media (max-width: 380px) {
  #works {
    padding-right: 14px;
    padding-left: 14px;
  }
  .head-filters {
    max-width: 100%;
  }
  .portfolio-filter-home {
    width: 100%;
  }
  .portfolio-db-grid {
    grid-auto-columns: clamp(136px, calc((100vw - 62px) / 2), 156px);
    gap: 10px;
    padding-right: 14px;
    margin-right: -14px;
  }
  .chip {
    min-height: 36px;
    padding: 8px 11px;
  }
  .project-info {
    padding: 9px 8px 10px;
  }
  .tag {
    min-height: 24px;
    padding: 4px 7px;
    font-size: .65rem;
  }
  .project-views {
    min-height: 24px;
    padding: 4px 7px;
    font-size: .65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .review-marquee-track { animation: none; }
  * { scroll-behavior: auto; }
}
