:root {
  --green: #05583A;
  --cream: #FCFCF7;
  --sage: #E8EDE3;
  --muted: #3F5A4E;
  --muted-on-green: #E4EBE2;
  --rule: rgba(5, 88, 58, .25);
  --rule-soft: rgba(5, 88, 58, .2);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "Pretendard Variable", Pretendard, sans-serif;
  --mono: "Fragment Mono", monospace;
  --display: Switzer, "Pretendard Variable", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--green);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { opacity: .6; }
::selection { background: var(--green); color: var(--cream); }

@keyframes inf-marq { to { transform: translateX(-50%); } }
@keyframes inf-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes inf-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.page {
  background: var(--cream);
  color: var(--green);
  font-family: var(--sans);
  word-break: keep-all;
  line-height: 1.6;
  overflow-x: clip;
}

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.eyebrow { margin-bottom: 28px; }

.h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: 1.1;
  letter-spacing: -.05em;
}
.h2--xl {
  font-size: clamp(38px, 7vw, 104px);
  line-height: 1.05;
  letter-spacing: -.055em;
}

/* ---------- Photo slots ---------- */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--sage);
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ---------- Floating nav ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 8px 8px 8px 24px;
  border-radius: 64px;
  background: rgba(252, 252, 247, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(5, 88, 58, .18);
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
}
.nav__logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.03em;
}
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 10px 14px; border-radius: 64px; white-space: nowrap; }
.nav__links a:hover { background: var(--green); color: var(--cream); opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 140px;
  padding-bottom: 40px;
}
.hero__dot {
  --dx: 0px;
  --dy: 0px;
  position: absolute;
  right: calc(32px + 2vw);
  bottom: 40px;
  width: min(18vw, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  transform: translate(var(--dx), var(--dy));
  transition: transform .8s var(--ease);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}
.hero__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: 800;
  font-size: clamp(36px, 10.7vw, 164px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.hero__title span { display: block; animation: inf-rise 1s var(--ease) both; }
.hero__title span + span { animation-delay: .12s; }
.hero__foot {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: end;
}
.hero__lead {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.7;
  max-width: 30em;
  font-weight: 500;
}
.hero__photo { height: clamp(180px, 22vw, 320px); border-radius: 999px; }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  overflow: hidden;
  padding: 18px 0;
  background: var(--cream);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: inf-marq 30s linear infinite;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.marquee__item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
}
.marquee__item::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Philosophy ---------- */
.philosophy { padding-top: 140px; padding-bottom: 80px; }
.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px 80px;
  align-items: start;
}
.philosophy__aside { position: sticky; top: 112px; }
.philosophy__title { margin-bottom: 40px; }
.philosophy__photo { aspect-ratio: 5 / 4; max-height: 420px; border-radius: 40px; }
.philosophy__list { display: flex; flex-direction: column; }
.phil {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  opacity: 1;
  transition: opacity .6s var(--ease);
  border-top: 1px solid var(--rule);
  padding: 40px 0;
}
.phil__num { display: flex; align-items: center; gap: 16px; }
.phil__line {
  height: 1px;
  width: 24px;
  background: var(--green);
  transition: width .8s var(--ease);
}
.phil.is-active { opacity: 1; }
.phil.is-active .phil__line { width: 96px; }
.phil h3 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.2;
}
.phil p {
  margin: 0;
  font-size: 19px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 28em;
}

/* ---------- Solution ---------- */
.solution { padding-top: 80px; padding-bottom: 140px; }
.solution__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.solution__intro {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 24em;
}
.solution__list { border-top: 1px solid var(--green); }
.sol {
  display: grid;
  grid-template-columns: 60px minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px 32px;
  align-items: center;
  padding: 44px 24px;
  margin: 0 -24px;
  border-bottom: 1px solid var(--rule);
  cursor: default;
  transition: background .45s var(--ease), color .45s, padding .45s var(--ease);
}
@media (hover: hover) { .sol:hover { background: var(--green); color: var(--cream); } }
.sol h3 {
  margin: 0;
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.1;
}
.sol p { margin: 0; font-size: 18px; line-height: 1.8; opacity: .85; }
.sol__arrow { font-size: 32px; text-align: right; }

