@font-face { font-family: "Pretendard"; src: url("../fonts/PretendardVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light;

  --green: #32CD8B;
  --green-deep: #009D5B;
  --green-press: #008A50;
  --green-light: #EAFAF3;
  --teal: #04444D;
  --bg: #F4F4F4;
  --white: #FFFFFF;
  --ink: #1F2423;
  --ink-soft: #686868;
  --gray: #B5B5B5;
  --ghost: #D9D9D9;
  --line: #E3E3E3;
  --field-line: #D0D0D0;
  --error: #C0392B;
  --on-dark-soft: rgba(255,255,255,.8);
  --on-dark-line: rgba(255,255,255,.2);
  --dim: rgba(0,0,0,.75);
  --foot-bg: #151A1A;
  --foot-panel: #232A29;
  --foot-line: #2A3130;
  --foot-border: #3A4341;
  --foot-text: #A8B0AE;
  --foot-text-strong: #C8CFCD;
  --glow: radial-gradient(circle at 85% 15%, rgba(50,205,139,.32), rgba(50,205,139,0) 45%);
  --shadow: 0 24px 48px rgba(4,68,77,.14);

  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --fs-display: clamp(36px, 6vw, 88px);
  --fs-h2: clamp(28px, 3.2vw, 44px);
  --fs-h3: clamp(22px, 2vw, 28px);
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-xs: 12px;

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 88px;
  --sec: 180px;
  --gap: 72px;
  --gutter: clamp(20px, 5vw, 80px);
  --head-h: 80px;

  --t-fast: .2s;
  --t: .4s;
  --t-slow: .8s;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
em, i { font-style: normal; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: var(--fs-body); line-height: 1.7; word-break: keep-all; overflow-x: hidden; }
h1, h2, h3, p, figure { margin: 0; }
h2, h3 { letter-spacing: -0.03em; text-wrap: balance; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.lines > * { display: block; }
br.m { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) { .svc-more p br.m, .intro br.m { display: inline; } #intro p { font-size: 7.2vw; } }
.wrap { max-width: calc(1600px + var(--gutter) * 2); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

.sec { padding-block: var(--sec); background-color: var(--white); }

main > *, .foot { position: relative; z-index: 0; }
main > .stack { position: sticky; }
.stack::after { content: ""; position: absolute; z-index: 20; inset: 0; background: #000; opacity: calc(var(--cover, 0) * .6); pointer-events: none; }
.dark { background: var(--glow), var(--teal); color: var(--white); }
.eyebrow { display: block; margin-bottom: var(--s2); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .01em; color: var(--green-deep); }
.dark .eyebrow, .panel .eyebrow { color: var(--green); }
.title { font-size: var(--fs-h2); font-weight: 700; line-height: 1.36; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding-inline: 28px; border: 0; background: var(--green-deep); color: var(--white); font: inherit; font-size: var(--fs-body); font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background var(--t-fast) ease; }
.btn::after { content: "→"; }
.btn:hover { background: var(--green-press); }
.btn.sm { height: 44px; padding-inline: 22px; font-size: var(--fs-sm); }
.btn.line { background: transparent; border: 1px solid currentColor; }
.btn.line:hover { background: rgba(255,255,255,.08); }
.arrow { display: inline-block; flex: none; width: 20px; height: 20px; background: currentColor; transition: background-color var(--t-fast) ease, transform var(--t) var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M3 11h16M12 4l7 7-7 7' fill='none' stroke='%23000' stroke-width='1.5'/%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 22 22'%3E%3Cpath d='M3 11h16M12 4l7 7-7 7' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.arrow.out {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 17L17 5M7.5 5H17v9.5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 17L17 5M7.5 5H17v9.5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); }
a:hover > .arrow, a:focus-visible > .arrow { background-color: var(--green); transform: translate(3px, -3px); }

.intro { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; background: var(--white); cursor: pointer; transition: opacity .6s ease, visibility .6s; }
.intro p { font-size: clamp(16px, 5.6vw, 56px); font-weight: 700; line-height: 1.4; letter-spacing: -0.03em; text-align: center; white-space: nowrap; clip-path: inset(0 50% 0 50%); transition: clip-path .9s cubic-bezier(.6, 0, .2, 1), transform .7s ease; }
.intro .kw { color: var(--green-deep); }
.intro .pt { display: inline-block; vertical-align: bottom; max-width: 0; overflow: hidden; white-space: pre; color: var(--ink); transition: max-width var(--t-slow) cubic-bezier(.6, 0, .2, 1); }
.intro.s1 p { clip-path: inset(0); }
.intro.s2 .pt { max-width: 6em; }
.intro.s3 { opacity: 0; visibility: hidden; }
.intro.s3 p { transform: scale(1.4); }
.intro.skip { display: none; }

.head { position: fixed; top: 0; left: 0; right: 0; z-index: 30; transition: background var(--t) ease, box-shadow var(--t) ease; }
.head .wrap { max-width: none; height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.logo img { display: block; height: 36px; width: auto; filter: brightness(0) invert(1); transition: filter var(--t) ease; }
.nav { display: flex; gap: clamp(28px, 4.4vw, 64px); }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; }
.nav a[aria-current] { font-weight: 700; }
.head.solid { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.head.solid .logo img { filter: none; }
.head.solid .nav a { color: var(--ink); }
.menu-btn { display: none; place-content: center; gap: 6px; width: 44px; height: 44px; margin-left: calc(var(--s2) * -1); padding: 0; border: 0; background: none; color: var(--white); cursor: pointer; }
.menu-btn i { display: block; width: 22px; height: 2px; background: currentColor; transition: transform var(--t) var(--ease); }
.head.solid .menu-btn, .head.open .menu-btn { color: var(--ink); }
.head-r { display: flex; align-items: center; gap: var(--s2); }

.hero-track { position: relative; height: 320vh; background: var(--white); }
.hero { --shrink: 0; position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; clip-path: inset(calc(var(--shrink) * 16%) calc(var(--shrink) * 20%)); }
.hero .say, .hero .ctrl { opacity: calc(1 - var(--shrink) * 3); }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: var(--dim); opacity: calc(1 - var(--shrink) * .7); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--t-slow) ease; }
.hero-bg.on { opacity: 1; }
.say { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.say .wrap { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 28px; }
.say span { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) ease, transform var(--t-slow) ease; }
.say i { height: 1px; background: rgba(255,255,255,.7); transform: scaleX(0); transform-origin: left; transition: transform 1s ease .3s; }
.say.on span { opacity: 1; transform: none; }
.say.on span:last-child { transition-delay: .6s; }
.say.on i { transform: scaleX(1); }
.ctrl { position: absolute; z-index: 3; left: 50%; bottom: var(--s4); transform: translateX(-50%); display: grid; justify-items: center; gap: var(--s2); color: var(--white); }
.cue { display: grid; justify-items: center; gap: var(--s1); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; }
.cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--white), rgba(255,255,255,0)); transform-origin: top; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.bars { display: flex; gap: 6px; }
.bars b { display: block; width: 24px; height: 6px; background: rgba(255,255,255,.35); transition: width var(--t) ease, background var(--t) ease; }
.bars b.on { width: 48px; background: var(--white); }

.state { position: relative; height: 220vh; background: var(--white); }
.state-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; }
.state-stick .wrap { width: 100%; }
.state-txt { font-size: var(--fs-h2); font-weight: 700; line-height: 1.36; letter-spacing: -0.03em; }
.state-txt i { color: var(--ghost); transition: color var(--t-fast) ease; }
.state-txt i.on { color: var(--ink); }
.state-txt i.g.on { color: var(--green-deep); }
.state-sub { margin-top: var(--s4); font-size: var(--fs-lead); font-weight: 700; color: var(--green-deep); opacity: 0; transform: translateY(12px); transition: opacity var(--t) ease, transform var(--t) ease; }
.state.done .state-sub { opacity: 1; transform: none; }

.biz { position: relative; display: flex; flex-direction: column; padding-bottom: 0; overflow: hidden; border-top: 1px solid var(--on-dark-line); }
.biz > .wrap { width: 100%; }
.svc-row { display: flex; align-items: flex-start; gap: 20px; margin-top: var(--gap); padding-bottom: 40px; }
.svc { position: relative; flex: 1 1 0; min-width: 0; height: 520px; overflow: hidden; background: var(--c); color: var(--white); text-decoration: none; transition: flex-grow var(--t) ease; }
.svc:nth-child(even) { margin-top: 40px; }
.svc.bricks { --c: #16A86A; }
.svc.samhago { --c: #1590D6; }
.svc.call { --c: #5532D6; }

.svc .shot { position: absolute; inset: 0; overflow: hidden; }
.svc .shot img, .svc .shot video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) ease; }
.svc .shot img { object-position: 50% 0%; }
.svc .shot.rot img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease, transform var(--t-slow) ease; }
.svc .shot.rot img.on { opacity: 1; }
.svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 34%, rgba(0,0,0,0) 62%); pointer-events: none; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,0) 90%); opacity: 0; transition: opacity var(--t) ease; pointer-events: none; }
.svc:hover::before, .svc:focus-visible::before, .svc-row:not(:hover):not(:focus-within) .svc.on::before { opacity: 1; }
.svc-txt { position: absolute; z-index: 1; left: var(--s4); right: var(--s4); bottom: var(--s4); display: grid; }
.svc .who { font-size: var(--fs-sm); font-weight: 600; color: var(--on-dark-soft); }
.svc h3 { margin-top: 10px; font-size: var(--fs-h3); font-weight: 700; line-height: 1.36; }
.svc .en { margin-top: 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--on-dark-soft); }
.svc-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows var(--t) ease, opacity var(--t) ease; }
.svc-more > div { overflow: hidden; min-width: 420px; }
.svc-more p { margin-top: var(--s2); color: var(--on-dark-soft); }
.svc-lead { display: block; margin-top: var(--s3); font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; line-height: 1.35; letter-spacing: -0.03em; }
.svc-more .go { display: inline-flex; align-items: center; gap: var(--s1); margin-top: var(--s2); padding-bottom: 3px; font-size: var(--fs-sm); font-weight: 700; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size var(--t) ease; }
.svc-more .go::after { content: "↗"; }
.svc-more .go:hover { background-size: 100% 1px; }
.svc-row:hover .svc, .svc-row:focus-within .svc { flex-grow: .8; }
.svc-row .svc:hover, .svc-row .svc:focus-visible { flex-grow: 2; }
.svc:hover .svc-more, .svc:focus-visible .svc-more { grid-template-rows: 1fr; opacity: 1; }

