/* ═══════════════════════════════════════════════════════
   WEBBOLIZE — Main Stylesheet
   Shared across index.html and inquiry.html
═══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   TOKENS
───────────────────────────────────────── */
:root {
  --void:    #07080a;
  --base:    #0b0b0e;
  --s1:      #101014;
  --s2:      #16161b;
  --s3:      #1d1d24;
  --s4:      #24242d;
  --s5:      #2d2d38;

  --b0: rgba(255,255,255,0.04);
  --b1: rgba(255,255,255,0.07);
  --b2: rgba(255,255,255,0.11);
  --b3: rgba(255,255,255,0.18);

  --t0: #ededef;
  --t1: #8f8f9a;
  --t2: #535360;
  --t3: #30303b;

  --accent:     #3872f5;
  --accent-lo:  rgba(56,114,245,0.12);
  --accent-glo: rgba(56,114,245,0.05);
  --green:      #22c55e;

  --fd: 'Syne', sans-serif;
  --fb: 'Inter', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ─────────────────────────────────────────
   RESET
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: auto; }
body {
  background: var(--void);
  color: var(--t0);
  font-family: var(--fb);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ─────────────────────────────────────────
   NOISE OVERLAY
───────────────────────────────────────── */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9998; opacity: 0.6; mix-blend-mode: overlay;
}

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.wrap {
  width: 100%; max-width: 1360px;
  margin: 0 auto; padding: 0 56px;
}
@media (max-width: 1100px) { .wrap { padding: 0 40px; } }
@media (max-width: 768px)  { .wrap { padding: 0 24px; } }

/* ─────────────────────────────────────────
   CURSOR
───────────────────────────────────────── */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 7px; height: 7px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9997;
  opacity: 0;
  transition: width .25s, height .25s, background .25s;
  will-change: transform;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1px solid rgba(56,114,245,0.4); border-radius: 50%;
  pointer-events: none; z-index: 9996;
  opacity: 0;
  transition: border-color .25s;
  will-change: transform;
}
.cursor.large { width: 12px; height: 12px; background: var(--t0); }
/* Scale is handled by JS lerp — only override border-color here */
.cursor-ring.large { border-color: rgba(255,255,255,0.2); }
@media (hover: none) { .cursor, .cursor-ring { display: none; } }
/* Hide native cursor on true pointer devices */
@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }
}

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200; padding: 0 56px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(7,8,10,0.92) 0%, transparent 100%);
  pointer-events: none;
}
.nav-logo {
  font-family: var(--fd); font-size: 17px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--t0);
  position: relative; z-index: 1;
  opacity: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
  position: relative; z-index: 1;
}
.nav-links a {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--t1); transition: color .2s;
  opacity: 0;
}
.nav-links a:hover { color: var(--t0); }
.nav-cta {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--t0); border: 1px solid var(--b2);
  padding: 10px 22px;
  position: relative; z-index: 1;
  transition: background .2s, border-color .2s;
  opacity: 0;
}
.nav-cta:hover { background: var(--s3); border-color: var(--b3); }
@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn-solid {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; background: var(--t0);
  color: var(--void); font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em; transition: opacity .2s;
}
.btn-solid:hover { opacity: .88; }
.btn-solid svg { transition: transform .2s; }
.btn-solid:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 0; font-size: 13px; font-weight: 500;
  color: var(--t1); border-bottom: 1px solid var(--b2);
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--t0); border-color: var(--b3); }
.btn-ghost svg { transition: transform .2s; }
.btn-ghost:hover svg { transform: translateX(3px); }

/* ─────────────────────────────────────────
   SECTION LABELS
───────────────────────────────────────── */
.eyebrow {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--t2);
}
.eyebrow-accent { color: var(--accent); }

.section-h {
  font-family: var(--fd);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  color: var(--t0);
}

/* Clip reveal wrapper */
.clip { overflow: hidden; }
.clip-inner { display: block; transform: translateY(106%); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: 100px 0 80px; position: relative; overflow: hidden;
}

/* Blueprint grid lines */
.hero-grid { position: absolute; inset: 0; pointer-events: none; }
.hgl { position: absolute; background: var(--b0); }
.hgl.v { width: 1px; height: 100%; transform-origin: top; transform: scaleY(0); }
.hgl.h { height: 1px; width: 100%; transform-origin: left; transform: scaleX(0); }

/* Content layout */
.hero-inner {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
}

.hero-tag {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
}
.hero-tag-line {
  width: 28px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}
