/* ============================================================
 * BLUEFROG Japan — Static landing
 * Layout & content order follow the original Wix site.
 * ========================================================== */
@font-face {
  font-family: "Pretendard JP Variable";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/PretendardJP-subset.woff2") format("woff2-variations");
}

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-deep: #0a0f1f;
  --ink: #0c1224;
  --ink-2: #2a3045;
  --ink-3: #5b6178;
  --line: #e6e8f0;

  --brand: #0b4cff;
  --brand-2: #4a7bff;
  --brand-soft: #e6edff;
  --accent: #00d4b8;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(8, 16, 40, 0.06);
  --shadow: 0 12px 32px -12px rgba(8, 16, 40, 0.16), 0 4px 12px -4px rgba(8, 16, 40, 0.06);
  --shadow-lg: 0 32px 64px -24px rgba(8, 16, 40, 0.24), 0 8px 24px -8px rgba(8, 16, 40, 0.10);

  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard JP Variable", "Pretendard", -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
em { font-style: normal; color: var(--ink); font-weight: 600; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 12px; top: 12px;
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px;
  z-index: 1000;
}

/* 키보드 포커스 가시화 */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav__cta:focus-visible {
  outline-offset: 4px;
}

/* ============================================================
 * Nav — floating capsule (matches original Wix layout)
 * ========================================================== */
.nav {
  position: fixed;
  top: 16px; left: 0; right: 0;
  z-index: 50;
  display: flex; justify-content: center;
  padding: 0 var(--pad);
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  width: 100%;
  max-width: calc(var(--maxw) - 80px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 14px 10px 22px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.15);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.nav.is-scrolled .nav__pill {
  background: rgba(255,255,255,0.92);
  border-color: var(--line);
}
.nav__logo img { width: 110px; height: auto; display: block; }
.nav__menu { display: flex; gap: 28px; align-items: center; flex: 1; justify-content: center; }
.nav__menu a {
  font-weight: 600; color: var(--ink-2); font-size: 13px; letter-spacing: 0.12em;
  position: relative; padding: 6px 0;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--brand); transition: right .25s var(--ease);
}
.nav__menu a:hover::after { right: 0; }
.nav__cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav__cta:hover { background: var(--brand); transform: translateY(-1px); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__pill { padding: 8px 8px 8px 18px; }
  .nav__toggle { display: flex; }
  .nav__menu, .nav__cta { display: none; }
  .nav.is-open + #main { /* prevent nav-shadow click-through */ }
  .nav.is-open .nav__pill {
    border-radius: 18px;
    flex-wrap: wrap;
  }
  .nav.is-open .nav__menu {
    display: flex;
    flex-direction: column; align-items: flex-start;
    width: 100%; order: 3; padding-top: 12px; gap: 0;
    border-top: 1px solid var(--line);
    margin-top: 4px;
  }
  .nav.is-open .nav__menu a { width: 100%; padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav.is-open .nav__menu a:last-child { border-bottom: 0; }
  .nav.is-open .nav__cta {
    display: inline-flex; align-items: center;
    order: 4; margin-top: 6px;
  }
}

/* ============================================================
 * Layout primitives
 * ========================================================== */
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 7vw, 80px); }
.section__head--left { text-align: left; margin-left: 0; }
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.24em;
  color: var(--brand); text-transform: uppercase;
}
.eyebrow--light { color: #6fa8ff; }
.section__title {
  margin: 0 0 18px;
  font-size: clamp(28px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section__lead { margin: 0; font-size: clamp(15px, 1.4vw, 17px); color: var(--ink-3); }
.br-md { display: none; }
@media (min-width: 720px) { .br-md { display: inline; } }

/* ============================================================
 * Buttons
 * ========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--brand); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--block { display: flex; width: 100%; }

/* ============================================================
 * Hero — static gradient + glow orbs (no video)
 * ========================================================== */
.hero {
  position: relative;
  min-height: clamp(640px, 100vh, 960px);
  padding: clamp(140px, 18vw, 220px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  display: flex; align-items: center;
  background: var(--bg-deep);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, #0e1a3a 0%, #050a18 60%);
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(125%) contrast(108%) brightness(0.85) hue-rotate(-8deg);
  z-index: 0;
}
.hero__veil {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,10,24,0.30) 0%, rgba(5,10,24,0.45) 60%, rgba(5,10,24,0.85) 100%),
    linear-gradient(90deg, rgba(5,10,24,0.55) 0%, rgba(5,10,24,0.15) 45%, rgba(5,10,24,0.25) 100%);
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(111,168,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,168,255,0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  z-index: 2;
}
.hero__orb { z-index: 2; opacity: 0.35; }
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
}
.hero__orb--a {
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, #5b8dff, #0b4cff 70%);
  top: -120px; left: -160px;
  animation: floatA 16s var(--ease) infinite alternate;
}
.hero__orb--b {
  width: 420px; height: 420px;
  background: radial-gradient(circle at 70% 70%, #00e4c4, transparent 70%);
  top: 30%; right: -120px;
  animation: floatB 20s var(--ease) infinite alternate;
}
.hero__orb--c {
  width: 360px; height: 360px;
  background: radial-gradient(circle at 50% 50%, #6b3aff, transparent 70%);
  bottom: -120px; left: 30%;
  animation: floatC 24s var(--ease) infinite alternate;
  opacity: 0.4;
}
@keyframes floatA { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(40px,30px,0) scale(1.08); } }
@keyframes floatB { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(-30px,-40px,0) scale(1.1); } }
@keyframes floatC { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(50px,-30px,0) scale(0.92); } }

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  width: 100%;
}
.hero__eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.65);
}
.hero__title {
  margin: 0 0 22px;
  font-size: clamp(38px, 7.6vw, 88px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 14ch;
}
.hero__sub {
  margin: 0 0 40px;
  font-size: clamp(15px, 1.6vw, 20px);
  color: rgba(255,255,255,0.78);
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__trust {
  list-style: none;
  margin: clamp(56px, 8vw, 88px) 0 0;
  padding: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(16px, 3vw, 40px);
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 720px;
}
.hero__trust li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hero__trust b {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.hero__trust span {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
@media (max-width: 560px) {
  .hero__trust { grid-template-columns: 1fr 1fr; }
  .hero__trust li:nth-child(3) { grid-column: 1 / -1; }
}

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 11px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px;
  width: 2px; height: 8px; background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollHint 2s var(--ease) infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 1; transform: translate(-50%, 0); }
  50% { opacity: 0.3; transform: translate(-50%, 10px); }
}

/* ============================================================
 * Concept — 4 cards (image on top, content below)
 * ========================================================== */
.section--concept { background: var(--bg); }
.concept-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1080px) { .concept-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .concept-grid { grid-template-columns: 1fr; } }

.concept {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  text-align: left;
}
.concept:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.concept__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 100%);
  overflow: hidden;
}
.concept__visual img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform .6s var(--ease);
}
.concept:hover .concept__visual img { transform: scale(1.04); }
.concept__body { padding: 24px clamp(20px, 2.5vw, 28px) 28px; }
.concept__num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px; font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}
.concept h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; }
.concept p { margin: 0; font-size: 14px; color: var(--ink-3); line-height: 1.7; }