.svc-row:not(:hover):not(:focus-within) .svc { flex-grow: var(--g, 1); }
.svc-row:not(:hover):not(:focus-within) .svc.on .svc-more { grid-template-rows: 1fr; opacity: 1; }
.svc:hover .shot img, .svc:focus-visible .shot img, .svc:hover .shot video, .svc:focus-visible .shot video { transform: scale(1.05); }
.flow { order: 2; display: flex; width: max-content; margin-top: 56px; padding-bottom: var(--s3); white-space: nowrap; font-size: clamp(80px, 11vw, 170px); font-weight: 700; line-height: 1.05; letter-spacing: -0.06em; color: rgba(255,255,255,.12); animation: slide 40s linear infinite; }
.flow span { padding-right: .4em; }
@keyframes slide { to { transform: translateX(-50%); } }

.drift { animation: drift 12s ease-in-out infinite alternate; }
@keyframes drift { from { scale: 1.03; translate: -1.2% 0.6%; } to { scale: 1.09; translate: 1.2% -0.8%; } }
@media (prefers-reduced-motion: reduce) { .drift { animation: none; } }

.feat-rows { margin: var(--gap) 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.feat-row { position: relative; display: grid; grid-template-columns: clamp(64px, 14vw, 205px) minmax(0, 1fr); align-items: start; padding-block: var(--s7); border-top: 1px solid var(--line); transition: border-color var(--t) ease; }
.feat-row .num { font-size: var(--fs-lead); font-weight: 600; color: var(--ink-soft); text-align: center; line-height: calc(var(--fs-h3) * 1.4); transition: color var(--t) ease; }
.feat-txt { display: grid; max-width: 52%; }
.feat-txt h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }
.feat-txt h3 em { margin-left: var(--s1); color: transparent; background: linear-gradient(90deg, var(--green-deep) 50%, var(--gray) 50%) right / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-position var(--t-slow) var(--ease); }
.feat-row.hov h3 em, .feat-row:focus-within h3 em { background-position: left; }
.feat-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t) ease; }
.feat-more p { overflow: hidden; color: var(--ink-soft); }
.feat-more p span:first-child { padding-top: var(--s2); }
.feat-pic { position: absolute; z-index: 2; right: 40px; top: 50%; width: min(520px, 38vw); aspect-ratio: 600 / 460; background: var(--green-light); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(calc(-50% + 30px)); transition: opacity var(--t) ease, transform var(--t) var(--ease); pointer-events: none; }
.feat-pic img { width: 72%; height: 72%; object-fit: contain; }
.feat-row.hov, .feat-row:focus-within { z-index: 3; border-top-color: var(--green-deep); }
.feat-row.hov .num, .feat-row:focus-within .num { color: var(--green-deep); }
.feat-row.hov .feat-more, .feat-row:focus-within .feat-more { grid-template-rows: 1fr; }
.feat-row.hov .feat-pic, .feat-row:focus-within .feat-pic { opacity: 1; transform: translateY(-50%); }
.feat-cursor { position: fixed; z-index: 5; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--green-deep); display: grid; place-items: center; pointer-events: none; opacity: 0; scale: .4; transition: opacity var(--t-fast) ease, scale var(--t) var(--ease); }
.feat-cursor img { width: 24px; height: auto; }
.feat-cursor.on { opacity: 1; scale: 1; }
@media (hover: hover) and (pointer: fine) { .feat-rows, .feat-rows * { cursor: none; } }

