/* pointwork v3 — 명함 CI(소문자 pointwork + 파란 사각 점)에서 출발한 시스템
   그리드: 12단(폰 4단) · 바깥 여백 20–32px · 단 간격 12–16px · 8px 단위 간격
   글자: Pretendard 한 가족, 다섯 단계. 크기가 커질수록 자간은 좁게, 행간은 짧게 */

:root {
  --ink: #111212;
  --white: #ffffff;
  --paper: #f3f3f1;
  --blue: #0a82fd;
  --blue-hi: #4fa6fe;
  --blue-lo: #0662c2;
  --blue-mid: #0872e0;
  --blue-deep: #076ad1;

  /* grid */
  --m: clamp(20px, 2.2vw, 32px);
  --g: clamp(12px, 1.12vw, 16px);
  --col: calc((100vw - 2 * var(--m) - 11 * var(--g)) / 12);

  /* type steps: display · h2 · statement · body · small */
  --t-display: clamp(36px, 11.4vw, 172px);
  --t-h2: clamp(30px, 4.2vw, 64px);
  --t-statement: clamp(21px, 2.15vw, 32px);
  --t-body: clamp(16px, 0.42vw + 11px, 18px);
  --t-small: 14px;

  /* space: 8px base */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --sec: clamp(112px, 12.5vw, 192px);

  --ease: cubic-bezier(.2, .7, .1, 1);
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: var(--t-body);
  line-height: 1.65;
  letter-spacing: -0.011em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-wrap: break-word;
}
html[lang="en"] body { line-height: 1.55; letter-spacing: -0.006em; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: var(--ink); }