/* ============================================================
 * About — globe viz
 * ========================================================== */
.section--about { background: var(--bg-soft); }
.about {
  display: grid; gap: clamp(40px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.about__copy { min-width: 0; }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } }
.about__copy .section__title { margin-top: 16px; }
.about__copy .btn { margin-top: 12px; }

.about__viz {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.domains {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.domain {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.domain:hover {
  transform: translateX(4px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.domain--lead {
  background: var(--bg-deep);
  border-color: transparent;
  color: #fff;
}
.domain--lead .domain__num { color: rgba(255,255,255,0.5); }
.domain__num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.domain__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: inherit;
}

/* ============================================================
 * Services
 * ========================================================== */
.section--services { background: var(--bg); }
.svc-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.svc__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 80% at 50% 0%, #1a2447 0%, #050a18 100%);
  overflow: hidden;
  isolation: isolate;
}
.svc__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,10,24,0.45) 100%);
  pointer-events: none;
  z-index: 2;
}
.svc__video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
  position: relative; z-index: 1;
}
.svc:hover .svc__video { transform: scale(1.03); }
.svc--accent .svc__media { background:
    radial-gradient(120% 80% at 50% 0%, #001a18 0%, #00080a 100%); }

.svc__body { padding: clamp(28px, 4vw, 36px); }

.svc--accent { background: var(--bg-deep); color: #fff; border-color: transparent; }
.svc--accent .svc__tag { color: var(--accent); }
.svc--accent p { color: rgba(255,255,255,0.7); }
.svc--accent .svc__chips li { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.12); }

.svc__num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.svc--accent .svc__num { color: rgba(255,255,255,0.5); }
.svc h3 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}
.svc__tag {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--brand);
  text-transform: uppercase;
}
.svc p { margin: 0 0 20px; font-size: 15px; color: var(--ink-3); }
.svc__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__chips li {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-2);
}

