@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&family=Newsreader:opsz,wght@6..72,400;6..72,600&display=swap');

:root {
  --crimson: #E71D36;
  --crimson-deep: #B0172A;
  --crimson-dark: #7A0F1D;

  --text: #0B0B0D;
  --ink-soft: #1A1A1D;
  --gray: #6B6B70;
  --line: #E5E5E7;
  --bg: #FFFFFF;

  --ivory: #F6F3EF;
  --gold: #C6A15B;
  --olive: #7A8A6D;
  --header-height: 75px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

a {
  color: var(--ink-soft);
  text-decoration-color: rgba(122, 15, 29, .35);
  text-underline-offset: 2px;
}
a:hover { color: var(--crimson-dark); }

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.nav strong {
  font-family: "Newsreader", serif;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  font-size: .95rem;
}

main > section,
.page-title {
  padding: clamp(2.5rem, 5vw, 5.2rem) 0;
}

.hero h1,
.page-title h1 {
  margin: 0 0 1rem;
  font-family: "Newsreader", "Noto Sans KR", serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.page-title h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }

.badge {
  display: inline-block;
  border: 1px solid rgba(231, 29, 54, .3);
  color: var(--crimson-dark);
  background: rgba(231, 29, 54, .04);
  border-radius: 999px;
  padding: .22rem .7rem;
  margin-bottom: .9rem;
  font-size: .84rem;
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 1.2rem;
}

.hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(198,161,91,.12), transparent 34%),
    radial-gradient(circle at 8% 80%, rgba(122,138,109,.10), transparent 33%),
    #fff;
}

.context {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  margin: 0 0 .7rem;
  font-family: "Newsreader", "Noto Sans KR", serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
}

.context > .container > p {
  margin-top: 0;
  max-width: 72ch;
  color: var(--ink-soft);
}

.context h3 {
  margin: 2.1rem 0 .65rem;
  font-family: "Newsreader", "Noto Sans KR", serif;
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
}

.context p {
  margin: 0 0 1rem;
  max-width: 72ch;
  color: var(--ink-soft);
}

.context .lead {
  margin-bottom: 1.4rem;
  color: var(--text);
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

.card h3 { margin: 0 0 .45rem; font-size: 1.1rem; }
.card p { margin: 0 0 .85rem; color: var(--ink-soft); }

img.media {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.timeline {
  position: relative;
  margin-top: 1.8rem;
  padding-left: 1.25rem;
  border-left: 2px solid #d8d8dc;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.1rem;
  padding-left: .9rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.63rem;
  top: .52rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 3px #fff;
}

.timeline-item a {
  display: inline-block;
  padding: .15rem 0;
}

ul { margin-top: .3rem; }
li { margin-bottom: .28rem; }

footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}
footer .container {
  padding: 1.1rem 0 2rem;
  color: var(--gray);
  font-size: .9rem;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .container { width: min(1120px, calc(100% - 1.5rem)); }
}


.tone-plain { background: #fff; }
.tone-mist {
  background:
    linear-gradient(180deg, #faf9f7 0%, #f8f7f5 100%);
}
.section-divided { border-top: 1px solid var(--line); }

.reading-width {
  max-width: 920px;
  padding-left: clamp(.2rem, 1.2vw, .8rem);
}
.lead {
  margin: .2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.6vw, 1.12rem);
}
.section-intro {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  max-width: 76ch;
}
.eyebrow {
  margin: 0 0 .35rem;
  color: var(--gray);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.surface-soft {
  background:
    linear-gradient(180deg, #fff 0%, #fff 58%, rgba(246,243,239,.7) 100%);
}
.ci-grid .card { min-height: 100%; }
.timeline.compact { margin-top: .6rem; }

.hero.tone-plain { border-bottom: 1px solid var(--line); }

.segment-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1rem 0 .4rem;
}
.segment-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .34rem .75rem;
  font-size: .9rem;
  text-decoration: none;
  background: #fff;
}
.segment-nav a:hover {
  border-color: rgba(231,29,54,.5);
  color: var(--crimson-dark);
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .6rem;
}
.swatch {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .24rem .56rem .24rem .34rem;
  font-size: .82rem;
  background: #fff;
}
.swatch::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sw);
  border: 1px solid rgba(0,0,0,.08);
}