.hero-tag-text {
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); opacity: 0;
}

/* ── TYPOGRAPHY FIX: Hero headline ──
   Was: font-size clamp(46px,5.8vw,84px), weight 800, letter-spacing -0.035em, line-height 1.0
   Fix: relax tracking from -0.035em to -0.01em — this is the primary fix.
        Weight to 700, slightly tighter max-size, and breathing room in line-height.
        Result: same visual impact, significantly more readable and less compressed. */
.hero-h1 {
  font-family: var(--fd);
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 28px;
}
.hero-h1 .line { display: block; overflow: hidden; }
.hero-h1 .li   { display: block; transform: translateY(110%); }

.hero-sub {
  font-size: 17px; line-height: 1.78; color: var(--t1);
  max-width: 440px; margin-bottom: 44px;
  opacity: 0; transform: translateY(18px);
}

.hero-actions {
  display: flex; align-items: center; gap: 24px;
  opacity: 0; transform: translateY(18px);
  flex-wrap: wrap;
}

/* ── Hero canvas ── */
.hero-canvas {
  position: relative; height: 520px;
  background: var(--s1); border: 1px solid var(--b1);
  overflow: hidden;
}
@media (max-width: 960px) { .hero-canvas { height: 360px; } }
@media (max-width: 768px) { .hero-canvas { display: none; } }

/* Interior guide lines of canvas */
.cv-grid { position: absolute; inset: 0; pointer-events: none; }
.cgl { position: absolute; background: rgba(56,114,245,0.07); }
.cgl.v { width: 1px; height: 100%; }
.cgl.h { height: 1px; width: 100%; }

/* Wireframe blocks */
.wf {
  position: absolute;
  border: 1px solid rgba(56,114,245,0.3);
  background: transparent; transition: background .5s, border-color .5s;
}
.wf-nav { top: 20px; left: 20px; right: 20px; height: 30px; }
.wf-h1a { top: 68px; left: 20px; width: 62%; height: 13px; }
.wf-h1b { top: 88px; left: 20px; width: 48%; height: 13px; }
.wf-b1  { top: 116px; left: 20px; width: 55%; height: 7px; }
.wf-b2  { top: 128px; left: 20px; width: 50%; height: 7px; }
.wf-b3  { top: 140px; left: 20px; width: 44%; height: 7px; }
.wf-cta { top: 164px; left: 20px; width: 90px; height: 26px; }
.wf-img { top: 68px; right: 20px; width: 30%; bottom: 160px; }
.wf-c1  { bottom: 20px; left: 20px; width: 28%; height: 120px; }
.wf-c2  { bottom: 20px; left: calc(20px + 30.5%); width: 28%; height: 120px; }
.wf-c3  { bottom: 20px; right: 20px; width: 28%; height: 120px; }

/* Filled states */
.wf.filled       { border-color: transparent; }
.wf-nav.filled   { background: var(--s2); }
.wf-h1a.filled   { background: var(--s3); }
.wf-h1b.filled   { background: var(--s4); }
.wf-b1.filled, .wf-b2.filled, .wf-b3.filled { background: var(--s3); }
.wf-cta.filled   { background: var(--accent); }
.wf-img.filled   { background: var(--s2); }
.wf-c1.filled, .wf-c2.filled, .wf-c3.filled { background: var(--s2); }

/* Polished design details overlaid after fill */
.cv-polish { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.cv-dots { display: flex; gap: 6px; position: absolute; top: 28px; left: 30px; }
.cv-dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--s4); }
.cv-tag-line {
  position: absolute; top: 56px; left: 20px;
  width: 28px; height: 1px; background: var(--accent);
}
.cv-ruler {
  position: absolute; top: 0; right: 0; width: 16px; bottom: 0;
  background: var(--s1); border-left: 1px solid var(--b1);
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 8px; align-items: center;
}
.cv-ruler-tick { width: 5px; height: 1px; background: var(--t3); }
.cv-ruler-tick:nth-child(4n) { width: 8px; background: var(--t2); }

/* Content layers inside filled wf blocks — hidden until fill completes */
.wf-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0;
  overflow: hidden;
}

/* ─────────────────────────────────────────
   MARQUEE
───────────────────────────────────────── */
.marquee-bar {
  border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1);
  padding: 14px 0; overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 0;
  animation: marquee-scroll 22s linear infinite;
  will-change: transform;
}
.marquee-track.rev { animation-direction: reverse; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 0 14px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--t3);
}
.marquee-sep { color: var(--accent); font-size: 10px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   TRUST / POSITIONING
───────────────────────────────────────── */
.trust { padding: 128px 0; }
.trust-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: start;
}
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr; gap: 56px; }
}