.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); max-width: 960px; margin: var(--gap) 0 0 auto; }
.nums > div { display: grid; gap: 10px; }
.nums small { font-size: var(--fs-sm); font-weight: 600; }
.nums b { font-size: var(--fs-display); font-weight: 200; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nums b sub { margin-left: 4px; font-size: .5em; font-weight: 500; vertical-align: baseline; }
.nums .bar { position: relative; height: 1px; margin-top: 14px; background: var(--on-dark-line); }
.nums .bar::after { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 3px; background: var(--white); transition: width 1.4s ease; }
.nums.on .bar::after { width: var(--pct); }
.nums .bar.p826 { --pct: 82.6%; }
.nums .bar.p100 { --pct: 100%; }
.nums em { font-size: var(--fs-xs); color: var(--on-dark-soft); }

.voices { display: grid; gap: var(--s2); margin-top: var(--s7); }
.press { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: var(--s3) var(--s5); padding: var(--s5); background: var(--white); color: var(--ink); text-decoration: none; }
.press-src { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--fs-sm); font-weight: 700; color: var(--green-deep); }
.press-src i { font-weight: 500; color: var(--ink-soft); }
.press b { display: block; margin-top: var(--s2); font-size: var(--fs-h3); line-height: 1.4; letter-spacing: -0.03em; }
.press q { display: block; margin-top: var(--s2); color: var(--ink-soft); }
.press .go { display: inline-flex; align-items: center; gap: var(--s1); padding-bottom: 3px; font-size: var(--fs-sm); font-weight: 700; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size var(--t) ease; justify-self: start; }
.press:hover .go, .press:focus-visible .go { background-size: 100% 1px; }
.press:hover .arrow, .press:focus-visible .arrow { background-color: var(--green-deep); transform: translate(3px, -3px); }

