:root {
  --red: #a80f12;
  --text: #55565a;
  --white: #ffffff;
  --shadow: 0 10px 24px rgb(0 0 0 / 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing {
  overflow: hidden;
}

.section {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background-color: #fff;
  background-position: center;
  background-size: cover;
}

.section-01 {
  background-image: url("./assets/01_nologo.png");
}

.section-02 {
  background-image: url("./assets/02_nologo.png");
}

.section-03 {
  background-image: url("./assets/03_nologo.png");
}

.section-04 {
  background-image: url("./assets/B섹션-04-(배경).png");
}

.section-05 {
  background-image: url("./assets/B섹션-05-(배경).png");
}

.section-06 {
  background-image: url("./assets/B섹션-06-(배경).png");
}

.section-07 {
  background-image: url("./assets/B섹션-07-(배경).png");
}

.section-08 {
  background-image: url("./assets/B섹션-08-(배경).png");
}

.section-09 {
  background-image: url("./assets/B섹션-09-(배경).png");
}

[data-reveal] > * {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible > * {
  opacity: 1;
  transform: none;
}

.section-logo {
  position: absolute;
  top: clamp(34px, 5.1vh, 55px);
  left: 50%;
  z-index: 2;
  display: block;
  width: clamp(250px, 30.5vw, 360px);
  height: auto;
  transform: translate(-50%, 0);
  pointer-events: none;
}

[data-reveal].is-visible > img.section-logo {
  transform: translate(-50%, 0);
}

.section-logo--white {
  width: clamp(250px, 30.5vw, 365px);
}

.hero__inner {
  width: min(1320px, 88vw);
  margin: 0 auto;
  padding-top: 35vh;
  text-align: center;
  color: #fff;
}

.hero h1,
.service-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 92px);
  font-weight: 300;
  line-height: 1.32;
  text-shadow: var(--shadow);
}

.hero h1 > span,
.service-copy h2 span {
  display: block;
}

.hero h1 > span,
.hero__lead,
.hero__sub,
.mv-item,
.value-block,
.section-title,
.business-card,
.service-copy h2 span,
.service-copy p,
.pill-row,
.service-link {
  opacity: 1;
  transform: none;
  transition: opacity 720ms ease, transform 720ms ease;
}

.hero.is-visible h1 > span,
.hero.is-visible .hero__lead,
.hero.is-visible .hero__sub,
.is-visible .mv-item,
.is-visible .value-block,
.is-visible .section-title,
.is-visible .business-card,
.is-visible .service-copy h2 span,
.is-visible .service-copy p,
.is-visible .pill-row,
.is-visible .service-link {
  animation: fadeUp 720ms ease backwards;
}

.hero.is-visible h1 > span:nth-child(1),
.is-visible .service-copy h2 span:nth-child(1) {
  animation-delay: 120ms;
}

.hero.is-visible h1 > span:nth-child(2),
.is-visible .service-copy h2 span:nth-child(2) {
  animation-delay: 220ms;
}

.hero-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em) scale(0.96);
  transform-origin: 50% 70%;
  will-change: opacity, transform, text-shadow;
}

.hero.is-visible .hero-letter {
  animation:
    heroLetterIn 680ms cubic-bezier(0.16, 1, 0.3, 1) forwards,
    heroLetterWave 5200ms ease-in-out infinite,
    heroLetterShine 5200ms ease-in-out infinite;
  animation-delay:
    calc(280ms + var(--char-index) * 32ms),
    calc(1320ms + var(--char-index) * 86ms),
    calc(1900ms + var(--char-index) * 68ms);
  animation-composition: replace, add, replace;
}

.hero.is-visible .hero__lead,
.is-visible .mv-item--mission,
.is-visible .section-title,
.is-visible .service-copy p {
  animation-delay: 320ms;
}

.hero.is-visible .hero__sub,
.is-visible .mv-item--vision,
.is-visible .pill-row {
  animation-delay: 440ms;
}

.is-visible .value-block,
.is-visible .service-link {
  animation-delay: 560ms;
}

.is-visible .business-card:nth-child(1) {
  animation-delay: 220ms;
}

.is-visible .business-card:nth-child(2) {
  animation-delay: 300ms;
}

.is-visible .business-card:nth-child(3) {
  animation-delay: 380ms;
}

.is-visible .business-card:nth-child(4) {
  animation-delay: 460ms;
}

.is-visible .business-card:nth-child(5) {
  animation-delay: 540ms;
}