.trust-lede {
  font-family: var(--fd);
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.08;
  color: var(--t0);
}
.trust-lede .line { display: block; overflow: hidden; }
.trust-lede .li   { display: block; transform: translateY(110%); }

.trust-body {
  font-size: 16px; line-height: 1.82; color: var(--t1);
  margin-bottom: 28px; opacity: 0; transform: translateY(20px);
}
.trust-note {
  font-size: 13px; line-height: 1.7; color: var(--t2);
  opacity: 0; transform: translateY(20px);
}

.trust-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin-top: 52px;
}
.stat { opacity: 0; transform: translateY(20px); }
.stat-val {
  font-family: var(--fd); font-size: 38px; font-weight: 800;
  letter-spacing: -0.04em; color: var(--t0); line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 12px; color: var(--t2); line-height: 1.5; }

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services { padding: 120px 0; }
.svc-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-bottom: 40px; border-bottom: 1px solid var(--b1);
  margin-bottom: 0;
}
.svc-count { font-size: 11px; color: var(--t2); letter-spacing: 0.1em; }

.svc-item {
  display: grid; grid-template-columns: 56px 1fr auto;
  align-items: baseline; gap: 28px;
  padding: 26px 0; border-bottom: 1px solid var(--b1);
  position: relative; overflow: hidden;
  opacity: 0; transform: translateX(-16px);
}
.svc-item::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width .45s var(--ease-out-expo);
}
.svc-item:hover::after { width: 100%; }
.svc-item:hover .svc-name { color: var(--t0); }

.svc-num {
  font-size: 11px; color: var(--t2);
  letter-spacing: 0.08em; font-weight: 500;
}
.svc-name {
  font-family: var(--fd); font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700; letter-spacing: -0.022em;
  color: var(--t1); transition: color .3s;
}
.svc-note {
  font-size: 12px; color: var(--t2);
  text-align: right; max-width: 240px; line-height: 1.5;
}
@media (max-width: 768px) {
  .svc-item { grid-template-columns: 40px 1fr; }
  .svc-note { display: none; }
  .svc-head { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ─────────────────────────────────────────
   STORYLINE
───────────────────────────────────────── */
.storyline { padding: 120px 0; }
.story-head { margin-bottom: 80px; }

/* ── TYPOGRAPHY FIX: Story lede ──
   Was: clamp(38px,4.2vw,62px), weight 800, letter-spacing -0.035em, line-height 1.05
   Fix: same treatment as hero — relax tracking, reduce weight, more line-height.
        The -0.035em was causing visual density at large sizes that read as clunky.
        At -0.015em with 700 weight, the heading feels editorial rather than crushed. */
.story-lede {
  font-family: var(--fd);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.14;
}

.stage-list { border-top: 1px solid var(--b1); }
.stage-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 72px 0; border-bottom: 1px solid var(--b1);
  opacity: 0; transform: translateY(40px);
}
@media (max-width: 900px) {
  .stage-row { grid-template-columns: 1fr; gap: 40px; padding: 52px 0; }
}

.stage-eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px; display: block;
}
.stage-h {
  font-family: var(--fd);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.15; color: var(--t0); margin-bottom: 16px;
}
.stage-p { font-size: 15px; line-height: 1.78; color: var(--t1); }

.stage-vis {
  height: 220px; position: relative;
  background: var(--s1); border: 1px solid var(--b1);
  overflow: hidden;
}
@media (max-width: 900px) { .stage-vis { height: 180px; } }