.cert-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--gap); }
.cert-list article { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s4); padding: var(--s6) var(--s5); background: var(--bg); }
.cert-img { width: 180px; box-shadow: var(--shadow); }
.cert-img img { display: block; width: 100%; height: auto; }
.cert-txt { display: grid; gap: 12px; }
.cert-txt h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; font-size: var(--fs-h3); font-weight: 700; }
.cert-txt h3 small { font-size: var(--fs-sm); font-weight: 600; color: var(--green-deep); }
.cert-txt p { color: var(--ink-soft); }
.cert-txt dl { display: grid; gap: 4px; margin: 6px 0 0; font-size: var(--fs-sm); }
.cert-txt dl div { display: flex; gap: 14px; }
.cert-txt dt { min-width: 4.5em; color: var(--ink-soft); }
.cert-txt dd { margin: 0; color: var(--ink); }

.values { padding-top: 0; }
.panel { position: relative; display: flex; flex-direction: column; min-height: 580px; overflow: hidden; background: #000; color: var(--white); }
.panel::before { content: ""; position: absolute; z-index: 1; inset: 0; background: var(--dim); }
.panel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-head { position: relative; z-index: 2; flex: 1; display: grid; align-content: center; padding: var(--s6) var(--s3); text-align: center; }
.halves { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--on-dark-line); background: rgba(0,0,0,.35); }