.editorial-list {
  margin-top: 1.2rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}
.editorial-list h3 {
  margin: 0 0 .55rem;
  font-family: "Newsreader", "Noto Sans KR", serif;
}
.editorial-list ol {
  margin: 0;
  padding-left: 1.25rem;
}
.editorial-list li { margin-bottom: .45rem; }

.org-frame {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: .7rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.org-image {
  display: block;
  width: 100%;
  min-width: 900px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

@media (max-width: 900px) {
  .org-image { min-width: 700px; }
}
@media (max-width: 640px) {
  .org-image { min-width: 560px; }
}

.nav-links{flex-wrap:wrap;row-gap:.35rem;}

.doc-main .container {
  max-width: 760px;
}
.doc-heading {
  margin-top: 1.7rem;
  margin-bottom: .6rem;
  font-family: "Newsreader", "Noto Sans KR", serif;
  font-size: 1.25rem;
  color: var(--ink-soft);
}
.archive-timeline {
  max-width: 880px;
}

.progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(229,229,231,.65);
  z-index: 40;
  pointer-events: none;
}
.progress-fill {
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--crimson-dark), var(--crimson));
  opacity: .8;
}

header { top: 3px; }

/* Subtle motion */
a,
.card,
.segment-nav a {
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

body { overflow-x: hidden; }

/* Desktop (intentional wide composition) */
@media (min-width: 1200px) {
  .container { width: min(1160px, calc(100% - 4rem)); }
  .reading-width { max-width: 940px; }
  .doc-main .container { max-width: 780px; }
  main > section,
  .page-title { padding: clamp(3.2rem, 5vw, 6rem) 0; }
}

/* Tablet (balanced intermediate system) */
@media (min-width: 768px) and (max-width: 1199px) {
  .container { width: min(980px, calc(100% - 2.25rem)); }
  .split { grid-template-columns: 1fr; gap: 1rem; }

  .hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); }
  .page-title h1 { font-size: clamp(1.65rem, 3.4vw, 2.15rem); }

  main > section,
  .page-title { padding: 3.1rem 0; }

  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { max-width: 100%; }

  .doc-main .container { max-width: 740px; }
  .reading-width { max-width: 860px; }

  .org-image { min-width: 760px; }
}

/* Mobile (readability-first, no cramped hierarchy) */
@media (max-width: 767px) {
  .container { width: calc(100% - 1.25rem); }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
    min-height: auto;
    padding: .65rem 0 .75rem;
  }
  .nav strong { font-size: 1.12rem; }
  .nav-links {
    width: 100%;
    gap: .75rem;
    font-size: .9rem;
  }

  main > section,
  .page-title { padding: 2.2rem 0; }

  .hero h1 { font-size: 1.85rem; line-height: 1.28; }
  .section-title { font-size: 1.38rem; }
  .lead { font-size: 1rem; }

  .card-grid { grid-template-columns: 1fr; }
  .card { padding: .9rem .95rem; }

  .timeline {
    margin-top: 1rem;
    padding-left: 1rem;
  }
  .timeline-item { margin-bottom: .9rem; }
  .timeline-item::before {
    left: -1.43rem;
    width: 9px;
    height: 9px;
  }

  .reading-width { max-width: 100%; padding-left: .2rem; }
  .doc-main .container { max-width: 100%; }
  .doc-heading { font-size: 1.12rem; margin-top: 1.25rem; }

  .segment-nav { gap: .45rem; }
  .segment-nav a { padding: .32rem .62rem; font-size: .85rem; }

  .org-frame { padding: .45rem; }
  .org-image { min-width: 540px; }
}

/* STEP1: main page 5-section snap system */
body.home-snap {
  height: 100dvh;
  overflow: hidden;
}

