/* THE LOCA — B: LENS. Scrolling moves the camera forward through a 3D world */
:root {
  --bg: #EDEFF2; --ink: #0A0D18; --ink-2: #5A6275; --ink-3: #9AA1B0; --key: #FF5A1F;
  --rim: #07090F;
  --kr: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  --lat: "Geist", "Pretendard", system-ui, sans-serif;
  --P: 1000px;                 /* CSS perspective — mirrored by the WebGL camera */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: light; }
body { font-family: var(--kr); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
em { font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lat { font-family: var(--lat); }
.logo { display: block; line-height: 0; }
.logo svg { width: 100%; height: auto; display: block; }

#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
.spacer { height: 100vh; } /* real height is set from JS (depth → scroll length) */

/* ---------- 3D world ---------- */
.viewport { position: fixed; inset: 0; z-index: 1; perspective: var(--P); perspective-origin: 50% 50%; overflow: hidden; overflow: clip; pointer-events: none; }
.world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.layer { position: absolute; left: 0; top: 0; transform-style: preserve-3d; will-change: transform, opacity; backface-visibility: hidden; pointer-events: none; }
.layer.is-near { pointer-events: auto; }
.tag { font: 600 13px/1 var(--kr); color: var(--key); letter-spacing: .02em; }

.hero { width: 1200px; text-align: center; }
.hero__logo { width: 1100px; margin: 26px auto 34px; color: var(--ink); }
.hero h1 { font-size: 44px; font-weight: 300; letter-spacing: -.03em; }
.hero h1 b { font-weight: 600; }
.hero h1 em, .contact h2 em { color: var(--key); }
.hint { margin-top: 40px; font-size: 13px; color: var(--ink-3); }
.hint::after { content: ""; display: block; width: 1px; height: 48px; margin: 14px auto 0; background: linear-gradient(var(--ink-3), transparent); animation: drop 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.statement { width: 1100px; text-align: center; }
.statement h2 { margin-top: 22px; font-size: 76px; line-height: 1.12; font-weight: 300; letter-spacing: -.04em; }
.statement h2 b { font-weight: 700; }
.sub { margin-top: 26px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.stats { display: flex; justify-content: center; gap: 70px; margin-top: 44px; }
.stats b { display: block; font: 200 64px/1 var(--lat); color: var(--key); letter-spacing: -.04em; }
.stats span { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--ink-3); }

.label { width: 1200px; text-align: center; }
.label h2 { margin-top: 18px; font-size: 92px; line-height: 1.05; font-weight: 700; letter-spacing: -.05em; }
.label .big { font-size: 300px; font-weight: 500; letter-spacing: -.07em; line-height: .9; }

.card { width: 600px; padding: 40px 42px 38px; background: rgba(255,255,255,.72); border: 1px solid rgba(10,13,24,.08); border-radius: 22px; backdrop-filter: blur(10px); box-shadow: 0 40px 80px rgba(10,13,24,.08); }
.card .no { font: 500 13px var(--lat); color: var(--key); }
.card .st { position: absolute; right: 36px; top: 34px; font-size: 13px; font-weight: 700; color: #fff; background: var(--ink); padding: 6px 13px; border-radius: 99px; }
.card .st--wip { background: transparent; color: var(--key); border: 1px solid var(--key); }
.card h3 { margin-top: 18px; font-size: 76px; line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.card.rd h3 { font-size: 40px; font-weight: 700; letter-spacing: -.03em; }
.card > b { display: block; margin-top: 22px; font-size: 20px; font-weight: 700; }
.card p { margin-top: 10px; font-size: 16px; line-height: 1.7; color: #3A4560; }
.tags { display: flex; gap: 8px; margin-top: 18px; }
.tags span, .ref { display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 11px; border: 1px solid rgba(10,13,24,.22); border-radius: 99px; }
.ref { margin-top: 18px; }
.card.rd { background: var(--key); color: #fff; border-color: transparent; }
.card.rd .no { color: #fff; opacity: .8; }
.card.rd p { color: rgba(255,255,255,.85); }
.card.rd .ref { border-color: rgba(255,255,255,.55); }

.shot { width: 620px; margin: 0; }
.shot img { display: block; width: 100%; aspect-ratio: 16/10.4; object-fit: cover; border-radius: 16px; box-shadow: 0 50px 90px rgba(10,13,24,.18); }
.shot figcaption { margin-top: 16px; font-size: 16px; color: var(--ink-2); }
.shot figcaption b { margin-right: 12px; font: 600 18px var(--lat); color: var(--ink); }

.contact { width: 1200px; text-align: center; }
.contact h2 { margin-top: 22px; font-size: 80px; line-height: 1.1; font-weight: 300; letter-spacing: -.04em; }
.contact form { display: flex; align-items: center; gap: 12px; width: 900px; margin: 46px auto 0; padding: 0 0 16px; border-bottom: 1px solid rgba(10,13,24,.3); }
.contact form span { font-size: 22px; color: var(--ink-2); }
.contact input { flex: 1; border: 0; background: transparent; font: 400 22px var(--kr); color: var(--ink); outline: none; }
.contact input::placeholder { color: var(--ink-3); }
.contact button { border: 0; border-radius: 99px; padding: 14px 26px; background: var(--ink); color: #fff; font: 600 15px var(--kr); cursor: pointer; }
.contact button:hover { background: var(--key); }
.contact dl { display: flex; justify-content: center; gap: 70px; margin-top: 54px; text-align: left; }
.contact dt { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.contact dd { margin-top: 8px; font-size: 16px; }

/* ---------- LENS ---------- */
.lens { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
.lens::before { /* dark rim around a rounded visor */
  content: ""; position: absolute; inset: 14px; border-radius: 46px;
  box-shadow: 0 0 0 60px var(--rim), inset 0 0 0 1px rgba(255,255,255,.5), inset 0 0 140px 30px rgba(10,13,24,.16);
}
.lens::after { /* subtle lens curvature + vignette */
  content: ""; position: absolute; inset: 14px; border-radius: 46px;
  background: radial-gradient(130% 120% at 50% 45%, transparent 58%, rgba(10,13,24,.10) 85%, rgba(10,13,24,.22) 100%);
}
.lens__glare { position: absolute; left: 6%; top: 3%; width: 46%; height: 30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent); filter: blur(10px); transform: rotate(-8deg); opacity: .55; }

/* ---------- HUD ---------- */
.hud { position: fixed; inset: 14px; z-index: 6; pointer-events: none; font: 600 11px/1.4 var(--kr); color: var(--ink); }
.hud a { pointer-events: auto; }
.hud__logo { position: absolute; left: 38px; top: 32px; display: flex; align-items: center; gap: 10px; }
.hud__logo .logo { width: 104px; }
.hud__logo em { font: 600 10px var(--lat); letter-spacing: .25em; color: var(--key); padding: 3px 6px; border: 1px solid var(--key); border-radius: 4px; }
.hud__tr { position: absolute; right: 38px; top: 30px; text-align: right; }
.hud__tr b { display: block; font: 500 18px var(--lat); font-variant-numeric: tabular-nums; }
.hud__tr span { color: var(--ink-2); }
.hud__bl { position: absolute; left: 38px; bottom: 34px; display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; animation: rec 1.2s steps(1) infinite; }
@keyframes rec { 50% { opacity: .2; } }
.hud__br { position: absolute; right: 38px; bottom: 28px; }
.hud__br a { display: inline-block; font-size: 13px; padding: 10px 18px; border-radius: 99px; background: var(--ink); color: #fff; transition: background .25s; }
.hud__br a:hover { background: var(--key); }
.hud__cross { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; opacity: .45; }
.hud__cross::before, .hud__cross::after { content: ""; position: absolute; background: var(--ink); }
.hud__cross::before { left: 13px; top: 0; width: 1px; height: 28px; } .hud__cross::after { top: 13px; left: 0; height: 1px; width: 28px; }
.hud__cross i { position: absolute; inset: 7px; border: 1px solid var(--ink); border-radius: 50%; }
.hud__bc { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); text-align: center; }
.hud__ticks { display: flex; gap: 22px; justify-content: center; }
.hud__ticks li { pointer-events: auto; cursor: pointer; color: var(--ink-3); transition: color .25s; }
.hud__ticks li::before { content: ""; display: block; width: 100%; height: 2px; margin-bottom: 7px; background: currentColor; opacity: .5; }
.hud__ticks li.is-on { color: var(--key); }
.hud__ticks li.is-on::before { opacity: 1; }
.hud__depth { margin-top: 10px; color: var(--ink-2); }
.hud__depth b { font: 500 13px var(--lat); color: var(--ink); font-variant-numeric: tabular-nums; }
.br { position: absolute; width: 22px; height: 22px; border: 0 solid var(--ink); opacity: .55; }
.br--tl { left: 22px; top: 22px; border-left-width: 1px; border-top-width: 1px; }
.br--tr { right: 22px; top: 22px; border-right-width: 1px; border-top-width: 1px; }
.br--bl { left: 22px; bottom: 22px; border-left-width: 1px; border-bottom-width: 1px; }
.br--br { right: 22px; bottom: 22px; border-right-width: 1px; border-bottom-width: 1px; }

/* ---------- boot ---------- */
.boot { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: var(--bg); pointer-events: none; }
.boot p { font: 600 12px var(--kr); letter-spacing: .2em; color: var(--ink-2); }
.boot b { font-family: var(--lat); color: var(--key); }

@media (max-width: 900px) {
  :root { --P: 700px; }
  .lens::before, .lens::after { inset: 8px; border-radius: 28px; }
  .hud { inset: 8px; }
  .hud__tr span, .hud__bl { display: none; }
  .hud__ticks { gap: 10px; font-size: 9px; }
}

/* ---------- focus brackets (fixed, viewport coords) ---------- */
.focus { position: fixed; left: 0; top: 0; z-index: 4; pointer-events: none; opacity: 0; will-change: transform, width, height; }
.focus .c { position: absolute; width: 18px; height: 18px; border: 0 solid var(--key); }
.focus .c--tl { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.focus .c--tr { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.focus .c--bl { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.focus .c--br { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.focus__label { position: absolute; left: 0; top: -24px; white-space: nowrap; font: 600 11px var(--kr); color: #fff; background: var(--key); padding: 3px 8px; border-radius: 3px; }
.layer { transform-origin: 50% 50%; }

/* ---------- projects grid (3 per depth row) ---------- */
.shot { width: var(--w, 420px); }
.shot img { border-radius: 12px; box-shadow: 0 36px 70px rgba(10,13,24,.16); background: #dfe2e8; }
.shot a { display: block; color: inherit; }
.shot figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; font-size: 14px; }
.shot figcaption b { margin: 0; font: 600 15px var(--lat); letter-spacing: -.01em; color: var(--ink); }
.shot figcaption span { color: var(--ink-2); }
.shot figcaption i { margin-left: auto; font-style: normal; font-weight: 700; color: var(--key); }
.shot.is-link { cursor: pointer; }
.shot.is-link img { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.shot.is-link:hover img { transform: translateY(-6px); }
.key { color: var(--key); }

/* ---------- card hover: colours invert ---------- */
.card { transition: background .3s, color .3s, border-color .3s; }
.card p, .card .tags span, .card .st, .card .no, .card .ref { transition: color .3s, background .3s, border-color .3s; }
.card:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.card:hover p { color: rgba(255,255,255,.75); }
.card:hover .tags span { border-color: rgba(255,255,255,.4); }
.card:hover .st { background: #fff; color: var(--ink); }
.card:hover .st--wip { background: transparent; color: var(--key); border-color: var(--key); }
.card.rd:hover { background: #fff; color: var(--ink); border-color: rgba(10,13,24,.08); }
.card.rd:hover p { color: #3A4560; }
.card.rd:hover .no { color: var(--key); opacity: 1; }
.card.rd:hover .ref { border-color: rgba(10,13,24,.22); }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .hud { inset: 0; }
  .br { display: none; }
  .hud__logo { left: 20px; top: 22px; }
  .hud__logo .logo { width: 92px; }
  .hud__tr { display: none; }
  .hud__br { right: 16px; top: 14px; bottom: auto; }
  .hud__br a { font-size: 12px; padding: 8px 14px; }
  .hud__bl { display: none; }
  .hud__bc { left: 0; right: 0; bottom: 18px; transform: none; padding: 0 16px; }
  .hud__ticks { justify-content: space-between; gap: 0; font-size: 10px; }
  .hud__ticks li { flex: 1; }
  .hud__ticks li::before { margin-bottom: 6px; }
  .hud__depth { margin-top: 8px; font-size: 10px; }
  .hud__cross { opacity: .3; }

  .hero, .statement, .label, .contact { width: calc(100vw - 40px); }
  .hero__logo { width: 100%; margin: 18px auto 20px; }
  .hero h1 { font-size: 24px; line-height: 1.35; }
  .hero h1 b { display: block; }
  .hint { margin-top: 26px; }
  .statement h2 { font-size: 36px; }
  .sub { font-size: 14px; }
  .stats { gap: 28px; margin-top: 30px; }
  .stats b { font-size: 40px; }
  .label h2 { font-size: 42px; }
  .label .big { font-size: 112px; }
  .card { width: calc(100vw - 40px); padding: 26px 24px 24px; border-radius: 18px; }
  .card .st { right: 22px; top: 22px; }
  .card h3 { font-size: 52px; }
  .card.rd h3 { font-size: 28px; }
  .card > b { font-size: 17px; margin-top: 16px; }
  .card p { font-size: 14px; }
  .tags { flex-wrap: wrap; }
  .shot { width: min(calc(var(--w, 420px) * .42), 58vw); }
  .shot figcaption { flex-wrap: wrap; gap: 4px 8px; font-size: 12px; margin-top: 10px; }
  .shot figcaption b { font-size: 13px; }
  .contact h2 { font-size: 32px; line-height: 1.2; }
  .contact form { width: 100%; margin-top: 30px; }
  .contact input { font-size: 16px; min-width: 0; }
  .contact button { padding: 11px 16px; font-size: 13px; flex: none; }
  .contact dl { flex-direction: column; gap: 16px; margin-top: 34px; align-items: center; text-align: center; }
  .contact dd { font-size: 14px; }
}

/* ---------- vibe on the first screen ---------- */
.vibe-pill { display: flex; align-items: center; gap: 16px; width: 360px; padding: 14px 16px 14px 14px; border-radius: 22px;
  background: rgba(255,255,255,.82); border: 1px solid rgba(10,13,24,.08); box-shadow: 0 24px 50px rgba(10,13,24,.10); backdrop-filter: blur(10px);
  color: var(--ink); text-decoration: none; cursor: pointer; }
.vibe-pill__icon { width: 64px; height: 64px; border-radius: 16px; flex: none; box-shadow: 0 10px 22px rgba(255,90,31,.35); }
.vibe-pill__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vibe-pill__txt em { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--key); }
.vibe-pill__txt b { font-size: 26px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.vibe-pill__txt span { font-size: 12px; color: var(--ink-2); }
.vibe-pill__txt i { margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 700; }
.vibe-pill__shots { position: relative; width: 74px; height: 96px; margin-left: auto; flex: none; }
.vibe-pill__shots img { position: absolute; top: 0; width: 44px; height: 96px; object-fit: cover; border-radius: 8px; box-shadow: 0 6px 14px rgba(10,13,24,.18); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.vibe-pill__shots img:nth-child(1) { left: 0; transform: rotate(-8deg); }
.vibe-pill__shots img:nth-child(2) { left: 15px; transform: rotate(0deg); z-index: 1; }
.vibe-pill__shots img:nth-child(3) { left: 30px; transform: rotate(8deg); }
.vibe-pill:hover { background: var(--ink); color: #fff; }
.vibe-pill:hover .vibe-pill__txt span { color: rgba(255,255,255,.7); }
.vibe-pill:hover .vibe-pill__shots img:nth-child(1) { transform: translateX(-10px) rotate(-14deg); }
.vibe-pill:hover .vibe-pill__shots img:nth-child(3) { transform: translateX(10px) rotate(14deg); }
.vibe-pill { transition: background .3s, color .3s; }

.vibe-phones { position: absolute; width: 520px; height: 470px; }
.vibe-phones img { position: absolute; top: 20px; width: 196px; height: 426px; object-fit: cover; border-radius: 26px; border: 6px solid #0A0D18; background: #0A0D18; box-shadow: 0 40px 70px rgba(10,13,24,.22); }
.vibe-phones img:nth-child(1) { left: 0; transform: rotate(-8deg) translateY(18px); }
.vibe-phones img:nth-child(2) { left: 162px; top: 0; z-index: 1; }
.vibe-phones img:nth-child(3) { left: 324px; transform: rotate(8deg) translateY(18px); }

@media (max-width: 760px) {
  .vibe-pill { width: calc(100vw - 40px); }
  .vibe-phones { display: none; }
}

/* ---------- AI work visuals beside each card ---------- */
.vibe-phones { display: block; cursor: pointer; }
.card__more { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--key); text-decoration: none; }
.card:hover .card__more { color: #fff; }
.ai-web { width: 640px; height: 420px; }
.ai-web img { position: absolute; border-radius: 12px; box-shadow: 0 40px 70px rgba(10,13,24,.18); background: #fff; }
.ai-web img:nth-child(1) { right: 0; top: 0; width: 600px; }
.ai-web img:nth-child(2) { left: 0; bottom: 0; width: 360px; border: 1px solid rgba(10,13,24,.08); }
.ai-film { width: 620px; height: 440px; }
.ai-film img { position: absolute; width: 470px; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; box-shadow: 0 40px 70px rgba(10,13,24,.22); }
.ai-film img:nth-child(1) { left: 0; top: 0; transform: rotate(-5deg); }
.ai-film img:nth-child(2) { right: 0; top: 70px; transform: rotate(4deg); }
.ai-film img:nth-child(3) { left: 70px; bottom: 0; z-index: 1; }
.ai-phones { width: 520px; height: 470px; }
.ai-phones img { position: absolute; top: 20px; width: 196px; height: 426px; object-fit: cover; border-radius: 26px; border: 6px solid #0A0D18; background: #0A0D18; box-shadow: 0 40px 70px rgba(10,13,24,.22); }
.ai-phones img:nth-child(1) { left: 0; transform: rotate(-8deg) translateY(18px); }
.ai-phones img:nth-child(2) { left: 162px; top: 0; z-index: 1; }
.ai-phones img:nth-child(3) { left: 324px; transform: rotate(8deg) translateY(18px); }
@media (max-width: 760px) { .ai-web, .ai-film, .ai-phones { display: none; } }

.ai-web { display: block; cursor: pointer; }
.ai-film { display: block; cursor: pointer; }
.ai-phones { display: block; cursor: pointer; }

/* ---------- project inquiry popup ---------- */
html.inq-open { overflow: hidden; }
.inq { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.inq[hidden] { display: none; }
.inq__back { position: absolute; inset: 0; background: rgba(10,13,24,.45); backdrop-filter: blur(8px); }
.inq__panel { position: relative; width: min(680px, 100%); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; padding: 44px 44px 40px; border-radius: 26px; background: #fff; color: var(--ink, #0A0D18); box-shadow: 0 50px 120px rgba(10,13,24,.3); animation: inqIn .45s cubic-bezier(.2,.7,.2,1); }
@keyframes inqIn { from { opacity: 0; transform: translateY(24px) scale(.98); filter: blur(6px); } }
.inq__x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F1F2F5; font-size: 15px; cursor: pointer; }
.inq__x:hover { background: var(--key, #FF5A1F); color: #fff; }
.inq__tag { font: 500 12px "Geist", sans-serif; letter-spacing: .06em; color: var(--key, #FF5A1F); }
.inq__title { margin-top: 10px; font-size: clamp(26px, 4vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.25; }
.inq__lead { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #5A6275; }
.inq__lead b { color: var(--ink, #0A0D18); }
.inq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 28px; }
.inq__f { display: grid; gap: 7px; min-width: 0; }
.inq__f--wide { grid-column: 1 / -1; }
.inq__f span { font-size: 13px; font-weight: 600; color: #3A4560; }
.inq__f b { color: var(--key, #FF5A1F); }
.inq__f input, .inq__f textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(10,13,24,.14); border-radius: 12px; font: 500 15px "Noto Sans KR", sans-serif; color: inherit; background: #FAFBFC; resize: vertical; }
.inq__f input:focus, .inq__f textarea:focus { outline: none; border-color: var(--key, #FF5A1F); background: #fff; box-shadow: 0 0 0 3px rgba(255,90,31,.15); }
.inq__f input.is-bad { border-color: #E5484D; }
.inq__agree { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 14px; color: #3A4560; cursor: pointer; }
.inq__agree input { width: 18px; height: 18px; accent-color: var(--key, #FF5A1F); }
.inq__err { min-height: 20px; margin-top: 8px; font-size: 13px; color: #E5484D; }
.inq__send { margin-top: 12px; width: 100%; padding: 16px; border: 0; border-radius: 99px; background: var(--ink, #0A0D18); color: #fff; font: 700 15px "Noto Sans KR", sans-serif; cursor: pointer; transition: background .25s, opacity .25s; }
.inq__send:hover:not(:disabled) { background: var(--key, #FF5A1F); }
.inq__send:disabled { opacity: .3; cursor: not-allowed; }
.inq__done .inq__send { margin-top: 28px; }
@media (max-width: 760px) {
  .inq { align-items: end; padding-bottom: 0; }
  .inq__panel { padding: 34px 20px 28px; border-radius: 22px 22px 0 0; max-height: 92dvh; }
  .inq__grid { grid-template-columns: minmax(0, 1fr); }
}

.inq__mailto { display: block; text-align: center; text-decoration: none; }
.inq__alt { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(10,13,24,.1); }
.inq__alt p { font-size: 13px; color: #5A6275; }
.inq__addr { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #F4F5F7; }
.inq__addr b { font: 600 15px "Geist", sans-serif; user-select: all; }
.inq__copy { padding: 8px 14px; border: 0; border-radius: 99px; background: var(--ink, #0A0D18); color: #fff; font: 600 12px "Noto Sans KR", sans-serif; cursor: pointer; }
.inq__copy:hover { background: var(--key, #FF5A1F); }
.inq__body { width: 100%; margin-top: 10px; padding: 12px 14px; border: 1px solid rgba(10,13,24,.12); border-radius: 12px; font: 400 13px/1.6 "Noto Sans KR", sans-serif; color: #3A4560; background: #FAFBFC; resize: none; }
.inq__close2 { display: block; margin: 18px auto 0; border: 0; background: none; font: 600 14px "Noto Sans KR", sans-serif; color: #5A6275; cursor: pointer; text-decoration: underline; }

/* ---------- phones: AI work pictures live inside the cards ---------- */
.card__thumbs { display: none; }
@media (max-width: 760px) {
  .vibe-phones, .ai-web, .ai-film, .ai-phones { display: none !important; }
  .card__thumbs { display: grid; gap: 8px; margin: 18px 0 16px; text-decoration: none; }
  .card__thumbs img { width: 100%; display: block; object-fit: cover; background: #0A0D18; }
  .card__thumbs--phones { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 6%; }
  .card__thumbs--phones img { aspect-ratio: 9 / 19; border-radius: 14px; border: 3px solid #0A0D18; object-position: 50% 0; }
  .card__thumbs--phones img:nth-child(2) { transform: translateY(-8px); }
  .card__thumbs--wide { grid-template-columns: minmax(0, 1fr); position: relative; padding-bottom: 18%; }
  .card__thumbs--wide img { border-radius: 10px; box-shadow: 0 12px 30px rgba(10,13,24,.16); background: #fff; }
  .card__thumbs--wide img:nth-child(1) { aspect-ratio: 16 / 8; object-position: 0 0; }
  .card__thumbs--wide img:nth-child(2) { position: absolute; right: -4px; bottom: 0; width: 52%; aspect-ratio: 4 / 3; object-position: 0 0; border: 1px solid rgba(10,13,24,.08); }
  .card__thumbs--film { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__thumbs--film img { aspect-ratio: 16 / 9; border-radius: 10px; }
  .card__thumbs--film img:first-child { grid-column: 1 / -1; }
}

/* ---------- phones: calmer type scale + compact vibe card ---------- */
@media (max-width: 760px) {
  .hud__logo .logo { width: 78px; }
  .hud__br a { font-size: 11px; padding: 7px 12px; }
  .hero__logo { width: 72%; margin: 14px auto 16px; }
  .hero .tag { font-size: 10px; }
  .hero h1 { font-size: 19px; line-height: 1.45; }
  .hint { font-size: 11px; margin-top: 18px; }
  .statement h2 { font-size: 28px; }
  .stats b { font-size: 32px; }
  .label h2 { font-size: 34px; }
  .label .big { font-size: 80px; }
  .sub { font-size: 13px; }
  .card { padding: 22px 20px 20px; }
  .card h3 { font-size: 38px; }
  .card.rd h3 { font-size: 24px; }
  .card > b { font-size: 15px; margin-top: 12px; }
  .card p { font-size: 13px; }
  .card .tags span { font-size: 11px; }
  .contact h2 { font-size: 26px; }
  /* vibe card on the first screen */
  .vibe-pill { gap: 12px; padding: 10px 12px 10px 10px; border-radius: 18px; }
  .vibe-pill__icon { width: 46px; height: 46px; border-radius: 12px; }
  .vibe-pill__txt b { font-size: 20px; }
  .vibe-pill__txt em { font-size: 9px; }
  .vibe-pill__txt span, .vibe-pill__txt i { font-size: 11px; }
  .vibe-pill__shots { width: 58px; height: 74px; }
  .vibe-pill__shots img { width: 34px; height: 74px; border-radius: 6px; }
  .vibe-pill__shots img:nth-child(2) { left: 12px; }
  .vibe-pill__shots img:nth-child(3) { left: 24px; }
  /* vibe card in the AI section: thumbs a bit smaller */
  .card__thumbs--phones { padding: 0 10%; }
}