.values.grow { padding: 0; }
.values.grow .wrap { max-width: none; padding: 0; }
.values.grow .panel { height: 100vh; height: 100svh; min-height: 0; }
.halves div { display: grid; justify-items: center; gap: var(--s1); padding: var(--s4) var(--s3) var(--s5); text-align: center; }
.halves div + div { border-left: 1px solid var(--on-dark-line); }
.halves b { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.03em; }
.halves span { color: var(--on-dark-soft); }

.contact { padding-block: clamp(80px, 9vw, 120px); }
.contact-lead { margin-top: 20px; font-size: var(--fs-lead); color: var(--on-dark-soft); }
.rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 96px); margin-top: var(--s5); }
.rows a { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding-block: var(--s3); border-top: 1px solid var(--on-dark-line); border-bottom: 1px solid var(--on-dark-line); margin-bottom: -1px; color: var(--white); text-decoration: none; font-size: var(--fs-h3); font-weight: 700; }
.rows a small { margin-left: auto; font-size: var(--fs-sm); font-weight: 500; color: var(--on-dark-soft); }

.foot { background: var(--foot-bg); color: var(--foot-text); font-size: var(--fs-sm); }
.foot .wrap { max-width: none; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-block: var(--s3); border-bottom: 1px solid var(--foot-line); }
.foot-top nav { display: flex; flex-wrap: wrap; gap: var(--s1) 40px; }
.foot-top nav a { color: var(--foot-text-strong); text-decoration: none; }
.foot-top nav a:first-child { color: var(--white); font-weight: 700; }
.family { position: relative; }
.family summary { min-width: 200px; justify-content: space-between; color: var(--white); list-style: none; }
.family summary::-webkit-details-marker { display: none; }
.family summary::after { content: "▴"; transition: transform var(--t-fast) ease; }
.family[open] summary::after { transform: rotate(180deg); }
.family ul { position: absolute; z-index: 10; right: 0; bottom: calc(100% + 6px); min-width: 100%; margin: 0; padding: 6px 0; list-style: none; background: var(--foot-panel); border: 1px solid var(--foot-border); }
.family a { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: 12px 20px; color: var(--foot-text-strong); text-decoration: none; white-space: nowrap; }
.family a:hover, .family a:focus-visible { background: rgba(255,255,255,.06); color: var(--white); }
.foot-bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s3); padding-block: var(--s4) 40px; }
.foot-bot .l { display: flex; align-items: center; flex-wrap: wrap; gap: 36px; }
.foot-bot img { height: 38px; width: auto; filter: brightness(0) invert(1); }
.foot-bot p { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 2px; }
.foot-cert { display: flex; gap: 10px; }
.foot-cert span { padding: 4px 10px; border: 1px solid var(--foot-border); font-size: var(--fs-xs); font-weight: 700; color: var(--foot-text-strong); }

.js .rv:not(.in) { opacity: 0; }
.js .rv.in { animation: rise var(--t-slow) var(--ease) var(--d, 0s) both; }
.js .title.rv { opacity: 1; animation: none; }
.js .title.rv > span { --n: 0; opacity: 0; }
.js .title.rv > span:nth-child(2) { --n: 1; }
.js .title.rv.in > span { animation: line .9s var(--ease) calc(var(--d, 0s) + var(--n) * .14s) both; }
.js .panel.rv { opacity: 1; clip-path: inset(10% 8%); }
.js .panel.rv.in { animation: open 1.1s var(--ease) both; }
@keyframes rise { from { opacity: 0; translate: 0 48px; } to { opacity: 1; translate: none; } }
@keyframes line { from { opacity: 0; translate: 0 .6em; clip-path: inset(0 0 100% 0); } to { opacity: 1; translate: none; clip-path: inset(0 0 -20% 0); } }
@keyframes open { from { clip-path: inset(10% 8%); } to { clip-path: inset(0); } }

