@font-face{font-family:Pretendard;src:url('/assets/fonts/pretendard.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}

/* 쇼케이스 테마. hynex CI: 심볼 그라데이션 #0ecc9e → #3bce63 → #7bcf10, 워드마크 #111 / 도토리: 앱 주색 #4a5df9 */
:root{
  --ink:#111;--sub:#56585e;--mute:#8e9096;--paper:#f5f6f5;--line:#e3e5e3;
  --ci:linear-gradient(100deg,#0ecc9e 0%,#3bce63 50%,#7bcf10 100%);--accent:#1fbf73;
  --ease:cubic-bezier(.2,.8,.2,1);
}
.theme-dotori{--ink:#14110e;--sub:#57514a;--mute:#938b81;--paper:#f6f1e9;--line:#e9e2d6;--accent:#4a5df9}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:80px;-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--ink);font-family:Pretendard,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Segoe UI',sans-serif;font-size:18px;line-height:1.6;word-break:keep-all;overflow-wrap:break-word;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
button{font:inherit;-webkit-tap-highlight-color:transparent}
h1,h2,h3,p,figure,ul,ol{margin:0;padding:0}
ul,ol{list-style:none}
h1,h2,h3{font-weight:800;letter-spacing:-.05em;line-height:1.16;color:var(--ink)}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:6px}
.skip-link{position:absolute;left:16px;top:-80px;z-index:100;background:var(--ink);color:#fff;padding:12px 18px;border-radius:10px;font-weight:600}
.skip-link:focus{top:16px}
.wrap{width:min(1180px,100% - 48px);margin-inline:auto}

/* CI */
.wordmark{display:inline-flex;align-items:center}
.wordmark img{height:34px;width:auto}
.site-footer .wordmark img{height:34px}
.pt{background:var(--ci);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;padding-right:.04em}
.ci-bar{height:5px;background:var(--ci)}
.hero .symbol{width:64px;margin:0 auto 30px}
.hero-more{margin-top:-44px;padding-bottom:96px}
.theme-dotori .kicker::before{background:var(--accent)}
.theme-dotori .tabbar{padding-top:0}
.giant-symbol{width:clamp(88px,10vw,140px);margin:0 auto 44px}
.made-by{display:inline-flex;align-items:center;gap:10px}
.made-by img{height:20px;width:auto}
.dotori-brand{display:inline-flex;align-items:center;gap:9px;font-size:25px;font-weight:800;letter-spacing:-.05em;line-height:1;color:var(--ink)}
.dotori-brand img{width:22px}
.kicker{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700;color:var(--sub)}
.kicker::before{content:"";width:22px;height:4px;border-radius:2px;background:var(--ci)}

/* header */
.site-header{position:fixed;inset:0 0 auto 0;z-index:50;transition:background .25s,box-shadow .25s}
.site-header.is-stuck{background:rgba(255,255,255,.86);backdrop-filter:saturate(1.8) blur(16px);-webkit-backdrop-filter:saturate(1.8) blur(16px);box-shadow:0 1px 0 var(--line)}
.nav{display:flex;align-items:center;height:68px;gap:26px}
.nav-links{display:flex;gap:26px;margin-left:auto;font-size:15.5px;font-weight:600;color:var(--sub)}
.nav-links a:hover{color:var(--ink)}
.nav-cta{font-size:15px;font-weight:700;padding:9px 16px;border-radius:999px;background:var(--ink);color:#fff}
.menu-toggle{display:none;width:44px;height:44px;border:0;background:none;cursor:pointer;position:relative;color:var(--ink)}
.menu-toggle span{position:absolute;left:11px;right:11px;height:2px;border-radius:2px;background:currentColor;transition:transform .3s var(--ease),top .3s var(--ease)}
.menu-toggle span:first-child{top:17px}.menu-toggle span:last-child{top:25px}
.menu-toggle[aria-expanded="true"] span:first-child{top:21px;transform:rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:last-child{top:21px;transform:rotate(-45deg)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:56px;padding:0 30px;border-radius:999px;font-size:17px;font-weight:700;background:var(--ink);color:#fff;transition:transform .2s var(--ease),background .2s;white-space:nowrap}
.btn:hover{background:#000}.btn:active{transform:scale(.97)}
.btn svg{width:18px;height:18px}
.btn.accent{background:var(--accent)}.btn.accent:hover{background:#3b4de6}
.more{display:inline-flex;align-items:center;gap:6px;font-weight:700;padding-bottom:5px;background:var(--ci) left bottom/100% 3px no-repeat}
.more svg{width:18px;height:18px;transition:transform .2s var(--ease)}
.more:hover svg{transform:translateX(4px)}

/* ---------- device: codex로 만든 실제 기기 사진 프레임 위에 앱 화면을 얹는다 (gen/frame.py) ---------- */
.phone{--pw:300px;position:relative;flex:none;width:var(--pw);aspect-ratio:730/1509;filter:drop-shadow(0 calc(var(--pw)*.09) calc(var(--pw)*.08) rgba(18,20,38,.26)) drop-shadow(0 calc(var(--pw)*.012) calc(var(--pw)*.014) rgba(18,20,38,.22))}
.phone .shot{position:absolute;left:3.5%;top:1.25%;width:93%;height:97.5%;object-fit:cover;border-radius:calc(var(--pw)*.105);background:#fff}
.phone .frame{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}

/* ---------- hero ---------- */
.hero{background:var(--paper);overflow:hidden;padding-top:150px;text-align:center}
.hero .mark{width:72px;margin:0 auto 28px}
.hero h1{font-size:clamp(46px,7vw,104px);letter-spacing:-.055em;line-height:1.1}
.hero .lead{margin:28px auto 0;font-size:clamp(18px,1.6vw,22px);color:var(--sub);max-width:28em}
.hero .actions{display:flex;justify-content:center;margin-top:36px}
.hero .kicker{justify-content:center;margin-bottom:26px}
.stage{position:relative;display:flex;justify-content:center;margin-top:72px;padding-bottom:96px}
.stage .phone{--pw:330px}
.float{position:absolute;width:var(--s,120px);height:auto;filter:drop-shadow(0 18px 18px rgba(11,13,18,.16));animation:bob 6s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(-14px)}}
.lineup{display:flex;justify-content:center;align-items:center;gap:clamp(12px,2vw,28px);margin-top:80px;padding-bottom:110px}
.lineup .phone{--pw:190px}
.lineup.five .phone:nth-child(3){--pw:258px}
.lineup.five .phone:nth-child(2),.lineup.five .phone:nth-child(4){--pw:220px}
.lineup.four .phone{--pw:236px}
.lineup.four{padding-bottom:0}

.f1{--s:150px;left:8%;top:10px}
.f2{--s:104px;left:21%;top:260px;animation-delay:-2s}
.f3{--s:128px;left:3%;top:380px;animation-delay:-4s}
.f4{--s:140px;right:8%;top:30px;animation-delay:-1s}
.f5{--s:104px;right:21%;top:280px;animation-delay:-3s}
.f6{--s:132px;right:3%;top:390px;animation-delay:-5s}
@media (max-width:960px){.f1{left:0}.f2{left:5%}.f3{left:-3%}.f4{right:0}.f5{right:5%}.f6{right:-3%}}
@media (max-width:600px){
  .f1{--s:80px;left:-5%;top:0}.f2{--s:56px;left:0;top:190px}.f3{--s:70px;left:-7%;top:310px}
  .f4{--s:76px;right:-5%;top:20px}.f5{--s:56px;right:0;top:210px}.f6{--s:72px;right:-7%;top:320px}
}

/* ---------- hynex: 밤에서 낮으로. 스크롤을 내릴수록 화면이 따듯해진다 ---------- */
@property --bg{syntax:'<color>';inherits:true;initial-value:#ffffff}
@property --fg{syntax:'<color>';inherits:true;initial-value:#111111}
.theme-hynex{--bg:#ffffff;--fg:#111111;background:var(--bg);color:var(--fg);transition:--bg 1.6s ease,--fg 1.2s ease}
/* 검은 밤 → 푸른 새벽 → 노랗고 붉은 해돋이 → 해가 다 뜬 흰 낮 */
.theme-hynex[data-scene="night"]{--bg:#030407;--fg:#f4f1ec}
.theme-hynex[data-scene="blue"]{--bg:#0a1a44;--fg:#eef3ff}
.theme-hynex[data-scene="dawn"]{--bg:#f6c890;--fg:#2a1608}
.theme-hynex[data-scene="day"]{--bg:#ffffff;--fg:#111111}
.theme-hynex h1,.theme-hynex main h2,.theme-hynex main h3{color:inherit}
/* 상단: 내용이 메뉴와 겹치지 않고 수평선 너머로 사라진다 */
.theme-hynex .site-header,.theme-hynex .site-header.is-stuck{position:fixed;z-index:5;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.theme-hynex .site-header::before{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;height:132px;pointer-events:none;background:linear-gradient(var(--bg) 0,var(--bg) 52%,transparent 100%)}
.theme-hynex .nav-links{color:inherit}
.theme-hynex .nav-links a{opacity:.7;transition:opacity .2s}
.theme-hynex .nav-links a:hover{color:inherit;opacity:1}
.app-link{display:inline-flex;align-items:center;gap:7px}
.app-link img{width:15px;height:auto}
.theme-hynex .menu-toggle{color:inherit;margin-left:auto}
.theme-hynex .wordmark{position:relative}
.theme-hynex .site-header .wordmark img{transition:opacity 1.2s ease}
.theme-hynex .site-header .wordmark .on-light{position:absolute;left:0;top:0;opacity:1}
.theme-hynex .site-header .wordmark .on-dark{opacity:0}
.theme-hynex[data-scene="night"] .site-header .wordmark .on-light,.theme-hynex[data-scene="blue"] .site-header .wordmark .on-light{opacity:0}
.theme-hynex[data-scene="night"] .site-header .wordmark .on-dark,.theme-hynex[data-scene="blue"] .site-header .wordmark .on-dark{opacity:1}
.sky{position:fixed;inset:0;z-index:0;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity 1.8s ease}
[data-scene="night"] .sky{opacity:1}
[data-scene="blue"] .sky{opacity:.5}
/* 초승달: 밤하늘 오른쪽에 떠 있다가 새벽이 오면 지평선 쪽으로 기울며 옅어진다 */
.moon{position:fixed;z-index:0;left:calc(max(24px,50vw - 590px) + clamp(54px,10.4vw,168px) * 2.36);margin-left:calc(clamp(44px,4vw,62px) / -2);top:clamp(118px,15vh,150px);width:clamp(44px,4vw,62px);height:auto;pointer-events:none;opacity:var(--mo,1);transform:translateY(var(--my,0px)) rotate(-16deg);filter:drop-shadow(0 0 22px rgba(190,212,255,.26))}
[data-scene="dawn"] .moon,[data-scene="day"] .moon{opacity:0}
.glow{position:fixed;z-index:0;left:50%;bottom:0;width:min(170vw,2400px);aspect-ratio:1;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(255,196,128,.95) 0%,rgba(255,150,82,.62) 26%,rgba(244,104,62,.26) 52%,rgba(244,104,62,0) 72%);
  transform:translate(-50%,var(--gy,86%)) scale(var(--gs,.7));opacity:var(--go,.5);transition:transform 2s cubic-bezier(.2,.7,.2,1),opacity 1.8s ease}
[data-scene="night"] .glow{--gy:92%;--gs:.6;--go:0}
[data-scene="blue"] .glow{--gy:82%;--gs:.74;--go:.5}
[data-scene="dawn"] .glow{--gy:50%;--gs:1.08;--go:.9}
[data-scene="day"] .glow{--gy:20%;--gs:1.5;--go:0}
/* 지평선 쪽이 먼저 밝아지는 하늘빛 */
.air{position:fixed;inset:0;z-index:0;pointer-events:none;opacity:0;transition:opacity 2s ease;background:linear-gradient(to top,rgba(120,170,255,.62) 0%,rgba(58,104,214,.4) 26%,rgba(20,44,120,.16) 58%,rgba(8,16,48,0) 86%)}
[data-scene="night"] .air{opacity:.16}
[data-scene="blue"] .air{opacity:1}
[data-scene="dawn"] .air{opacity:0}
.theme-hynex main{position:relative;z-index:1;overflow-x:clip}
/* 스크립트가 스크롤 위치에 맞춰 색을 직접 정할 때는 장면 전환용 시간차를 없앤다 */
.sky-live.theme-hynex{transition:none}
.sky-live .sky,.sky-live .air{transition:none}
.sky-live .glow{transition:none}
.scene{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;padding:clamp(112px,13.5vh,165px) 0 clamp(82px,10.5vh,128px)}
.scene .wrap{width:min(1180px,100% - 48px)}
.scene:first-child{align-items:flex-start;padding-top:clamp(168px,26svh,256px)}
.display{font-size:clamp(76px,9.8vw,148px);font-weight:300;letter-spacing:-.05em;line-height:1.05}
.display.line{font-size:clamp(34px,4.4vw,64px);font-weight:400;letter-spacing:-.05em;line-height:1.17}
.hero-sub{max-width:36em;margin-top:clamp(24px,3.1vw,42px);font-size:clamp(17px,1.6vw,22px);line-height:1.65;text-wrap:pretty}
.tag{display:flex;align-items:center;gap:10px;margin-bottom:18px;font-size:14px;font-weight:500;letter-spacing:.01em}
.tag::before{content:"";width:22px;height:3px;border-radius:2px;background:var(--ci)}
.cols{display:grid;grid-template-columns:1fr 2.1fr;column-gap:clamp(24px,5vw,80px);margin-top:clamp(32px,5.6vw,80px)}
.cols .section-copy{grid-column:2}
.section-copy p,.ways p,.closing-copy{font-size:clamp(17px,1.55vw,20px);line-height:1.75;text-wrap:pretty}
.section-copy p{max-width:29em}
.section-copy p+p{margin-top:20px}
.ways{margin-top:clamp(36px,5.6vw,80px);border-top:1px solid color-mix(in srgb,currentColor 26%,transparent)}
.ways li{display:grid;grid-template-columns:40px 1fr 1.25fr;gap:clamp(16px,3vw,40px);padding:clamp(24px,3.3vw,48px) 0;border-bottom:1px solid color-mix(in srgb,currentColor 26%,transparent)}
.ways .n{font-size:14px;font-weight:400;padding-top:5px}
.ways h3{font-size:clamp(20px,2vw,28px);font-weight:500;letter-spacing:-.035em;line-height:1.35}
.ways p{max-width:29em}
.nots{border-top:1px solid color-mix(in srgb,currentColor 22%,transparent)}
.nots li{padding:20px 0;border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);font-size:clamp(18px,1.5vw,21px);letter-spacing:-.02em}
.closing{margin-top:clamp(88px,12vw,168px)}
.closing .display{font-size:clamp(52px,6.5vw,98px)}
.closing-copy{max-width:27em;margin-top:20px}
.cue{position:absolute;left:50%;bottom:44px;width:1px;height:64px;background:linear-gradient(currentColor,transparent);opacity:.5;animation:cue 2.4s ease-in-out infinite}
@keyframes cue{0%,100%{transform:scaleY(.4);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}}
.theme-hynex .site-footer{position:relative;z-index:1;background:#111}
.theme-hynex .footer-top h2{font-size:clamp(32px,4.2vw,60px);font-weight:400;letter-spacing:-.05em;line-height:1.18}
.theme-hynex .footer-top p{font-size:clamp(17px,1.45vw,19px);line-height:1.75;color:rgba(255,255,255,.76);text-wrap:pretty}
.theme-hynex .nav-links{font-size:15px;font-weight:400}
/* 위로 올라간 내용은 수평선 쪽으로 눕듯이 멀어지며 사라진다 (스크롤 연동 애니메이션을 지원하는 브라우저) */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .theme-hynex .v{transform-origin:50% 0;animation:over-horizon linear both;animation-timeline:view(block);animation-range:exit-crossing -6% exit-crossing 92%}
    @keyframes over-horizon{
      0%{opacity:1;transform:perspective(1100px) rotateX(0) scale(1);filter:blur(0)}
      100%{opacity:0;transform:perspective(1100px) rotateX(64deg) scale(.82);filter:blur(3px)}
    }
  }
}

/* ---------- tab chapters ---------- */
.tabbar{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;padding:56px 24px 0}
.tabbar a{display:inline-flex;align-items:center;gap:8px;padding:10px 18px 10px 12px;border-radius:999px;background:var(--paper);font-size:16px;font-weight:700}
.tabbar a:hover{background:#e6e9ed}
.tabbar img{width:26px;height:26px}
.chapter{padding:clamp(72px,9vw,130px) 0}
.chapter .wrap{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,96px);align-items:center}
.chapter:nth-of-type(even) .panel{order:-1}
.count{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:700;color:var(--mute)}
.count img{width:44px;height:44px}
.count b{color:var(--ink);font-size:22px;font-weight:800;letter-spacing:-.03em}
.chapter h2{margin-top:26px;font-size:clamp(40px,5.4vw,78px)}
.chapter p.line{margin-top:24px;font-size:clamp(19px,1.7vw,24px);color:var(--sub);max-width:18em}
.panel{border-radius:48px;display:flex;justify-content:center;align-items:center;padding:64px 24px;background:var(--paper)}
.panel .phone{--pw:336px}
.panel.c1{background:#e6e9ff}.panel.c2{background:#fff1cf}.panel.c3{background:#fbe3f1}.panel.c4{background:#dff1e6}.panel.c5{background:#e2efff}

/* ---------- statements ---------- */
.section{padding:clamp(96px,12vw,180px) 0}
.section.paper{background:var(--paper)}
.statement{margin-top:26px;font-size:clamp(30px,4.2vw,58px);font-weight:800;letter-spacing:-.05em;line-height:1.3;max-width:19em}
.statement span{color:#b4b6bb}
.points{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:clamp(56px,7vw,96px)}
.points li{border-top:2px solid var(--ink);padding-top:24px}
.points h3{font-size:24px;letter-spacing:-.04em}
.points p{margin-top:12px;color:var(--sub);font-size:17.5px}
.sub-head{text-align:center;margin-bottom:8px}
.sub-head h2{font-size:clamp(34px,4.6vw,64px)}
.sub-head p{margin-top:18px;color:var(--sub);font-size:clamp(18px,1.6vw,22px)}
.giant{font-size:clamp(48px,8.4vw,128px);letter-spacing:-.06em;line-height:1.06}
.center{text-align:center}
.center .kicker{justify-content:center;margin-bottom:26px}
.showcase-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap}
.showcase-head h2{font-size:clamp(38px,5vw,72px);margin-top:22px}
.closing-art{margin-top:72px;border-radius:48px;overflow:hidden}
.closing-art img{width:100%}

/* ---------- footer ---------- */
.site-footer{background:var(--ink);color:rgba(255,255,255,.56);padding:96px 0 48px}
.site-footer .wordmark,.site-footer .dotori-brand{color:#fff}
.footer-top{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;flex-wrap:wrap;padding-bottom:64px;border-bottom:1px solid rgba(255,255,255,.14)}
.footer-top h2{color:#fff;font-size:clamp(36px,5vw,72px)}
.footer-top p{max-width:24em}
.footer-bottom{padding-top:36px;display:flex;justify-content:space-between;align-items:center;gap:20px 36px;flex-wrap:wrap;font-size:14.5px}
.footer-links{display:flex;flex-wrap:wrap;gap:10px 24px;color:rgba(255,255,255,.78)}
.footer-links a:hover{color:#fff}

@media (max-width:960px){
  .nav-links{position:absolute;left:16px;right:16px;top:72px;flex-direction:column;gap:0;padding:10px;background:#fff;border-radius:18px;box-shadow:0 20px 50px rgba(11,13,18,.18);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s,transform .2s var(--ease),visibility .2s}
  .nav-links.is-open{opacity:1;visibility:visible;transform:none}
  .nav-links a{padding:14px 16px;font-size:17px;color:var(--ink)}
  .nav{gap:10px}.nav-cta{margin-left:auto}.menu-toggle{display:block}
  .chapter .wrap,.points{grid-template-columns:1fr}
  .scene{padding:105px 0 75px}
  .moon{left:calc(20px + clamp(54px,10.4vw,168px) * 2.36);margin-left:-22px;top:112px;width:44px}
  .scene:first-child{padding-top:clamp(168px,25svh,220px)}
  .display{font-size:clamp(52px,16vw,104px)}
  .cols{grid-template-columns:1fr}
  .cols .section-copy{grid-column:1}
  .ways li{grid-template-columns:26px 1fr;row-gap:8px}
  .ways p{grid-column:2}
  .chapter:nth-of-type(even) .panel{order:0}
  .lineup{overflow-x:auto;justify-content:flex-start;padding:0 24px 40px;margin-inline:-24px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
  .lineup .phone,.lineup.five .phone:nth-child(n),.lineup.four .phone{--pw:236px;scroll-snap-align:center}
}
@media (max-width:600px){
  body{font-size:17px}
  .wrap{width:calc(100% - 40px)}
  .scene:not(:first-child){min-height:62svh;padding-block:84px 66px}
  .hero{padding-top:118px}
  .stage{margin-top:52px;padding-bottom:64px}
  .stage .phone{--pw:262px}
  .panel{border-radius:32px;padding:44px 16px}
  .panel .phone{--pw:262px}
  .tabbar{gap:8px;padding-top:40px}
  .tabbar a{font-size:14.5px;padding:8px 14px 8px 10px}
  .closing-art{border-radius:28px;margin-top:44px}
  .lineup{padding-inline:20px;margin-inline:-20px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* 데스크톱: 글이 왼쪽으로 쏠려 보이지 않도록 가운데 축에 맞춘다 */
@media (min-width:961px){
  .theme-hynex .scene .wrap{text-align:center}
  .theme-hynex .scene .tag{justify-content:center}
  .theme-hynex .hero-sub{margin-inline:auto}
  .theme-hynex .cols{display:block}
  .theme-hynex .cols .section-copy,.theme-hynex .section-copy{margin-inline:auto;max-width:35em}
  .theme-hynex .section-copy p{max-width:none}
  .theme-hynex .ways{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(28px,4.4vw,72px);border-top:0}
  .theme-hynex .ways li{display:block;padding:0;border-bottom:0}
  .theme-hynex .ways .n{display:block;margin-bottom:16px;opacity:.6}
  .theme-hynex .ways h3{margin-bottom:12px}
  .theme-hynex .ways p{max-width:none}
  .theme-hynex .nots{max-width:33em;margin-inline:auto}
  .theme-hynex .footer-top{flex-direction:column;align-items:center;text-align:center;gap:24px}
  .theme-hynex .footer-top p{max-width:30em}
}

/* 섹션 사이 여백을 약 25% 줄임: 첫 화면 뒤의 장면은 화면 높이를 꽉 채우지 않는다 */
.theme-hynex .scene:not(:first-child){min-height:0}
@media (min-width:961px){.theme-hynex .scene:not(:first-child){min-height:62svh}}

/* 운영 중인 기존 홈페이지에서 가져온 것: 일하는 방식 세 장의 카드와 조형물 그림 */
.legacy-tag{margin-top:clamp(56px,7vw,96px)}
.principles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:8px;text-align:left;color:#1d1d1f}
.principle-card{position:relative;isolation:isolate;min-height:430px;padding:30px 30px 34px;border-radius:22px;overflow:hidden;box-shadow:0 3px 9px rgba(0,0,0,.03)}
.people-card{background:#fff}
.simple-card{background:#232426;color:#f5f5f7}
.detail-card{background:#e6eaf0}
.card-topline{display:flex;justify-content:space-between;font-size:13px;color:#69696e}
.simple-card .card-topline{color:#b6b6bb}
.theme-hynex main .principle-card h3{font-size:28px;font-weight:600;letter-spacing:-.04em;line-height:1.3;margin-top:22px;color:inherit}
.principle-card>p{font-size:15px;line-height:1.7;margin-top:14px;color:#6e6e73}
.simple-card>p{color:#b5b5b8}
.detail-card>p{color:#626269}
.orbit-art{position:absolute;left:50%;bottom:40px;width:185px;height:160px;transform:translateX(-50%)}
.orbit-art i{position:absolute;width:145px;height:145px;border:1px solid #dfdfe3;border-radius:50%;top:8px;left:20px}
.orbit-art i:nth-child(2){transform:rotate(60deg) scaleX(.58)}
.orbit-art i:nth-child(3){transform:rotate(-60deg) scaleX(.58)}
.orbit-art b{position:absolute;left:79px;top:65px;width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe5b2,#e58c45 65%,#bb622c);box-shadow:2px 5px 10px #eac09c77}
.orbit-art em{position:absolute;left:144px;top:115px;width:11px;height:11px;border-radius:50%;background:#a4a7b1;box-shadow:0 2px 5px #0001}
.line-art{position:absolute;bottom:43px;left:0;right:0;height:150px}
.line-art svg{width:100%;height:100%;overflow:visible}
.line-art path{fill:none;stroke-width:1.6;stroke:#a3a5a8;stroke-linecap:round}
.line-art .line-clear{stroke:#e9e9eb;stroke-width:2}
.line-art span{position:absolute;width:9px;height:9px;top:calc(47% - 2px);right:13%;border-radius:50%;background:#f0ae67;box-shadow:0 0 16px #c78b5550}
.detail-art{position:absolute;width:184px;height:165px;left:50%;bottom:29px;transform:translateX(-50%) rotate(-16deg)}
.detail-art>div{position:absolute;width:132px;height:130px;left:14px;top:23px;border-radius:26px;background:linear-gradient(140deg,#f5f7fa,#c7cdd6);border:1px solid #f9faff99;box-shadow:8px 12px 17px #76829820}
.detail-art>div:nth-child(1){transform:translate(-21px,15px)}
.detail-art>div:nth-child(3){transform:translate(21px,-15px);display:grid;place-items:center;background:linear-gradient(135deg,#fcfdff,#e1e6ed)}
.detail-art span{font-size:48px;font-weight:650;letter-spacing:-4px;color:#8994a4;text-shadow:0 1px 1px white;line-height:1}
.legacy-hero{position:relative;margin-top:clamp(56px,7vw,96px);border-radius:32px;overflow:hidden;background:#efeeec;text-align:left;color:#1d1d1f}
.legacy-hero img{width:100%}
.legacy-hero figcaption{position:absolute;left:6.5%;top:50%;transform:translateY(-50%)}
.legacy-hero .eyebrow-en{font-size:12px;letter-spacing:.08em;color:#6e6e73;line-height:1.6}
.theme-hynex main .legacy-hero h3{margin-top:18px;font-size:clamp(26px,3.2vw,46px);font-weight:600;letter-spacing:-.045em;line-height:1.22;color:#1d1d1f}
.legacy-hero figcaption p:last-child{margin-top:16px;font-size:clamp(15px,1.3vw,18px);color:#55555a;line-height:1.6}
@media (max-width:960px){
  .principles-grid{grid-template-columns:1fr;gap:16px}
  .principle-card{min-height:320px}
  .orbit-art{left:auto;right:8px;bottom:14px;transform:scale(.78);transform-origin:bottom right}
  .line-art{bottom:0;height:120px;left:12px;opacity:.7}
  .detail-art{left:auto;right:30px;bottom:4px;transform:scale(.68) rotate(-16deg);transform-origin:bottom right}
  .principle-card>p{max-width:15em}
  .legacy-hero{border-radius:24px}
  .legacy-hero figcaption{position:static;transform:none;padding:28px 24px 8px}
}

/* hynex 하단: 검은 영역 대신 흰 바탕 */
.theme-hynex .site-footer{background:#fff;color:#6e6e73;padding:36px 0 40px;border-top:1px solid #ececee}
.theme-hynex .site-footer .footer-bottom{padding-top:0}
.theme-hynex .site-footer .footer-links{color:#3c3c40}
.theme-hynex .site-footer .footer-links a:hover{color:#111}
.theme-hynex .site-footer .wordmark img{height:30px}
.theme-hynex .legacy-hero h3{margin-top:0}

/* 도토리: 회색 바탕과 폰 뒤의 색 카드를 없애고, 앱 화면의 왼쪽 위처럼 탭 색이 은은하게 번지게 한다 */
.theme-dotori{background:#fff}
.theme-dotori .hero{background:radial-gradient(90% 80% at 0% 0%,rgba(108,120,255,.17) 0%,rgba(108,120,255,.06) 38%,rgba(255,255,255,0) 68%),radial-gradient(70% 60% at 100% 0%,rgba(236,150,220,.12) 0%,rgba(255,255,255,0) 62%),#fff}
.theme-dotori .section.paper{background:none}
.theme-dotori .chapter,.theme-dotori .section.paper{position:relative;isolation:isolate}
.theme-dotori .chapter::before,.theme-dotori .section.paper::before{content:"";position:absolute;z-index:-1;inset:-30% 0;pointer-events:none;
  background:radial-gradient(ellipse 58% 48% at 0% 50%,var(--wash) 0%,var(--wash-soft) 40%,rgba(255,255,255,0) 100%)}
.theme-dotori .chapter:nth-of-type(even)::before{background:radial-gradient(ellipse 58% 48% at 100% 50%,var(--wash) 0%,var(--wash-soft) 40%,rgba(255,255,255,0) 100%)}
.theme-dotori .site-header.is-stuck{box-shadow:none;background:rgba(255,255,255,.72)}
.theme-dotori .section,.theme-dotori .chapter,.theme-dotori .tabbar{border:0}
.theme-dotori #tab-1{--wash:rgba(108,120,255,.20);--wash-soft:rgba(108,120,255,.07)}
.theme-dotori #tab-2{--wash:rgba(255,200,84,.26);--wash-soft:rgba(255,200,84,.09)}
.theme-dotori #tab-3{--wash:rgba(232,104,190,.18);--wash-soft:rgba(232,104,190,.06)}
.theme-dotori #tab-4{--wash:rgba(92,196,150,.20);--wash-soft:rgba(92,196,150,.07)}
.theme-dotori #tab-5{--wash:rgba(246,150,170,.20);--wash-soft:rgba(246,150,170,.07)}
.theme-dotori .section.paper{--wash:rgba(108,120,255,.16);--wash-soft:rgba(108,120,255,.05)}
.theme-dotori .panel,.theme-dotori .panel.c1,.theme-dotori .panel.c2,.theme-dotori .panel.c3,.theme-dotori .panel.c4,.theme-dotori .panel.c5{background:none;border-radius:0;padding:0}
.theme-dotori .tabbar a{background:#f3f4f7}
@media (max-width:960px){
  .theme-dotori .lineup{padding-inline:calc(50vw - 118px);margin-inline:calc(50% - 50vw);scrollbar-width:none}
  .theme-dotori .lineup::-webkit-scrollbar{display:none}
}
/* 도토리 머리글: 띠의 아랫선이 보이지 않게 아래로 갈수록 풀린다 */
.theme-dotori .site-header.is-stuck{background:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.theme-dotori .site-header::before{content:"";position:absolute;z-index:-1;inset:0 0 -28px 0;pointer-events:none;opacity:0;transition:opacity .25s;background:linear-gradient(rgba(255,255,255,.9) 0,rgba(255,255,255,.78) 55%,rgba(255,255,255,0) 100%);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);-webkit-mask-image:linear-gradient(#000 0,#000 55%,transparent 100%);mask-image:linear-gradient(#000 0,#000 55%,transparent 100%)}
.theme-dotori .site-header.is-stuck::before{opacity:1}
@media (max-width:960px){
  /* 폰 그림자가 넘김 영역의 위아래에서 잘려 네모로 보이지 않게 여유를 둔다 */
  .theme-dotori .lineup{padding-top:40px;padding-bottom:96px;margin-top:40px;margin-bottom:-40px}
}
/* 도토리 머리글의 기능 아이콘: 본문의 기능 줄을 지나간 뒤에만 나타난다 */
.nav-icons{display:flex;align-items:center;gap:6px;margin-left:auto;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .35s,transform .35s var(--ease),visibility .35s}
.site-header.has-tabs .nav-icons{opacity:1;visibility:visible;transform:none}
.nav-icons a{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;transition:transform .2s var(--ease),background .2s}
.nav-icons a:hover{background:rgba(20,17,14,.06);transform:translateY(-1px)}
.nav-icons img{width:26px;height:26px;object-fit:contain}
@media (max-width:960px){
  .nav-icons{gap:0}.nav-icons a{width:36px;height:40px}.nav-icons img{width:24px;height:24px}
  /* 폰 줄: 한 번에 한 대만 보이게 옆 폰을 화면 밖으로 민다 */
  .theme-dotori .lineup{gap:60vw}
  .theme-dotori .lineup .phone,.theme-dotori .lineup.five .phone:nth-child(n),.theme-dotori .lineup.four .phone{--pw:min(262px,68vw)}
  .theme-dotori .lineup{padding-inline:calc(50vw - min(131px,34vw))}
}

/* ---- 도토리: 폰 줄의 칸(slide)과 머리글 아이콘의 현재 위치 표시 ---- */
.slide{margin:0;flex:none;display:flex;flex-direction:column;align-items:center}
.slide figcaption{display:none}
.lineup.five .slide:nth-child(3) .phone{--pw:258px}
.lineup.five .slide:nth-child(2) .phone,.lineup.five .slide:nth-child(4) .phone{--pw:220px}
.nav-icons a{position:relative}
.nav-icons a::after{content:"";position:absolute;left:50%;bottom:0;width:18px;height:4px;margin-left:-9px;border-radius:999px;background:var(--ink);opacity:0;transform:scaleX(.3);transition:opacity .3s,transform .3s var(--ease)}
.nav-icons a.is-current::after{opacity:1;transform:none}
.nav-icons a{height:46px;padding-bottom:6px}
.theme-dotori{word-break:keep-all;overflow-wrap:break-word}
.theme-dotori h1,.theme-dotori h2,.theme-dotori .statement{text-wrap:balance}
.theme-dotori p{text-wrap:pretty}

@media (max-width:960px){
  /* 한 화면에 주제 글과 폰이 함께 보이도록: 글은 가운데로 모으고 폰은 남는 높이에 맞춘다 */
  .theme-dotori{--fit:clamp(184px,calc((100lvh - 318px) * .4838),262px)}
  .theme-dotori .hero{padding-top:92px}
  .theme-dotori .hero .mark{width:46px;margin-bottom:14px}
  .theme-dotori .hero h1{font-size:clamp(34px,10.4vw,56px)}
  .theme-dotori .hero .lead{margin-top:12px;font-size:16px}
  .theme-dotori .lineup{gap:60vw;margin-top:6px;padding-top:14px;padding-bottom:84px;margin-bottom:-30px;padding-inline:calc(50vw - var(--fit) / 2)}
  .theme-dotori .lineup .slide .phone,.theme-dotori .lineup.five .slide:nth-child(n) .phone,.theme-dotori .lineup.four .slide .phone{--pw:var(--fit)}
  .theme-dotori .slide{scroll-snap-align:center;width:var(--fit)}
  .theme-dotori .slide figcaption{display:flex;align-items:center;justify-content:center;gap:7px;height:34px;margin-bottom:12px;font-size:16px;font-weight:800;letter-spacing:-.03em;color:var(--ink);white-space:nowrap}
  .theme-dotori .slide figcaption img{width:24px;height:24px}
  .theme-dotori .section{padding:64px 0}
  .theme-dotori .statement{font-size:clamp(24px,7vw,34px);margin-top:18px}
  .theme-dotori .chapter{padding:74px 0 44px;scroll-margin-top:-6px}
  .theme-dotori .chapter .wrap{gap:22px;text-align:center}
  .theme-dotori .count{justify-content:center;gap:8px;font-size:14px}
  .theme-dotori .count img{width:28px;height:28px}
  .theme-dotori .count b{font-size:17px}
  .theme-dotori .chapter h2{margin-top:10px;font-size:clamp(27px,8.4vw,40px);line-height:1.16}
  .theme-dotori .chapter h2 br{display:none}
  .theme-dotori .chapter p.line{margin:10px auto 0;font-size:15.5px;line-height:1.5;max-width:20em}
  .theme-dotori .panel .phone{--pw:clamp(184px,calc((100lvh - 292px) * .4838),262px)}
  .theme-dotori .sub-head h2{font-size:clamp(28px,8.6vw,40px)}
  .theme-dotori .sub-head p{font-size:15.5px;margin-top:8px}
  .theme-dotori .section.paper{padding-top:74px}
  .theme-dotori .section.paper .lineup{--fit:clamp(184px,calc((100lvh - 250px) * .4838),262px)}
}
.slide.is-clone{display:none}
@media (max-width:960px){.slide.is-clone{display:flex}}
/* hynex 모바일: 단어 중간에서 끊지 않고 줄 길이를 고르게, 세 번째 카드의 글이 그림과 겹치지 않게 */
.theme-hynex{word-break:keep-all;overflow-wrap:break-word}
@media (max-width:960px){
  .theme-hynex .hero-sub,.theme-hynex .section-copy p,.theme-hynex .closing-copy,.theme-hynex .legacy-hero figcaption p{text-wrap:balance}
  .theme-hynex .detail-card>p{max-width:12.5em}
}
/* 도토리 탭 소개: 제목 오른쪽에 붙는 입체 아이콘 */
.chapter h2{margin-top:0}
.chapter h2 .title-icon{display:inline-block;width:.82em;height:.82em;margin-left:.2em;vertical-align:-.1em}
@media (max-width:960px){
  .theme-dotori .chapter h2{margin-top:0}
  .theme-hynex .detail-card{padding-bottom:118px}
}
/* 도토리 맺음: 흰 바탕 위에 캐릭터들이 모인 그림(카드 없이) */
.closing-friends{width:min(760px,100%);margin:clamp(36px,5vw,64px) auto 0}
/* 도토리 표식: 한글 글자와 아이콘의 세로 가운데를 맞춘다 */
.dotori-brand{gap:8px;font-size:22px;letter-spacing:-.04em}
.dotori-brand img{width:24px;height:auto;display:block}
.dotori-brand span{display:block;line-height:1;transform:translateY(.04em)}

/* 폰 줄(좁은 화면, 스크립트 동작 시): 모든 칸을 한자리에 겹쳐 두고 스크립트가 좌우 자리를 정한다 */
@media (max-width:960px){
  .theme-dotori .lineup.is-carousel{display:grid;justify-items:center;gap:0;overflow:visible;overflow-x:clip;scroll-snap-type:none;padding-inline:0;margin-inline:calc(50% - 50vw);width:100vw;touch-action:pan-y;user-select:none;-webkit-user-select:none}
  .theme-dotori .lineup.is-carousel .slide{grid-area:1/1;will-change:transform}
  .theme-dotori .lineup.is-carousel img{-webkit-user-drag:none;pointer-events:none}
}
@media (max-width:960px){.theme-dotori .lineup.is-carousel{grid-template-columns:100%;justify-content:normal}}

/* 폰 줄 아래의 쪽 표시(점): 좁은 화면에서만 */
.dots{display:none}
@media (max-width:960px){
  .theme-dotori .dots{position:relative;z-index:1;display:flex;justify-content:center;align-items:center;gap:6px;margin-top:-22px;height:8px}
  .theme-dotori .dots span{width:6px;height:6px;border-radius:999px;background:rgba(20,17,14,.16);transition:width .35s var(--ease),background .35s}
  .theme-dotori .dots span.on{width:18px;background:var(--accent)}
  .theme-dotori .hero .dots{margin-bottom:56px}
}
