/* CIKG-Home. Mobile geometry is the default. Desktop only at 1440.
   Shared header and footer stay in components.css. This file only adds
   the page chrome that is not a Header variant. */

.page-cikg {
  background: var(--color-cikg-6);
}

.cikg-rule { height: 8px; }
.cikg-rule.is-white,
.cikg-lines .is-white { background: #fff; }
.cikg-rule.is-blue,
.cikg-lines .is-blue { background: var(--color-cikg-1); }
.cikg-lines .is-red { background: var(--color-red); }

.cikg-logo-frame {
  position: relative;
  height: 156px;
  background: #fff;
}

.cikg-logo-frame > img {
  position: absolute;
  left: 40px;
  top: 16px;
  width: 310px;
  height: 60px;
  max-width: none;
}

.cikg-expand {
  position: absolute;
  left: 10px;
  top: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 370px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--color-cikg-1);
  color: var(--color-cikg-5);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.cikg-expand img {
  width: 20px;
  height: 18px;
  max-width: none;
  filter: brightness(0) invert(1);
}

.cikg-banner {
  position: relative;
  height: 197.2px;
  overflow: hidden;
  background: #c4c4c4;
}

.cikg-slide {
  position: absolute;
  left: -36px;
  top: -65px;
  width: 461px;
  height: 307px;
  max-width: none;
}

.cikg-plate,
.cikg-snav { display: none; }

.cikg-dots {
  position: absolute;
  left: 372px;
  top: 129px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cikg-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.cikg-dots .is-on { background: var(--color-cikg-1); }

.cikg-about {
  padding: 48px 20px 0;
  background: #fff;
}

.cikg-about-copy h2 {
  width: 350px;
  color: var(--color-cikg-1);
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
}

.cikg-about-copy p,
.cikg-about-est p {
  width: 350px;
  margin-top: 32px;
  color: #333;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.cikg-about-est strong { font-weight: 700; }

.cikg-about-tl,
.cikg-about-br {
  position: relative;
  width: 390px;
  height: 292.5px;
  margin-left: -20px;
  overflow: hidden;
}

.cikg-about-tl { margin-top: 64px; }

.cikg-about-tl img,
.cikg-about-br img {
  position: absolute;
  top: 0;
  max-width: none;
  height: 292.5px;
}

.cikg-about-tl img { left: 0; width: 438.75px; }
.cikg-about-br { margin-top: 65px; }
.cikg-about-br img { left: -8.67px; width: 437.67px; }

.cikg-about-est { margin-top: 48px; }

.cikg-brochure {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: 223px;
  height: 41px;
  margin: 32px 0 0;
  padding: 8px 8px 8px 24px;
  border: 0;
  border-radius: 20.5px;
  background: var(--color-cikg-3);
  color: #fff;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  white-space: nowrap;
}

.cikg-brochure img {
  width: 24px;
  height: 24px;
  max-width: none;
  transform: rotate(-90deg);
}

.cikg-why {
  position: relative;
  height: 324px;
  padding: 48px 20px 48px;
  background: var(--color-cikg-2);
  text-align: center;
}

.cikg-why h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
}

.cikg-why p {
  margin: 32px 0 0;
  color: #fff;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
}

.cikg-why-seam { display: none; }

.cikg-cats {
  position: relative;
  height: 656px;
  overflow: hidden;
  background: #fff;
}

.cikg-bear { position: absolute; left: 0; top: 0; }
.cikg-bear-m { width: 390px; height: 160px; }
.cikg-bear-d { display: none; }

.cikg-cats-row {
  position: absolute;
  left: 43px;
  top: 164px;
  display: flex;
  gap: 16px;
}

.cikg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 304px;
  height: 392px;
  margin: 0;
  padding: 24px 24px 32px;
  border: 0;
  background: var(--color-cikg-6);
  text-align: left;
}

.cikg-card-photo {
  display: block;
  position: relative;
  width: 256px;
  height: 256px;
  overflow: hidden;
}

.cikg-card-photo img {
  position: absolute;
  max-width: none;
}

.cikg-ph-about { width: 384px; height: 256px; left: -64px; top: 0; }
.cikg-ph-learn { width: 384px; height: 256px; left: -76px; top: 0; }
.cikg-ph-life { width: 480px; height: 320px; left: -112px; top: -24px; }
.cikg-ph-admit { width: 576px; height: 384px; left: -228px; top: -48px; }

.cikg-deco { position: absolute; max-width: none; pointer-events: none; }
.cikg-deco-b { left: 198px; top: 210px; width: 126px; height: 92px; }
.cikg-deco-a { left: 110px; top: -40px; width: 153px; height: 116px; }
.cikg-deco-c { left: 184px; top: 220px; width: 140px; height: 119px; }
.cikg-deco-d { left: 200px; top: 10px; width: 123px; height: 114px; }

.cikg-card-title {
  margin-top: 56px;
  color: var(--color-cikg-1);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.cikg-testi-cap { display: none; }

.cikg-testi {
  position: relative;
  height: 724px;
  overflow: clip;
  background: #30acef;
  padding: 48px 0 0;
  text-align: center;
}

.cikg-testi h2 {
  margin: 2px 0 0;
  color: #fff;
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
}

.cikg-testi-br { display: inline; }

.cikg-tcard {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  flex-direction: column;
  width: 350px;
  height: 352px;
  margin: 0;
  padding: 32px 20px 0;
  background: #e9faff;
  text-align: left;
}

.cikg-tape {
  position: absolute;
  left: calc(50% + 0.5px);
  top: -18px;
  width: 140px;
  height: 36px;
  background: url("../assets/img/artwork/cikg-tape-1.svg") center no-repeat;
  transform: translateX(-50%) rotate(178deg);
}

.cikg-tt, .cikg-tb, .cikg-tn, .cikg-td { margin: 0; font-family: var(--font-en); }
.cikg-tt { color: var(--color-cikg-1); font-size: 20px; font-weight: 500; line-height: 30px; }
.cikg-tb { margin-top: 24px; color: #333; font-size: 16px; font-weight: 400; line-height: 26px; text-wrap: wrap; }
.cikg-twho { margin-top: 24px; margin-bottom: 32px; display: flex; flex-direction: column; gap: 4px; }
.cikg-tn { color: #333; font-size: 16px; font-weight: 400; line-height: 26px; }
.cikg-td { color: #333; font-size: 16px; font-weight: 400; line-height: 26px; }

.cikg-tstripes {
  display: block;
  flex: 0 0 20px;
  margin: 0 -20px;
  background:
    linear-gradient(#ed1b2e, #ed1b2e) 0 0 / 100% 4px no-repeat,
    linear-gradient(#e9faff, #e9faff) 0 4px / 100% 4px no-repeat,
    linear-gradient(#0042c3, #0042c3) 0 8px / 100% 4px no-repeat,
    linear-gradient(#e9faff, #e9faff) 0 12px / 100% 8px no-repeat;
}

.cikg-tdots {
  position: absolute;
  left: 159px;
  top: 652px;
  display: flex;
  gap: 8px;
}

.cikg-tdots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.cikg-tdots i.is-on { background: var(--color-cikg-1); }

.cikg-tcard:nth-of-type(1) { --x: 20px; --y: 204px; }
.cikg-tcard:nth-of-type(2) { --x: 374px; --y: 268px; height: 348px; }
.cikg-tcard:nth-of-type(3) { --x: 728px; --y: 204px; height: 378px; }
.cikg-tcard:nth-of-type(4) { --x: 1082px; --y: 268px; }

.cikg-tcard:nth-of-type(2n) .cikg-tape {
  background-image: url("../assets/img/artwork/cikg-tape-2.svg");
  transform: translateX(-50%) rotate(4deg);
}

.cikg-tcard:nth-of-type(3) .cikg-tape {
  background-image: url("../assets/img/artwork/cikg-tape-3.svg");
}

.cikg-news {
  position: relative;
  height: 1631px;
  padding: 48px 20px 64px;
  background: var(--color-cikg-6);
}

.cikg-news::before {
  position: absolute;
  z-index: 1;
  top: -401.5px;
  left: 0;
  width: 106px;
  height: 550px;
  background: url("../assets/img/artwork/cikg-testimonials-bear-mobile.svg") no-repeat;
  pointer-events: none;
  content: "";
}

.cikg-news h2 {
  margin: 0;
  color: var(--color-cikg-1);
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
  text-align: center;
}

.cikg-news-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}

.cikg-nitem {
  padding: 24px 20px 24px;
  border-radius: 8px;
  background: #fff;
}

.cikg-nitem img {
  display: block;
  width: 310px;
  height: 210.4px;
  margin-bottom: 16px;
  object-fit: cover;
  object-position: center;
}

.cikg-ndate, .cikg-ntitle, .cikg-ntag { margin: 0; font-family: var(--font-en); }
.cikg-ndate { color: #333; font-size: 16px; font-weight: 400; line-height: 26px; }
.cikg-ntitle { margin-top: 8px; color: #333; font-size: 16px; font-weight: 400; line-height: 26px; }
.cikg-ntag {
  display: inline-block;
  margin-top: 16px;
  padding: 0 16px 2px;
  border-radius: 14px;
  background: var(--color-cikg-2);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.cikg-rest {
  position: relative;
  height: 981.5px;
  background: var(--color-cikg-6);
}

.cikg-lines {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.cikg-lines span { display: block; height: 8px; }

.cikg-contact {
  position: absolute;
  left: 0;
  top: 24px;
  width: 100%;
  height: 957.5px;
  overflow: clip;
  background: #fff;
  color: var(--color-cikg-1);
  font-family: var(--font-en);
}

.cikg-navy {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 255px;
  background: #2b4fab;
}

.cikg-wave {
  position: absolute;
  z-index: 1;
  display: block;
  max-width: none;
  pointer-events: none;
}

.cikg-wave-m {
  left: -305px;
  top: 238.5px;
  width: 1000px;
  height: 184.998px;
}

.cikg-wave-d { display: none; }

.cikg-quote {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  height: 236px;
  padding: 48px 20px 48px;
  color: #fff;
  text-align: center;
}

.cikg-quote p {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 0;
  text-wrap: wrap;
}

.cikg-quote .cikg-cite {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.cikg-quote-br { display: none; }

.cikg-contact h2 {
  position: absolute;
  left: 0;
  right: 0;
  top: 286px;
  z-index: 2;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
}

.cikg-chips {
  position: absolute;
  left: 20px;
  top: 352px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 350px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cikg-chips li {
  position: relative;
  overflow: hidden;
  width: 350px;
  padding: 16px 16px 24px;
  border-radius: 0;
  background: #d1f4ff;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  text-wrap: wrap;
}

.cikg-chips li img {
  position: absolute;
  max-width: none;
}

.cikg-chips .is-addr img { left: 283px; top: 30px; width: 46px; height: 71px; }
.cikg-chips .is-phone img { left: 261px; top: 28px; width: 73px; height: 74px; }
.cikg-chips .is-mail img { left: 264px; top: 24px; width: 70px; height: 52px; }
.cikg-chips .is-hours img { left: 264px; top: 10px; width: 70px; height: 72px; }
.cikg-chips .is-addr span,
.cikg-chips .is-mail span { text-decoration: underline; }

.cikg-follow {
  position: absolute;
  left: 20px;
  top: 712px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 350px;
  margin: 0;
  padding-top: 16px;
}

.cikg-follow p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

.cikg-socials { display: flex; gap: 32px; }

.cikg-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 105px;
  height: 26px;
  color: var(--color-cikg-1);
  font-family: var(--font-tc);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  text-decoration: none;
}

.cikg-social img { width: 24px; height: 24px; max-width: none; }

.cikg-contact-photo {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: 97.5px;
  overflow: hidden;
}

.cikg-contact-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* These Figma exports already include the original crop. */
:is(.cikg-about-tl, .cikg-about-br, .cikg-contact-photo) img[src$="-figma.png"],
.cikg-card-photo img[src$="-figma.png"]:not(.cikg-ph-about) {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

@media (min-width: 1440px) {
  .cikg-logo-frame { display: none; }

  .cikg-banner { height: 728px; }

  .cikg-slide {
    left: -65.6px;
    top: -199px;
    width: 1630.2px;
    height: 1086.6px;
  }

  .cikg-plate {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 380px;
    height: 90px;
    overflow: hidden;
    background: #fff;
    border-bottom-right-radius: 24px;
  }

  .cikg-plate img {
    position: absolute;
    left: 40px;
    top: 16px;
    width: 300px;
    height: 58px;
    max-width: none;
  }

  .cikg-snav {
    position: absolute;
    left: 737px;
    top: 10px;
    display: flex;
    align-items: center;
    width: 693px;
    height: 58px;
    padding: 4px 4px 4px 37px;
    border-radius: 4px;
    background: #fff;
  }

  .cikg-snav-links {
    display: flex;
    gap: 68px;
  }

  .cikg-snav a {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #333;
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
  }

  .cikg-snav .is-current {
    color: var(--color-cikg-1);
    text-decoration: underline;
    text-underline-offset: 0.12em;
  }

  .cikg-snav .cikg-admit {
    width: 144px;
    height: 50px;
    margin-left: auto;
    border-radius: 4px;
    background: var(--color-cikg-3);
    color: #fff;
  }

  .cikg-dots {
    left: 1412px;
    top: 642px;
  }

  .cikg-about {
    display: grid;
    grid-template-columns: 720px 720px;
    grid-template-rows: 540px 540px;
    height: 1080px;
    padding: 0;
    overflow: hidden;
  }

  .cikg-about > * { min-height: 0; }

  .cikg-about-tl { grid-column: 1; grid-row: 1; }
  .cikg-about-copy { grid-column: 2; grid-row: 1; }
  .cikg-about-est { grid-column: 1; grid-row: 2; }
  .cikg-about-br { grid-column: 2; grid-row: 2; }

  .cikg-about-copy,
  .cikg-about-est {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    height: 540px;
    margin: 0;
    padding: 0 64px;
  }

  .cikg-about-copy h2 {
    width: 592px;
    font-size: 48px;
    line-height: 54px;
  }

  .cikg-about-copy p,
  .cikg-about-est p {
    width: 592px;
    height: auto;
    margin: 0;
  }

  .cikg-about-est p { height: 182px; }

  .cikg-about-tl,
  .cikg-about-br {
    width: 720px;
    height: 540px;
    margin: 0;
  }

  .cikg-about-tl img,
  .cikg-about-br img { height: 540px; }
  .cikg-about-tl img { width: 810px; }
  .cikg-about-br img { left: -16px; width: 808px; }

  .cikg-brochure { height: 42px; margin: 0; border-radius: 21px; }

  .cikg-why {
    height: 404px;
    padding: 120px 288px 96px;
  }

  .cikg-why h2 {
    font-size: 48px;
    line-height: 54px;
  }

  .cikg-why p {
    font-size: 24px;
    line-height: 34px;
  }

  .cikg-why-seam {
    display: block;
    position: absolute;
    left: 0;
    top: 365px;
    width: 100%;
    height: 10px;
    background: var(--color-cikg-2);
  }

  .cikg-bear-m { display: none; }
  .cikg-bear-d { display: block; width: 1440px; height: 912px; }

  .cikg-cats { height: 912px; overflow: hidden; }
  .cikg-cats-row { left: 64px; top: 320px; gap: 32px; }
  .cikg-card-title { font-size: 24px; line-height: 24px; }

  .cikg-testi-cap {
    display: block;
    position: absolute;
    left: 0;
    top: 794px;
    width: 1440px;
    height: 118px;
  }

  .cikg-testi { height: 812px; padding: 96px 0 0; }
  .cikg-testi h2 { margin-top: 0; font-size: 48px; line-height: 54px; }
  .cikg-testi-br { display: none; }
  .cikg-tcard { width: 416px; padding: 32px 32px 0; }
  .cikg-tcard:nth-of-type(1) { --x: 64px; --y: 214px; height: 366px; }
  .cikg-tcard:nth-of-type(2) { --x: 484px; --y: 278px; height: 358px; }
  .cikg-tcard:nth-of-type(3) { --x: 904px; --y: 214px; height: 366px; }
  .cikg-tcard:nth-of-type(4) { --x: 1324px; --y: 278px; height: 366px; }
  .cikg-tn { font-size: 20px; line-height: 32px; }
  .cikg-tt { font-size: 24px; line-height: 34px; }
  .cikg-tstripes { margin-inline: -32px; }
  .cikg-tdots { left: 684px; top: 708px; }

  .cikg-news { height: 1054px; padding: 96px 288px 112px; }
  .cikg-news::before {
    top: -125px;
    width: 176px;
    height: 285px;
    background-image: url("../assets/img/artwork/cikg-testimonials-bear-desktop.svg");
  }
  .cikg-news h2 { font-size: 48px; line-height: 54px; }
  .cikg-news-list { gap: 8px; margin-top: 64px; }
  .cikg-nitem {
    position: relative;
    min-height: 162px;
    padding: 24px 256px 24px 32px;
  }
  .cikg-nitem:nth-child(2),
  .cikg-nitem:nth-child(3) { min-height: 190px; }
  .cikg-nitem img {
    position: absolute;
    right: 24px;
    top: 24px;
    width: 168px;
    height: 114px;
    margin: 0;
    border-radius: 0;
  }
  .cikg-ntitle { font-size: 20px; line-height: 32px; }
  .cikg-nitem.is-text { padding-right: 32px; }

  .cikg-rest { height: 1034px; }
  .cikg-lines { top: 0; }

  .cikg-contact { height: 1010px; }
  .cikg-navy { height: 322px; }
  .cikg-wave-m { display: none; }
  .cikg-wave-d {
    display: block;
    left: -279.992px;
    top: 248.998px;
    width: 2000px;
    height: 370px;
  }
  .cikg-quote {
    height: 244px;
    padding: 64px 64px 48px;
    gap: 32px;
  }
  .cikg-quote p { font-size: 24px; line-height: 34px; }
  .cikg-quote .cikg-cite { font-size: 20px; line-height: 32px; }
  .cikg-quote-sp { display: none; }
  .cikg-quote-br { display: inline; }
  .cikg-contact h2 {
    top: 344px;
    font-size: 32px;
    line-height: 44px;
  }
  .cikg-chips {
    left: 64px;
    top: 420px;
    flex-direction: row;
    width: 1312px;
  }
  .cikg-chips li { width: 325px; height: 92px; }
  .cikg-chips .is-addr img { left: 263px; }
  .cikg-chips .is-phone img { left: 236px; }
  .cikg-chips .is-mail img { left: 239px; top: 50px; }
  .cikg-chips .is-hours img { left: 239px; top: 36px; }
  .cikg-follow {
    left: 64px;
    top: 544px;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    width: 1312px;
    height: 42px;
  }
  .cikg-socials { display: contents; }
  .cikg-contact-photo { height: 360px; }
}

/* Wider than the 1440 artboard: center the existing stages. Do not scale them. */
@media (min-width: 1441px) {
  .cikg-rule,
  .cikg-banner,
  .cikg-about,
  .cikg-why,
  .cikg-cats,
  .cikg-news,
  .cikg-rest {
    width: 1440px;
    margin-inline: auto;
  }

  .cikg-tcard { left: calc((100% - 1440px) / 2 + var(--x)); }
  .cikg-tdots { left: calc(50% - 36px); }
}

.cikg-snav a { text-decoration: none; }
.cikg-card { color: inherit; text-decoration: none; }
.cikg-snav .cikg-admit { display: grid; place-items: center; }
@media (max-width: 1439px) {
  .cikg-snav.unit-open {
    display: flex;
    position: absolute;
    z-index: 8;
    inset: 0 0 auto;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    box-shadow: 0 4px 12px #0002;
  }
  .cikg-snav.unit-open a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 1439px) { .cikg-snav-links { display: contents; } }