/* Stage 1: raw scatter */
.sv1 { display: flex; flex-direction: column; padding: 20px; gap: 6px; justify-content: center; }
.sv-line { height: 5px; border-radius: 1px; background: var(--s3); }
.sv-box  { border: 1px dashed var(--b2); height: 40px; }
/* Stage 2: wireframe grid */
.sv2 { padding: 16px; }
.sv2-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; height: 100%; }
.sv2-cell { border: 1px solid rgba(56,114,245,0.2); background: var(--s0); }
/* Stage 3: design fills */
.sv3 { padding: 16px; }
.sv3-nav { height: 22px; background: var(--s2); border-bottom: 1px solid var(--b1); margin-bottom: 10px; }
.sv3-hero { height: 70px; background: var(--s3); margin-bottom: 8px; }
.sv3-cta  { height: 18px; width: 60px; background: var(--accent); opacity: .7; }
/* Stage 4: polished */
.sv4 { padding: 0; position: relative; }
.sv4-screen { position: absolute; inset: 12px; background: var(--void); border: 1px solid var(--b2); }
.sv4-top { height: 22px; background: var(--s1); border-bottom: 1px solid var(--b1); display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; }
.sv4-dot { width: 28px; height: 8px; background: var(--accent); opacity: .7; border-radius: 1px; }
.sv4-body { padding: 10px; }
.sv4-bar { height: 5px; width: 65%; background: var(--s3); border-radius: 1px; margin-bottom: 5px; }
.sv4-bar2{ height: 5px; width: 45%; background: var(--s3); border-radius: 1px; margin-bottom: 12px; }
.sv4-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
.sv4-card { height: 28px; background: var(--s2); border-top: 2px solid var(--accent); }
.sv4-card:nth-child(2) { border-top-color: var(--s4); }
.sv4-card:nth-child(3) { border-top-color: var(--s4); }

/* ─────────────────────────────────────────
   PROCESS
───────────────────────────────────────── */
.process { padding: 120px 0; }
.process-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start; margin-bottom: 80px;
}
@media (max-width: 900px) { .process-head { grid-template-columns: 1fr; gap: 32px; } }
.process-desc { font-size: 15px; line-height: 1.8; color: var(--t1); padding-top: 8px; }

.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .process-grid { grid-template-columns: 1fr; } }

.proc-step {
  padding: 36px 28px; background: var(--s1);
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(28px);
  transition: background .2s;
}
.proc-step:hover { background: var(--s2); }
.proc-step::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 2px; height: 0;
  background: var(--accent);
  transition: height .35s var(--ease-out-expo);
}
.proc-step:hover::before { height: 100%; }
.proc-num {
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  color: var(--t2); margin-bottom: 20px; display: block;
}
.proc-name {
  font-family: var(--fd); font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--t0); margin-bottom: 10px;
}
.proc-desc { font-size: 13px; line-height: 1.65; color: var(--t1); }

/* ─────────────────────────────────────────
   CAPABILITIES
───────────────────────────────────────── */
.capabilities { padding: 120px 0; }
.cap-intro { margin-bottom: 80px; }
.cap-intro .section-h { max-width: 540px; }

.cap-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: start;
}
@media (max-width: 960px) { .cap-layout { grid-template-columns: 1fr; gap: 56px; } }

.cap-sticky { position: sticky; top: 120px; }
@media (max-width: 960px) { .cap-sticky { position: relative; top: auto; } }

.cap-viewport {
  width: 100%; aspect-ratio: 4/3;
  background: var(--s1); border: 1px solid var(--b1);
  position: relative; overflow: hidden;
}
.cap-screen {
  position: absolute; inset: 16px;
  background: var(--void); border: 1px solid var(--b1);
  overflow: hidden;
}
#cap-visual { width: 100%; height: 100%; }

.cap-item {
  padding: 36px 0; border-bottom: 1px solid var(--b1);
  opacity: 0; transform: translateX(20px);
}
.cap-item:first-child { padding-top: 0; }
.cap-num {
  font-size: 10px; font-weight: 500; letter-spacing: 0.12em;
  color: var(--t2); margin-bottom: 10px;
}
.cap-name {
  font-family: var(--fd); font-size: 21px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--t0); margin-bottom: 10px;
}
.cap-body { font-size: 14px; line-height: 1.75; color: var(--t1); }

/* ─────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────── */
.cta-section {
  padding: 160px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(56,114,245,0.04) 0%, transparent 68%);
  pointer-events: none;
}

.cta-h {
  font-family: var(--fd);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 0.98;
  color: var(--t0); margin-bottom: 32px;
  opacity: 0; transform: translateY(32px);
}
.cta-h span { color: var(--t2); }
.cta-sub {
  font-size: 17px; color: var(--t1); line-height: 1.7;
  max-width: 420px; margin: 0 auto 52px;
  opacity: 0; transform: translateY(20px);
}
.cta-actions {
  display: flex; gap: 20px; justify-content: center;
  align-items: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
}
.cta-eyebrow {
  margin-bottom: 28px;
  opacity: 0; transform: translateY(12px);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer { border-top: 1px solid var(--b1); padding: 72px 0 48px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px; margin-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand {
  font-family: var(--fd); font-size: 18px; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.footer-statement { font-size: 13px; line-height: 1.7; color: var(--t2); max-width: 240px; }
.footer-col-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--t3); margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--t1); transition: color .2s; }
.footer-links a:hover { color: var(--t0); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--b0);
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 12px; text-align: center; } }
.footer-copy { font-size: 11px; color: var(--t3); }