/* ---------- Approach ---------- */
.approach { background: var(--green); color: var(--cream); overflow: hidden; }
.approach__inner { padding-top: 140px; padding-bottom: 140px; }
.approach__title { margin-bottom: 96px; }
.approach__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: center;
}
.dial-wrap { display: flex; justify-content: center; }
.dial {
  --turn: 0;
  --r: 200px;
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
}
.dial__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(252, 252, 247, .45);
  transform: rotate(calc(var(--turn) * -90deg));
  transition: transform 1s var(--ease);
}
.dial__node {
  --k: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(calc(var(--k) * 90deg)) translateY(calc(var(--r) * -1)) rotate(calc((var(--turn) - var(--k)) * 90deg));
  transition: transform 1s var(--ease);
}
.dial__node:nth-child(2) { --k: 1; }
.dial__node:nth-child(3) { --k: 2; }
.dial__node:nth-child(4) { --k: 3; }
.dial__node button {
  position: absolute;
  left: -44px;
  top: -44px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em;
  border: 1px solid var(--cream);
  background: transparent;
  color: var(--cream);
  transition: background .5s, color .5s;
}
.dial__node button:hover { opacity: .8; }
.dial__node button[aria-pressed="true"] { background: var(--cream); color: var(--green); }
.dial__node button:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.dial__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
.dial__icon {
  font-size: 56px;
  line-height: 1;
  transform: rotate(calc(var(--turn) * -90deg));
  transition: transform 1s var(--ease);
}

.step[hidden] { display: none !important; }
.step { display: none; flex-direction: column; gap: 20px; }
.step.is-active { display: flex; }
.step__word {
  font-size: clamp(64px, 9vw, 136px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
}
.step__h {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.02em;
}
.step__d {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted-on-green);
  max-width: 28em;
}
.step__photo {
  aspect-ratio: 16 / 9;
  margin-top: 12px;
  border-radius: 40px;
  background: rgba(252, 252, 247, .12);
}
.approach__note { margin: 72px 0 0; font-size: 18px; color: var(--muted-on-green); }

/* ---------- Team ---------- */
.team { padding-top: 140px; padding-bottom: 80px; }
.team__title { margin-bottom: 88px; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 56px 40px;
  align-items: start;
}
.person--offset { margin-top: clamp(0px, 8vw, 120px); }
.person__photo { aspect-ratio: 4 / 5; border-radius: 999px 999px 40px 40px; }
.person__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 8px 20px;
  border-bottom: 1px solid var(--rule);
}
.person__name {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -.04em;
}
.person__role {
  padding: 6px 16px;
  border-radius: 64px;
  border: 1px solid rgba(5, 88, 58, .4);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Closing ---------- */
.closing { position: relative; padding-top: 160px; padding-bottom: 140px; }
.closing .eyebrow { margin-bottom: 32px; }
.closing__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(48px, 11vw, 176px);
  line-height: 1.02;
  letter-spacing: -.06em;
}
.closing__dot {
  display: inline-block;
  width: .16em;
  height: .16em;
  border-radius: 50%;
  background: var(--green);
  margin-left: .05em;
  animation: inf-pulse 3s ease-in-out infinite;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--rule); }