html[lang="ko"] .en, html[lang="en"] .ko { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[data-ground="blue"] :focus-visible { outline-color: var(--ink); }

/* grounds */
[data-ground="ink"]   { background: var(--ink);   color: var(--white); --soft: #8b8e8e; --sub: rgba(255, 255, 255, .74); --line: rgba(255, 255, 255, .16); }
[data-ground="paper"] { background: var(--paper); color: var(--ink);   --soft: #5e6161; --sub: rgba(17, 18, 18, .78); --line: rgba(17, 18, 18, .16); }
[data-ground="blue"]  { background: var(--blue);  color: var(--ink);   --soft: var(--ink); }
.soft { color: var(--soft); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
  padding-inline: var(--m);
}

/* type roles */
.h2 {
  font-size: var(--t-h2);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
html[lang="en"] .h2 { line-height: 1.04; letter-spacing: -0.04em; }
.statement {
  font-size: var(--t-statement);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.024em;
  text-wrap: pretty;
}
html[lang="en"] .statement { line-height: 1.3; letter-spacing: -0.018em; }
.lead { text-wrap: pretty; }
.l { display: block; }
.brk { display: inline; }
.li { display: inline-block; }

/* the point */
.sq {
  display: inline-block;
  width: .19em; height: .19em;
  margin-left: .045em;
  background: var(--blue);
  vertical-align: baseline;
}

/* buttons: square, one fill */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--white); color: var(--ink);
  font-size: var(--t-body); font-weight: 600; letter-spacing: -0.012em;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .12s ease-out;
}
.btn:hover { background: var(--blue); color: var(--ink); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--white); color: var(--ink); }

/* ---------- bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--bar-h);
  background: var(--ink); color: var(--white);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.bar[data-ground="paper"] { background: var(--paper); color: var(--ink); }
.bar[data-ground="blue"]  { background: var(--blue);  color: var(--ink); }
.bar[data-ground="blue"] .logo .sq { background: var(--white); }
.bar-in { height: 100%; align-items: center; }
.logo {
  grid-column: 1 / span 4; justify-self: start;
  font-size: 22px; font-weight: 900; letter-spacing: -0.058em; line-height: 1;
  text-decoration: none;
  padding: 10px 0;
}
.nav {
  grid-column: 5 / -1; justify-self: end;
  display: flex; align-items: center; gap: var(--s4);
  font-size: var(--t-small); font-weight: 500; letter-spacing: -0.008em;
}
.nav a { text-decoration: none; padding: 10px 0; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.lang {
  background: none; border: 0; cursor: pointer;
  min-width: 44px; min-height: 44px; padding: 0;
  font-size: var(--t-small); font-weight: 600; letter-spacing: 0;
}

/* ---------- hero ---------- */
.hero { position: relative; }
.hero-in { position: relative; z-index: 1; }
.hero-in {
  min-height: 100svh;
  grid-template-rows: 1fr auto auto auto 1fr auto;
  padding-top: var(--bar-h);
}
.hero-title {
  grid-column: 1 / -1; grid-row: 2;
  font-size: var(--t-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.048em;
}
html[lang="en"] .hero-title { line-height: .96; letter-spacing: -0.052em; }
.slot {
  display: inline-block; position: relative;
  width: .72em; height: .72em;
  margin: 0 .03em 0 .02em;
  vertical-align: -0.035em;
}
html[lang="en"] .slot { width: .7em; height: .7em; vertical-align: 0; }
.pt {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  padding: 0; border: 0; border-radius: 0;
  background: var(--blue);
  cursor: grab; touch-action: none;
  will-change: transform;
}
.pt::after { content: ""; position: absolute; inset: -14px; }
.pt.is-held { cursor: grabbing; }
.trail { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.trail line { stroke: var(--blue); stroke-width: 4; stroke-linecap: square; opacity: 0; transition: opacity .2s; }
.trail.on line { opacity: 1; }

.hero-sub {
  grid-column: 1 / span 5; grid-row: 3;
  margin-top: var(--s5);
  max-width: 34em;
}
.hero-in > .btn { grid-column: 1 / span 3; grid-row: 4; justify-self: start; margin-top: var(--s4); }
.hero-foot {
  grid-column: 1 / -1; grid-row: 6;
  display: flex; justify-content: space-between; gap: var(--s2);
  padding-bottom: var(--s3);
  font-size: var(--t-small); line-height: 1.5; letter-spacing: -0.003em;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}

/* ---------- inline glyphs: the four steps at the size of a word ---------- */
.g {
  display: inline-block; position: relative;
  margin: 0 .1em; vertical-align: -0.06em;
  background: var(--blue);
}
.g-pt { width: .3em; height: .3em; vertical-align: .08em; }
.g-ln { width: 1.4em; height: .14em; vertical-align: .16em; }
.g-pl { width: .78em; height: .78em; }
.g-cb { width: .9em; height: .9em; background: none; vertical-align: -0.12em; }
.g-cb b { position: absolute; inset: 0; }
.g-cb b:nth-child(1) { background: var(--blue-hi);  clip-path: polygon(50% 0, 100% 25%, 50% 50%, 0 25%); }
.g-cb b:nth-child(2) { background: var(--blue);     clip-path: polygon(0 25%, 50% 50%, 50% 100%, 0 75%); }
.g-cb b:nth-child(3) { background: var(--blue-lo);  clip-path: polygon(50% 50%, 100% 25%, 100% 75%, 50% 100%); }

/* ---------- method ---------- */
.method-lead { grid-column: 4 / -1; grid-row: 2; margin-top: var(--s5); }

.stage-in { row-gap: var(--s7); padding-bottom: var(--sec); }
.steps { grid-column: 1 / span 6; display: grid; row-gap: var(--s7); }
.verb {
  font-size: var(--t-display);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -0.05em;
}
.verb-k {
  margin-left: .55em;
  font-size: var(--t-statement); font-weight: 600; line-height: 1; letter-spacing: -0.02em;
  color: var(--soft);
}
.step-text {
  margin-top: var(--s4); max-width: 19em;
  font-size: var(--t-statement); font-weight: 500; line-height: 1.45; letter-spacing: -0.024em;
}
html[lang="en"] .step-text { line-height: 1.3; letter-spacing: -0.018em; }
.step-text b { font-weight: 700; }
.step-out { margin-top: var(--s3); font-size: var(--t-small); line-height: 1.5; letter-spacing: -0.003em; color: var(--soft); }

/* the shape: a point that grows into a line, a plane, a cube net, a cube */
.shape {
  grid-column: 7 / -1; grid-row: 1;
  position: relative;
  height: min(72vh, 46vw);
  align-self: center;
  perspective: 1800px;
  --w: min(28vw, 42vh);
  /* resting state (no script, reduced motion): the finished cube */
  --sx: 1; --sy: 1; --a: 90; --rx: -22; --ry: -44; --k: 1; --ny: 0;
  --field: 0; --flaps: 1; --mark: 1;
}
.field {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--w) * 1.62); height: calc(var(--w) * 1.62);
  margin: calc(var(--w) * -0.81) 0 0 calc(var(--w) * -0.81);
  display: grid; grid-template-columns: repeat(9, 1fr); grid-template-rows: repeat(9, 1fr);
  place-items: center;
  opacity: var(--field);
  transform: scale(calc(.85 + var(--field) * .15));
}
.field i { display: block; width: calc(var(--w) * .06); height: calc(var(--w) * .06); background: #474b4b; }
.field i.hi { background: #8b8e8e; }
.field i.c { background: transparent; }
.cube {
  position: absolute; left: 50%; top: 50%;
  width: var(--w); height: var(--w);
  margin: calc(var(--w) / -2) 0 0 calc(var(--w) / -2);
  transform-style: preserve-3d;
  transform-origin: 50% 50% calc(var(--w) * -.5);
  transform: translateY(calc(var(--ny) * var(--w) * -0.5)) scale(var(--k)) rotateX(calc(var(--rx) * 1deg)) rotateY(calc(var(--ry) * 1deg));
}
.face { position: absolute; width: 100%; height: 100%; transform-style: preserve-3d; }
.f-front { inset: 0; background: var(--blue); transform: scale(var(--sx), var(--sy)); }
.f-front > .face:not(.f-bottom), .f-bottom { opacity: var(--flaps); }
.f-top    { left: 0; bottom: 100%; transform-origin: 50% 100%; background: var(--blue-hi);   transform: rotateX(calc(var(--a) * 1deg)); }
.f-bottom { left: 0; top: 100%;    transform-origin: 50% 0;    background: var(--blue-lo);   transform: rotateX(calc(var(--a) * -1deg)); }
.f-left   { top: 0; right: 100%;   transform-origin: 100% 50%; background: var(--blue-mid);  transform: rotateY(calc(var(--a) * -1deg)); }
.f-right  { top: 0; left: 100%;    transform-origin: 0 50%;    background: var(--blue-deep); transform: rotateY(calc(var(--a) * 1deg)); }
.f-back   { left: 0; top: 100%;    transform-origin: 50% 0;    background: var(--blue);      transform: rotateX(calc(var(--a) * -1deg)); opacity: 1; }
.mark::before { content: "pointwork"; }
.mark {
  position: absolute; left: 9%; bottom: 8%;
  font-size: calc(var(--w) * .13); font-weight: 900; letter-spacing: -0.058em; line-height: 1;
  color: var(--white);
  opacity: var(--mark);
  transform: translateZ(1px);
}
.mark .sq { background: var(--ink); }

/* scene on: the stage pins and the four steps take turns */
.scene-on .scene { height: 400svh; }
.scene-on .stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.scene-on .stage-in { height: 100%; padding-top: var(--bar-h); padding-bottom: 0; align-items: center; }
.scene-on .steps { grid-row: 1; align-self: center; row-gap: 0; }
.scene-on .step { grid-area: 1 / 1; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.scene-on .step:not(.on) { opacity: 0; visibility: hidden; transform: translateY(24px); pointer-events: none; transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .5s; }
.scene-on .step.was { transform: translateY(-24px); }

/* ---------- section heads: the label hangs on columns 1–3, everything else starts at column 4 ---------- */
.sec-head { padding-top: var(--sec); padding-bottom: var(--s6); align-items: baseline; }
.sec-label {
  grid-column: 1 / span 3;
  font-size: var(--t-small); font-weight: 600; line-height: 1.5; letter-spacing: -0.003em;
  color: var(--soft);
}
.sec-label::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .6em; background: var(--blue); vertical-align: .05em; }
.sec-title { grid-column: 4 / -1; }

/* rows that sit between hairlines, the lines kept inside the page margins */
.rule, .brand, .cap { position: relative; }
.rule::before, .brand::before, .cap::before,
.rule:last-child::after, .brand:last-child::after, .cap:last-child::after {
  content: ""; position: absolute; left: var(--m); right: var(--m); height: 1px; background: var(--line);
}
.rule::before, .brand::before, .cap::before { top: 0; }
.rule:last-child::after, .brand:last-child::after, .cap:last-child::after { bottom: 0; }

/* ---------- why ---------- */
.rule { padding-block: var(--s6); align-items: baseline; }
.rule-k { grid-column: 1 / span 3; font-size: var(--t-body); font-weight: 700; letter-spacing: .01em; }
.rule-s { grid-column: 4 / -1; font-size: var(--t-h2); font-weight: 700; line-height: 1.12; letter-spacing: -0.036em; }
html[lang="en"] .rule-s { line-height: 1.04; letter-spacing: -0.04em; }
.rule-p { grid-column: 4 / span 8; margin-top: var(--s4); color: var(--sub); }

/* ---------- brands ---------- */
.brand { padding-block: var(--s4) var(--s3); align-items: baseline; }
.brand-meta { grid-column: 1 / span 3; font-size: var(--t-small); line-height: 1.5; color: var(--soft); font-variant-numeric: tabular-nums; }
.brand-name { grid-column: 4 / -1; font-size: clamp(36px, 6.4vw, 104px); font-weight: 900; line-height: .96; letter-spacing: -0.052em; }
.brand-name a { display: inline-flex; align-items: baseline; gap: .18em; text-decoration: none; transition: color .3s var(--ease); }
.brand-name .go { font-size: .42em; font-weight: 500; color: var(--blue); opacity: 0; transform: translate(-.3em, .3em); transition: opacity .3s var(--ease), transform .5s var(--ease); }
.brand-name a:hover .go, .brand-name a:focus-visible .go { opacity: 1; transform: none; }
.brand-list:hover .brand-name { color: var(--soft); }
.brand-list:hover .brand:hover .brand-name { color: var(--white); }
.brand-desc { grid-column: 4 / span 8; margin-top: var(--s2); color: var(--sub); }
.brand.next .brand-name { font-weight: 700; color: var(--soft); letter-spacing: -0.05em; }
@media (hover: none) { .brand-name .go { opacity: 1; transform: none; } }

/* ---------- AX: four equal columns (1, 4, 7, 10) for the flow and the agents ---------- */
.ax { padding-bottom: var(--sec); }
.ax-flow { counter-reset: none; }
.ax-flow li, .ax-agents li { grid-column: span 3; position: relative; border-top: 1px solid var(--line); }
.ax-flow li { padding-top: var(--s4); }
.ax-flow li::before {
  content: ""; position: absolute; left: 0; top: -6px;
  width: 11px; height: 11px; background: var(--blue);
}
.ax-flow li:last-child::before { background: var(--ink); }
.ax-step { font-size: var(--t-h2); font-weight: 500; line-height: 1.04; letter-spacing: -0.045em; }
.ax-flow p { margin-top: var(--s3); color: var(--sub); }
.ax-sub { padding-top: var(--sec); padding-bottom: var(--s5); align-items: baseline; }
.ax-sub-p { grid-column: 4 / -1; font-size: var(--t-statement); font-weight: 600; line-height: 1.3; letter-spacing: -0.024em; text-wrap: balance; }
.ax-agents { row-gap: 0; }
.ax-agents li { display: grid; row-gap: 2px; padding: var(--s3) 0 var(--s4); font-size: var(--t-small); line-height: 1.5; color: var(--soft); }
.ax-agents b { font-size: var(--t-body); font-weight: 600; letter-spacing: -0.012em; color: var(--ink); }

/* ---------- capabilities ---------- */
.cap { padding-block: clamp(22px, 2.4vw, 34px); align-items: baseline; transition: color .3s var(--ease); }
.cap-no { grid-column: 1 / span 3; font-size: var(--t-small); line-height: 1.5; color: var(--soft); font-variant-numeric: tabular-nums; }
.cap-name {
  grid-column: 4 / span 6;
  font-size: var(--t-h2); font-weight: 500; line-height: 1.04; letter-spacing: -0.045em;
  transition: transform .6s var(--ease);
}
.cap-desc { grid-column: 10 / -1; color: var(--sub); transition: color .3s var(--ease); }
.cap-list:hover .cap, .cap-list:hover .cap .cap-desc { color: var(--soft); }
.cap-list:hover .cap:hover { color: var(--white); }
.cap-list:hover .cap:hover .cap-desc { color: var(--sub); }
.cap:hover .cap-name { transform: translateX(18px); }

/* ---------- partnership ---------- */
.partner-list li { position: relative; padding-top: var(--s3); border-top: 1px solid var(--line); }
.partner-list li:nth-child(1) { grid-column: 4 / span 3; }
.partner-list li:nth-child(2) { grid-column: 7 / span 3; }
.partner-list li:nth-child(3) { grid-column: 10 / span 3; }
.partner-list h3 { font-size: var(--t-body); font-weight: 700; letter-spacing: -0.012em; }
.partner-list p { margin-top: var(--s1); color: var(--sub); }

/* ---------- contact + footer ---------- */
.contact { overflow: hidden; }
.contact-head { padding-bottom: 0; }
.mail {
  grid-column: 4 / -1; grid-row: 2; justify-self: start;
  position: relative; margin-top: var(--s6); padding-bottom: .08em;
  font-size: clamp(30px, 1rem + 4.4vw, 88px); font-weight: 500; line-height: 1.1; letter-spacing: -0.045em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform-origin: left; transition: transform .6s var(--ease); }
.mail:hover::after { transform: scaleX(0); transform-origin: right; }
.mail .arrow { display: inline-block; color: var(--blue); transition: transform .5s var(--ease); }
.mail:hover .arrow { transform: translateX(.2em); }
.contact-note { grid-column: 4 / span 6; grid-row: 3; margin-top: var(--s3); color: var(--sub); }
.giant {
  margin: var(--sec) 0 var(--s4) calc(var(--m) - .035em);
  font-size: 20.2vw; font-weight: 900; line-height: .78; letter-spacing: -0.062em;
  white-space: nowrap;
}
.giant .sq { width: .18em; height: .18em; }
.legal {
  position: relative;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s1) var(--s4);
  padding-top: var(--s3); padding-bottom: var(--s4);
  font-size: var(--t-small); line-height: 1.5; letter-spacing: -0.003em;
  color: var(--soft);
}
.legal::before { content: ""; position: absolute; left: var(--m); right: var(--m); top: 0; height: 1px; background: var(--line); }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--white); }
.legal .privacy-link { font-weight: 700; color: var(--white); }