/* ─────────────────────────────────────────
   UTILITIES
───────────────────────────────────────── */
.rule { height: 1px; background: var(--b1); }
.sec-intro { margin-bottom: 64px; }
.sec-intro .eyebrow { margin-bottom: 16px; display: block; }


/* ═══════════════════════════════════════════════════════
   INQUIRY PAGE
═══════════════════════════════════════════════════════ */

/* Page layout */
.inq-page {
  min-height: 100svh;
  padding-top: 72px; /* nav height */
}

.inq-main {
  padding: 80px 0 120px;
}

.inq-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 100px;
  align-items: start;
}
@media (max-width: 960px) {
  .inq-layout { grid-template-columns: 1fr; gap: 56px; }
}

/* Left: intro */
.inq-left {
  position: sticky;
  top: 120px;
}
@media (max-width: 960px) {
  .inq-left { position: relative; top: auto; }
}

.inq-tag {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.inq-tag-line {
  width: 28px; height: 1px; background: var(--accent);
}
.inq-tag-text {
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}

.inq-h1 {
  font-family: var(--fd);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--t0);
  margin-bottom: 20px;
}

.inq-intro {
  font-size: 16px;
  line-height: 1.78;
  color: var(--t1);
  margin-bottom: 40px;
  max-width: 380px;
}

.inq-divider {
  height: 1px;
  background: var(--b1);
  margin-bottom: 28px;
}

.inq-contact-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--t2);
  margin-bottom: 8px; display: block;
}

.inq-contact-email {
  font-size: 14px; font-weight: 500;
  color: var(--t1);
  transition: color .2s;
}
.inq-contact-email:hover { color: var(--t0); }

/* Right: form */
.inq-form-wrap {
  padding-top: 4px;
}

/* Form field groups */
.field-group {
  margin-bottom: 32px;
}

.field-label {
  display: block;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--t2);
  margin-bottom: 10px;
}
.field-label .optional {
  color: var(--t3);
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 10px;
}

.field-input {
  display: block; width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--b2);
  color: var(--t0);
  font-family: var(--fb); font-size: 15px; font-weight: 400;
  outline: none;
  transition: border-color .25s;
  border-radius: 0;
  -webkit-appearance: none;
}
.field-input::placeholder { color: var(--t3); }
.field-input:focus { border-bottom-color: var(--accent); }

textarea.field-input {
  resize: none;
  height: 130px;
  line-height: 1.65;
  padding-top: 12px;
}

select.field-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23535360' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 24px;
}
select.field-input option {
  background: var(--s2);
  color: var(--t0);
}

/* Two-column field rows */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.field-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 640px) {
  .field-row, .field-row-3 { grid-template-columns: 1fr; gap: 0; }
}

/* Submit button */
.inq-submit {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 36px;
  background: var(--t0); color: var(--void);
  border: none;
  font-family: var(--fb); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity .2s;
  margin-top: 8px;
}
.inq-submit:hover { opacity: .86; }
.inq-submit:disabled { opacity: .4; cursor: not-allowed; }
.inq-submit svg { transition: transform .2s; flex-shrink: 0; }
.inq-submit:hover:not(:disabled) svg { transform: translateX(3px); }

/* Form error state */
.field-input.error { border-bottom-color: #ef4444; }
.field-error {
  display: none;
  font-size: 11px; color: #ef4444;
  margin-top: 6px; letter-spacing: 0.02em;
}
.field-input.error + .field-error { display: block; }

/* Success state */
.inq-success {
  display: none;
  padding: 80px 0;
}
.inq-success.visible { display: block; }

.inq-success-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 20px;
  margin-bottom: 28px;
}
.inq-success-h {
  font-family: var(--fd); font-size: clamp(28px, 3vw, 40px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  color: var(--t0); margin-bottom: 16px;
}
.inq-success-p {
  font-size: 16px; line-height: 1.75;
  color: var(--t1); margin-bottom: 40px; max-width: 420px;
}

/* Inquiry page entry animation */
@keyframes inq-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.inq-main {
  animation: inq-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.25s;
}

/* Nav on inquiry page — always visible (no load animation) */
.inq-page .nav-logo,
.inq-page .nav-links a,
.inq-page .nav-cta {
  opacity: 1;
}
