/*
 * Capital Diplomacy — Local Stylesheet
 * CHANEL treatment: understated, elegant, confident
 *
 * Colour system (from assetsc/config.php):
 *   Primary:     #1A1445    (Corporate Violet)
 *   Secondary:   #CAAA63   (Gold)
 *   Tertiary:    #5A5670    (Violet-grey)
 *   Background:  #FAF9F5   (Cream)
 *   Text-light:  #FAF9F5   (Cream)
 *   Dividers:    #E8E6E2   (Warm grey)
 */


/* =================================================================
   GLOBAL / SMOOTH SCROLL
   ================================================================= */

html {
  scroll-behavior: smooth;
}


/* =================================================================
   TYPOGRAPHY — BASE
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@200..900&display=swap');

body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: #1A1445;
  background-color: #FAF9F5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
}

.fontSerif, .fontSerif p, .vsQuote:before {
  font-family: 'Jost', sans-serif;
}

.fontAlter {
  font-family: 'Jost', sans-serif;
}

.fontSerifKR, .fontSerifKR p {
  font-family: "Noto Serif KR", serif;
}


/* =================================================================
   LOGO
   ================================================================= */

.logo-svg {
  fill: #fff;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.logo-svg:hover {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-width: 0.075em;
}

.logo-svg-black {
  fill: #1A1445;
}

.logo-svg-black:hover {
  fill: none;
  stroke: #1A1445;
}

#logo-header {
  min-width: 18px;
  max-width: 18px;
}

.logo {
  min-width: auto;
  transition: min-width 0.25s;
}


/* =================================================================
   NAVIGATION
   ================================================================= */

.nav-link,
.footerAside,
.pageFooter,
.pageFooter p,
#pageFooter,
#pageFooter p {
  font-family: 'Jost', sans-serif;
}

.navbar-light .navbar-nav .nav-link {
  color: #000 !important;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #CAAA63 !important;
}

@media (min-width: 768px) {

  .navbar-light .mainNavigationVv .nav-link {
    color: #ffffff !important;
  }

  .navbar-light .mainNavigationVv .nav-link:hover {
    color: #CAAA63 !important;
  }

  .headerFixer.fixedPosition .logo,
  .headerFixer.fixedPosition .logo.logoVii {
    min-width: auto;
  }

}

@media (max-width: 768px) {

  .logo {
    min-width: auto;
  }
  .logo.logoVii {
    min-width: auto;
  }
  .logo.logoViv {
    min-width: auto;
  }

}


/* =================================================================
   SHARED COMPONENT — GOLD RULE
   The signature element. 48px × 1.5px.
   ================================================================= */

.cd-rule {
  width: 48px;
  height: 1.5px;
  background-color: #CAAA63;
  margin-bottom: 20px;
}

.cd-rule--center {
  margin-left: auto;
  margin-right: auto;
}


/* =================================================================
   HERO
   ================================================================= */

.cd-hero {
  min-height: 100vh;
  background-color: #1A1445;
}

.cd-hero__content {
  max-width: 640px;
  margin: 0 auto;
  padding: 120px 0 80px;
}

.cd-hero__title {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 3.2rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 28px;
  line-height: 1.1;
}

.cd-hero__tagline {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.15rem;
  color: #CAAA63;
  margin: 0 0 32px;
  letter-spacing: 0.02em;
}

.cd-hero__definition {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #FAF9F5;
  opacity: 0.6;
  line-height: 1.8;
  margin: 0;
}

/* Scroll indicator */
.cd-hero__scroll {
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.cd-hero__scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background-color: #CAAA63;
  animation: cd-pulse 2.4s ease-in-out infinite;
}

@keyframes cd-pulse {
  0%, 100% { opacity: 0.15; transform: scaleY(0.6); }
  50%      { opacity: 0.5;  transform: scaleY(1); }
}

@media (max-width: 576px) {

  .cd-hero__title {
    font-size: 1.8rem;
    letter-spacing: 0.2em;
  }

  .cd-hero__tagline {
    font-size: 1rem;
  }

  .cd-hero__definition {
    font-size: 0.9rem;
  }

}

@media (min-width: 577px) and (max-width: 992px) {

  .cd-hero__title {
    font-size: 2.4rem;
    letter-spacing: 0.25em;
  }

}

@media (min-width: 1230px) {

  .cd-hero__title {
    font-size: 4rem;
    letter-spacing: 0.35em;
  }

}


/* =================================================================
   SECTIONS — STRUCTURE
   ================================================================= */

.cd-section {
  padding: 80px 0;
}

.cd-section--cream {
  background-color: #FAF9F5;
}

.cd-section--dark {
  background-color: #1A1445;
}

.cd-section--violet-grey {
  background-color: #5A5670;
}

.cd-section--closing {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .cd-section {
    padding: 100px 0;
  }
}

@media (min-width: 992px) {
  .cd-section {
    padding: 120px 0;
  }
  .cd-section--closing {
    padding: 80px 0;
  }
}


/* =================================================================
   SECTIONS — TYPOGRAPHY
   ================================================================= */

.cd-section__title {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1A1445;
  margin: 0 0 40px;
  line-height: 1.2;
}

.cd-section__title--light {
  color: #fff;
}

/* Lead text */
.cd-text--lead {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  line-height: 1.75;
  color: #1A1445;
  margin: 0 0 28px;
}

.cd-text--lead.cd-text--mb-lg {
  margin-bottom: 48px;
}