.home-snap .snap-root {
  height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

.home-snap .snap-boundary {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 0;
}

.home-snap .section-screen {
  min-height: 100%;
  display: flex;
  align-items: center;
}

.home-snap .section-screen > .container {
  width: min(1100px, calc(100% - 2rem));
}

/* Philosophy exception: 100vh shell + internal free scroll */
.home-snap .philosophy-shell {
  min-height: 100%;
}

.home-snap .philosophy-inner {
  min-height: 100%;
  padding-top: clamp(2rem, 3.6vw, 3.5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  display: grid;
}

@media (max-width: 1199px) {
  .home-snap .section-screen > .container {
    width: min(980px, calc(100% - 1.6rem));
  }
}

@media (max-width: 767px) {
  .home-snap .snap-root {
    height: calc(100dvh - var(--header-height));
  }
  .home-snap .section-screen {
    min-height: 100%;
    align-items: flex-start;
    padding-top: 1.6rem;
  }
  .home-snap .background-section.section-screen {
    padding-top: 0;
  }
  .home-snap .section-screen > .container {
    width: calc(100% - 1.2rem);
  }
}

/* STEP3 typography applied per source paragraph block */
.source-p {
  margin: 0 0 .88rem;
  color: var(--ink-soft);
  font-size: clamp(.99rem, 1.2vw, 1.06rem);
  line-height: 1.86;
  letter-spacing: -0.004em;
  max-width: 72ch;
}

#background .source-p {
  padding-left: 0;
}

#philosophy .source-p {
  padding-left: .1rem;
}

#philosophy h3 {
  margin-top: 1.85rem;
  margin-bottom: .45rem;
}

/* STEP4 hero exact-structure styling */
.hero-center {
  min-height: 100%;
  display: grid;
  place-items: center;
}
.hero-copy {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "title"
    "logo"
    "concepts";
  justify-items: center;
  row-gap: clamp(1.8rem, 5.5vh, 3.7rem);
  padding-block: clamp(1.4rem, 9vh, 5.4rem);
  margin-top: calc(var(--header-height) * -1);
  text-align: center;
}

@media (max-width: 767px) {
  #hero .hero-copy {
    padding-top: 130px;
  }
}

