/* ==========================================================================
   BRAND · 브랜드 이야기(/about/), Ether & Xync(/ai/), 404
   /about/ 은 brand-v2.css(공통 재료)와 함께 쓴다
   ========================================================================== */

:where(.brand) p { text-wrap: pretty; }

/* ======================= /about/ (2026-10-22 개편, uiux-audit §3-2) =======================
   이름 장면 하나만 저절로 움직인다. 나머지는 글자·선·숫자. 큰 테두리 프레임은 뺐다 */
.about .ab-sec { padding-block: calc(var(--sec-y) / 2); }

/* 1. 이름 장면: Ether 와 ync 가 양쪽에서 들어와 X 에서 만나고, 가운데 흰 점이 한 번 빛난다 */
.ab-name { padding: clamp(56px, 8vw, 120px) 0 calc(var(--sec-y) / 2); overflow-x: clip; }
.name-fig { position: relative; margin: 0; display: grid; }
.name-word {
  order: 2; position: relative;
  font-family: var(--f-display-latin); font-weight: 400; font-style: normal;
  font-size: clamp(4.4rem, 21vw, 20rem); line-height: 1; letter-spacing: -0.03em;
  color: var(--text); white-space: nowrap; justify-self: start;
}
.name-glyphs { display: inline; }
.name-word .part { display: inline-block; }
.name-word .probe { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.name-notes { order: 1; margin: 0; display: contents; }
.name-notes .note { margin: 0; }
.note dt { font-family: var(--f-display-latin); font-size: 1.7rem; line-height: 1; letter-spacing: -0.01em; margin-bottom: 10px; }
.note dd { margin: 0; color: var(--text-2); font-size: 1rem; line-height: 1.7; max-width: 22em; text-wrap: pretty; }
.note-ether dt { color: var(--ether); }
.note-x dt { color: var(--spark); }
.note-xync dt { color: var(--xync); }
.name-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.name-lines .br { fill: none; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.name-lines .br-ether { stroke: var(--ether); }
.name-lines .br-xync { stroke: var(--xync); }
.name-lines .ld { fill: none; stroke: rgb(var(--text-rgb) / 0.55); stroke-width: 1; }
.name-lines .dot { fill: var(--spark); }
.name-lines .halo { fill: url(#name-halo); }
.ab-lead { margin-top: clamp(28px, 4vw, 48px); max-width: 32em; font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.8; color: var(--text-2); }

@media (min-width: 900px) {
  .name-fig { grid-template-columns: var(--x-c, 57%) 1fr; grid-template-areas: "ether x" "word word" "gap xync"; column-gap: 0; }
  .name-word { grid-area: word; margin-block: 34px 44px; }
  .note-ether { grid-area: ether; align-self: end; padding: 0 48px 0 24px; }
  .note-x { grid-area: x; align-self: end; padding-left: 24px; }
  .name-fig .note-xync { grid-area: xync; margin-left: calc(var(--xync-l, 50%) - var(--x-c, 57%)); padding-left: 24px; }
  .note-ether dd, .note-x dd, .note-xync dd { max-width: 21em; }
}
@media (max-width: 899px) {
  .name-fig { gap: 0; }
  .name-word { order: 0; margin-block: 24px 36px; font-size: 22vw; }
  .name-notes .note { order: 3; padding: 18px 0; border-top: 1px solid var(--line); }
  .note dt { font-size: 1.5rem; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .name-word [data-part="ether"] { animation: ab-from-l var(--d-5) var(--ease-expo) 120ms backwards; }
  .name-word [data-part="ync"] { animation: ab-from-r var(--d-5) var(--ease-expo) 120ms backwards; }
  .name-word [data-part="x"] { animation: ab-x 700ms var(--ease-expo) 520ms backwards; }
  .name-lines .dot, .name-lines .halo { animation: ab-spark 900ms ease-out 1120ms backwards; transform-box: fill-box; transform-origin: center; }
  .name-lines .br { stroke-dasharray: 1; animation: ab-draw 700ms var(--ease-expo) 1200ms backwards; }
  .name-lines .ld, .name-notes .note { animation: ab-fade 700ms ease-out 1350ms backwards; }
}
@keyframes ab-from-l { from { opacity: 0; transform: translateX(-0.6em); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ab-from-r { from { opacity: 0; transform: translateX(0.6em); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ab-x { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@keyframes ab-spark { 0% { opacity: 0; transform: scale(.2); } 35% { opacity: 1; transform: scale(2.2); } 100% { opacity: 1; transform: none; } }
@keyframes ab-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ab-fade { from { opacity: 0; } to { opacity: 1; } }

/* 2. 철학 한 줄: 폭 가득한 표어, 두 줄기가 두 낱말 사이 불꽃에서 엇갈린다(정지 그림) */
.ab-key { position: relative; padding: calc(var(--sec-y) / 2) 0; text-align: center; overflow-x: clip; }
.key-stage { position: relative; }
.key-motto {
  position: relative; z-index: 1; width: min(100% - 32px, var(--wrap-wide)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  font-family: var(--f-display-latin); font-weight: 400; letter-spacing: -0.025em; line-height: 1.1;
  font-size: clamp(3rem, 6.6vw, 6.4rem); white-space: nowrap;
}
.key-motto .km:first-child { justify-self: end; }
.key-motto .km:last-child { justify-self: start; }
.key-gap { position: relative; width: 1.1em; height: 1px; }
.key-spark {
  position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--spark);
  box-shadow: 0 0 0 5px rgb(var(--tint-rgb) / 0.06), 0 0 18px 4px rgb(var(--tint-rgb) / 0.35), 0 0 60px 16px rgba(190, 255, 240, 0.1);
}
/* 선은 표어의 가로 가운데(불꽃)에서 엇갈리고, 글자 위아래로 지난다 */
.key-lines { position: absolute; left: 0; top: 50%; width: 100%; height: clamp(5rem, 11vw, 10.5rem); transform: translateY(-50%); overflow: visible; pointer-events: none; }
.key-lines path { fill: none; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.key-lines .kl-ether { stroke: var(--ether); opacity: .65; }
.key-lines .kl-xync { stroke: var(--xync); opacity: .65; }
.key-text { margin-top: clamp(40px, 5vw, 64px); }
.key-ko { font-family: var(--f-display); font-weight: var(--w-display-strong); font-size: 1.3rem; letter-spacing: -0.02em; }
.key-body { margin: 14px auto 0; max-width: 31em; color: var(--text-2); font-size: 1.05rem; line-height: 1.85; text-wrap: balance; }
@media (max-width: 700px) {
  .key-motto { grid-template-columns: 1fr; font-size: clamp(2.8rem, 14vw, 4rem); white-space: normal; }
  .key-motto .km:first-child, .key-motto .km:last-child { justify-self: center; }
  .key-gap { width: auto; height: 56px; }
  .key-lines { height: 56px; }
}

/* 3. 무엇을 만드나요: 행 전체가 링크, 왼쪽 큰 숫자(데이터), 밑줄이 왼쪽부터 민트로 차오른다 */
.make-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.make-list > li { border-bottom: 1px solid var(--line); }
.make-row {
  position: relative; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 44px; gap: 8px clamp(20px, 3vw, 40px); align-items: center;
  padding: clamp(22px, 2.6vw, 32px) 0;
}
.make-row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ether);
  transform: scaleX(0); transform-origin: left center; transition: transform var(--d-4) var(--ease-expo);
}
.make-row.is-xync::after { background: var(--xync); }
.make-row:hover::after, .make-row:focus-visible::after { transform: scaleX(1); }
.make-row:focus-visible { outline-offset: 6px; }
.make-n { display: flex; align-items: baseline; gap: 6px; }
.make-n .num { font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; color: var(--text); font-weight: 400; letter-spacing: -0.05em; }
.make-n .u { font-size: .92rem; font-weight: 650; color: var(--text-2); }
.make-row .make-n .num { transition: color var(--d-3); }
.make-row:hover .make-n .num { color: var(--ether); }
.make-row.is-xync:hover .make-n .num { color: var(--xync); }
.make-body { display: grid; gap: 6px; }
.make-name { font-family: var(--f-display); font-weight: var(--w-display-strong); font-size: clamp(1.3rem, 1.8vw, 1.55rem); letter-spacing: -0.02em; }
.make-desc { color: var(--text-2); font-size: 1rem; line-height: 1.75; max-width: 40em; text-wrap: pretty; }
.make-status:empty { display: none; }
.make-status { color: var(--ether); font-size: .9rem; font-weight: 600; }
.make-status.is-soon { color: var(--xync); }
.make-go {
  justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative;
  transition: border-color var(--d-3), transform var(--d-3) var(--ease-expo);
}
.make-go::before { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; color: var(--text-2); }
.make-row:hover .make-go { border-color: var(--ether); transform: translateX(4px); }
.make-row.is-xync:hover .make-go { border-color: var(--xync); }
@media (max-width: 640px) {
  .make-row { grid-template-columns: minmax(0, 1fr) 44px; }
  .make-n { grid-column: 1 / -1; }
  .make-body { grid-column: 1; }
}

/* 4. 왜 이렇게 만드나요: 카드 없이, 큰 글 세 줄과 구분선 */
.why-list { border-top: 1px solid var(--line); }
.why { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px clamp(24px, 5vw, 80px); padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.why-lead { font-family: var(--f-display); font-weight: var(--w-display); font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.35; letter-spacing: -0.02em; text-wrap: balance; }
.why p:not(.why-lead) { color: var(--text-2); font-size: 1.04rem; line-height: 1.85; max-width: 32em; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* 5. 지금까지의 기록: 진짜 순서라 선과 점. 선은 스크롤에 따라 위에서 아래로 차오른다 */
.log { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; display: grid; gap: clamp(22px, 3vw, 34px); max-width: 46rem; }
.log-line { position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line-2); padding: 0; }
.log-line .fill-on-view { position: absolute; inset: 0; display: block; background: linear-gradient(180deg, var(--ether), var(--xync)); }
.log > li:not(.log-line) { position: relative; display: grid; grid-template-columns: 7.4rem minmax(0, 1fr); gap: 4px 20px; align-items: baseline; }
.log > li:not(.log-line)::before {
  content: ""; position: absolute; left: -30px; top: .55em; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--ether);
}
.log > li:last-child::before { background: var(--spark); border-color: var(--spark); box-shadow: 0 0 14px rgb(var(--tint-rgb) / .45); }
.log time { color: var(--text-2); font-size: .95rem; }
.log p { font-size: 1.06rem; line-height: 1.7; color: var(--text); }
@media (max-width: 560px) { .log > li:not(.log-line) { grid-template-columns: 1fr; } }

/* 6. 누가 만드나요 */
.who-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px clamp(32px, 6vw, 96px); align-items: start; }
.who-text p { font-size: 1.08rem; line-height: 1.9; color: color-mix(in srgb, var(--text) 80%, var(--text-2)); max-width: 34em; }
.who-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 28px; }
@media (max-width: 760px) { .who-grid { grid-template-columns: 1fr; } }

/* 7. 가입 권유 */
.ab-end { padding: calc(var(--sec-y) / 2) 0 var(--sec-y); text-align: center; }
.ab-end .end-point {
  display: block; width: 9px; height: 9px; margin: 0 auto 30px; border-radius: 50%; background: var(--spark);
  box-shadow: 0 0 22px 5px rgb(var(--tint-rgb) / 0.3), -60px 0 60px -20px rgb(var(--ether-rgb) / 0.5), 60px 0 60px -20px rgb(var(--xync-rgb) / 0.5);
}
.ab-end .end-line { font-family: var(--f-display); font-weight: var(--w-display); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.35; letter-spacing: -0.02em; max-width: 18em; margin-inline: auto; text-wrap: balance; }
.ab-end .end-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ======================= /ai/ : 두 성격 ======================= */
.duo { width: min(100% - 32px, var(--wrap-wide)); margin-inline: auto; padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); }
.duo-names {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(22px, 4.4vw, 72px);
  font-family: var(--f-serif); font-weight: 400; font-size: clamp(4.2rem, 16vw, 14rem); line-height: .92; letter-spacing: -0.03em;
}
.dn-ether { color: var(--ether); justify-self: end; }
.dn-xync { color: var(--xync); justify-self: start; }
.dn-spark {
  width: 11px; height: 11px; border-radius: 50%; background: var(--spark); align-self: center; margin-top: 0.06em;
  box-shadow: 0 0 0 6px rgb(var(--tint-rgb) / 0.05), 0 0 24px 6px rgb(var(--tint-rgb) / 0.32), -40px 0 60px -18px rgb(var(--ether-rgb) / 0.7), 40px 0 60px -18px rgb(var(--xync-rgb) / 0.7);
}
.duo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 150px); margin-top: clamp(28px, 4vw, 48px); }
.duo-col { max-width: 25rem; }
.duo-ether { justify-self: end; text-align: right; }
.duo-xync { justify-self: start; }
.duo-type { font-size: 1rem; font-weight: 750; letter-spacing: 0.01em; display: flex; gap: 14px; align-items: baseline; }
.duo-ether .duo-type { color: var(--ether); justify-content: flex-end; }
.duo-xync .duo-type { color: var(--xync); }
.duo-type span { letter-spacing: -0.01em; font-size: .92rem; font-weight: 600; color: var(--text-2); }
.duo-desc { margin-top: 12px; font-size: 1.08rem; line-height: 1.8; color: color-mix(in srgb, var(--text) 80%, var(--text-2)); }
.duo-status { margin-top: clamp(48px, 6vw, 72px); display: grid; justify-items: center; gap: 22px; text-align: center; }
.duo-note { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 12px; color: var(--text-2); font-size: .98rem; }
@media (max-width: 700px) {
  .duo-names { font-size: clamp(3.6rem, 19vw, 6rem); gap: 18px; }
  .duo-cols { grid-template-columns: 1fr; gap: 26px; margin-top: 36px; }
  .duo-col, .duo-ether { justify-self: stretch; text-align: left; max-width: none; padding-left: 16px; border-left: 1px solid; }
  .duo-ether { border-color: var(--ether); }
  .duo-xync { border-color: var(--xync); }
  .duo-ether .duo-type { justify-content: flex-start; }
  .duo-status { justify-items: start; text-align: left; }
  .duo-note { justify-content: flex-start; }
}

/* 알림 신청 */
.wait { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; min-height: 56px; }
.wait-on { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: var(--r-pill);
  color: var(--ether); background: var(--ether-dim); border: 1px solid rgb(var(--ether-rgb) / 0.35); font-weight: 650; }
.wait-on svg { flex: none; }
.wait-count { margin-top: 16px; color: var(--text-2); font-size: .95rem; }
.wait-count .n { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .duo-status .wait { justify-content: flex-start; } }

/* 같은 고민, 두 가지 대답 */
.talk { width: min(100% - 32px, 1080px); margin-inline: auto; padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.talk-head { text-align: center; display: grid; gap: 14px; justify-items: center; }
.talk-title { font-family: var(--f-display); font-weight: var(--w-display); font-size: var(--t-h2); letter-spacing: -0.02em; line-height: 1.2; }
.talk-lead { color: var(--text-2); font-size: 1.02rem; max-width: 32em; }
.talk-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.talk-tabs .chip { height: 44px; padding: 0 18px; font-size: .94rem; }
.talk-panel { margin-top: clamp(36px, 5vw, 56px); }
.talk-panel.is-in { animation: talk-in var(--d-3) var(--ease-out); }
@keyframes talk-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.talk-q { margin: 0 auto; max-width: 24em; text-align: center; font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 680; letter-spacing: -0.028em; line-height: 1.5; text-wrap: balance; }
.talk-q::before { content: "\201C"; } .talk-q::after { content: "\201D"; }
.talk-answers { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.ta { padding: clamp(24px, 3vw, 36px) clamp(4px, 3vw, 40px) 8px; }
.ta-ether { border-right: 1px solid var(--line); padding-left: 0; }
.ta-xync { padding-right: 0; }
.ta .ta-who { font-family: var(--f-serif); font-size: 2.2rem; line-height: 1; margin-bottom: 18px; }
.ta-ether .ta-who { color: var(--ether); }
.ta-xync .ta-who { color: var(--xync); }
.ta p { font-size: 1.06rem; line-height: 1.8; color: var(--text); }
.ta p + p { margin-top: 10px; }
.ta ol { list-style: none; counter-reset: step; margin: 14px 0; display: grid; gap: 8px; }
.ta ol li { counter-increment: step; display: grid; grid-template-columns: 2em 1fr; font-size: 1.02rem; line-height: 1.7; color: color-mix(in srgb, var(--text) 80%, var(--text-2)); }
.ta ol li::before { content: counter(step); font-family: var(--f-mono); font-size: .9rem; color: var(--ether); padding-top: .1em; }
.ta-xync p { color: color-mix(in srgb, var(--text) 90%, var(--xync)); }
@media (max-width: 700px) {
  .talk-answers { grid-template-columns: 1fr; }
  .ta, .ta-ether, .ta-xync { padding: 26px 0 8px; border-right: 0; }
  .ta-xync { border-top: 1px solid var(--line); margin-top: 18px; }
}

.ai-end { width: min(100% - 32px, 720px); margin-inline: auto; padding: clamp(72px, 9vw, 120px) 0 clamp(88px, 10vw, 140px); text-align: center; border-top: 1px solid var(--line); }
.end-title { font-family: var(--f-display); font-weight: var(--w-display); font-size: var(--t-h2); letter-spacing: -0.02em; line-height: 1.2; }
.end-text { margin: 16px auto 30px; color: var(--text-2); font-size: 1.04rem; line-height: 1.8; max-width: 30em; }
@media (min-width: 560px) { .end-text span { display: block; } }

/* ======================= 404 : 닿지 못한 두 줄기 ======================= */
.lost { position: relative; padding-bottom: clamp(72px, 9vw, 120px); }
.lost-field { position: relative; height: clamp(260px, 44vh, 440px); margin-top: 8px; }
.lost-field canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lost-copy { width: min(100% - 32px, 680px); margin: 0 auto; text-align: center; display: grid; justify-items: center; }
/* 영어 표어는 제목 다음의 둘째 목소리 */
.lost-title { font-family: var(--f-display); font-weight: var(--w-display); font-size: var(--t-h1); line-height: 1.16; letter-spacing: -0.02em; text-wrap: balance; }
.lost-motto { margin-top: 12px; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; color: var(--text-2); letter-spacing: -0.01em; }
.lost-text { margin-top: 18px; color: var(--text-2); font-size: 1.06rem; line-height: 1.8; max-width: 30em; }
@media (min-width: 560px) { .lost-text span { display: block; } }
.lost-code { margin-top: 14px; font-size: .9rem; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.lost-links { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 520px) { .lost-links .btn { flex: 1 1 100%; } }