/* Body text */
.cd-text--body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #5A5670;
  margin: 0 0 20px;
}

.cd-text--body:last-child {
  margin-bottom: 0;
}

.cd-text--body a {
  color: #CAAA63;
  text-decoration: none;
  border-bottom: 1px solid rgba(202, 170, 99, 0.3);
  transition: border-color 0.3s ease;
}

.cd-text--body a:hover {
  color: #CAAA63;
  border-bottom-color: #CAAA63;
  text-decoration: none;
}

/* Small text */
.cd-text--small {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #5A5670;
  margin: 0 0 8px;
}

.cd-text--small a {
  color: #CAAA63;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.cd-text--small a:hover {
  color: #CAAA63;
  opacity: 0.7;
  text-decoration: none;
}

.cd-text--contact {
  margin-top: 40px;
}

/* Colour modifiers */
.cd-text--cream {
  color: #FAF9F5;
}

.cd-text--cream-muted {
  color: rgba(250, 249, 245, 0.7);
}

@media (max-width: 576px) {

  .cd-section__title {
    font-size: 1.2rem;
  }

  .cd-text--lead {
    font-size: 1.1rem;
  }

}


/* =================================================================
   PROGRESSIVE MODEL — PILLARS
   ================================================================= */

.cd-pillars {
  display: flex;
  flex-direction: column;
}

.cd-pillar {
  padding: 24px 0 24px 28px;
  border-left: 1px solid rgba(202, 170, 99, 0.2);
  transition: border-color 0.4s ease;
}

.cd-pillar:hover {
  border-left-color: #CAAA63;
}

.cd-pillar--last {
  border-left-color: #CAAA63;
}

.cd-pillar__number {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  color: #CAAA63;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 6px;
}

.cd-pillar__title {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 8px;
}

.cd-pillar__text {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(250, 249, 245, 0.55);
  margin: 0;
}

@media (min-width: 992px) {

  .cd-pillar {
    padding: 32px 0 32px 36px;
  }

}


/* =================================================================
   AREAS OF IMPACT
   ================================================================= */

.cd-impact__item {
  padding: 28px 0;
  border-top: 1px solid #E8E6E2;
}

.cd-impact__item:last-child {
  border-bottom: 1px solid #E8E6E2;
}

.cd-impact__title {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1A1445;
  margin: 0 0 12px;
  line-height: 1.4;
}

.cd-impact__text {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #5A5670;
  margin: 0;
}


/* =================================================================
   IN PRACTICE — PLATFORM CARDS
   ================================================================= */

.cd-practice {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

.cd-practice__item {
  display: block;
  padding: 28px 0 28px 28px;
  border-left: 1px solid rgba(202, 170, 99, 0.15);
  text-decoration: none;
  transition: border-color 0.4s ease;
}

.cd-practice__item:hover {
  border-left-color: #CAAA63;
  text-decoration: none;
}

.cd-practice__label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  color: #CAAA63;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.cd-practice__title {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 8px;
}

.cd-practice__text {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(250, 249, 245, 0.55);
  margin: 0 0 12px;
}

.cd-practice__link {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #CAAA63;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.cd-practice__link i {
  font-size: 0.65rem;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.cd-practice__item:hover .cd-practice__link {
  opacity: 1;
}

.cd-practice__item:hover .cd-practice__link i {
  transform: translateX(4px);
}

@media (min-width: 992px) {

  .cd-practice__item {
    padding: 32px 0 32px 36px;
  }

}


/* =================================================================
   CALL TO ACTION
   ================================================================= */

.cd-cta {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #CAAA63;
  border: 1px solid rgba(202, 170, 99, 0.35);
  padding: 14px 40px;
  margin-top: 36px;
  text-decoration: none;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.cd-cta:hover {
  background-color: #CAAA63;
  border-color: #CAAA63;
  color: #1A1445;
  text-decoration: none;
}


/* =================================================================
   BACKGROUND COVER (shared utility — keep)
   ================================================================= */

.bgCover {
  background-size: cover;
  background-position: 50% 50%;
}

.bgHasParallax {
  background-attachment: scroll !important;
}

@media (min-width: 768px) {

  .bgHasParallax {
    background-attachment: fixed !important;
  }

}


/* =================================================================
   FOOTER OVERRIDES
   ================================================================= */

.ftAreaWrap {
  background-color: #FAF9F5;
}

.footerAside h2 {
  font-weight: 400;
}

.footerAside h3 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 400;
}

#pageFooter {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.ftTermLinks a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.newsletterAside h3, .newsletterAside .h3 {
  font-size: 1.25rem;
}


/* =================================================================
   FULL LINK NAV (shared utility — keep)
   ================================================================= */

.hmFullLinkingNav {
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 9;
  right: 10px;
}

.hmFullLinkingNav li {
  margin-top: 10px;
  margin-bottom: 10px;
}

.hmFullLinkingNav li.active a {
  background-color: #fff;
  border: 1px solid #1A1445;
}

.hmFullLinkingNav a {
  pointer-events: auto;
  border-radius: 100%;
  background-color: #1A1445;
  border: 1px solid #fff;
  display: block;
  transition: background-color 0.3s ease;
  width: 10px;
  height: 10px;
}

.hmFullLinkingNav a:hover {
  background-color: #fff;
}


/* =================================================================
   SELECTION COLOUR
   ================================================================= */

::selection {
  background-color: #CAAA63;
  color: #1A1445;
}

::-moz-selection {
  background-color: #CAAA63;
  color: #1A1445;
}