.hero-title {
  grid-area: title;
  margin: 0;
  display: grid;
  gap: clamp(.28rem, 1.1vh, .55rem);
  font-family: "Newsreader", "Noto Sans KR", serif;
  color: var(--text);
  line-height: 1.18;
}
.hero-title-main {
  display: block;
  font-size: clamp(1.58rem, 3.3vw, 2.45rem);
  font-family: "Spoqa Han Sans Neo", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-title-sub {
  display: block;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(1rem, 1.95vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: rgba(11, 11, 13, .86);
}
.hero-logo {
  grid-area: logo;
  width: clamp(200px, 38vw, 300px);
  height: auto;
  margin: 0;
  opacity: 0.06;
  animation: heroLogoFadeIn 3.8s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards;
  will-change: opacity;
}
.hero-concepts-group {
  grid-area: concepts;
  width: min(100%, 36rem);
  display: grid;
  gap: clamp(.7rem, 1.4vh, 1rem);
  margin-top: clamp(.9rem, 3vh, 1.7rem);
}
.hero-concept-box {
  width: 100%;
  border: 1px solid rgba(11, 11, 13, .08);
  background: rgba(250, 249, 247, .8);
  border-radius: 10px;
  padding: .8rem .95rem;
  text-align: left;
}
.hero-concept,
.hero-concept-sub {
  margin: 0;
  color: var(--ink-soft);
}
.hero-concept {
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
}
.hero-concept-sub {
  margin-top: .1rem;
  font-size: clamp(.95rem, 1.2vw, 1.01rem);
}

@keyframes heroLogoFadeIn {
  from { opacity: 0.06; }
  to { opacity: 1; }
}

@media (min-width: 768px) {
  .hero-copy {
    --hero-box-gap: 1rem;
    --hero-box-height: clamp(6.8rem, 8.2vw, 8.5rem);
    --hero-lockup-height: calc((var(--hero-box-height) * 2) + var(--hero-box-gap));
    grid-template-columns: max-content max-content;
    grid-template-areas:
      "title title"
      "logo concepts";
    column-gap: 0.8rem;
    row-gap: clamp(2.4rem, 6.5vh, 4.2rem);
    align-items: start;
    justify-content: center;
    padding-block: clamp(2rem, 11vh, 6.2rem);
  }

  .hero-title {
    justify-self: center;
  }

  .hero-logo {
    justify-self: center;
    align-self: start;
    width: auto;
    height: var(--hero-lockup-height);
  }

  .hero-concepts-group {
    width: clamp(21rem, 39vw, 42rem);
    height: var(--hero-lockup-height);
    justify-self: start;
    align-self: start;
    margin-top: 0;
    grid-template-rows: repeat(2, minmax(0, var(--hero-box-height)));
    gap: var(--hero-box-gap);
    align-content: normal;
  }

  .hero-concept-box {
    min-height: var(--hero-box-height);
    padding: 1.05rem 1.3rem;
    display: grid;
    align-content: center;
    justify-items: start;
    text-align: left;
    line-height: 1.5;
  }

  .hero-concept-sub {
    margin-top: .2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo {
    animation: none;
    opacity: 1;
  }
  .philosophy-editorial .philosophy-block {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* STEP5 background section layout */
.background-section {
  background:
    linear-gradient(180deg, #faf9f7 0%, #f6f3ef 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.background-section .background-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.background-section .bg-orb {
  --orb-min-opacity: 0.26;
  --orb-max-opacity: 0.94;
  --orb-scale: 1.02;
  --orb-drift-x: 0rem;
  --orb-drift-y: 0rem;
  --orb-duration: 7.4s;
  --orb-delay: 0s;
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.44), rgba(231, 29, 54, 0.1) 58%, rgba(122, 15, 29, 0.045) 100%);
  filter: blur(0.8px);
  opacity: var(--orb-min-opacity);
  will-change: transform, opacity;
  animation: bgOrbBreathing var(--orb-duration) ease-in-out var(--orb-delay) infinite;
}
.background-section .orb-1 {
  width: clamp(15rem, 22vw, 20rem);
  height: clamp(15rem, 22vw, 20rem);
  top: 8%;
  left: -4%;
  --orb-duration: 6.8s;
  --orb-delay: -1.2s;
  --orb-min-opacity: 0.3;
  --orb-max-opacity: 1.0;
  --orb-scale: 1.03;
  --orb-drift-x: 0.24rem;
  --orb-drift-y: -0.2rem;
}
.background-section .orb-2 {
  width: clamp(11rem, 17vw, 15rem);
  height: clamp(11rem, 17vw, 15rem);
  top: 11%;
  right: 9%;
  opacity: 0.26;
  filter: blur(2px);
  --orb-duration: 7.6s;
  --orb-delay: -3.1s;
  --orb-min-opacity: 0.26;
  --orb-max-opacity: 0.96;
  --orb-scale: 1.018;
  --orb-drift-x: -0.24rem;
  --orb-drift-y: 0.18rem;
}
.background-section .orb-3 {
  width: clamp(16rem, 24vw, 22rem);
  height: clamp(16rem, 24vw, 22rem);
  right: -6%;
  bottom: 7%;
  opacity: 0.29;
  --orb-duration: 8.4s;
  --orb-delay: -5.4s;
  --orb-min-opacity: 0.29;
  --orb-max-opacity: 1.0;
  --orb-scale: 1.028;
  --orb-drift-x: 0.2rem;
  --orb-drift-y: 0.26rem;
}
.background-section .orb-4 {
  width: clamp(9rem, 14vw, 12rem);
  height: clamp(9rem, 14vw, 12rem);
  left: 16%;
  bottom: 10%;
  opacity: 0.22;
  filter: blur(2.4px);
  --orb-duration: 6.1s;
  --orb-delay: -2.6s;
  --orb-min-opacity: 0.22;
  --orb-max-opacity: 0.9;
  --orb-scale: 1.016;
  --orb-drift-x: -0.16rem;
  --orb-drift-y: 0.14rem;
}
.background-section .orb-5 {
  width: clamp(12rem, 19vw, 17rem);
  height: clamp(12rem, 19vw, 17rem);
  left: 54%;
  top: -7%;
  opacity: 0.2;
  filter: blur(3px);
  --orb-duration: 9.2s;
  --orb-delay: -6.7s;
  --orb-min-opacity: 0.2;
  --orb-max-opacity: 0.87;
  --orb-scale: 1.022;
  --orb-drift-x: 0.16rem;
  --orb-drift-y: -0.14rem;
}
.background-section .reading-width {
  position: relative;
  z-index: 1;
}
@keyframes bgOrbBreathing {
  0%, 100% {
    opacity: var(--orb-min-opacity);
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: var(--orb-max-opacity);
    transform: translate3d(var(--orb-drift-x), var(--orb-drift-y), 0) scale(var(--orb-scale));
  }
}
.home-snap .background-section.section-screen {
  display: grid;
  place-items: center;
}

.background-section .reading-width {
  --bg-font-size: 0.96rem;
  --bg-line-height: 1.32;
  --bg-paragraph-gap: 0.4rem;
  --bg-content-width: 72ch;
  width: min(100%, 980px);
  max-width: 980px;
  margin-inline: auto;
  display: grid;
  gap: var(--bg-paragraph-gap);
}
.background-section .source-p {
  width: 100%;
  max-width: var(--bg-content-width);
  justify-self: center;
  margin: 0;
  margin-inline: 0;
  padding-inline: 0;
  font-size: var(--bg-font-size);
  line-height: var(--bg-line-height);
  opacity: 0.88;
  transform: translateY(10px);
  transition: opacity .78s ease, transform .78s ease;
  transition-delay: calc(var(--bg-fade-index, 0) * .33s);
}
.background-section.bg-visible .source-p {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .background-section .reading-width {
    --bg-content-width: 92%;
    width: min(92%, 860px);
    justify-items: center;
    align-content: center;
  }
  .background-section .orb-1 { left: -9%; top: 6%; }
  .background-section .orb-3 { right: -10%; bottom: 5%; }
  .background-section .orb-5 { left: 62%; top: -10%; }
}

@media (max-width: 1000px) {
  .background-section .source-p {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .background-section .reading-width {
    --bg-content-width: 96%;
    width: min(94%, 680px);
    justify-items: center;
  }
  .background-section .orb-5 {
    display: none;
  }
  .background-section .orb-1 {
    width: clamp(12rem, 38vw, 15rem);
    height: clamp(12rem, 38vw, 15rem);
    left: -10%;
    top: 6%;
    opacity: 0.34;
  }
  .background-section .orb-3 {
    width: clamp(13rem, 40vw, 16rem);
    height: clamp(13rem, 40vw, 16rem);
    right: -9%;
    bottom: 4%;
    opacity: 0.32;
  }
  .background-section .orb-2 {
    width: clamp(9rem, 30vw, 12rem);
    height: clamp(9rem, 30vw, 12rem);
    right: 4%;
    top: 18%;
    opacity: 0.26;
  }
  .background-section .orb-4 {
    left: 10%;
    bottom: 15%;
    opacity: 0.24;
  }
  .background-section .source-p {
    text-align: left;
  }
}

/* STEP6 brand philosophy editorial implementation */
#philosophy {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
#philosophy .philosophy-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#philosophy .philosophy-background-svg {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
#philosophy .philosophy-svg-curves {
  transform-origin: center;
}
#philosophy .philosophy-curve {
  fill: none;
  stroke-linecap: round;
}
#philosophy .philosophy-curve-1 {
  stroke: rgba(122, 15, 29, 0.12);
  stroke-width: 3.9;
}
#philosophy .philosophy-curve-2 {
  stroke: rgba(122, 15, 29, 0.10);
  stroke-width: 3.35;
}
#philosophy .philosophy-curve-3 {
  stroke: rgba(122, 15, 29, 0.082);
  stroke-width: 2.8;
}
#philosophy .philosophy-pulse,
#philosophy .philosophy-pulse-highlight {
  fill: none;
  stroke-linecap: round;
  stroke-dashoffset: 0;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
  animation: philosophyPulseMove var(--pulse-duration, 12.8s) linear infinite;
  animation-delay: var(--pulse-delay, 0s);
}
#philosophy .philosophy-pulse {
  stroke: url(#philosophy-pulse-grad-1);
  stroke-dasharray: 56 944;
  opacity: 0.84;
  filter: blur(0.22px) drop-shadow(0 0 1.05px rgba(122, 15, 29, 0.24));
}
#philosophy .philosophy-pulse-highlight {
  stroke: url(#philosophy-pulse-hi-1);
  stroke-dasharray: 56 944;
  opacity: 0.36;
  filter: blur(1.35px) drop-shadow(0 0 0.55px rgba(255, 228, 196, 0.34));
}
#philosophy .philosophy-pulse-1 {
  stroke: url(#philosophy-pulse-grad-1);
  stroke-width: 2.8;
  --pulse-duration: 12.2s;
  --pulse-delay: -1.1s;
}
#philosophy .philosophy-pulse-highlight-1 {
  stroke: url(#philosophy-pulse-hi-1);
  stroke-width: 3.45;
  --pulse-duration: 12.2s;
  --pulse-delay: -1.1s;
}
#philosophy .philosophy-pulse-2 {
  stroke: url(#philosophy-pulse-grad-2);
  stroke-width: 2.5;
  --pulse-duration: 13.6s;
  --pulse-delay: -2.9s;
}
#philosophy .philosophy-pulse-highlight-2 {
  stroke: url(#philosophy-pulse-hi-2);
  stroke-width: 3.05;
  --pulse-duration: 13.6s;
  --pulse-delay: -2.9s;
}
#philosophy .philosophy-pulse-3 {
  stroke: url(#philosophy-pulse-grad-3);
  stroke-width: 2.25;
  --pulse-duration: 11.4s;
  --pulse-delay: -1.8s;
}
#philosophy .philosophy-pulse-highlight-3 {
  stroke: url(#philosophy-pulse-hi-3);
  stroke-width: 2.75;
  --pulse-duration: 11.4s;
  --pulse-delay: -1.8s;
}
#philosophy .philosophy-support {
  position: absolute;
  inset: -10% -8%;
  pointer-events: none;
  filter: blur(0.32px);
}
#philosophy .philosophy-support-1 {
  background: radial-gradient(118% 142% at 26% 11%, transparent 58.2%, rgba(122, 15, 29, 0.12) 58.40% 58.70%, transparent 59.05%);
}
#philosophy .philosophy-support-2 {
  background: radial-gradient(104% 138% at 55% 22%, transparent 61.1%, rgba(122, 15, 29, 0.10) 61.25% 61.58%, transparent 61.95%);
}
#philosophy .philosophy-support-3 {
  background: radial-gradient(108% 146% at 68% 76%, transparent 56.4%, rgba(122, 15, 29, 0.09) 56.56% 56.86%, transparent 57.18%);
}
#philosophy .philosophy-support-4 {
  background: radial-gradient(96% 132% at 88% 34%, transparent 63.1%, rgba(122, 15, 29, 0.085) 63.22% 63.54%, transparent 63.9%);
}
#philosophy .philosophy-curve-label-1 { left: 25.4%; top: 17%; }
#philosophy .philosophy-curve-label-2 { left: 31.2%; top: 11%; }
#philosophy .philosophy-curve-label-3 { left: 44.8%; top: 20%; }
#philosophy .philosophy-curve-label-4 { left: 52.4%; top: 10%; }
#philosophy .philosophy-curve-label-5 { left: 63.2%; top: 30%; }
#philosophy .philosophy-curve-label-6 { left: 75.4%; top: 14%; }
#philosophy .philosophy-curve-label-7 { left: 86.8%; top: 22%; }
#philosophy .philosophy-inner {
  position: relative;
  z-index: 3;
}