@media (max-width: 900px) {
  :root { --sec: 104px; --gap: 48px; --head-h: 64px; }
  .menu-btn { display: grid; }
  .head .btn { height: 34px; padding-inline: 12px; font-size: var(--fs-xs); }
  .head .btn::after { content: none; }
  .nav { position: fixed; z-index: -1; inset: var(--head-h) 0 0; display: flex; flex-direction: column; gap: 0; padding: var(--s2) var(--gutter); background: var(--white); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t) ease, transform var(--t) var(--ease), visibility var(--t); }
  .nav a, .head.solid .nav a { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: var(--fs-h3); font-weight: 700; }
  .nav a::after { content: "→"; color: var(--green-deep); }
  .head.open { background: var(--white); box-shadow: 0 1px 0 var(--line); }
  .head.open .logo img { filter: none; }
  .head.open .nav { opacity: 1; visibility: visible; transform: none; }
  .head.open .menu-btn i:first-child { transform: translateY(4px) rotate(45deg); }
  .head.open .menu-btn i:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero { clip-path: inset(calc(var(--shrink) * 14%) calc(var(--shrink) * 8%)); }
  .ctrl { bottom: max(var(--s3), env(safe-area-inset-bottom, 0px)); }

  .say .wrap { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .say i { width: 80px; }
  .say span { white-space: normal; }

  .state { height: 200vh; }
  .state-txt { font-size: clamp(22px, 6.4vw, 28px); }
  .state-sub { margin-top: 28px; font-size: var(--fs-body); }

  .svc-row { flex-direction: column; align-items: stretch; gap: var(--s2); padding-bottom: 0; }
  .svc, .svc:nth-child(even) { flex: none; height: auto; margin-top: 0; }
  .svc .shot { position: relative; inset: auto; aspect-ratio: 619 / 520; }
  .svc .shot img { object-position: 50% 50%; }
  .svc::after, .svc::before { display: none; }
  .svc { background: none; }
  .svc-txt { position: relative; left: auto; right: auto; bottom: auto; padding: 20px 0 var(--s4); }
  .svc-more, .svc:hover .svc-more { grid-template-rows: 1fr; opacity: 1; }
  .svc-more > div { min-width: 0; }
  .flow { margin-top: 40px; }

  .feat-row { grid-template-columns: 40px minmax(0, 1fr); padding-block: 36px; }
  .feat-row .num { text-align: left; }
  .feat-txt { max-width: none; }
  .feat-txt h3 { min-height: 72px; padding-right: 84px; }
  .feat-txt h3 em { display: block; margin-left: 0; font-size: var(--fs-sm); }
  .feat-more, .feat-row.hov .feat-more { grid-template-rows: 1fr; }
  .feat-pic, .feat-row.hov .feat-pic, .feat-row:focus-within .feat-pic { top: 36px; right: 0; width: 72px; opacity: 1; transform: none; box-shadow: none; }

  .nums { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-left: 0; }
  .voices { grid-template-columns: minmax(0, 1fr); gap: var(--s2); margin-top: var(--s6); }
  .press { padding: var(--s4) var(--s3); }

  .cert-list { grid-template-columns: minmax(0, 1fr); }
  .cert-list article { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: var(--s4) var(--s3); }
  .cert-img { width: 140px; }

  .panel { min-height: 600px; }
  .panel-head { padding: var(--s5) var(--s2); }
  .halves { grid-template-columns: minmax(0, 1fr); }
  .halves div { padding: 22px 12px 26px; }
  .halves div + div { border-left: 0; border-top: 1px solid var(--on-dark-line); }
  .halves span { font-size: var(--fs-sm); }

  .contact-lead span { display: block; }
  .rows { grid-template-columns: minmax(0, 1fr); }
  .rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s2); row-gap: 4px; font-size: var(--fs-lead); }
  .rows a small { grid-row: 2; margin-left: 0; }
  .rows a .arrow { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 480px) {
  .title { font-size: min(28px, 7.4vw); }
  .panel-head .title { font-size: min(22px, 6vw); letter-spacing: -0.03em; }
  .logo img { height: 28px; }
  .btn.sm { height: 38px; padding-inline: var(--s2); font-size: var(--fs-sm); }
}
@media (prefers-reduced-motion: reduce) {
  .flow, .cue::after { animation: none; }
  .js .rv, .js .rv.in, .js .title.rv > span, .js .title.rv.in > span { opacity: 1; clip-path: none; animation: none; }
  .say span, .say i { opacity: 1; transform: none; transition: none; }
  .state-txt i, .state-sub, .svc, .svc .shot img, .svc-more, .feat-row, .feat-row .num, .feat-more, .feat-pic { transition: none; }
}

html.menu-open { overflow: hidden; }

.jump-veil { position: fixed; inset: 0; z-index: 25; background: var(--white); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.jump-veil.on { opacity: 1; }