/* ---------- privacy policy page ---------- */
.doc { padding: calc(var(--bar-h) + var(--s7)) 0 var(--sec); }
.doc-h { grid-column: 4 / span 8; font-size: var(--t-h2); font-weight: 700; line-height: 1.12; letter-spacing: -0.036em; }
.doc-meta { grid-column: 4 / span 8; margin-top: var(--s3); color: var(--soft); font-size: var(--t-small); }
.doc-body { grid-column: 4 / span 7; margin-top: var(--s6); }
.doc-body h2 { margin-top: var(--s6); font-size: var(--t-body); font-weight: 700; letter-spacing: -0.012em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body ul, .doc-body table { margin-top: var(--s2); color: var(--sub); }
.doc-body ul { padding-left: 1.1em; list-style: disc; }
.doc-body li + li { margin-top: 4px; }
.doc-body table { width: 100%; border-collapse: collapse; font-size: var(--t-small); line-height: 1.5; }
.doc-body th, .doc-body td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc-body th { font-weight: 600; color: var(--ink); width: 9em; }
.doc-body a { color: var(--ink); text-underline-offset: .2em; }
@media (max-width: 760px) {
  .doc-h, .doc-meta, .doc-body { grid-column: 1 / -1; }
  .doc-body th { width: 6.5em; }
}

/* ---------- contact sheet: slides in from the right, leaves the same way ---------- */
.sheet {
  position: fixed; inset: 0 0 0 auto;
  width: min(640px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0;
  background: var(--paper); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform .55s cubic-bezier(.32, .72, 0, 1);
}
.sheet.is-open { transform: none; }
.sheet::backdrop { background: rgba(17, 18, 18, 0); transition: background-color .45s var(--ease); }
.sheet.is-open::backdrop { background: rgba(17, 18, 18, .62); }
.sheet-in { min-height: 100%; display: flex; flex-direction: column; padding: 0 clamp(24px, 3.4vw, 48px) var(--s6); }
.sheet-top { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; height: var(--bar-h); background: var(--paper); }
.sheet-x { min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font-size: var(--t-small); font-weight: 600; }
.sheet-x:hover { color: var(--blue-lo); }
.sheet-h { margin-top: var(--s5); font-size: clamp(30px, 3.4vw, 48px); font-weight: 700; line-height: 1.12; letter-spacing: -0.036em; }
html[lang="en"] .sheet-h { line-height: 1.04; letter-spacing: -0.04em; }
.sheet-h .sq { width: .2em; height: .2em; }

.ask { display: grid; row-gap: var(--s4); }
.ask[hidden] { display: none; }
.ask .sheet-h { margin-bottom: var(--s2); }
.field-set { margin: 0; padding: 0; border: 0; min-width: 0; }
.f-label { display: block; padding: 0; font-size: var(--t-small); font-weight: 600; line-height: 1.5; }
.opt { font-weight: 400; color: var(--soft); }
.f-in {
  display: block; width: 100%; margin-top: var(--s1);
  padding: 12px 0; border: 0; border-bottom: 2px solid rgba(17, 18, 18, .42); border-radius: 0;
  background: transparent; color: var(--ink);
  font: inherit; font-size: var(--t-body); line-height: 1.5;
  transition: border-color .2s var(--ease);
}
textarea.f-in { resize: vertical; min-height: 7.5em; }
.f-in:focus { outline: none; border-bottom-color: var(--blue); }
.f-in[aria-invalid="true"] { border-bottom-color: #c42b1c; }
.f-hint { margin-top: var(--s1); font-size: var(--t-small); line-height: 1.5; color: var(--soft); }
.f-err { min-height: 0; font-size: var(--t-small); line-height: 1.5; color: #c42b1c; }
.f-err:not(:empty) { margin-top: var(--s1); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s1); }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid rgba(17, 18, 18, .42); cursor: pointer; font-size: var(--t-small); font-weight: 600; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.agree { display: flex; gap: var(--s2); align-items: flex-start; font-size: var(--t-small); line-height: 1.5; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.consent { padding: var(--s3); background: rgba(17, 18, 18, .05); font-size: var(--t-small); line-height: 1.55; }
.consent-h { font-weight: 700; }
.consent-dl { display: grid; row-gap: 4px; margin: var(--s2) 0; }
.consent-dl div { display: grid; grid-template-columns: 5.5em 1fr; column-gap: var(--s2); }
html[lang="en"] .consent-dl div { grid-template-columns: 5em 1fr; }
.consent-dl dt { font-weight: 600; }
.consent-p { color: var(--sub); }
.consent a { color: var(--ink); font-weight: 600; text-underline-offset: .2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ask-send { justify-self: start; min-width: 160px; margin-top: var(--s2); }
.ask-send[disabled] { opacity: .55; cursor: progress; }
.ask-status { font-size: var(--t-small); line-height: 1.5; }
.ask-status a { font-weight: 600; }
.ask-done { display: grid; row-gap: var(--s4); align-content: start; }
.ask-done[hidden] { display: none; }
.ask-done .btn { justify-self: start; }
.ask-done-p { color: var(--sub); }
.mail { cursor: pointer; }

/* ---------- intro: the wordmark wipes in, the point lands, the curtain lifts ---------- */
.intro {
  position: fixed; inset: 0; z-index: 90;
  display: none; place-items: center;
  background: var(--ink); color: var(--white);
  pointer-events: none;
  transition: transform 1s cubic-bezier(.76, 0, .24, 1) 1.25s;
}
.js .intro { display: grid; }
.intro-word {
  font-size: clamp(44px, 7vw, 104px); font-weight: 900; line-height: 1; letter-spacing: -0.058em;
  clip-path: inset(-.1em 100% -.1em 0);
  animation: wipe .85s cubic-bezier(.76, 0, .24, 1) .15s forwards;
}
.intro-word .sq { transform: scale(0); animation: land .5s cubic-bezier(.3, 1.6, .5, 1) .95s forwards; }
@keyframes wipe { to { clip-path: inset(-.1em -.3em -.1em 0); } }
@keyframes land { to { transform: scale(1); } }
.is-ready .intro { transform: translateY(-100%); }

/* ---------- motion ---------- */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
.js .hero-title .l { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.js .hero-title .li { transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(1.55s + var(--i, 0) * 120ms); }
.js.is-ready .hero-title .li { transform: none; }
.js.hero-done .hero-title .l { overflow: visible; }
.js .pt { opacity: 0; }
.js.pt-on .pt { opacity: 1; }
.js .hero-foot { opacity: 0; transition: opacity 1s var(--ease) 2.2s; }
.js.is-ready .hero-foot { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .js .intro { display: none; }
  .js .rise, .js .hero-title .li, .js .hero-foot { opacity: 1; transform: none; transition: none; }
  .js .pt { opacity: 1; }
  .btn, .nav a::after, .bar, .cap-name, .mail::after, .mail .arrow { transition: none; }
  .sheet { transform: none; opacity: 0; transition: opacity .2s; }
  .sheet.is-open { opacity: 1; }
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .hero-sub { grid-column: 1 / span 8; }
  .steps { grid-column: 1 / span 6; }
  .shape { grid-column: 7 / -1; --w: min(26vw, 30vh); }
  .rule-p { grid-column: 4 / -1; }
  .ax-flow { row-gap: var(--s6); }
  .ax-flow li, .ax-agents li { grid-column: span 6; }
  .cap-name { grid-column: 4 / -1; }
  .cap-desc { grid-column: 4 / -1; margin-top: var(--s1); }
  .partner-list { row-gap: var(--s4); }
  .partner-list li:nth-child(n) { grid-column: 4 / -1; }
  .contact-note { grid-column: 4 / -1; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --bar-h: 56px; --t-display: 14.6vw; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brk { display: block; }
  br.d { display: none; }
  .nav-opt { display: none; }
  .nav { gap: var(--s3); }
  .logo { font-size: 20px; }

  .hero-title, .hero-sub, .hero-in > .btn, .hero-foot { grid-column: 1 / -1; }
  .hero-sub { margin-top: var(--s4); text-wrap: balance; }
  .hero-foot { flex-direction: column; gap: 2px; }

  .sec-head { padding-bottom: var(--s6); }
  .sec-label, .sec-title { grid-column: 1 / -1; }
  .sec-label { grid-row: 1; }
  .sec-title { grid-row: 2; margin-top: var(--s2); }

  .rule { padding-block: var(--s5); }
  .rule-k, .rule-s, .rule-p { grid-column: 1 / -1; }
  .rule-s { margin-top: var(--s2); }
  .rule-p { margin-top: var(--s3); }

  .brand-meta, .brand-name, .brand-desc { grid-column: 1 / -1; }
  .brand-name { margin-top: var(--s1); font-size: 10.4vw; }

  .method-lead { grid-column: 1 / -1; grid-row: 3; margin-top: var(--s4); }
  .steps { grid-column: 1 / -1; }
  .verb { font-size: 16vw; }
  .shape { grid-column: 1 / -1; grid-row: 2; height: 46svh; --w: min(40vw, 20svh); }
  .stage-in { row-gap: var(--s5); }
  .scene-on .stage-in { align-items: start; align-content: space-between; padding-top: calc(var(--bar-h) + var(--s4)); padding-bottom: var(--s4); }
  .scene-on .steps { align-self: start; }
  .scene-on .shape { height: 42svh; }

  .ax-flow { row-gap: var(--s5); }
  .ax-flow li { grid-column: 1 / -1; }
  .ax-agents li { grid-column: span 2; }
  .ax-sub { padding-top: var(--s7); }
  .ax-sub-p { grid-column: 1 / -1; margin-top: var(--s2); }

  .cap-no, .cap-name, .cap-desc { grid-column: 1 / -1; }
  .cap-name { margin-top: var(--s1); }
  .cap:hover .cap-name { transform: none; }

  .partner-list li:nth-child(n) { grid-column: 1 / -1; }

  .mail, .contact-note { grid-column: 1 / -1; }
  .mail { grid-row: 3; }
  .contact-note { grid-row: 4; }
  .mail { font-size: 8.4vw; }
  .legal { flex-direction: column; gap: 4px; }
}