.is-visible .business-card:nth-child(6) {
  animation-delay: 620ms;
}

@keyframes fadeUp {
  from {
    opacity: 1;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLetterIn {
  0% {
    opacity: 0;
    transform: translateY(0.42em) scale(0.96);
  }

  72% {
    opacity: 1;
    transform: translateY(-0.04em) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroLetterShine {
  0%,
  78%,
  100% {
    text-shadow: var(--shadow);
  }

  84% {
    text-shadow:
      0 0 12px rgb(255 255 255 / 0.62),
      0 0 28px rgb(255 255 255 / 0.34),
      var(--shadow);
  }
}

@keyframes heroLetterWave {
  0%,
  100% {
    transform: translateY(0);
  }

  22% {
    transform: translateY(-0.1em);
  }

  44% {
    transform: translateY(0.04em);
  }

  64% {
    transform: translateY(-0.05em);
  }

  82% {
    transform: translateY(0);
  }
}

.hero strong,
.service-copy strong {
  font-weight: 800;
}

.hero__lead {
  margin: 40px 0 0;
  font-size: clamp(20px, 1.75vw, 32px);
  line-height: 1.6;
  text-shadow: var(--shadow);
}

.hero__sub {
  margin: 90px 0 0;
  font-size: clamp(18px, 1.6vw, 30px);
  line-height: 1.7;
  text-shadow: var(--shadow);
}

.mv-grid {
  position: relative;
  width: min(1600px, 82vw);
  min-height: 100vh;
  margin: 0 auto;
}

.mv-item,
.value-block {
  position: absolute;
}

.mv-item h2,
.value-block h2,
.section-title h2 {
  margin: 0;
  color: #505155;
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 800;
}

.mv-item p {
  margin: 0;
  color: #55565a;
  font-size: clamp(18px, 1.35vw, 25px);
  font-weight: 600;
}

.mv-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  column-gap: 40px;
}

.mv-item--mission {
  top: 26vh;
  left: 0;
}

.mv-item--vision {
  top: 39vh;
  left: 12px;
}

.value-block {
  right: 0;
  bottom: 13vh;
  display: grid;
  grid-template-columns: 160px minmax(500px, 1fr);
  gap: 58px;
}

.value-block dl {
  display: grid;
  gap: 24px;
  margin: 12px 0 0;
}

.value-block dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: baseline;
}

.value-block dt,
.value-block dd {
  margin: 0;
  color: #55565a;
  font-size: clamp(17px, 1.25vw, 23px);
  font-weight: 600;
  line-height: 1.5;
}

.about__inner {
  width: min(1100px, 80vw);
  margin: 0 auto;
  padding-top: 25vh;
  text-align: center;
}

.section-title p {
  margin: 12px 0 34px;
  font-size: 17px;
  font-weight: 600;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.business-card {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 30px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 8px;
  text-align: left;
  color: #fff;
  cursor: pointer;
  background:
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--letter) 34%, transparent), transparent 32%),
    linear-gradient(145deg, rgb(255 255 255 / 0.13), rgb(255 255 255 / 0.04)),
    linear-gradient(135deg, color-mix(in srgb, var(--card-a) 82%, #111), color-mix(in srgb, var(--card-b) 72%, #111));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18);
  transition-property: opacity, transform, box-shadow, border-color;
}

.business-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 7px;
  opacity: 0.72;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.16), transparent 32%),
    linear-gradient(0deg, rgb(0 0 0 / 0.18), transparent 58%);
  pointer-events: none;
}

.business-card::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 30px;
  z-index: 1;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 18px rgb(168 15 18 / 0.45);
}

.business-card h3,
.business-card p {
  position: relative;
  margin: 0;
  z-index: 1;
}