/* ============================================================
 * Metrics
 * ========================================================== */
.section--metrics {
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--metrics__bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--bg-deep);
}
.section--metrics__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(120%) hue-rotate(-10deg);
}
.section--metrics::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,10,24,0.85) 0%, rgba(5,10,24,0.75) 100%),
    radial-gradient(50% 50% at 80% 0%, rgba(11,76,255,0.35) 0%, transparent 60%),
    radial-gradient(40% 40% at 0% 100%, rgba(0,212,184,0.20) 0%, transparent 60%);
}

.section--metrics .section__title { color: #fff; }
.section--metrics .section__lead { color: rgba(255,255,255,0.65); }

.metrics {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 6vw, 64px);
}
@media (max-width: 760px) { .metrics { grid-template-columns: repeat(2, 1fr); } }

.metric {
  padding: 32px 24px 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  text-align: left;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.metric::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.metric:hover { transform: translateY(-3px); background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); }
.metric:hover::before { opacity: 1; }
.metric__label {
  margin: 0 0 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(111,168,255,0.85);
}
.metric b {
  display: block;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #fff 0%, #b9c5e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  line-height: 1.05;
}
.metric b sup {
  font-size: 0.45em;
  font-weight: 700;
  vertical-align: super;
  margin-left: 2px;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}
.metric span { font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 0.04em; }

/* ============================================================
 * Partners — uniform cells
 * ========================================================== */
.section--partners { background: var(--bg-soft); }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 380px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

.logo-cell {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1 / 1;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background .25s var(--ease);
}
.logo-cell:hover { background: var(--bg-soft); }
.logo-cell img {
  max-width: 84%;
  max-height: 64px;
  width: auto;
  object-fit: contain;
  /* 디테일 보존하며 회색조 통일 — alpha 처리된 자산이라 흰 배경 없음 */
  filter: grayscale(1) opacity(0.85);
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}
.logo-cell:hover img {
  filter: grayscale(0) opacity(1);
}

.partners__note {
  margin-top: 32px;
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
}

/* ============================================================
 * Contact
 * ========================================================== */
.section--contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--contact__bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--bg);
}
.section--contact__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.30;
}
.section--contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.95) 100%);
}

.contact {
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.contact__copy .section__title { margin-top: 16px; }
.contact__card {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.contact__card dl { margin: 0 0 24px; display: grid; gap: 16px; }
.contact__card dl > div {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.contact__card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact__card dt {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-3);
  text-transform: uppercase; padding-top: 4px;
}
.contact__card dd { margin: 0; font-size: 15px; color: var(--ink); font-weight: 500; }
.contact__card dd a:hover { color: var(--brand); }

/* ============================================================
 * Footer
 * ========================================================== */
.footer {
  background: var(--bg-deep);
  color: rgba(255,255,255,0.75);
  padding: clamp(56px, 8vw, 88px) 0 32px;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid; gap: 32px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; } }

.footer__brand img { filter: brightness(0) invert(1); width: 130px; margin-bottom: 14px; }
.footer__brand p { margin: 0 0 6px; font-size: 14px; color: rgba(255,255,255,0.78); }
.footer__tag { font-size: 12px !important; color: rgba(255,255,255,0.5) !important; letter-spacing: 0.04em; }
.footer__info { margin: 0; display: grid; gap: 18px; }
.footer__info > div { display: grid; grid-template-columns: 70px 1fr; gap: 14px; }
.footer__info dt {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45); text-transform: uppercase; padding-top: 2px;
}
.footer__info dd { margin: 0; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.82); }
.footer__info dd span { display: block; font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 4px; letter-spacing: 0.02em; }
.footer__info dd a { border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer__info dd a:hover { color: #fff; border-color: #fff; }
.footer__legal {
  grid-column: 1 / -1;
  margin-top: 16px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.footer__legal a:hover { color: #fff; }

/* ============================================================
 * Reveal animation (opt-in via .js — content visible without JS)
 * ========================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__video { display: none; }
}