@keyframes philosophyPulseMove {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1000; }
}
@keyframes philosophyBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.philosophy-editorial .reading-width {
  width: min(100%, 920px);
  max-width: 920px;
  margin-inline: auto;
}
.philosophy-editorial .philosophy-content.philosophy-bounce {
  animation: philosophyBounce 360ms cubic-bezier(0.25, 0.8, 0.25, 1);
}
.philosophy-editorial .philosophy-dummy-end {
  height: clamp(40px, 5vh, 80px);
  pointer-events: none;
  opacity: 0;
}
.philosophy-editorial .philosophy-note {
  margin-bottom: 1.4rem;
}
.philosophy-editorial .philosophy-topic + .philosophy-topic {
  margin-top: .2rem;
}
.philosophy-editorial h3 {
  margin-top: 2.1rem;
  margin-bottom: .55rem;
  font-family: "Newsreader", "Noto Sans KR", serif;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-soft);
}
.philosophy-editorial .philosophy-topic h3 {
  margin-top: 0;
}
.philosophy-editorial .source-p {
  margin-bottom: 1rem;
}
.philosophy-editorial .philosophy-block {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .76s cubic-bezier(0.22, 1, 0.36, 1), transform .76s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--philosophy-sequence, 0) * .44s);
  will-change: opacity, transform;
}
.philosophy-editorial.philosophy-visible .philosophy-block {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  #philosophy .philosophy-curve-1 {
    stroke-width: 3.55;
  }
  #philosophy .philosophy-curve-2 {
    stroke-width: 3.05;
  }
  #philosophy .philosophy-curve-3 {
    stroke-width: 2.55;
  }
  #philosophy .philosophy-support {
    inset: -8% -10%;
  }
  #philosophy .philosophy-support-1,
  #philosophy .philosophy-support-2,
  #philosophy .philosophy-support-3,
  #philosophy .philosophy-support-4 {
    opacity: 0.72;
  }
  .philosophy-editorial .reading-width {
    width: min(100%, 900px);
  }
}