.footer__inner {
  padding-top: 40px;
  padding-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: center;
  justify-content: space-between;
}
.footer__logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -.03em;
}
.footer__tag { font-size: 16px; font-weight: 500; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav { gap: 12px; padding-left: 18px; }
  .nav__links a { padding: 10px 10px; }
  .hero__dot { right: 20px; width: 96px; }
  .sol {
    grid-template-columns: 40px minmax(0, 1fr) 32px;
    padding: 32px 20px;
    margin: 0 -20px;
  }
  .sol:hover { padding-left: 32px; }
  .sol p { grid-column: 2 / 3; }
  .sol__arrow { grid-row: 1; grid-column: 3; font-size: 24px; }
  .dial__node button { left: -34px; top: -34px; width: 68px; height: 68px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .closing__dot { animation: none; }
  .hero__title span { animation-duration: .01s; }
}


/* Readable content and responsive finishing */
body { font-family: var(--sans); }
section, main { scroll-margin-top: 100px; }
a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
a:hover { opacity: 1; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--green); color: var(--cream); padding: 12px 20px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { width: 88px; height: auto; display: block; }
.footer__logo img { display: block; width: 132px; height: auto; }
.hero { justify-content: center; padding-top: 128px; }
.hero__title { text-wrap: balance; }
.hero__summary { font-size: clamp(19px, 2vw, 28px); font-weight: 650; margin: 28px 0 0; line-height: 1.5; }
.hero__foot { margin-top: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.hero__copy { min-width: 0; }
.hero__dot { width: 88px; right: 44px; bottom: 44px; transition: transform .6s var(--ease); }
.hero__dot:hover { background: var(--cream); color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.text-link { display: inline-flex; align-items: center; gap: 24px; border-bottom: 1px solid currentColor; padding: 10px 0; margin-top: 18px; font-size: 16px; font-weight: 650; }
.marquee { position: relative; }
.marquee__track { padding-right: 160px; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.motion-toggle { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--green); background: var(--cream); border: 1px solid var(--rule); border-radius: 32px; padding: 12px 16px; min-height: 44px; font: 600 12px var(--sans); cursor: pointer; }
.philosophy__grid, .approach__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.phil { min-height: 42vh; }
.sol { min-width: 0; }
.sol h3 { font-size: clamp(32px, 4.2vw, 64px); }
.dial-wrap { flex-direction: column; align-items: center; gap: 36px; padding: 12px 0; }
.dial-help { margin: 0; color: var(--muted-on-green); text-align: center; font-size: 15px; }
.dial__ring { inset: 44px; }
.dial__node button { background: var(--green); }
.steps { min-width: 0; min-height: 620px; }
.step__d { min-height: 3.6em; }
.team__title { margin-bottom: 28px; }
.team__note { color: var(--muted); font-size: 14px; margin: 0 0 48px; }
.contact { margin-top: 48px; }
.contact p { color: var(--muted); font-size: 18px; }
.contact__email { display: inline-flex; align-items: center; gap: 24px; border-bottom: 1px solid currentColor; padding: 12px 0; font-size: clamp(22px, 3.2vw, 44px); font-weight: 650; }
.contact__email:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .2em; }
[data-motion="off"] *, [data-motion="off"] *::before, [data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

@media (max-width: 1000px) {
  .philosophy__grid, .approach__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .philosophy__aside { position: static; }
  .philosophy__photo { max-height: 360px; }
  .phil { min-height: auto; padding: 40px 0; }
  .sol { grid-template-columns: 48px minmax(0, 1fr); }
  .sol p { grid-column: 2; max-width: 36em; }
  .steps { min-height: 560px; }
  .hero__dot { width: 68px; right: 44px; bottom: 44px; }
}
@media (max-width: 720px) {
  section, main { scroll-margin-top: 92px; }
  .nav { top: 12px; gap: 8px; padding: 6px 8px 6px 14px; }
  .nav__logo img { width: 70px; }
  .nav__links a { padding: 12px 9px; font-size: 12px; }
  .hero { padding-top: 112px; padding-bottom: 32px; min-height: auto; }
  .hero__meta { gap: 12px; font-size: 10px; margin-bottom: 28px; }
  .hero__summary { font-size: 19px; margin-top: 24px; }
  .hero__title { line-height: 1.13; letter-spacing: -.05em; }
  .hero__foot { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 24px; }
  .hero__lead { font-size: 17px; }
  .hero__photo { height: 190px; }
  .hero__dot { width: 60px; right: 30px; bottom: 44px; font-size: 10px; }
  .marquee { padding: 14px 0; }
  .marquee__track { font-size: 28px; }
  .motion-toggle { right: 12px; padding: 10px 12px; }
  .philosophy, .solution, .team, .approach__inner, .closing { padding-top: 72px; padding-bottom: 72px; }
  .eyebrow { margin-bottom: 22px; }
  .h2, .h2--xl { font-size: clamp(34px, 9.8vw, 60px); line-height: 1.17; text-wrap: balance; }
  .philosophy__title { margin-bottom: 28px; }
  .philosophy__photo, .step__photo { border-radius: 24px; }
  .phil { gap: 18px; padding: 32px 0; }
  .phil h3 { font-size: 28px; }
  .phil p, .solution__intro, .sol p, .step__d { font-size: 17px; }
  .solution__head { margin-bottom: 32px; gap: 24px; }
  .sol { grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 28px 20px; }
  .sol:hover { padding-left: 20px; }
  .sol h3 { font-size: 32px; }
  .approach__title { margin-bottom: 40px; }
  .approach__grid { gap: 40px; }
  .dial-wrap { gap: 24px; }
  .dial { width: min(100%, 320px); }
  .dial__ring { inset: 34px; }
  .dial-help { font-size: 14px; }
  .steps { min-height: 450px; }
  .step__word { font-size: 64px; }
  .step__h { font-size: 22px; }
  .step__d { min-height: 5.4em; }
  .approach__note { font-size: 16px; margin-top: 40px; }
  .team__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .person--offset { margin-top: 0; }
  .person__photo { max-height: 440px; }
  .person__info { padding: 16px 0; }
  .team__note { margin-bottom: 32px; }
  .closing__title { font-size: clamp(34px, 10vw, 64px); line-height: 1.2; }
  .contact { margin-top: 32px; }
  .contact p { font-size: 16px; }
  .footer__inner { gap: 20px; padding-top: 28px; padding-bottom: 32px; }
  .footer__tag { width: 100%; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__title span { opacity: 1; transform: none; }
}

.hero__photo .hero__dot { right: 16px; bottom: 16px; z-index: 2; }
@media (max-width: 1000px) { .hero { min-height: auto; } }
@media (min-width: 721px) and (max-width: 1000px) {
  .philosophy, .solution, .team, .approach__inner, .closing { padding-top: 96px; padding-bottom: 96px; }
  .approach__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .approach__title { margin-bottom: 48px; }
  .dial { width: min(100%, 320px); }
  .dial-help { font-size: 14px; }
  .steps { min-height: 480px; }
  .step__word { font-size: 72px; }
  .step__h { font-size: 24px; }
  .step__photo { border-radius: 24px; }
}
.hero__photo .hero__dot { top: 50%; bottom: auto; right: 28px; transform: translate(var(--dx), calc(-50% + var(--dy))); }
@media (max-width: 720px) { .hero__photo .hero__dot { right: 20px; } }
/* Language navigation and English typography */
.language-switch { display: flex; align-items: center; gap: 6px; padding: 0 12px 0 0; font: 600 12px/1 var(--sans); white-space: nowrap; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 4px; }
.language-switch [aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
html[lang="en"] .page { word-break: normal; }
html[lang="en"] .hero__title { font-size: clamp(42px, 8.8vw, 136px); letter-spacing: -.055em; }
html[lang="en"] .h2, html[lang="en"] .h2--xl { font-size: clamp(38px, 5.8vw, 84px); line-height: 1.1; }
html[lang="en"] .sol h3 { font-size: clamp(28px, 3.6vw, 54px); }
html[lang="en"] .step__word { font-size: clamp(46px, 6.5vw, 92px); }
html[lang="en"] .dial__node button { font-size: 15px; }
html[lang="en"] .step__d { min-height: 5.4em; }
html[lang="en"] .motion-toggle { min-width: 108px; }
@media (max-width: 720px) {
  .nav { gap: 6px; padding-left: 12px; padding-right: 6px; }
  .nav__logo img { width: 60px; }
  .nav__links { gap: 0; }
  .nav__links a { padding: 12px 7px; font-size: 11px; }
  .language-switch { font-size: 11px; gap: 4px; padding-right: 4px; }
  html[lang="en"] .hero__title { font-size: clamp(38px, 10.8vw, 66px); line-height: 1.1; }
  html[lang="en"] .h2, html[lang="en"] .h2--xl { font-size: clamp(32px, 8.5vw, 52px); }
  html[lang="en"] .sol h3 { font-size: 29px; }
  html[lang="en"] .step__word { font-size: 48px; }
  html[lang="en"] .dial__node button { font-size: 11px; }
  html[lang="en"] .phil h3 { font-size: 27px; }
  html[lang="en"] .closing__title { font-size: clamp(36px, 10vw, 60px); }
}
html[lang="en"] .dial__node button { font-size: 14px; }
@media (max-width: 720px) { html[lang="en"] .dial__node button { font-size: 11px; } }