.business-card h3 {
  max-width: 78%;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.business-card p {
  max-width: 78%;
  color: rgb(255 255 255 / 0.86);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.business-card__letter {
  position: absolute;
  right: 18px;
  bottom: 8px;
  z-index: 0;
  color: color-mix(in srgb, var(--letter) 74%, #fff);
  font-size: 126px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.28;
  transform: skewX(-6deg);
}

.card-magazine {
  --card-a: #9f451b;
  --card-b: #f08a22;
  --letter: #ffb347;
}

.card-academy {
  --card-a: #8f6a00;
  --card-b: #f1c62d;
  --letter: #ffe07a;
}

.card-golf {
  --card-a: #176736;
  --card-b: #62b846;
  --letter: #91dc6a;
}

.card-investment {
  --card-a: #075f8f;
  --card-b: #22a8db;
  --letter: #68cdf5;
}

.card-consulting {
  --card-a: #102f62;
  --card-b: #1f5ca8;
  --letter: #6fa8ff;
}

.card-times {
  --card-a: #3d1f73;
  --card-b: #7b4bd1;
  --letter: #ad86ff;
}

.service-section {
  display: grid;
  place-items: center;
  text-align: center;
}

.service-copy {
  width: min(1660px, 88vw);
  margin-top: 5vh;
  color: #fff;
}

.service-copy h2 {
  font-size: clamp(44px, 4.45vw, 82px);
  line-height: 1.46;
}

.service-copy p {
  margin: 36px 0 0;
  font-size: clamp(22px, 1.75vw, 34px);
  line-height: 1.5;
  text-shadow: var(--shadow);
}

.pill-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 34px;
}

.pill-row span {
  min-width: 218px;
  padding: 12px 30px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgb(0 0 0 / 0.28);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.section-04 .pill-row span {
  background: rgb(255 255 255 / 0.42);
}

.service-link {
  display: grid;
  grid-template-columns: 70px 1fr 48px;
  align-items: center;
  width: min(350px, 90vw);
  min-height: 72px;
  margin: 108px auto 0;
  padding: 12px 20px;
  border-radius: 8px;
  color: #55565a;
  background: #fff;
  border: 0;
  box-shadow: 0 14px 30px rgb(0 0 0 / 0.16);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.service-link:hover,
.service-link:focus-visible {
  box-shadow: 0 18px 38px rgb(0 0 0 / 0.22);
  transform: translateY(-4px);
}

.service-link:focus-visible {
  outline: 3px solid rgb(255 255 255 / 0.78);
  outline-offset: 4px;
}

.business-card:hover {
  border-color: rgb(255 255 255 / 0.34);
  box-shadow:
    0 22px 48px rgb(0 0 0 / 0.2),
    inset 0 1px 0 rgb(255 255 255 / 0.24);
  transform: translateY(-6px);
}

.business-card:focus-visible {
  outline: 3px solid rgb(168 15 18 / 0.78);
  outline-offset: 5px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--accent);
  font-size: 26px;
  font-weight: 900;
}

.accent-times .brand-mark {
  font-size: 15px;
  text-decoration: underline;
}

.service-link strong,
.service-link small {
  display: block;
}

.service-link strong {
  font-size: 16px;
  line-height: 1.3;
}

.service-link small {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 700;
}

.service-link i {
  width: 0;
  height: 0;
  justify-self: end;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid #5b5b5b;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 20;
  min-width: 190px;
  padding: 14px 22px;
  border-radius: 999px;
  color: #fff;
  background: rgb(0 0 0 / 0.82);
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.22);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.service-indicator {
  position: fixed;
  top: 50%;
  left: clamp(24px, 3.2vw, 58px);
  z-index: 15;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 14px 10px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.18);
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.service-indicator.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.service-indicator a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.34);
  border-radius: 50%;
  color: rgb(255 255 255 / 0.72);
  background: rgb(255 255 255 / 0.08);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: 0 8px 18px rgb(0 0 0 / 0.22);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-indicator a.is-active {
  border-color: #fff;
  color: var(--red);
  background: #fff;
  transform: scale(1.12);
  text-shadow: none;
}

@media (min-width: 981px) and (pointer: fine) {
  .service-indicator {
    display: flex;
  }
}

.accent-magazine {
  --accent: #ef7a24;
}

.accent-academy {
  --accent: #f1b500;
}

.accent-golf {
  --accent: #11813a;
}

.accent-investment {
  --accent: #1eaed2;
}

.accent-consulting {
  --accent: #7867ff;
}

.accent-times {
  --accent: #777;
}

@keyframes backgroundDrift {
  from {
    background-position: center top;
  }

  to {
    background-position: calc(50% + 18px) top;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .service-section {
    animation: backgroundDrift 16s ease-in-out infinite alternate;
  }
}

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

@media (max-width: 980px) {
  .section {
    min-height: 760px;
    background-size: auto 100%;
  }

  .hero__inner {
    padding-top: 260px;
  }

  .hero__sub {
    margin-top: 54px;
  }

  .mv-grid {
    width: min(640px, 86vw);
    padding-top: 230px;
  }

  .mv-item,
  .value-block {
    position: static;
  }

  .mv-item {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 42px;
  }

  .value-block {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 56px;
  }

  .value-block dl div {
    grid-template-columns: 92px 1fr;
  }

  .about__inner {
    width: min(720px, 88vw);
    padding-top: 220px;
    padding-bottom: 80px;
  }

  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .business-card {
    min-height: 198px;
    padding: 26px;
  }

  .service-copy {
    margin-top: 90px;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .section {
    min-height: 100svh;
    background-size: auto 100%;
    background-position: center top;
  }

  .section-logo {
    top: 34px;
    width: min(258px, 72vw);
  }

  .section-logo--white {
    width: min(260px, 72vw);
  }

  .section-01 {
    min-height: 720px;
    background-position: center top;
  }

  .hero__inner {
    display: grid;
    align-content: center;
    width: min(340px, 88vw);
    min-height: 100svh;
    padding-top: 110px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(34px, 9.2vw, 40px);
    line-height: 1.22;
  }

  .hero__lead {
    margin-top: 38px;
    font-size: 18px;
    line-height: 1.55;
  }

  .hero__sub {
    margin-top: 58px;
    font-size: 16px;
    line-height: 1.65;
  }

  .section-02 {
    min-height: auto;
    padding: 118px 0 72px;
    background-size: auto 100%;
    background-position: center top;
  }

  .mv-grid {
    width: min(340px, 88vw);
    min-height: 0;
    padding-top: 0;
  }

  .mv-item {
    gap: 8px;
    margin-bottom: 34px;
  }

  .mv-item h2,
  .value-block h2,
  .section-title h2 {
    font-size: 34px;
    line-height: 1.15;
  }

  .mv-item p {
    font-size: 16px;
    line-height: 1.55;
  }

  .value-block {
    margin-top: 44px;
  }

  .value-block dl {
    gap: 15px;
  }

  .value-block dl div {
    grid-template-columns: 66px 1fr;
    gap: 10px;
  }

  .value-block dt,
  .value-block dd {
    font-size: 15px;
    line-height: 1.55;
  }

  .section-03 {
    min-height: auto;
    padding: 360px 0 70px;
    background-size: auto 100%;
    background-position: center top;
  }

  .about__inner {
    width: min(340px, 88vw);
    padding-top: 0;
    padding-bottom: 0;
  }

  .section-title p {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.5;
  }

  .business-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .business-card {
    min-height: 150px;
    padding: 24px 22px 20px;
  }

  .business-card::after {
    top: 22px;
    left: 22px;
    width: 34px;
    height: 2px;
  }

  .business-card h3 {
    font-size: 19px;
  }

  .business-card h3,
  .business-card p {
    max-width: 74%;
  }

  .business-card p {
    font-size: 14px;
    line-height: 1.45;
  }

  .business-card__letter {
    right: 14px;
    bottom: 8px;
    font-size: 88px;
  }

  .service-section {
    min-height: 100svh;
    padding: 108px 0 56px;
    place-items: start center;
  }

  .service-copy {
    display: grid;
    align-content: center;
    width: min(342px, 88vw);
    min-height: calc(100svh - 164px);
    margin-top: 0;
  }

  .service-copy h2 {
    font-size: clamp(31px, 8.6vw, 38px);
    line-height: 1.34;
  }

  .section-07 .service-copy h2,
  .section-08 .service-copy h2,
  .section-09 .service-copy h2 {
    font-size: clamp(29px, 7.8vw, 35px);
  }

  .service-copy p {
    margin-top: 28px;
    font-size: 18px;
    line-height: 1.55;
  }

  .pill-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
  }

  .pill-row span {
    min-width: 224px;
    max-width: 100%;
    padding: 11px 22px 10px;
    font-size: 14px;
  }

  .service-link {
    grid-template-columns: 54px 1fr 34px;
    width: min(316px, 100%);
    min-height: 66px;
    margin-top: 48px;
    padding: 10px 15px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 23px;
  }

  .service-link strong {
    font-size: 14px;
  }

  .service-link small {
    font-size: 11px;
  }

  .service-link i {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 19px;
  }

  .toast {
    bottom: 22px;
    width: min(280px, 82vw);
    padding: 13px 18px;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 32px;
  }

  .service-copy h2,
  .section-07 .service-copy h2,
  .section-08 .service-copy h2,
  .section-09 .service-copy h2 {
    font-size: 29px;
  }

  .hero__lead,
  .service-copy p {
    font-size: 16px;
  }
}