/* STEP7 CI section exact-content implementation */
.ci-screen .ci-two-blocks {
  width: min(100%, 960px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ci-block {
  min-height: 280px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  border-radius: 12px;
}
.ci-block:first-child {
  background: #fff;
  border: 1px solid #e7d5d8;
}
.ci-block:last-child {
  background: #faf9f7;
  border: 1px solid var(--line);
}
.ci-icon {
  margin: 0 0 .55rem;
  font-size: 1.5rem;
}
.ci-line {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink-soft);
}

@media (max-width: 767px) {
  .ci-screen .ci-two-blocks {
    grid-template-columns: 1fr;
  }
  .ci-block { min-height: 180px; }
}

/* STEP9 section-based nav state */
.nav-links a.is-active,
.nav-links a[aria-current="true"] {
  color: var(--crimson-dark);
  text-decoration-color: rgba(122, 15, 29, .65);
}

/* STEP10 responsive paragraph readability */
.doc-main p,
.doc-main li,
.source-p {
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (min-width: 1200px) {
  .source-p {
    max-width: 70ch;
    margin-bottom: 1.05rem;
    line-height: 1.9;
  }
  .doc-main .container { max-width: 780px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .source-p {
    max-width: 66ch;
    margin-bottom: .95rem;
    line-height: 1.85;
  }
  .philosophy-editorial h3 { margin-top: 1.8rem; }
  .doc-main .container { max-width: 720px; }
}

@media (max-width: 767px) {
  .source-p {
    max-width: 34ch;
    margin-bottom: .9rem;
    line-height: 1.88;
    font-size: 1rem;
  }
  #background .source-p,
  #philosophy .source-p { padding-left: 0; }

  .doc-main .container {
    max-width: 100%;
    width: calc(100% - 1rem);
  }

  .doc-main p,
  .doc-main li {
    font-size: .98rem;
    line-height: 1.78;
  }

  #philosophy .reading-width {
    width: min(94%, 680px);
    margin-inline: auto;
  }
  #philosophy .philosophy-curve-1 {
    stroke-width: 3.2;
  }
  #philosophy .philosophy-curve-2 {
    stroke-width: 2.75;
  }
  #philosophy .philosophy-curve-3 {
    stroke-width: 2.3;
  }
  #philosophy .philosophy-support {
    inset: -6% -12%;
  }
  #philosophy .philosophy-support-1,
  #philosophy .philosophy-support-2,
  #philosophy .philosophy-support-3,
  #philosophy .philosophy-support-4 {
    opacity: 0.58;
  }
}

/* STEP11 final paragraph-fidelity system */
.source-p,
.section-intro,
.lead,
.doc-main p,
.ci-line {
  display: block;
}

.source-p + .source-p,
.doc-main p + p {
  margin-top: .55rem;
}

.doc-main p,
.doc-main li {
  color: var(--ink-soft);
}

main h1 + p,
main h2 + p,
main h3 + p {
  margin-top: .35rem;
}

/* STEP13-1 philosophy section full-width shell */
.home-snap .philosophy-shell,
.home-snap .philosophy-inner {
  width: 100%;
}
.home-snap .philosophy-inner .reading-width {
  width: min(100%, 920px);
  max-width: 920px;
  margin-inline: auto;
  justify-self: center;
}
