@font-face{font-family:"Pretendard";src:url("assets/fonts/Pretendard-Regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Pretendard";src:url("assets/fonts/Pretendard-Medium.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:"Pretendard";src:url("assets/fonts/Pretendard-SemiBold.woff2") format("woff2");font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:"Pretendard";src:url("assets/fonts/Pretendard-Bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"Gowun Batang";src:url("assets/fonts/GowunBatang-Regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Gowun Batang";src:url("assets/fonts/GowunBatang-Bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"학교안심 산뜻바탕";src:url("assets/fonts/HakgyoansimSantteutbatangM.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:"Hakgyoansim Santteutbatang";src:url("assets/fonts/HakgyoansimSantteutbatangM.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}

:root{
  --spine:40px;
  --connector:200px;
  --panel:1300px;
  --stage:1440px;
  --page:calc(var(--spine) + var(--connector) + var(--stage));
  --page-height:1623px;
  --ink:#303646;
  --blue:#708ba4;
  --outside:#efefef;
  --line:#9aa3ae;
  --hero-width:1300px;
  --hero-height:570px;
  --hero-scale:1;
  --hero-row-height:570px;
  --hero-copy-top:68px;
  --process-copy-left:80px;
  --process-copy-top:250px;
  --figure-top:218px;
  --pager-bottom:60px;
  --process-core-y:calc(50% + 20px);
}

*{box-sizing:border-box}
html,body{margin:0;min-width:var(--page);background:var(--outside);color:var(--ink);font-family:Pretendard,Arial,sans-serif}
html{overflow-x:auto;overflow-y:auto}
body{overflow:visible}
button,a{font:inherit}
a:focus-visible,button:focus-visible{outline:2px solid rgba(255,255,255,.95);outline-offset:4px}

/* ---------- fixed desktop book layers ---------- */
.page-frame{position:relative;width:var(--page);min-height:var(--page-height);margin:0}
.book-background{position:absolute;inset:0 auto auto 0;width:calc(var(--spine) + var(--connector) + var(--panel));height:850px;overflow:hidden;background:url('assets/hero-bg.jpg') center/cover no-repeat;z-index:0}
.book-background::after{content:"";position:absolute;inset:0;background:rgba(36,47,68,.08);pointer-events:none}
.book-spine{position:absolute;left:0;top:0;width:var(--spine);height:var(--page-height);background:url('assets/book-spine.png') 0 0/40px var(--page-height) no-repeat;z-index:2}
.left-connector{position:absolute;left:var(--spine);top:0;width:var(--connector);height:var(--page-height);background:url('assets/left-connector.png') 0 0/100% var(--page-height) no-repeat;z-index:2}
.stage{position:relative;width:var(--stage);min-height:var(--page-height);margin-left:calc(var(--spine) + var(--connector));z-index:3}
.main-panel{position:relative;width:var(--panel);background:transparent;z-index:2}
.main-panel::after{content:"";position:absolute;top:0;right:-26px;width:26px;height:100%;background:linear-gradient(to right,rgba(35,43,58,.18),rgba(35,43,58,0));pointer-events:none;z-index:20}


/* ---------- volumetric ambient lights ---------- */
.ambient-orbs{
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:1;
}

.ambient-orb{
  position:absolute;
  display:block;
  border-radius:50%;
  opacity:var(--orb-opacity,.34);
  background:
    radial-gradient(ellipse at 45% 43%,
      rgba(255,255,255,.78) 0 3%,
      rgba(244,249,255,.54) 10%,
      rgba(220,235,255,.28) 24%,
      rgba(176,207,246,.12) 46%,
      rgba(135,181,234,.045) 64%,
      transparent 82%),
    radial-gradient(ellipse at 58% 60%,
      rgba(198,221,252,.12) 0 18%,
      rgba(147,188,237,.045) 42%,
      transparent 74%);
  box-shadow:
    0 0 72px rgba(235,246,255,.26),
    0 0 160px rgba(177,211,251,.14),
    0 0 260px rgba(128,174,230,.07);
  filter:blur(var(--orb-blur,20px)) saturate(1.35) brightness(1.08);
  mix-blend-mode:color-dodge;
  transform:translate3d(0,0,0);
  transform-origin:center;
  will-change:transform,opacity;
}

.ambient-orb::before,
.ambient-orb::after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}

.ambient-orb::before{
  inset:18% 14% 13% 20%;
  background:radial-gradient(ellipse at 43% 40%,
    rgba(255,255,255,.44) 0 4%,
    rgba(225,239,255,.20) 22%,
    rgba(168,204,246,.07) 50%,
    transparent 76%);
  filter:blur(calc(var(--orb-blur,20px) * .45));
  opacity:.62;
  transform:rotate(-8deg);
}

.ambient-orb::after{
  inset:-34%;
  background:radial-gradient(circle,
    rgba(219,236,255,.12) 0 16%,
    rgba(169,204,245,.05) 38%,
    transparent 72%);
  filter:blur(calc(var(--orb-blur,20px) * 1.3));
  opacity:.7;
}

.ambient-orb--main{
  left:42%;top:27%;width:300px;height:300px;
  --orb-opacity:.50;--orb-blur:15px;
  z-index:2;
  animation:orbFloatMain 15s cubic-bezier(.45,.05,.55,.95) infinite alternate;
}
.ambient-orb--xl{
  left:3%;top:46%;width:390px;height:390px;
  --orb-opacity:.50;--orb-blur:30px;
  animation:orbFloatXL 22s cubic-bezier(.45,.05,.55,.95) infinite alternate;
}
.ambient-orb--lg{
  left:70%;top:50%;width:280px;height:280px;
  --orb-opacity:.50;--orb-blur:24px;
  animation:orbFloatLG 19s cubic-bezier(.45,.05,.55,.95) infinite alternate;
}
.ambient-orb--md{
  left:24%;top:5%;width:285px;height:285px;
  --orb-opacity:.50;--orb-blur:18px;
  animation:orbFloatMD 17s cubic-bezier(.45,.05,.55,.95) infinite alternate;
}
.ambient-orb--sm{
  left:82%;top:13%;width:189px;height:189px;
  --orb-opacity:.50;--orb-blur:12px;
  animation:orbFloatSM 13s cubic-bezier(.45,.05,.55,.95) infinite alternate;
}
.ambient-orb--xs{
  left:5%;top:8%;width:123px;height:123px;
  --orb-opacity:.50;--orb-blur:9px;
  animation:orbFloatXS 11s cubic-bezier(.45,.05,.55,.95) infinite alternate;
}

@keyframes orbFloatMain{
  0%{transform:translate3d(-70px,24px,0) scale(.88);opacity:.38}
  32%{transform:translate3d(30px,-62px,0) scale(1.08);opacity:.48}
  68%{transform:translate3d(96px,34px,0) scale(.96);opacity:.42}
  100%{transform:translate3d(-18px,92px,0) scale(1.12);opacity:.46}
}
@keyframes orbFloatXL{
  0%{transform:translate3d(-94px,46px,0) scale(.9)}
  34%{transform:translate3d(78px,-76px,0) scale(1.08)}
  70%{transform:translate3d(142px,36px,0) scale(.96)}
  100%{transform:translate3d(30px,118px,0) scale(1.12)}
}
@keyframes orbFloatLG{
  0%{transform:translate3d(74px,-58px,0) scale(1.04)}
  35%{transform:translate3d(-90px,-10px,0) scale(.9)}
  72%{transform:translate3d(-132px,96px,0) scale(1.08)}
  100%{transform:translate3d(34px,126px,0) scale(.98)}
}
@keyframes orbFloatMD{
  0%{transform:translate3d(-64px,-54px,0) scale(.84)}
  38%{transform:translate3d(78px,28px,0) scale(1.12)}
  74%{transform:translate3d(32px,118px,0) scale(.92)}
  100%{transform:translate3d(-96px,70px,0) scale(1.07)}
}
@keyframes orbFloatSM{
  0%{transform:translate3d(42px,-58px,0) scale(.82)}
  42%{transform:translate3d(-92px,36px,0) scale(1.18)}
  74%{transform:translate3d(-40px,132px,0) scale(.94)}
  100%{transform:translate3d(76px,82px,0) scale(1.1)}
}
@keyframes orbFloatXS{
  0%{transform:translate3d(-36px,28px,0) scale(.72)}
  36%{transform:translate3d(96px,-36px,0) scale(1.24)}
  72%{transform:translate3d(142px,84px,0) scale(.9)}
  100%{transform:translate3d(34px,146px,0) scale(1.16)}
}

@media (prefers-reduced-motion:reduce){
  .ambient-orb{animation:none!important}
}

/* ---------- hero ---------- */
.intro-screen{position:relative;display:grid;grid-template-rows:570px 280px;height:850px;overflow:hidden;background:transparent}
.hero,.menus{position:relative;z-index:1;background:transparent}
.hero{min-height:0;color:#fff}
.hero-copy{text-align:center;padding-top:6vh}
.tagline{margin:0 0 16px;font:700 clamp(17px,1.15vw,22px)/1.4 'Gowun Batang',serif}
.hero h1{margin:0;font:700 clamp(31px,2vw,39px)/1.2 'Gowun Batang',serif}
.process{display:grid;grid-template-columns:310px 1fr;align-items:center;margin-top:5vh}
.process-copy{padding-left:205px;white-space:nowrap}
.process-copy small{font-size:14px}
.process-copy h2{margin:8px 0 22px;font:700 32px/1 'Gowun Batang',serif}
.process-copy p{white-space:pre-line;font:400 18px/1.6 'Gowun Batang',serif}
.diagram{position:relative;height:230px}
.circle,.visual{position:absolute;top:0;width:150px;height:150px;border:2px solid rgba(255,255,255,.85);border-radius:50%;background:transparent;color:#2f3546;font:400 15px 'Gowun Batang',serif;cursor:pointer}
.circle.dashed{left:70px;border-style:dashed}
.circle:nth-of-type(2){left:180px}
.circle:nth-of-type(3){left:290px}
.visual{left:500px;border:0;background:radial-gradient(circle at 65% 65%,#ffe08d 0,#ffb21c 62%,#ff9f0c 100%);font-weight:700}
.visual-copy{position:absolute;left:690px;top:42px;color:#2e3442;font-size:13px;line-height:1.8}
.pager{position:absolute;left:280px;top:182px;text-align:center;color:#2e3442;font-size:12px}
.pager div{margin-top:8px}
.pager b{display:inline-block;width:14px;height:14px;margin:0 4px;border:1px solid #fff;border-radius:50%}
.pager b.on{background:#fff}

/* ---------- main menu ---------- */
.menus{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;min-width:0;border-top:1px solid rgba(255,255,255,.9)}
.menus a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;overflow:hidden;padding-top:12px;border-right:1px solid rgba(255,255,255,.85);background-color:rgba(255,255,255,0);color:var(--ink);text-decoration:none;transition:background-color .28s ease,color .28s ease}
.menus a:last-child{border-right:0;background:#fff}
.menus a:hover{background-color:rgba(255,255,255,.07)}
.menus a:not(:last-child):hover{color:#fff}
.menus a:last-child:hover{background-color:#fff8f4;color:#ec625b}
.menus .icon{margin-top:22px}
.menus strong{margin-top:16px;font-size:27px;font-weight:600;line-height:1.15}
.menus .default,.menus .hover{position:absolute;left:18px;right:18px;top:136px;margin:0;text-align:center;transition:opacity .24s ease,transform .28s cubic-bezier(.22,.72,.24,1)}
.menus .default{font:400 18px/1.35 'Gowun Batang',serif;opacity:1;transform:translateY(0)}
.menus .hover{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font:400 18px/28px Pretendard,Arial,sans-serif;opacity:0;transform:translateY(5px);pointer-events:none}
.menus .hover em{position:relative;display:block;width:100%;font-style:normal;white-space:nowrap;text-align:center}
.menus .hover em::before{content:"·";display:inline-block;margin-right:5px;font-weight:700}
.menus a:hover .default,.menus a:focus-visible .default{opacity:0;transform:translateY(-4px)}
.menus a:hover .hover,.menus a:focus-visible .hover{opacity:1;transform:translateY(0);transition-delay:.22s}
.icon{position:relative;display:block;width:64px;height:34px}
.icon.dot::before{content:"";position:absolute;left:17px;top:0;width:34px;height:34px;border-radius:50%;background:currentColor}
.icon.line::before,.icon.arrow::before{content:"";position:absolute;left:0;top:16px;width:64px;height:2px;background:currentColor;transform-origin:left}
.icon.branch svg{display:block;width:64px;height:34px;overflow:visible}
.icon.branch path{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;vector-effect:non-scaling-stroke}
.icon.arrow::after{content:"";position:absolute;right:1px;top:9px;width:16px;height:16px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg)}


/* ---------- main menu icon interactions ----------
   Card color settles first; icon motion begins after a short shared delay. */
:root{--menu-icon-delay:.34s}

/* MIN'S: visually reduce by about 30%, then return, while hovered */
.menus a:hover .icon.dot::before,
.menus a:focus-visible .icon.dot::before{
  animation:menuDotPulse 1.23s cubic-bezier(.45,0,.55,1) var(--menu-icon-delay) infinite;
}

/* DESIGN: keep a quiet guide line, then draw the full line left to right once */
.icon.line::after{
  content:"";
  position:absolute;
  left:0;
  top:16px;
  width:64px;
  height:2px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left center;
  opacity:0;
}
.menus a:hover .icon.line::before,
.menus a:focus-visible .icon.line::before{opacity:.24}
.menus a:hover .icon.line::after,
.menus a:focus-visible .icon.line::after{
  animation:menuLineDraw .58s cubic-bezier(.22,.72,.24,1) var(--menu-icon-delay) forwards;
}

/* STORY: body first, a short pause, then both branches */
.icon.branch .story-base{opacity:1;transition:opacity .18s ease}
.icon.branch .story-draw path{
  stroke-dasharray:1;
  stroke-dashoffset:1;
  opacity:0;
}
.menus a:hover .icon.branch .story-base,
.menus a:focus-visible .icon.branch .story-base{opacity:.24}
.menus a:hover .icon.branch .story-body,
.menus a:focus-visible .icon.branch .story-body{
  animation:menuStoryDraw .46s cubic-bezier(.22,.72,.24,1) var(--menu-icon-delay) forwards;
}
.menus a:hover .icon.branch .story-branch,
.menus a:focus-visible .icon.branch .story-branch{
  animation:menuStoryDraw .38s cubic-bezier(.22,.72,.24,1) calc(var(--menu-icon-delay) + .58s) forwards;
}

/* NEXT STORY: begin at arrowhead-width, then draw to the completed silhouette once */
.menus a:hover .icon.arrow::before,
.menus a:focus-visible .icon.arrow::before{
  animation:menuArrowShaft .5s cubic-bezier(.22,.72,.24,1) var(--menu-icon-delay) forwards;
}
.menus a:hover .icon.arrow::after,
.menus a:focus-visible .icon.arrow::after{
  animation:menuArrowHead .5s cubic-bezier(.22,.72,.24,1) var(--menu-icon-delay) forwards;
}

@keyframes menuDotPulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(.84)}
}
@keyframes menuLineDraw{
  0%{transform:scaleX(0);opacity:1}
  100%{transform:scaleX(1);opacity:1}
}
@keyframes menuStoryDraw{
  0%{stroke-dashoffset:1;opacity:1}
  100%{stroke-dashoffset:0;opacity:1}
}
@keyframes menuArrowShaft{
  0%{width:16px}
  100%{width:64px}
}
@keyframes menuArrowHead{
  0%{transform:translateX(-48px) rotate(45deg)}
  100%{transform:translateX(0) rotate(45deg)}
}

@media (prefers-reduced-motion:reduce){
  .menus a:hover .icon.dot::before,
  .menus a:focus-visible .icon.dot::before,
  .menus a:hover .icon.line::after,
  .menus a:focus-visible .icon.line::after,
  .menus a:hover .icon.branch .story-draw path,
  .menus a:focus-visible .icon.branch .story-draw path,
  .menus a:hover .icon.arrow::before,
  .menus a:focus-visible .icon.arrow::before,
  .menus a:hover .icon.arrow::after,
  .menus a:focus-visible .icon.arrow::after{animation:none}
  .menus a:hover .icon.line::before,
  .menus a:focus-visible .icon.line::before,
  .menus a:hover .icon.branch .story-base,
  .menus a:focus-visible .icon.branch .story-base{opacity:1}
  .menus .default,.menus .hover{transition:none}
}

/* ---------- story grid ---------- */
.stories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;min-width:0;background:#fff}
.card{position:relative;height:382px;overflow:hidden;padding:0 22px 24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center}
.card:nth-child(4n){border-right:0}
.label{position:absolute;left:0;top:0;padding:8px 40px 8px 12px;background:var(--blue);color:#fff;font-size:14px;clip-path:polygon(0 0,100% 0,78% 100%,0 100%)}
.date{position:absolute;right:18px;top:12px;color:#9aa1ac;font-size:14px}
.card h3{position:relative;display:-webkit-box;max-width:250px;height:116px;margin:68px auto 0;padding-bottom:30px;overflow:hidden;font-size:18px;line-height:30px;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.card h3::after{content:"";position:absolute;left:50%;bottom:8px;width:0;height:1px;background:#748195;transform:translateX(-50%);transition:width .35s ease}
.card:hover h3::after{width:48px}
.card p{display:-webkit-box;max-width:250px;height:92px;margin:18px auto 0;overflow:hidden;color:#596071;font:400 16px/30px 'Gowun Batang',serif;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.more{position:absolute;right:20px;bottom:42px;border:0;color:#9aa1ac;font-size:14px;text-decoration:none}

/* ---------- footer ---------- */
footer{position:relative;display:grid;grid-template-columns:285px 1fr;align-items:start;height:390px;padding:34px 40px 100px;background:var(--blue);color:#fff;font-size:14px;line-height:1.55}
footer p{margin:0}
.footer-copy{grid-column:1;width:245px}
.footer-copy>p:first-child{font:400 15px/1.75 'Gowun Batang',serif}
.footer-info{grid-column:2;width:260px}
.footer-info b{display:block;margin:0 0 12px;line-height:1.75}
.footer-info p{margin:0 0 12px}
.copyright{position:absolute;top:34px;right:40px;color:#fff;font:400 12px/1.55 Pretendard,Arial,sans-serif;text-align:right;white-space:nowrap}

/* ---------- storybook ribbon ---------- */
.ribbon-wrap{position:absolute;left:calc(var(--panel) - 1px);top:78px;display:block;width:124px;overflow:visible;z-index:30}



/* ---------- wide desktop: flexible left connector ---------- */
@media (min-width:1691px){
  :root{
    --connector:clamp(200px,calc(200px + (100vw - 1690px)*.18),340px);
  }
}

/* ---------- compact desktop: preserve the 1680px book layout and scale it as one unit ---------- */
@media (min-width:1441px) and (max-width:1690px){
  html,body{
    width:100%;
    min-width:0;
    background:var(--outside);
  }

  html{overflow-x:hidden}

  body{
    position:relative;
    overflow:visible;
    min-height:min(var(--page-height),96.6071vw);
  }

  .page-frame{
    position:absolute;
    top:0;
    left:0;
    width:var(--page);
    min-height:var(--page-height);
    margin:0;
    transform:scale(clamp(.858,calc(100vw / 1680px),1));
    transform-origin:top left;
  }
}

/* ---------- tablet / laptop: readable reflow, no global scaling ---------- */
@media (min-width:768px) and (max-width:1440px){
  :root{
    --hero-scale:calc((100vw - 108px) / 1300px);
    --hero-row-height:calc(43.846154vw - 47.353846px);
  }

  html,body{width:100%;min-width:0;background:var(--outside)}
  html{overflow-x:hidden}
  body{overflow:visible}
  .page-frame{width:100%;min-height:0;margin:0;overflow:hidden}
  .book-spine,.left-connector{display:none}
  .stage{position:relative;width:100%;min-height:0;margin:0}
  .main-panel{width:calc(100% - 108px);min-width:0}
  .intro-screen{width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}
  .hero,.menus{min-width:0}
  .book-background{left:0;width:calc(100% - 108px);height:850px;background-position:center}
  .ribbon-wrap{left:calc(100% - 108px);width:96px}

  .hero-copy{padding-top:52px}
  .tagline{font-size:18px}
  .hero h1{font-size:34px}
  .process{grid-template-columns:minmax(220px,28%) 1fr;column-gap:12px}
  .process-copy{padding-left:clamp(36px,7vw,110px)}
  .menus strong{font-size:25px}
  .menus .default{font-size:18px}

  .card{height:auto;min-height:382px;overflow:hidden}
  .card h3{height:auto;min-height:116px;overflow:visible;-webkit-line-clamp:unset}
  .card h3::after{bottom:8px;max-width:calc(100% - 24px)}
  .card p{height:auto;min-height:92px;padding-bottom:58px;overflow:visible;-webkit-line-clamp:unset}

  footer{grid-template-columns:repeat(2,minmax(0,1fr));height:420px;padding:34px 0 100px}
  .footer-copy{grid-column:1;width:auto;padding:0 40px}
  .footer-info{grid-column:2;width:auto;padding:0 40px}
  .copyright{position:static;margin-top:28px;text-align:left;white-space:normal;font-size:11px}
}

@media (min-width:768px) and (max-width:1120px){
  :root{
    --hero-scale:calc((100vw - 92px) / 1300px);
    --hero-row-height:calc(43.846154vw - 40.307692px);
  }

  .main-panel{width:calc(100% - 92px)}
  .book-background{width:calc(100% - 92px);height:calc(var(--hero-row-height) + 440px)}
  .ribbon-wrap{left:calc(100% - 92px);width:82px}

  .intro-screen{height:calc(var(--hero-row-height) + 440px);grid-template-rows:var(--hero-row-height) 440px}
  .hero-copy{padding-top:46px}
  .process{display:block;margin-top:44px}
  .process-copy{padding-left:0;text-align:left}
  .diagram{width:760px;max-width:100%;margin:34px auto 0}

  .menus{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(2,220px);
    height:440px;
    overflow:visible;
  }
  .stories{grid-template-columns:repeat(2,minmax(0,1fr))}

  .menus a{min-height:220px;border-bottom:1px solid rgba(255,255,255,.85)}
  .menus a:nth-child(2n){border-right:0}
  .menus a:nth-child(n+3){border-bottom:0}
  .menus .icon{margin-top:12px}
  .menus strong{margin-top:12px}
  .menus .default,.menus .hover{top:116px}

  .card:nth-child(2n){border-right:0}
  .card:nth-child(4n){border-right:0}
}

@media (min-width:768px) and (max-width:900px){
  :root{
    --hero-scale:calc((100vw - 78px) / 1300px);
    --hero-row-height:calc(43.846154vw - 34.153846px);
  }

  .main-panel{width:calc(100% - 78px)}
  .book-background{width:calc(100% - 78px)}
  .ribbon-wrap{left:calc(100% - 78px);top:68px;width:68px}

  .diagram{width:100%;max-width:none;margin:0;transform:none}
  .menus .icon{margin-top:16px}
  .menus strong{margin-top:14px;padding:0 8px;font-size:25px;word-break:keep-all}
  .menus .default,.menus .hover{top:126px;left:12px;right:12px;font-size:18px;word-break:keep-all;overflow-wrap:normal}
  .menus .hover{line-height:28px}

  footer{height:470px;padding:34px 0 72px}
  .footer-copy,.footer-info{padding-left:28px;padding-right:28px}
}

/* ---------- interactions ---------- */
html{scroll-behavior:smooth}
body{--pointer-x:50%;--pointer-y:38%}

.book-background{animation:backgroundBreath 11s ease-in-out infinite alternate;will-change:background-size,background-position}

.process{opacity:0;transform:translateY(20px);transition:opacity 1s ease .28s,transform 1s cubic-bezier(.22,1,.36,1) .28s}
body.is-loaded .process{opacity:1;transform:none}

.process-copy small{display:inline-block;transition:letter-spacing .45s ease,color .45s ease}
.process-copy h2,.process-copy p{transition:color .45s ease,text-shadow .45s ease}
.diagram::before{content:"";position:absolute;left:145px;top:74px;width:505px;height:2px;background:linear-gradient(90deg,rgba(255,255,255,.3),rgba(255,255,255,.72),rgba(255,195,78,.5));transform:scaleX(0);transform-origin:left;opacity:.7;transition:transform .9s cubic-bezier(.22,1,.36,1),opacity .4s ease;pointer-events:none}
.diagram[data-current-step="1"]::before{transform:scaleX(.19)}
.diagram[data-current-step="2"]::before{transform:scaleX(.41)}
.diagram[data-current-step="3"]::before{transform:scaleX(.63)}
.diagram[data-current-step="4"]::before{transform:scaleX(1);opacity:1}

.circle,.visual{outline:0;transition:transform .55s cubic-bezier(.22,1,.36,1),border-color .45s ease,background-color .45s ease,box-shadow .55s ease,color .45s ease,opacity .45s ease,filter .45s ease;will-change:transform,box-shadow}
.circle::before,.visual::before{content:"";position:absolute;inset:12px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.76),rgba(255,255,255,.18) 46%,transparent 72%);opacity:0;transform:scale(.72);transition:opacity .55s ease,transform .65s cubic-bezier(.22,1,.36,1);pointer-events:none}
.circle:hover,.circle:focus-visible{transform:translateY(-4px) scale(1.025);border-color:#fff;box-shadow:0 14px 34px rgba(45,54,75,.16),inset 0 0 28px rgba(255,255,255,.12)}
.circle.active{transform:scale(1.045);border-color:#fff;color:#252c3d;box-shadow:0 0 0 1px rgba(255,255,255,.2),0 0 34px rgba(255,255,255,.68),inset 0 0 36px rgba(255,255,255,.5)}
.circle.active::before{opacity:.88;transform:scale(1)}
.circle.completed{border-color:rgba(255,255,255,.62);background:rgba(255,255,255,.045);color:rgba(47,53,70,.78)}
.circle.completed::after{content:"";position:absolute;right:18px;bottom:22px;width:7px;height:12px;border-right:1.5px solid rgba(255,255,255,.95);border-bottom:1.5px solid rgba(255,255,255,.95);transform:rotate(45deg);opacity:.8}
.circle.dashed{animation:none}
.circle.dashed.active{animation:discoveryGlow 2.8s ease-in-out infinite}

.visual{overflow:visible;filter:saturate(.88) brightness(.98)}
.visual::after{content:"";position:absolute;inset:-14px;border-radius:50%;border:1px solid rgba(255,205,87,.24);opacity:0;transform:scale(.78);transition:opacity .7s ease,transform .9s cubic-bezier(.22,1,.36,1)}
.visual:hover,.visual:focus-visible{transform:translateY(-4px) scale(1.035);filter:saturate(1) brightness(1.04);box-shadow:0 15px 36px rgba(178,106,0,.22),0 0 34px rgba(255,196,71,.34)}
.visual.active{transform:scale(1.07);filter:saturate(1.08) brightness(1.06);box-shadow:0 18px 44px rgba(173,104,0,.26),0 0 50px rgba(255,197,62,.56);animation:visualAlive 3.2s ease-in-out infinite}
.visual.active::before{opacity:.34;transform:scale(1.08)}
.visual.active::after{opacity:1;transform:scale(1.13)}
.visual-copy{transition:opacity .55s ease,transform .65s cubic-bezier(.22,1,.36,1),filter .55s ease}
.diagram:not(.is-complete) .visual-copy{opacity:.68;transform:translateX(-5px)}
.diagram.is-complete .visual-copy{opacity:1;transform:none;filter:drop-shadow(0 4px 16px rgba(255,255,255,.35))}

.pager span{display:block;transition:opacity .2s ease,transform .35s ease}
.pager b{cursor:pointer;transition:background .35s ease,border-color .35s ease,transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s ease}
.pager b:hover,.pager b:focus-visible{transform:scale(1.22);outline:0;box-shadow:0 0 0 3px rgba(255,255,255,.18)}
.pager b.passed{background:rgba(255,255,255,.38)}
.pager b.on{transform:scale(1.08);box-shadow:0 0 18px rgba(255,255,255,.72)}

.card{background:#fff;transition:transform .55s cubic-bezier(.22,1,.36,1),box-shadow .55s ease,background-color .4s ease;will-change:transform}
.card::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(112,139,164,.05),transparent 43%);opacity:0;transition:opacity .45s ease;pointer-events:none}
.card:hover{z-index:3;transform:translateY(-8px);box-shadow:0 18px 36px rgba(44,52,68,.13);background:#fff}
.card:hover::before{opacity:1}
.card .label{transition:background .38s ease,color .38s ease}
.card:hover .label,.card:focus-within .label{background:linear-gradient(135deg,#f27a6f 0%,#ec625b 52%,#df4f52 100%)}
.card h3,.card p,.card .date,.card .more{transition:transform .45s cubic-bezier(.22,1,.36,1),color .4s ease,opacity .4s ease}
.card:hover h3{transform:translateY(-2px)}
.card:hover p{transform:translateY(-1px);color:#454d5e}
.card:hover .more,.card:focus-within .more{color:#59687b}
.more-arrow{display:inline-block;margin-left:2px;transform:translateX(0)}
.card:hover .more-arrow,.card:focus-within .more-arrow{animation:storyMoreArrow .65s ease-in-out .2s infinite}

@keyframes storyMoreArrow{
  0%,100%{transform:translateX(0)}
  50%{transform:translateX(4px)}
}

@media (prefers-reduced-motion:reduce){
  .card:hover .more-arrow,.card:focus-within .more-arrow{animation:none}
}

/* ---------- storybook ribbon interaction ---------- */
.ribbon-motion{position:relative;display:block;width:100%;transform:translate3d(0,0,0);transform-origin:50% 100%;will-change:transform}
.ribbon-motion img{display:block;width:100%;height:auto;max-width:none;background:transparent;object-fit:contain}
.ribbon-wrap:hover .ribbon-motion,.ribbon-wrap:focus-visible .ribbon-motion{animation:storybookBounce 1.28s linear infinite}

.reveal-ready{opacity:0;transform:translateY(18px);transition:opacity .8s ease,transform .85s cubic-bezier(.22,1,.36,1)}
.card.reveal-ready{transition-delay:calc(var(--card-index) * 45ms)}
.reveal-ready.is-visible{opacity:1;transform:none}
.process.reveal-ready{opacity:0}
body.is-loaded .process.reveal-ready{opacity:1}

footer.reveal-ready{transform:translateY(12px)}
footer.reveal-ready.is-visible{transform:none}

@keyframes backgroundBreath{0%{background-size:100% 100%;background-position:50% 50%}100%{background-size:103% 103%;background-position:49% 51%}}
@keyframes discoveryGlow{0%,100%{box-shadow:0 0 24px rgba(255,255,255,.42),inset 0 0 28px rgba(255,255,255,.32)}50%{box-shadow:0 0 42px rgba(255,255,255,.76),inset 0 0 44px rgba(255,255,255,.55)}}
@keyframes visualAlive{0%,100%{box-shadow:0 18px 44px rgba(173,104,0,.24),0 0 42px rgba(255,197,62,.5)}50%{box-shadow:0 20px 48px rgba(173,104,0,.3),0 0 62px rgba(255,214,98,.72)}}
@keyframes storybookBounce{
  0%{transform:translate3d(0,0,0);animation-timing-function:cubic-bezier(.16,.78,.28,1)}
  46%{transform:translate3d(0,-26px,0);animation-timing-function:cubic-bezier(.58,0,.92,.42)}
  100%{transform:translate3d(0,0,0)}
}

@media (hover:none){
  .card:hover{transform:none;box-shadow:none}
  .circle:hover,.visual:hover{transform:none}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ==========================================================
   HERO POSITION
   desktop interaction canvas: 1300 x 570
   ========================================================== */
.intro-screen{
  grid-template-rows:var(--hero-row-height) 280px;
  height:calc(var(--hero-row-height) + 280px);
}

.hero{
  position:relative;
  width:var(--hero-width);
  height:var(--hero-height);
  min-height:var(--hero-height);
  overflow:hidden;
  transform:scale(var(--hero-scale));
  transform-origin:top left;
}

.hero-copy{
  position:absolute;
  top:var(--hero-copy-top);
  left:0;
  width:100%;
  padding:0;
  text-align:center;
  z-index:20;
}

.process,
.diagram{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
}

.process{display:block}

.process-copy{
  position:absolute;
  top:var(--process-copy-top);
  left:var(--process-copy-left);
  width:270px;
  padding:0;
  white-space:normal;
  z-index:6;
}
.process-copy p{margin-right:0}

.diagram{max-width:none}

.circle,.visual{
  top:var(--figure-top);
  width:140px;
  height:140px;
}
.circle.dashed{left:410px}
.circle:nth-of-type(2){left:520px}
.circle:nth-of-type(3){left:630px}
.visual{left:810px}
.visual-copy{left:980px;top:251px}

.diagram::before{
  left:480px;
  top:287px;
  width:400px;
}

.pager{
  top:auto;
  bottom:var(--pager-bottom);
  left:50%;
  width:360px;
  text-align:center;
  transform:translateX(-50%);
}

/* ---------- prologue ---------- */
.hero-copy{
  top:50%;
  transform:translateY(-54%);
  transform-origin:50% 50%;
  opacity:1;
  will-change:transform,top;
}
.hero-copy .tagline,
.hero-copy h1{
  min-height:1em;
  white-space:nowrap;
}
.hero-copy .tagline{
  margin-bottom:20px;
  font-size:clamp(21px,1.38vw,26px);
  line-height:1.55;
}
/* Brand reveal: simple fade in */
.hero-copy h1{
  font-size:clamp(38px,2.4vw,47px);
  line-height:1.2;
  opacity:0;
  filter:none;
  transform:none;
  letter-spacing:0;
  text-shadow:none;
}
.hero-copy h1.is-title-revealed{
  animation:brandFadeIn .4s ease-out both;
}
@keyframes brandFadeIn{
  from{opacity:0;}
  to{opacity:1;}
}

.typing-letter{
  position:relative;
  display:inline-block;
  opacity:0;
}
.typing-letter.is-visible{opacity:1}
.typing-letter.is-punctuation{transition:opacity 1s ease}
.typing-letter.is-punctuation.is-visible{opacity:1}
.typing-letter.is-current::after,
.typing-letter.is-pausing::after{
  content:"";
  position:absolute;
  left:8%;
  right:8%;
  bottom:-.12em;
  height:1px;
  background:currentColor;
  opacity:.78;
}
.typing-letter.is-pausing::after{
  animation:typingMarkerBlink 1s ease-in-out infinite;
}

/* Before the story begins, only the bottom process bar remains visible. */
body:not(.story-started) .process-copy,
body:not(.story-started) .diagram > :not(.pager),
body:not(.story-started) .diagram::before{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.process{opacity:1;transform:none}
.pager{z-index:10}

.prologue-start{
  position:absolute;
  left:50%;
  bottom:94px;
  z-index:12;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  width:max-content;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ink);
  font:500 13px/1.4 Pretendard,sans-serif;
  letter-spacing:.02em;
  cursor:pointer;
  opacity:1;
  visibility:hidden;
  transform:translateX(-50%);
}
.prologue-start span{
  opacity:0;
  transform:translateY(4px);
  transition:opacity .85s ease,transform .85s cubic-bezier(.22,1,.36,1);
}
.prologue-start i{
  position:relative;
  display:block;
  width:10px;
  height:10px;
  border-right:1px solid currentColor;
  border-bottom:1px solid currentColor;
  opacity:0;
  visibility:hidden;
  transform:translateY(-2px) rotate(45deg);
  transition:opacity .85s ease,visibility 0s linear 0s;
}
body.prologue-message-ready .prologue-start{
  visibility:visible;
}
body.prologue-message-ready .prologue-start span{
  opacity:1;
  transform:translateY(0);
}
body.prologue-arrow-ready .prologue-start i{
  opacity:1;
  visibility:visible;
  animation:prologueArrow 1.4s ease-in-out infinite;
}
.prologue-start:hover,
.prologue-start:focus-visible{opacity:1;outline:0}

body:not(.story-started) .pager div{opacity:.76}
body.story-started .process-copy,
body.story-started .diagram > :not(.pager){
  opacity:1;
  visibility:visible;
  transition:opacity .7s ease,transform .8s cubic-bezier(.22,1,.36,1);
}
body.story-started .prologue-start{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  animation:none;
  cursor:default;
  transform:translateX(-50%);
  transition:opacity .38s ease,visibility 0s linear .38s;
}
body.story-started .prologue-start span{transform:none}
body.story-started .prologue-start i{opacity:0;visibility:hidden;animation:none}

@keyframes typingMarkerBlink{
  0%,100%{opacity:.2}
  50%{opacity:1}
}
@keyframes prologueArrow{
  0%,100%{opacity:.55;transform:translateY(-2px) rotate(45deg)}
  50%{opacity:1;transform:translateY(3px) rotate(45deg)}
}

@media (prefers-reduced-motion:reduce){
  .prologue-start,
  .prologue-start i{animation:none!important}
}


/* ==========================================================
   PROCESS ENGINE — shared, deterministic states
   ========================================================== */
body.story-started .hero-copy{
  top:var(--hero-copy-top);
  opacity:1;
  transform:none;
  pointer-events:none;
}
.hero-copy.is-flipping{pointer-events:none}
body.story-started .hero-copy .tagline{
  margin-bottom:16px;
  font-size:clamp(17px,1.104vw,21px);
}
body.story-started .hero-copy h1{
  font-size:clamp(30px,1.92vw,38px);
}

body:not(.story-started) .pager b{background:transparent;box-shadow:none;transform:none}
body:not(.story-started) .prologue-start{pointer-events:none}

body.story-started .diagram > :not(.pager){opacity:0;visibility:hidden;pointer-events:none}
body.story-started .diagram::before{opacity:0;visibility:hidden}

.process-copy{
  opacity:0;
  visibility:hidden;
  filter:blur(12px);
  transform:none!important;
  will-change:opacity,filter;
}
.process-copy small{font-family:Pretendard,Arial,sans-serif;font-weight:600;letter-spacing:.08em}
.process-copy h2,.process-copy p{font-family:'Gowun Batang',serif}

.pager-message{
  display:block;min-height:1.4em;margin:0 0 8px;color:var(--ink);
  font:500 12px/1.4 Pretendard,Arial,sans-serif;letter-spacing:.01em;
  opacity:0;visibility:hidden;transition:opacity .5s ease;
}
body.story-started .pager-message{
  opacity:1;
  visibility:visible;
  transition-delay:.55s;
}

.ambient-orb--main.is-process-core{
  position:absolute;z-index:4;margin:0;animation:none;
  will-change:left,top,width,height,opacity,transform,filter;
  transition:left 1.3s cubic-bezier(.16,1,.3,1),top 1.3s cubic-bezier(.16,1,.3,1),width 1.3s cubic-bezier(.16,1,.3,1),height 1.3s cubic-bezier(.16,1,.3,1),opacity 1.05s ease,transform 1.3s cubic-bezier(.16,1,.3,1),filter .8s ease,background-color .9s ease,box-shadow .9s ease;
}
.ambient-orb--main.is-process-core::before,.ambient-orb--main.is-process-core::after{transition:opacity .8s ease,transform .8s cubic-bezier(.22,1,.36,1),filter .8s ease}
.ambient-orb--main.is-process-core.has-arrived{
  opacity:1;filter:blur(calc(var(--orb-blur,15px) * .72)) saturate(1.92) brightness(1.48) contrast(1.08);
  box-shadow:0 0 72px rgba(245,251,255,.52),0 0 152px rgba(178,214,255,.28),0 0 260px rgba(132,181,238,.14)
}
.ambient-orb--main.is-process-core.has-arrived::before{opacity:.90;filter:blur(calc(var(--orb-blur,15px) * .22)) brightness(1.20) contrast(1.06)}
.ambient-orb--main.is-process-core.has-arrived::after{
  inset:-40%;opacity:.94;transform:scale(1.12);
  background:radial-gradient(circle,rgba(245,251,255,.25) 0 12%,rgba(190,221,255,.11) 33%,rgba(145,194,245,.05) 54%,transparent 75%)
}
.ambient-orb--main.is-process-core.first-breath{animation:processCoreFirstBreath 2.15s cubic-bezier(.37,0,.22,1) both}
.ambient-orb--main.is-process-core.first-breath::before{animation:processCoreInnerBreath 2.15s cubic-bezier(.37,0,.22,1) both}
.ambient-orb--main.is-process-core.first-breath::after{animation:processCoreHaloBreath 2.15s cubic-bezier(.37,0,.22,1) .14s both}
.ambient-orb--main.is-process-core.is-breathing{animation:processCoreBreath 3.9s ease-in-out infinite}
.ambient-orb--main.is-process-core.is-breathing::before{animation:processCoreInnerIdle 3.9s ease-in-out infinite}
.ambient-orb--main.is-process-core.is-breathing::after{animation:processCoreHaloIdle 3.9s ease-in-out .18s infinite}

.process-core-label{
  position:absolute;left:50%;top:var(--process-core-y);z-index:8;color:var(--ink);
  font:600 24px/1 Pretendard,Arial,sans-serif;letter-spacing:.08em;
  opacity:0;visibility:hidden;transform:translate(-50%,-50%);pointer-events:none;
  will-change:opacity,filter,transform,color;
}
.process-core-label.is-warm{color:#e66f61;font-weight:700;text-shadow:0 1px 0 rgba(255,255,255,.32),0 0 10px rgba(255,255,255,.16)}

.process-discovery-ring{
  position:absolute;left:50%;top:var(--process-core-y);z-index:7;width:228px;height:228px;
  overflow:visible;opacity:0;visibility:hidden;transform:translate(-50%,-50%) rotate(-90deg);pointer-events:none
}
.discovery-ring-dashes,.discovery-ring-warm,.discovery-ring-loader{
  fill:none;stroke-width:4.2;stroke-linecap:round;stroke-dasharray:1.2 .8
}
.discovery-ring-dashes{stroke:#fff;opacity:.3;filter:drop-shadow(0 0 2px rgba(255,255,255,.30))}
.discovery-ring-warm{stroke:url(#discovery-warm-gradient);opacity:0;filter:drop-shadow(0 0 4px rgba(255,125,116,.48)) saturate(1.18)}
.discovery-ring-reveal,.discovery-color-reveal{
  fill:none;stroke:#fff;stroke-width:18;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100
}
body.process02-ring-drawing .process-discovery-ring,body.process02-complete .process-discovery-ring{visibility:visible}
body.process02-ring-drawing .process-discovery-ring{animation:discoveryRingFade .85s cubic-bezier(.22,1,.36,1) forwards}
body.process02-complete .process-discovery-ring{opacity:1}
body.process02-ring-drawing .discovery-ring-reveal{stroke-dashoffset:0}
body.process02-color-flow .discovery-ring-warm{opacity:1}
body.process02-color-flow .discovery-color-reveal{animation:discoveryColorFlow 1.35s cubic-bezier(.33,0,.2,1) forwards}
body.process02-color-flow .ambient-orb--main.is-process-core.has-arrived::before,
body.process02-complete .ambient-orb--main.is-process-core.has-arrived::before,
body.process03-thinking .ambient-orb--main.is-process-core.has-arrived::before{
  opacity:.92;
  background:radial-gradient(ellipse at 43% 40%,
    rgba(255,255,255,.82) 0 6%,
    rgba(250,252,255,.48) 22%,
    rgba(224,238,255,.18) 48%,
    transparent 74%);
  filter:blur(calc(var(--orb-blur,15px) * .28)) brightness(1.14);
}

@keyframes discoveryRingFade{from{opacity:0}to{opacity:1}}
@keyframes discoveryColorFlow{to{stroke-dashoffset:0}}
@keyframes processCoreFirstBreath{
  0%{opacity:1;transform:translate(-50%,-50%) scale(.9);filter:blur(var(--orb-blur,15px)) saturate(1.72) brightness(1.34)}
  34%{opacity:1;transform:translate(-50%,-50%) scale(.959);filter:blur(var(--orb-blur,15px)) saturate(1.88) brightness(1.52)}
  62%{opacity:1;transform:translate(-50%,-50%) scale(.889);filter:blur(var(--orb-blur,15px)) saturate(1.68) brightness(1.28)}
  82%{opacity:1;transform:translate(-50%,-50%) scale(.922);filter:blur(var(--orb-blur,15px)) saturate(1.79) brightness(1.41)}
  100%{opacity:1;transform:translate(-50%,-50%) scale(.9);filter:blur(var(--orb-blur,15px)) saturate(1.72) brightness(1.34)}
}
@keyframes processCoreInnerBreath{0%,100%{opacity:.80;transform:rotate(-8deg) scale(1)}34%{opacity:1;transform:rotate(-8deg) scale(1.18)}64%{opacity:.72;transform:rotate(-8deg) scale(.96)}82%{opacity:.90;transform:rotate(-8deg) scale(1.08)}}
@keyframes processCoreHaloBreath{0%,100%{opacity:.88;transform:scale(1.14)}38%{opacity:1;transform:scale(1.34)}68%{opacity:.72;transform:scale(1.08)}84%{opacity:.92;transform:scale(1.20)}}
@keyframes processCoreBreath{0%,100%{opacity:1;transform:translate(-50%,-50%) translate3d(0,0,0) scale(.9)}46%{opacity:1;transform:translate(-50%,-50%) translate3d(0,-2px,0) scale(.938)}72%{opacity:1;transform:translate(-50%,-50%) translate3d(1px,0,0) scale(.896)}}
@keyframes processCoreInnerIdle{0%,100%{opacity:.80;transform:rotate(-8deg) scale(1)}46%{opacity:1;transform:rotate(-8deg) scale(1.12)}72%{opacity:.74;transform:rotate(-8deg) scale(.97)}}
@keyframes processCoreHaloIdle{0%,100%{opacity:.86;transform:scale(1.14)}46%{opacity:1;transform:scale(1.29)}72%{opacity:.79;transform:scale(1.09)}}

@media (prefers-reduced-motion:reduce){
  body.process02-ring-drawing .process-discovery-ring,body.process02-color-flow .discovery-color-reveal{animation:none;opacity:1;stroke-dashoffset:0}
}

/* PROCESS 03 — retain the Process 02 orb and warm it smoothly while a #ffd4bc processing arc circles. */
.discovery-ring-loader{
  opacity:0;
  stroke:#ffd4bc;
  stroke-width:5;
  stroke-dasharray:18 82;
  filter:drop-shadow(0 0 5px rgba(255,212,188,.42));
  transform-origin:180px 180px;
}
body.process03-thinking .process-discovery-ring{
  opacity:1;
  visibility:visible;
}
body.process03-thinking .discovery-ring-loader{
  opacity:1;
  animation:process03LoaderSpin 1.25s linear infinite;
}
body.process03-thinking .process-copy h2{
  color:#fff;
  text-shadow:none;
}
/* Process 03 inherits the completed Process 02 orb and its subtle white core. */
@keyframes process03LoaderSpin{
  to{transform:rotate(360deg)}
}

@media (prefers-reduced-motion:reduce){
  body.process03-thinking .discovery-ring-loader{animation:none}
}

/* PROCESS 04 — processing closes, color resolves, then the line becomes a defined face. */
body.process04-closing .process-discovery-ring,
body.process04-ring-complete .process-discovery-ring,
body.process04-ring-warm .process-discovery-ring,
body.process04-defined .process-discovery-ring{
  opacity:1;
  visibility:visible;
}
body.process04-closing .discovery-ring-loader{
  opacity:1;
  stroke:#ffd4bc;
  animation:none;
  transition:stroke .42s ease,fill .48s ease,opacity .35s ease;
}
body.process04-ring-complete .discovery-ring-loader{
  opacity:1;
  animation:none;
  stroke-dasharray:100 0;
}
body.process04-ring-warm .discovery-ring-loader{
  stroke:#ff8796;
  filter:drop-shadow(0 0 5px rgba(255,135,150,.35));
}
body.process04-defined .discovery-ring-dashes,
body.process04-defined .discovery-ring-warm{
  opacity:0;
  transition:opacity .32s ease;
}
body.process04-defined .discovery-ring-loader{
  fill:#ff8796;
  stroke:#ff8796;
  filter:none;
  transition:fill .48s cubic-bezier(.22,1,.36,1),stroke .48s ease;
}
body.process04-defined .ambient-orb--main.is-process-core{
  opacity:0;
  animation:none;
  transition:opacity .38s ease;
}
body.process04-defined .process-core-label{
  color:#fff;
  text-shadow:none;
}
body.process04-defined .process-copy h2{
  color:#fff;
  text-shadow:none;
}

@media (prefers-reduced-motion:reduce){
  body.process04-closing .discovery-ring-loader,
  body.process04-ring-complete .discovery-ring-loader{animation:none}
}


/* PROCESS 05 — the defined face becomes a visualized, living form. */
.process-final-orb{
  position:absolute;
  left:50%;
  top:var(--process-core-y);
  z-index:7;
  width:210px;
  height:210px;
  overflow:hidden;
  border-radius:50%;
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,-50%) scale(.985);
  pointer-events:none;
  background:
    radial-gradient(circle at 32% 26%,rgba(255,235,220,.22) 0 8%,rgba(255,220,199,.10) 22%,transparent 42%),
    linear-gradient(135deg,#ff9a82 0%,#ff8796 58%,#ff8da5 100%);
  box-shadow:0 18px 44px rgba(131,74,86,.16),0 0 28px rgba(255,135,150,.16);
  will-change:transform,filter,opacity;
}
.process-final-orb::before{
  content:"";
  position:absolute;
  top:-42%;
  left:-78%;
  width:44%;
  height:184%;
  opacity:0;
  transform:rotate(-24deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);
  filter:blur(12px);
  pointer-events:none;
}
.process-final-orb::after{content:none}
body.process05-visualizing .process-discovery-ring{
  opacity:0;
  visibility:hidden;
  transition:opacity .45s ease,visibility 0s .45s;
}
body.process05-visualizing .discovery-ring-dashes,
body.process05-visualizing .discovery-ring-warm,
body.process05-visualizing .discovery-ring-loader{
  opacity:0;
  fill:transparent;
  stroke:transparent;
  filter:none;
  animation:none;
}
/* The translucent core dissolves instead of disappearing abruptly. */
body.process05-visualizing .ambient-orb--main.is-process-core{
  opacity:0!important;
  visibility:hidden;
  animation:none!important;
  box-shadow:none!important;
  transition:opacity .9s cubic-bezier(.4,0,.2,1),visibility 0s .9s;
}
body.process05-visualizing .ambient-orb--main.is-process-core::before,
body.process05-visualizing .ambient-orb--main.is-process-core::after{
  opacity:0!important;
  animation:none!important;
  box-shadow:none!important;
  transition:opacity .9s cubic-bezier(.4,0,.2,1);
}
body.process05-visualizing .process-final-orb{
  opacity:1;
  visibility:visible;
  animation:
    process05OrbReveal .9s cubic-bezier(.22,1,.36,1) both,
    process05OrbFloat 9.6s cubic-bezier(.45,.05,.55,.95) .82s infinite alternate,
    process05Tone 11.6s ease-in-out .82s infinite;
}
body.process05-visualizing .process-final-orb::before{
  animation:process05LightSweep 2.25s cubic-bezier(.22,.7,.28,1) .38s 1 both;
}
body.process05-visualizing .process-core-label{
  color:#fff;
  text-shadow:none;
  opacity:0;
  visibility:visible;
  filter:blur(12px);
  animation:
    process05LabelReveal .82s cubic-bezier(.22,1,.36,1) .23s both,
    process05LabelFloat 9.6s cubic-bezier(.45,.05,.55,.95) .82s infinite alternate;
}
body.process05-visualizing .process-copy h2{
  color:#fff;
  text-shadow:none;
}
body.process05-visualizing .process-copy p{
  white-space:pre-line;
}
/* The legacy conclusion copy is no longer used; the conclusion now lives in the Process 05 copy. */
.visual-copy{
  display:block;
  left:980px;
  top:266px;
  z-index:16;
  width:270px;
  color:rgba(255,255,255,.94);
  font:300 16px/1.85 Pretendard,Arial,sans-serif;
  letter-spacing:-.015em;
  opacity:0;
  visibility:hidden;
  filter:blur(8px);
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity .7s ease,filter .7s ease,transform .7s cubic-bezier(.22,1,.36,1),visibility 0s .7s;
}
body.process05-conclusion .visual-copy{
  opacity:1;
  visibility:visible;
  filter:blur(0);
  transform:translateY(0);
  transition-delay:0s;
}
@keyframes process05LightSweep{
  0%{left:-78%;opacity:0}
  18%{opacity:.22}
  72%{opacity:.22}
  100%{left:132%;opacity:0}
}
@keyframes process05OrbReveal{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.965)}
  100%{opacity:1;transform:translate(-50%,-50%) scale(1)}
}
/* Same broad floating language as the ambient orbs, but faster and slightly freer. */
@keyframes process05OrbFloat{
  0%{transform:translate(-50%,-50%) translate3d(0,0,0) scale(1)}
  28%{transform:translate(-50%,-50%) translate3d(-112px,12px,0) scale(.99)}
  58%{transform:translate(-50%,-50%) translate3d(145px,-10px,0) scale(1.035)}
  82%{transform:translate(-50%,-50%) translate3d(92px,28px,0) scale(.995)}
  100%{transform:translate(-50%,-50%) translate3d(-118px,50px,0) scale(1.04)}
}
@keyframes process05LabelReveal{
  0%{opacity:0;filter:blur(12px)}
  100%{opacity:1;filter:blur(0)}
}
@keyframes process05LabelFloat{
  0%{transform:translate(-50%,-50%) translate3d(0,0,0)}
  28%{transform:translate(-50%,-50%) translate3d(-112px,12px,0)}
  58%{transform:translate(-50%,-50%) translate3d(145px,-10px,0)}
  82%{transform:translate(-50%,-50%) translate3d(92px,28px,0)}
  100%{transform:translate(-50%,-50%) translate3d(-118px,50px,0)}
}
@keyframes process05Tone{
  0%,100%{filter:hue-rotate(0deg) saturate(1) brightness(1)}
  31%{filter:hue-rotate(-4deg) saturate(1.035) brightness(1.018)}
  63%{filter:hue-rotate(4deg) saturate(.985) brightness(1.01)}
  84%{filter:hue-rotate(-2deg) saturate(1.015) brightness(1.006)}
}
@media (prefers-reduced-motion:reduce){
  body.process05-visualizing .process-final-orb,
  body.process05-visualizing .process-final-orb::before,
  body.process05-visualizing .process-core-label{animation:none}
  body.process05-visualizing .process-final-orb{opacity:1;visibility:visible;transform:translate(-50%,-50%)}
  body.process05-visualizing .process-core-label{opacity:1;filter:none;transform:translate(-50%,-50%)}
}




/* ---------- final hero polish ---------- */
.pager div{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:23px;
  width:auto;
  margin:8px auto 0;
}
.pager div::before{content:none}
.pager b{
  position:relative;
  z-index:1;
  flex:0 0 14px;
  margin:0;
  background:rgba(111,130,151,.72);
  cursor:pointer;
}
.pager b:not(:last-child)::after{
  content:"";
  position:absolute;
  left:100%;
  top:50%;
  width:23px;
  height:1px;
  background:rgba(255,255,255,.48);
  transform:translateY(-50%);
  pointer-events:none;
}

/* ---------- tablet final layout ---------- */
/* 901–1120px: scaled horizontal hero, 2×2 menu and two-column story. */
@media (min-width:901px) and (max-width:1120px){
  :root{
    --hero-row-height:calc(43.846154vw + 27.692308px);
    --hero-copy-top:42px;
  }

  .book-background{
    height:calc(var(--hero-row-height) + 510px);
  }

  .intro-screen{
    height:calc(var(--hero-row-height) + 510px);
    grid-template-rows:var(--hero-row-height) 510px;
    overflow:visible;
  }

  .hero-copy{padding-top:56px}
  body.story-started .hero-copy{top:var(--hero-copy-top)}

  .menus{
    grid-template-rows:repeat(2,minmax(255px,auto));
    height:auto;
    min-height:510px;
    overflow:visible;
  }

  .menus a{
    min-height:255px;
    overflow:visible;
  }

  .menus .default,
  .menus .hover{top:122px}

  .stories{
    grid-auto-rows:minmax(382px,auto);
    overflow:visible;
  }

  .card{
    min-height:382px;
    overflow:visible;
  }
}

/* 769–900px: vertical hero reading order with a 2×2 menu. */
@media (min-width:769px) and (max-width:900px){
  :root{
    --hero-scale:1;
    --hero-row-height:820px;
    --hero-copy-top:42px;
    --process-copy-left:32px;
    --process-copy-top:176px;
    --process-core-y:445px;
    --pager-bottom:52px;
  }

  .book-background{height:1340px}

  .intro-screen{
    height:1340px;
    grid-template-rows:820px 520px;
    overflow:visible;
  }

  .hero{
    width:100%;
    height:820px;
    min-height:820px;
    transform:none;
  }

  .hero-copy{width:100%}

  .process-copy{
    top:var(--process-copy-top);
    width:calc(100% - 64px);
    text-align:center;
  }

  .process-copy h2{font-size:32px}
  .process-copy p{font-size:18px}
  .process-final-orb{width:190px;height:190px}
  .process-discovery-ring{width:210px;height:210px}

  .visual-copy{
    left:32px;
    top:572px;
    width:calc(100% - 64px);
    font-size:17px;
    line-height:1.8;
    text-align:center;
  }

  .pager{
    bottom:var(--pager-bottom);
    width:320px;
  }

  .menus{
    grid-template-rows:repeat(2,minmax(260px,auto));
    height:auto;
    min-height:520px;
    overflow:visible;
  }

  .menus a{
    min-height:260px;
    overflow:visible;
  }

  .menus .default,
  .menus .hover{top:124px}

  .stories{
    grid-auto-rows:minmax(382px,auto);
    overflow:visible;
  }

  .card{
    min-height:382px;
    overflow:visible;
  }
}

/* 768px and below: mobile vertical hero reading order. */
@media (max-width:768px){
  :root{
    --hero-scale:1;
    --hero-row-height:800px;
    --hero-copy-top:28px;
    --process-copy-left:24px;
    --process-copy-top:160px;
    --process-core-y:420px;
    --pager-bottom:26px;
  }
  html,body{width:100%;min-width:0;overflow-x:hidden}
  .page-frame,.stage,.main-panel{width:100%;min-width:0;margin:0}
  .book-spine,.left-connector,.ribbon-wrap{display:none}
  .book-background{left:0;width:100%;height:1360px}
  .intro-screen{width:100%;height:1360px;grid-template-rows:800px 560px;grid-template-columns:minmax(0,1fr)}
  .hero{width:100%;height:800px;min-height:800px;transform:none;overflow:hidden}
  .hero-copy{width:100%;padding:0 18px}
  .hero-copy .tagline{white-space:normal;font-size:clamp(16px,4.4vw,20px)}
  .hero-copy h1{white-space:normal;font-size:clamp(29px,7.7vw,38px)}
  body.story-started .hero-copy .tagline{font-size:clamp(15px,4vw,18px)}
  body.story-started .hero-copy h1{font-size:clamp(26px,7vw,34px)}
  .process-copy{width:calc(100% - 48px);text-align:center}
  .process-copy h2{font-size:28px}
  .process-copy p{font-size:16px;line-height:1.55}
  .process-final-orb{width:178px;height:178px}
  .process-discovery-ring{width:198px;height:198px}
  .process-core-label{font-size:21px}
  .visual-copy{
    left:24px;
    top:560px;
    width:calc(100% - 48px);
    font-size:14px;
    line-height:1.75;
    text-align:center;
  }
  .pager{bottom:26px;width:min(310px,calc(100% - 36px))}
  .pager div{width:auto;max-width:calc(100% - 28px)}
  .menus{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,280px);height:560px}
  .menus a{min-height:280px;border-bottom:1px solid rgba(255,255,255,.85)}
  .menus a:nth-child(2n){border-right:0}
  .menus a:nth-child(n+3){border-bottom:0}
}

/* The separate Process 05 conclusion must override the shared hidden diagram state. */
body.story-started.process05-conclusion .diagram > .visual-copy{
  opacity:1;
  visibility:visible;
  filter:blur(0);
  transform:translateY(0);
  pointer-events:none;
  transition-delay:0s;
}


.menus .hover em[data-href]{
  cursor:pointer;
}


/* 2026-07-18 — Enable clicks on main menu submenu items */
.menus a:hover .hover,
.menus a:focus-visible .hover{
  pointer-events:auto;
}
.menus .hover em[data-href]{
  pointer-events:auto;
  cursor:pointer;
}


/* ---------- mobile homepage final: supplied image slider ---------- */
.mobile-top{display:none}

@media (max-width:767px){
  :root{--mobile-hero-crop-ratio:1.48}

  .mobile-top{display:block;position:relative;width:100%;background:#fff;z-index:5}
  .mobile-storybook.ribbon-wrap{
    position:relative;left:auto;top:auto;display:flex;width:100%;height:52px;
    align-items:center;justify-content:center;overflow:hidden;
    background:#242526;color:#fff;text-decoration:none;z-index:2;
    font:400 16px/1.2 'Gowun Batang',serif;
  }
  .mobile-storybook b{margin-left:7px;font:600 13px/1 Pretendard,Arial,sans-serif}
  .mobile-logo{
    display:flex;height:83px;align-items:center;justify-content:center;background:#fff;
    color:#ff4f4f;font:700 clamp(25px,7vw,32px)/1 'Gowun Batang',serif;
  }

  .mobile-hero-slider{
    position:relative;width:100%;height:calc(100vw * var(--mobile-hero-crop-ratio));
    max-height:640px;overflow:hidden;background:#8797aa;touch-action:pan-y;
  }
  .mobile-hero-track{position:relative;width:100%;height:100%}
  .mobile-hero-slide{
    position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;
    transition:opacity .55s ease,visibility 0s .55s;
  }
  .mobile-hero-slide.is-active{opacity:1;visibility:visible;transition-delay:0s}
  .mobile-hero-slide img{
    display:block;width:100%;height:auto;max-width:none;
    image-rendering:auto;transform:none;
  }
  .mobile-hero-pager{
    position:absolute;left:50%;bottom:18px;display:flex;align-items:center;justify-content:center;
    gap:0;transform:translateX(-50%);z-index:4;
  }
  .mobile-hero-pager button{
    position:relative;width:15px;height:15px;margin:0 15px 0 0;padding:0;
    border:1px solid rgba(255,255,255,.95);border-radius:50%;
    background:rgba(91,110,132,.7);cursor:pointer;
  }
  .mobile-hero-pager button:last-child{margin-right:0}
  .mobile-hero-pager button:not(:last-child)::after{
    content:"";position:absolute;left:14px;top:50%;width:16px;height:1px;
    background:rgba(255,255,255,.62);transform:translateY(-50%);
  }
  .mobile-hero-pager button.is-active{background:#fff}

  /* Desktop/tablet hero is untouched and only hidden on phones. */
  .intro-screen{height:auto;display:block;overflow:visible;background-image:url('assets/mobile-home/menu_bg.png');background-size:cover;background-position:center top}
  .intro-screen>.hero{display:none}
  .book-background{display:none}

  .menus{
    height:auto;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(2,245px);
    background:transparent;border-top:1px solid rgba(255,255,255,.9);
  }
  .menus a,.menus a:last-child{
    min-height:245px;padding-top:10px;background:rgba(255,255,255,.03);color:var(--ink);
  }
  .menus a:hover,.menus a:last-child:hover{background:rgba(255,255,255,.08);color:var(--ink)}
  .menus .icon{margin-top:18px;transform:scale(.82)}
  .menus strong{margin-top:10px;font-size:23px}
  .menus .default{top:126px;left:8px;right:8px;font-size:15px;line-height:1.45;word-break:keep-all}
  .menus .hover{display:none}

  .stories{grid-template-columns:repeat(2,minmax(0,1fr))}
  .card{min-height:330px;height:auto;padding:0 14px 22px}
  .card:nth-child(2n){border-right:0}
  .card h3{margin-top:58px;min-height:104px;font-size:16px;line-height:26px}
  .card p{font-size:14px;line-height:25px;padding-bottom:48px}
  .label{padding:7px 28px 7px 8px;font-size:11px}
  .date{right:8px;top:10px;font-size:10px}
  .more{right:12px;bottom:24px;font-size:12px}

  footer{
    display:block;height:auto;min-height:430px;padding:42px 28px 54px;
  }
  .footer-copy,.footer-info{width:100%;padding:0;grid-column:auto}
  .footer-info{margin-top:42px}
  .copyright{position:static;margin-top:26px;text-align:left;white-space:normal}
}

@media (max-width:430px){
  .mobile-hero-slider{max-height:none}
}

/* ---------- mobile homepage detail refinement v07 ---------- */
@media (max-width:767px){
  html{
    width:100%;
    height:auto;
    overflow-x:hidden;
    overflow-y:auto;
  }
  body{
    width:100%;
    min-height:100%;
    overflow-x:hidden;
    overflow-y:visible;
  }
  .page-frame{overflow:clip}

  .mobile-storybook.ribbon-wrap{
    justify-content:flex-start;
    height:52px;
    padding:0 20px;
    text-align:left;
    white-space:nowrap;
  }
  .mobile-storybook strong{
    font:700 16px/1.2 'Gowun Batang',serif;
  }
  .mobile-storybook b{
    margin-left:0;
    font:500 14px/1.2 Pretendard,Arial,sans-serif;
  }
  .mobile-logo{
    height:83px;
    color:#e33b31;
    font-size:28px;
  }

  .mobile-hero-slider{
    height:calc(100vw * var(--mobile-hero-crop-ratio) + 44px);
    max-height:684px;
  }
  .mobile-hero-pager{bottom:26px}

  .menus{
    grid-template-rows:repeat(2,200px);
    border-top-color:rgba(255,255,255,.55);
  }
  .menus a,.menus a:last-child{
    min-height:200px;
    padding-top:6px;
  }
  .menus .icon{
    margin-top:10px;
    transform:scale(.76);
  }
  .menus strong{
    margin-top:6px;
    font-size:24px;
  }
  .menus .default{
    top:104px;
    left:8px;
    right:8px;
    font-size:16px;
    line-height:1.45;
  }

  .card{
    min-height:390px;
    padding:0 14px 24px;
  }
  .card h3{
    margin-top:62px;
    min-height:116px;
    font-size:18px;
    line-height:30px;
  }
  .card p{
    min-height:100px;
    font-size:16px;
    line-height:28px;
    padding-bottom:54px;
  }
  .label{
    padding:7px 28px 7px 8px;
    font-size:12px;
  }
  .date{
    right:8px;
    top:10px;
    font-size:12px;
  }
  .more{
    right:12px;
    bottom:24px;
    font-size:14px;
  }

  footer{
    display:flex;
    flex-direction:column;
    min-height:0;
    padding:42px 28px 38px;
    font-size:13px;
  }
  .footer-copy>p:first-child{
    font-size:14px;
  }
  .footer-info{
    margin-top:36px;
    font-size:13px;
  }
  .copyright{
    order:3;
    position:static;
    margin-top:36px;
    font-size:11px;
    line-height:1.5;
    text-align:left;
    white-space:normal;
  }
}

@media (max-width:430px){
  .mobile-hero-slider{max-height:none}
}

/* ---------- mobile homepage final refinement v08 ---------- */
@media (max-width:767px){
  /* Keep the pager position relative to the artwork while adding 16px breathing room below it. */
  .mobile-hero-slider{
    height:calc(100vw * var(--mobile-hero-crop-ratio) + 60px);
    max-height:700px;
  }
  .mobile-hero-pager{bottom:42px}

  /* No hover state on touch: treat each menu tile as one centered button. */
  .menus a,
  .menus a:last-child{
    min-height:200px;
    padding:0 10px;
    align-items:center;
    justify-content:center;
    color:rgba(255,255,255,.96);
  }
  .menus a:hover,
  .menus a:last-child:hover,
  .menus a:focus-visible{
    background:rgba(255,255,255,.06);
    color:rgba(255,255,255,.96);
  }
  .menus .icon{
    margin-top:0;
    transform:scale(.76);
  }
  .menus strong{
    margin-top:10px;
    color:rgba(255,255,255,.96);
    font-size:24px;
  }
  .menus .default{
    position:static;
    margin-top:8px;
    color:rgba(255,255,255,.80);
    font-size:16px;
    line-height:1.4;
    transform:none;
  }

  /* Story cards: soften hierarchy, allow four lines, and tighten vertical rhythm. */
  .card{
    min-height:350px;
    padding:0 14px 20px;
  }
  .card h3{
    height:auto;
    min-height:84px;
    margin-top:54px;
    padding-bottom:18px;
    font-size:17px;
    font-weight:600;
    line-height:28px;
  }
  .card h3::after{bottom:4px}
  .card p{
    height:auto;
    min-height:108px;
    margin-top:8px;
    padding-bottom:0;
    font-size:15px;
    line-height:27px;
    -webkit-line-clamp:4;
  }
  .more{
    position:static;
    display:block;
    width:max-content;
    margin:10px 0 0 auto;
    font-size:13px;
  }
}

@media (max-width:430px){
  .mobile-hero-slider{max-height:none}
}

/* ---------- mobile homepage final alignment v09 ---------- */
@media (max-width:767px){
  /* Mobile menu subtitle: stronger readability without changing its size. */
  .menus .default{
    font-weight:700;
  }

  /* Story cards: reserve identical space for 3 title lines and 3 body lines. */
  .card{
    min-height:320px;
    padding-bottom:12px;
  }
  .card h3{
    height:104px;
    min-height:104px;
    max-height:104px;
    padding-bottom:20px;
    -webkit-line-clamp:3;
  }
  .card h3::after{bottom:5px}
  .card p{
    height:81px;
    min-height:81px;
    max-height:81px;
    margin-top:6px;
    -webkit-line-clamp:3;
  }
  .more{
    margin-top:6px;
    line-height:1.3;
  }
}

/* ---------- mobile homepage final centering v10 ---------- */
@media (max-width:767px){
  /* Visually center the icon + title + subtitle group inside each 200px tile. */
  .menus a,
  .menus a:last-child{
    justify-content:center;
    padding:0 10px 10px;
  }

  /* Tighten only the space below More while keeping the fixed title/body rows. */
  .card{
    min-height:308px;
    padding-bottom:0;
  }
}

/* 2026-07-21 final finish: footer tone */
footer{background:#85919f;}



/* FINAL — mobile hero frame: full width, controlled height, clean bottom crop */
@media (max-width:767px){
  .mobile-hero-slider{
    width:100%!important;
    height:min(calc(100vw * 1.48 + 60px),700px)!important;
    max-height:700px!important;
    overflow:hidden!important;
    background:#85919f!important;
  }
  .mobile-hero-track,
  .mobile-hero-slide{
    width:100%!important;
    height:100%!important;
  }
  .mobile-hero-slide img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center top!important;
  }
  .mobile-hero-pager{
    bottom:42px!important;
  }
}

/* FINAL STORY 02 — tablet main copyright alignment only; mobile remains unchanged */
@media (min-width:768px) and (max-width:1440px){
  body:not(.sub-page) footer .copyright{
    position:absolute!important;
    top:34px!important;
    right:40px!important;
    margin:0!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
}
@media (min-width:768px) and (max-width:900px){
  body:not(.sub-page) footer .copyright{right:28px!important;}
}

/* 2026-07-22 — 768px homepage Storybook strip only v03 */
@media (width:768px){
  /* Reuse the existing mobile strip without switching the homepage to the mobile hero. */
  .mobile-top{
    display:block!important;
    position:relative!important;
    width:100%!important;
    background:transparent!important;
    z-index:20!important;
  }
  .mobile-top > :not(.mobile-storybook){
    display:none!important;
  }
  .mobile-storybook.ribbon-wrap{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    display:flex!important;
    width:100%!important;
    height:52px!important;
    margin:0!important;
    padding:0 20px!important;
    box-sizing:border-box!important;
    align-items:center!important;
    justify-content:flex-start!important;
    overflow:hidden!important;
    background:#242526!important;
    color:#fff!important;
    text-decoration:none!important;
    text-align:left!important;
    white-space:nowrap!important;
    transform:none!important;
    z-index:20!important;
  }
  .mobile-storybook strong{
    font:700 16px/1.2 "Gowun Batang",serif!important;
  }
  .mobile-storybook b{
    margin-left:0!important;
    font:500 14px/1.2 Pretendard,Arial,sans-serif!important;
  }
}


/* 2026-07-22 — focused 768–900 fixes v04
   Main footer, 768 menu background continuity, and natural role/tag wrapping only. */
@media (min-width:768px) and (max-width:900px){
  /* Main footer: keep copyright in its own grid row instead of absolute overlap. */
  body:not(.sub-page) footer{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    align-content:start!important;
    align-items:start!important;
    column-gap:0!important;
  }
  body:not(.sub-page) footer .footer-copy{
    grid-column:1!important;
    grid-row:1 / span 2!important;
  }
  body:not(.sub-page) footer .footer-info{
    grid-column:2!important;
    grid-row:1!important;
  }
  body:not(.sub-page) footer .copyright{
    position:static!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    grid-column:2!important;
    grid-row:2!important;
    width:auto!important;
    margin:10px 28px 0!important;
    padding:0!important;
    transform:none!important;
    text-align:left!important;
    white-space:normal!important;
    font-size:11px!important;
    line-height:1.5!important;
  }
}

@media (width:768px){
  /* One 768px homepage rule: the Storybook strip is 52px tall, so the
     shared hero artwork begins below it and spans exactly the hero + menu. */
  body:not(.sub-page){
    --hero-row-height:700px;
  }

  body:not(.sub-page) .book-background{
    display:block!important;
    top:52px!important;
    height:1160px!important;
    background-image:url('assets/hero-bg.jpg')!important;
    background-repeat:no-repeat!important;
    background-position:center top!important;
    background-size:cover!important;
    animation:none!important;
    will-change:auto!important;
  }

  body:not(.sub-page) .hero{
    height:700px!important;
    min-height:700px!important;
  }

  body:not(.sub-page) .intro-screen{
    height:1160px!important;
    grid-template-rows:700px 460px!important;
    background:none!important;
  }

  body:not(.sub-page) .menus{
    height:460px!important;
    min-height:460px!important;
    grid-template-rows:repeat(2,230px)!important;
    background:none!important;
  }

  body:not(.sub-page) .menus a,
  body:not(.sub-page) .menus a:nth-child(-n+3){
    height:230px!important;
    min-height:230px!important;
    background-image:none!important;
    background-color:transparent!important;
  }

  body:not(.sub-page) .menus a:nth-child(-n+2){
    border-bottom:1px solid rgba(255,255,255,.9)!important;
  }
  body:not(.sub-page) .menus a:nth-child(odd){
    border-right:1px solid rgba(255,255,255,.85)!important;
  }
  body:not(.sub-page) .menus a:nth-child(even){
    border-right:0!important;
  }
  body:not(.sub-page) .menus a:nth-child(n+3){
    border-bottom:0!important;
  }
  body:not(.sub-page) .menus a:last-child{
    background:#fff!important;
  }
}



/* 2026-07-22 — small-mobile homepage stories: one card per row */
@media (max-width:412px){
  body:not(.sub-page) .stories{
    grid-template-columns:1fr!important;
  }
  body:not(.sub-page) .stories .card{
    width:100%!important;
    border-right:0!important;
  }
  body:not(.sub-page) .stories .card:not(:last-child){
    border-bottom:1px solid var(--line)!important;
  }
}

/* 2026-07-22 — small-mobile spacing pass (360–412px only) */
@media (min-width:360px) and (max-width:412px){
  /* Main menu: keep the existing tile size, add breathing room around copy. */
  body:not(.sub-page) .menus a,
  body:not(.sub-page) .menus a:last-child{
    padding-left:22px!important;
    padding-right:22px!important;
  }
  body:not(.sub-page) .menus .default{
    width:100%!important;
    max-width:150px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Main story: one-column card with an 80% reading measure and tighter title/body rhythm. */
  body:not(.sub-page) .stories .card h3,
  body:not(.sub-page) .stories .card p,
  body:not(.sub-page) .stories .card .more{
    width:80%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body:not(.sub-page) .stories .card{
    min-height:0!important;
    height:auto!important;
    padding-bottom:24px!important;
  }
  body:not(.sub-page) .stories .card h3{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin-top:54px!important;
    padding-bottom:10px!important;
  }
  body:not(.sub-page) .stories .card h3::after{
    bottom:1px!important;
  }
  body:not(.sub-page) .stories .card p{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin-top:3px!important;
    padding-bottom:0!important;
  }
  body:not(.sub-page) .stories .card .more{
    margin-top:8px!important;
    margin-left:auto!important;
    text-align:right!important;
  }

  /* Footer copy: preserve the approved two-line sentence. */
  body:not(.sub-page) .footer-copy > p:first-child{
    white-space:nowrap!important;
  }
}


/* 2026-07-22 — mobile14 homepage story reading width correction */
@media (min-width:360px) and (max-width:412px){
  body:not(.sub-page) .stories .card h3,
  body:not(.sub-page) .stories .card p{
    width:80%!important;
    max-width:none!important;
  }
  body:not(.sub-page) .stories .card .more{
    width:auto!important;
    max-width:none!important;
    right:10%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}

/* 2026-07-22 — mobile16 precise homepage story alignment (360–412px only) */
@media (min-width:360px) and (max-width:412px){
  /* Keep the ribbon anchored to the card edge; move only its text inward. */
  body:not(.sub-page) .stories .card .label{
    left:0!important;
    padding-left:18px!important;
  }

  /* Date and More share one restrained right inset. */
  body:not(.sub-page) .stories .card .date,
  body:not(.sub-page) .stories .card .more{
    right:18px!important;
  }

  /* Guarantee the divider between the third and fourth cards. */
  body:not(.sub-page) .stories .card:nth-child(3),
  body:not(.sub-page) .stories .card:not(:last-child){
    border-bottom:1px solid var(--line)!important;
  }
}

/* 2026-07-22 — mobile17: preserve the divider between homepage story cards 3 and 4. */
@media (min-width:360px) and (max-width:412px){
  body:not(.sub-page) .stories .card:nth-child(3){
    border-bottom:1px solid var(--line)!important;
    box-shadow:none!important;
    background-image:linear-gradient(var(--line),var(--line))!important;
    background-repeat:no-repeat!important;
    background-position:left bottom!important;
    background-size:100% 1px!important;
  }
}

/* 2026-07-22 — mobile Storybook strip with VIEW icon */
@media (max-width:767px){
  .mobile-storybook.ribbon-wrap{
    justify-content:space-between!important;
    gap:10px!important;
    padding:0 16px 0 18px!important;
  }
  .mobile-storybook.ribbon-wrap > span{
    display:flex!important;
    min-width:0!important;
    align-items:center!important;
    white-space:nowrap!important;
  }
  .mobile-storybook strong{
    flex:0 0 auto!important;
    font-size:15px!important;
  }
  .mobile-storybook b{
    min-width:0!important;
    margin-left:3px!important;
    font-size:12px!important;
    letter-spacing:-.02em!important;
  }
  .mobile-storybook.ribbon-wrap::after{
    content:"VIEW"!important;
    flex:0 0 auto!important;
    display:flex!important;
    width:64px!important;
    height:28px!important;
    padding-right:30px!important;
    box-sizing:border-box!important;
    align-items:center!important;
    justify-content:flex-end!important;
    background:url('assets/storybook-view-icon.png') right center / 28px auto no-repeat!important;
    color:#ef3b35!important;
    font:700 12px/1 Pretendard,Arial,sans-serif!important;
    letter-spacing:.01em!important;
  }
}

/* mobile logo font refinement v21: logo only */
@media (max-width:767px){
  .mobile-logo{
    font-family:'학교안심 산뜻바탕','Hakgyoansim Santteutbatang','Gowun Batang',serif;
    font-weight:500;
    font-synthesis:none;
  }
}

/* 2026-07-23 — brand logo: Santteut Batang, unified weight across breakpoints */
.mobile-logo{
  font-family:'학교안심 산뜻바탕','Hakgyoansim Santteutbatang','Gowun Batang',serif!important;
  font-weight:600!important;
  font-synthesis:weight;
}

/* 2026-07-23 — 1366px story center divider
   Keep a true 1px divider without increasing visual weight. */
@media (min-width:1300px) and (max-width:1400px){
  body:not(.sub-page) .stories .card:nth-child(2){
    border-right:0!important;
    box-shadow:inset -1px 0 0 var(--line);
  }
}

/* 2026-07-26 — v30 mobile vertical-density test */
@media (max-width:767px){
  /* Pull the rolling pager 30px closer to the main circle by shortening only the mobile hero frame. */
  .mobile-hero-slider{
    height:min(calc(100vw * 1.48 + 30px),670px)!important;
    max-height:670px!important;
  }
}

/* 2026-07-26 — v31 mobile homepage menu vertical-density final */
@media (max-width:767px){
  /* Reduce each mobile menu tile by 20px total (10px above and below the content). */
  body:not(.sub-page) .intro-screen{
    grid-template-rows:700px 420px!important;
  }
  body:not(.sub-page) .menus{
    height:420px!important;
    min-height:420px!important;
    grid-template-rows:repeat(2,210px)!important;
  }
  body:not(.sub-page) .menus a,
  body:not(.sub-page) .menus a:nth-child(-n+3),
  body:not(.sub-page) .menus a:last-child{
    height:210px!important;
    min-height:210px!important;
  }
  body:not(.sub-page) .intro-screen::before{
    height:1120px!important;
  }
}
