/* ==========================================================================
   Child Development Society — 2026 redesign
   Implements the "CDS Nepal" Claude Design (design tokens + components).
   ========================================================================== */

:root {
  --cds-bg: #f6f3ee;
  --cds-ink: #1c1e24;
  --cds-navy: #12314f;
  --cds-navy-deep: #0e2740;
  --cds-navy-hero: #0b2138;
  --cds-blue: #1e63b0;
  --cds-blue-dark: #164f8c;
  --cds-orange: #c9542f;
  --cds-orange-light: #e88a4a;
  --cds-border: #ece5d9;
  --cds-border-dark: #e8e1d6;
  --cds-muted: #6b6357;
  --cds-muted-2: #7a7266;
  --cds-muted-3: #948a7c;
  --cds-body: #544c40;
  --cds-font: 'Poppins', 'Mukta', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--cds-font);
  color: var(--cds-ink);
  background: var(--cds-bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
a { color: inherit; }
::selection { background: var(--cds-orange); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #d8cfc2; border-radius: 6px; }

@keyframes cdsFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cds-fade { animation: cdsFade .45s ease; }

main { flex: 1; }

/* ------- layout ------- */
.cds-container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.cds-container--md { max-width: 1100px; }
.cds-container--sm { max-width: 1000px; }
.cds-container--xs { max-width: 940px; }

/* ------- utility bar ------- */
.cds-utilbar { background: var(--cds-navy); color: #dfe7ef; font-size: 13px; }
.cds-utilbar__in { max-width: 1200px; margin: 0 auto; padding: 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cds-utilbar__contacts { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cds-utilbar a { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 7px; }
.cds-utilbar__right { display: flex; align-items: center; gap: 18px; }
.cds-utilbar__social { display: flex; align-items: center; gap: 12px; }
.cds-utilbar__social a { opacity: .85; }
.cds-utilbar__social a:hover { opacity: 1; }
.cds-utilbar__dot { opacity: .3; }
.cds-langbtn { background: transparent; border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 3px 11px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: .3px; }
.cds-langbtn:hover { background: rgba(255,255,255,.12); }

/* ------- header ------- */
.cds-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--cds-border-dark); }
.cds-header__in { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cds-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; text-align: left; }
.cds-brand img { height: 52px; width: 52px; object-fit: contain; border-radius: 8px; }
.cds-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.cds-brand__name { font-size: 20px; font-weight: 600; color: var(--cds-navy); }
.cds-brand__tag { font-size: 12px; color: #8a7f70; letter-spacing: .5px; }

.cds-nav { display: flex; align-items: center; gap: 4px; }
.cds-nav__link { text-decoration: none; background: transparent; border: none; color: #4a4a52; padding: 9px 15px; border-radius: 8px; font-weight: 500; font-size: 14.5px; white-space: nowrap; }
.cds-nav__link:hover { background: #f2efe8; color: var(--cds-navy); }
.cds-nav__link.is-active { background: #eef2f6; color: var(--cds-navy); font-weight: 700; }
.cds-btn-donate { margin-left: 10px; background: var(--cds-blue); color: #fff !important; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; box-shadow: 0 1px 2px rgba(30,99,176,.4); text-decoration: none; white-space: nowrap; }
.cds-btn-donate:hover { background: var(--cds-blue-dark); }

/* dropdown */
.cds-nav__item { position: relative; }
.cds-nav__drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; background: #fff; border: 1px solid var(--cds-border); border-radius: 12px; box-shadow: 0 14px 34px rgba(18,49,79,.13); padding: 8px; display: none; z-index: 60; }
.cds-nav__item:hover .cds-nav__drop, .cds-nav__item:focus-within .cds-nav__drop { display: block; }
.cds-nav__drop a { display: block; text-decoration: none; padding: 9px 13px; border-radius: 8px; font-size: 14px; color: #4a4a52; }
.cds-nav__drop a:hover { background: #f2efe8; color: var(--cds-navy); }

/* mobile nav */
.cds-navtoggle { display: none; background: none; border: 1px solid #d3cabb; border-radius: 8px; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--cds-navy); }
.cds-mobilenav { display: none; background: #fff; border-bottom: 1px solid var(--cds-border-dark); padding: 10px 24px 18px; }
.cds-mobilenav.is-open { display: block; }
.cds-mobilenav a { display: block; text-decoration: none; padding: 11px 8px; font-size: 15.5px; color: #333; border-bottom: 1px solid #f3efe7; }
.cds-mobilenav a:last-child { border-bottom: none; }
.cds-mobilenav__group { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--cds-muted-3); padding: 14px 8px 4px; }

@media (max-width: 980px) {
  .cds-nav { display: none; }
  .cds-navtoggle { display: inline-flex; align-items: center; gap: 8px; }
}

/* ------- buttons ------- */
.cds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: none; border-radius: 9px; font-weight: 600; text-decoration: none; cursor: pointer; }
.cds-btn--blue { background: var(--cds-blue); color: #fff; padding: 15px 30px; font-size: 16px; }
.cds-btn--blue:hover { background: var(--cds-blue-dark); }
.cds-btn--navy { background: var(--cds-navy); color: #fff; padding: 13px 26px; font-size: 15px; border-radius: 8px; }
.cds-btn--navy:hover { background: var(--cds-navy-deep); }
.cds-btn--ghost-dark { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); padding: 15px 30px; font-size: 16px; }
.cds-btn--ghost-dark:hover { background: rgba(255,255,255,.2); }
.cds-btn--outline { background: none; border: 1px solid #d3cabb; color: var(--cds-navy); padding: 11px 22px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.cds-btn--outline:hover { border-color: var(--cds-navy); }
.cds-btn--white-on-dark { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 11px 22px; border-radius: 8px; font-size: 14px; }
.cds-btn--white-on-dark:hover { background: rgba(255,255,255,.22); }
.cds-btn--sm { padding: 10px 20px; font-size: 14px; border-radius: 8px; }

/* ------- section headings ------- */
.cds-kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cds-orange); margin-bottom: 12px; }
.cds-kicker--light { color: var(--cds-orange-light); }
.cds-kicker--blue { color: #8fbbe6; }
.cds-h2 { font-weight: 500; font-size: clamp(28px, 3.5vw, 40px); margin: 0; color: var(--cds-navy); line-height: 1.15; }
.cds-section { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.cds-section__head-center { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.cds-section__head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

/* ------- hero ------- */
.cds-hero { position: relative; background: var(--cds-navy-deep); color: #fff; overflow: hidden; }
.cds-hero__stage { position: relative; display: grid; min-height: min(76vh, 600px); }
.cds-hero__slide { position: relative; grid-area: 1 / 1; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; z-index: 0; overflow: hidden; }
.cds-hero__slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.cds-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.cds-hero__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, #0b2138 0%, rgba(11,33,56,.82) 45%, rgba(11,33,56,.32) 100%); }
.cds-hero__content { position: relative; min-height: min(76vh, 600px); height: 100%; max-width: 1200px; margin: 0 auto; padding: 74px 24px; display: flex; align-items: center; box-sizing: border-box; }
.cds-hero__inner { max-width: 648px; }
.cds-hero__chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 6px 14px; border-radius: 30px; font-size: 13px; font-weight: 600; letter-spacing: .4px; margin-bottom: 24px; }
.cds-hero__chip::before { content: ''; width: 7px; height: 7px; background: var(--cds-orange-light); border-radius: 50%; }
.cds-hero__title { font-weight: 600; font-size: clamp(34px, 4.8vw, 56px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -.5px; }
.cds-hero__body { font-size: 19px; line-height: 1.6; color: #dbe3ec; margin: 0 0 32px; max-width: 560px; }
.cds-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.cds-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.cds-hero__arrow:hover { background: rgba(255,255,255,.28); }
.cds-hero__arrow--prev { left: 22px; }
.cds-hero__arrow--next { right: 22px; }
.cds-hero__dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 6; }
.cds-hero__dot { width: 10px; height: 10px; border-radius: 20px; border: none; background: rgba(255,255,255,.5); transition: all .3s; padding: 0; }
.cds-hero__dot.is-active { width: 30px; background: #fff; }
.cds-stats { position: relative; border-top: 1px solid rgba(255,255,255,.13); background: rgba(0,0,0,.16); }
.cds-stats__in { max-width: 1200px; margin: 0 auto; padding: 22px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cds-stats__num { font-size: 30px; font-weight: 600; color: #fff; display: block; }
.cds-stats__label { font-size: 13px; color: #c3cfdb; letter-spacing: .3px; }

/* ------- cards ------- */
.cds-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cds-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cds-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.cds-card { background: #fff; border: 1px solid var(--cds-border); border-radius: 14px; padding: 28px 24px; transition: transform .2s, box-shadow .2s; }
.cds-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(18,49,79,.1); }
.cds-card__icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.cds-card h3 { font-weight: 600; font-size: 20px; margin: 0 0 8px; color: var(--cds-ink); }
.cds-card p { font-size: 14.5px; line-height: 1.6; color: var(--cds-muted); margin: 0; }

.cds-person { background: #fff; border: 1px solid var(--cds-border); border-radius: 14px; overflow: hidden; }
/* aspect-ratio (not a fixed height) so portraits aren't cropped to a sliver
   when cards go full-width on small screens */
.cds-person img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; }
.cds-person__body { padding: 16px 16px 20px; }
.cds-person__name { font-weight: 600; font-size: 15.5px; color: var(--cds-ink); line-height: 1.25; }
.cds-person__role { font-size: 13px; color: var(--cds-orange); font-weight: 600; margin-top: 4px; }
.cds-person--sm img { aspect-ratio: 1 / 1; }
.cds-person--sm .cds-person__body { padding: 14px; }
.cds-person--sm .cds-person__name { font-size: 14.5px; }
.cds-person--sm .cds-person__role { font-size: 12.5px; margin-top: 3px; }

/* ------- about split ------- */
.cds-about { background: #fff; border-top: 1px solid var(--cds-border); border-bottom: 1px solid var(--cds-border); }
.cds-about__in { max-width: 1200px; margin: 0 auto; padding: 76px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cds-about__in p { font-size: 16px; line-height: 1.75; color: var(--cds-body); margin: 0 0 18px; }
.cds-about__media { position: relative; }
.cds-about__media > img { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; }
.cds-about__badge { position: absolute; left: -18px; bottom: -18px; background: var(--cds-blue); color: #fff; padding: 20px 24px; border-radius: 14px; box-shadow: 0 12px 28px rgba(30,99,176,.3); }
.cds-about__badge-year { font-size: 34px; font-weight: 600; line-height: 1; }
.cds-about__badge-label { font-size: 13px; opacity: .9; margin-top: 2px; }

/* ------- dark sections (news preview / fb) ------- */
.cds-dark { background: var(--cds-navy); color: #fff; }
.cds-dark .cds-h2 { color: #fff; }
.cds-newscard { display: block; text-align: left; background: #173a5d; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; padding: 0; color: #fff; transition: transform .2s; text-decoration: none; }
.cds-newscard:hover { transform: translateY(-4px); }
.cds-newscard img { width: 100%; height: 180px; object-fit: cover; }
.cds-newscard__body { padding: 20px; }
.cds-newscard__meta { font-size: 12.5px; color: var(--cds-orange-light); font-weight: 600; letter-spacing: .4px; margin-bottom: 8px; }
.cds-newscard__title { font-size: 19px; line-height: 1.3; color: #fff; overflow-wrap: anywhere; }

.cds-fb { background: var(--cds-navy); color: #fff; position: relative; overflow: hidden; }
.cds-fb__blob { position: absolute; top: -80px; right: -60px; width: 340px; height: 340px; border-radius: 50%; background: rgba(143,187,230,.08); }
.cds-fb__in { position: relative; max-width: 1200px; margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1fr 384px; gap: 64px; align-items: center; }
.cds-fb__kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8fbbe6; margin-bottom: 16px; }
.cds-fb__f { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: #1877F2; color: #fff; font-weight: 800; font-size: 15px; }
.cds-fb__title { font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 16px; color: #fff; line-height: 1.12; }
.cds-fb__body { font-size: 16.5px; line-height: 1.7; color: #c9d4df; margin: 0 0 30px; max-width: 470px; }
.cds-fb__btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--cds-navy); text-decoration: none; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.cds-fb__btn:hover { background: #eaf1f9; }
.cds-fb__card { justify-self: end; width: 100%; max-width: 384px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 26px 60px rgba(0,0,0,.35); }
.cds-fb__cardhead { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #eef0f2; }
.cds-fb__cardhead img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid #e7edf3; background: #fff; }
.cds-fb__pagename { font-weight: 700; font-size: 14.5px; color: var(--cds-ink); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cds-fb__handle { font-size: 12.5px; color: #8a8f98; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cds-fb__follow { background: #1877F2; color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; padding: 7px 15px; border-radius: 7px; white-space: nowrap; }
.cds-fb__frame { height: 472px; overflow: hidden; background: #f0f2f5; }
.cds-fb__frame iframe { border: none; overflow: hidden; display: block; width: 100%; }

/* ------- CTA panel ------- */
.cds-cta-panel { background: linear-gradient(120deg, #e9f1f9, #f2f7fc); border: 1px solid #d6e4f1; border-radius: 20px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cds-cta-panel h2 { font-weight: 500; font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 12px; color: var(--cds-navy); }
.cds-cta-panel p { font-size: 16px; line-height: 1.65; color: var(--cds-muted); margin: 0; }

/* ------- page hero band ------- */
.cds-pagehero { background: var(--cds-navy); color: #fff; }
.cds-pagehero__in { margin: 0 auto; padding: 64px 24px 56px; }
.cds-pagehero h1 { font-weight: 500; font-size: clamp(34px, 4.5vw, 50px); margin: 0; line-height: 1.1; }
.cds-pagehero p { font-size: 17px; color: #c9d4df; margin: 14px 0 0; max-width: 620px; line-height: 1.6; }

/* ------- news list rows ------- */
.cds-newsrow { background: #fff; border: 1px solid var(--cds-border); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 260px 1fr; transition: box-shadow .2s; text-decoration: none; color: inherit; }
.cds-newsrow:hover { box-shadow: 0 10px 26px rgba(18,49,79,.09); }
.cds-newsrow > img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; }
.cds-newsrow__body { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; }
.cds-newsrow__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.cds-tag { background: #fbeee3; color: var(--cds-orange); font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 20px; letter-spacing: .3px; overflow-wrap: anywhere; }
.cds-tag--navy { background: #eef3f8; color: var(--cds-navy); }
.cds-newsrow__date { font-size: 13px; color: var(--cds-muted-3); }
.cds-newsrow__title { font-weight: 600; font-size: 22px; margin: 0 0 8px; color: var(--cds-ink); line-height: 1.3; overflow-wrap: anywhere; }
.cds-newsrow__excerpt { font-size: 14.5px; color: var(--cds-muted); line-height: 1.6; margin: 0; }

/* ------- article ------- */
.cds-article { background: #fff; border: 1px solid var(--cds-border); border-radius: 16px; padding: 40px; }
.cds-article img { max-width: 100%; height: auto; border-radius: 12px; }
.cds-article__lead { width: 100%; max-height: 460px; object-fit: cover; border-radius: 14px; margin-bottom: 28px; }
.cds-prose { font-size: 16.5px; line-height: 1.8; color: #403a30; overflow-wrap: anywhere; }
.cds-prose p { margin: 0 0 18px; }

/* ------- job cards ------- */
.cds-job { background: #fff; border: 1px solid var(--cds-border); border-radius: 16px; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; transition: box-shadow .2s, border-color .2s; }
.cds-job:hover { box-shadow: 0 12px 28px rgba(18,49,79,.1); border-color: #d8cebd; }
.cds-job__main { flex: 1; min-width: 260px; }
.cds-job__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.cds-job__meta-item { font-size: 13px; color: var(--cds-muted-3); display: inline-flex; align-items: center; gap: 5px; }
.cds-job__deadline { font-size: 13px; color: var(--cds-orange); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.cds-job h3 { font-weight: 600; font-size: 23px; margin: 0 0 6px; color: var(--cds-ink); }
.cds-job p { font-size: 14.5px; color: var(--cds-muted); margin: 0; line-height: 1.55; }
.cds-job__side { display: flex; align-items: center; gap: 12px; }
.cds-empty { margin-top: 36px; background: #fff; border: 1px dashed #d8cebd; border-radius: 14px; padding: 26px; text-align: center; color: var(--cds-muted-2); font-size: 14.5px; }

/* ------- job detail ------- */
.cds-jobdetail { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.cds-jobdetail h3 { font-weight: 600; font-size: 22px; color: var(--cds-navy); margin: 0 0 16px; }
.cds-checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 38px; }
.cds-checklist__item { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.6; color: #463f34; }
.cds-checklist__item::before { content: '✓'; color: var(--cds-orange); font-weight: 700; }
.cds-aside { position: sticky; top: 100px; background: #fff; border: 1px solid var(--cds-border); border-radius: 16px; padding: 26px; }
.cds-aside__title { font-size: 13px; color: var(--cds-muted-3); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 16px; }
.cds-aside__rows { display: flex; flex-direction: column; gap: 15px; margin-bottom: 24px; }
.cds-aside__label { font-size: 12.5px; color: var(--cds-muted-3); margin-bottom: 2px; }
.cds-aside__value { font-weight: 600; font-size: 15px; }
.cds-aside__value--deadline { color: var(--cds-orange); }

/* ------- forms ------- */
.cds-formcard { background: #fff; border: 1px solid #e6ddce; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(18,49,79,.08); }
.cds-formcard__head { padding: 32px 40px 26px; border-bottom: 1px solid #f0eadf; }
.cds-formcard__body { padding: 36px 40px 40px; }
.cds-formcard__kicker { font-size: 13px; color: var(--cds-orange); font-weight: 700; letter-spacing: .4px; margin-bottom: 6px; }
.cds-formcard__title { font-weight: 600; font-size: 26px; margin: 0; color: var(--cds-navy); }
.cds-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cds-field { display: flex; flex-direction: column; gap: 7px; }
.cds-field--full { grid-column: 1 / -1; }
.cds-field > span { font-size: 13.5px; font-weight: 600; color: #463f34; }
.cds-req { color: var(--cds-orange); }
.cds-input, .cds-textarea, .cds-select {
  padding: 12px 14px; border: 1px solid #ddd4c6; border-radius: 9px; font-size: 15px; background: #fcfaf6; width: 100%;
}
.cds-textarea { resize: vertical; line-height: 1.6; }
.cds-input:focus, .cds-textarea:focus, .cds-select:focus { outline: 2px solid rgba(30,99,176,.35); border-color: var(--cds-blue); }
.cds-filefield { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1.5px dashed #d3c8b6; border-radius: 12px; padding: 20px 22px; background: #fcfaf6; cursor: pointer; }
.cds-filefield:hover { border-color: var(--cds-orange); }
.cds-filefield__name { font-weight: 600; font-size: 15px; color: var(--cds-ink); }
.cds-filefield__status { font-size: 13px; color: #8a8072; margin-top: 2px; }
.cds-filefield__btn { background: var(--cds-navy); color: #fff; padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.cds-filefield__btn--alt { background: #efe8dc; color: var(--cds-navy); }
.cds-filefield input[type=file] { display: none; }
.cds-form-errors { background: #fdeeea; border: 1px solid #f2c4b6; color: #8c2f14; border-radius: 10px; padding: 14px 18px; font-size: 14px; margin-bottom: 20px; }
.cds-form-errors ul { margin: 4px 0 0; padding-left: 18px; }
.cds-form-actions { display: flex; align-items: center; justify-content: flex-end; margin-top: 34px; padding-top: 26px; border-top: 1px solid #f0eadf; gap: 12px; }
.cds-btn-submit { background: var(--cds-blue); color: #fff; border: none; padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 15.5px; }
.cds-btn-submit:hover { background: var(--cds-blue-dark); }

/* ------- contact ------- */
.cds-contactgrid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.cds-infocard { background: #fff; border: 1px solid var(--cds-border); border-radius: 14px; padding: 24px; }
.cds-infocard__icon { font-size: 24px; margin-bottom: 12px; }
.cds-infocard__label { font-size: 12.5px; color: var(--cds-muted-3); text-transform: uppercase; letter-spacing: .8px; font-weight: 700; margin-bottom: 6px; }
.cds-infocard__value { font-size: 15.5px; color: var(--cds-ink); line-height: 1.55; font-weight: 500; }
.cds-panel { background: #fff; border: 1px solid var(--cds-border); border-radius: 16px; padding: 32px 34px; }
.cds-panel h3 { font-weight: 600; font-size: 22px; margin: 0 0 20px; color: var(--cds-navy); }

/* ------- gallery ------- */
.cds-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cds-gallery__item { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--cds-border); background: #fff; display: block; text-decoration: none; }
.cds-gallery__item img { width: 100%; height: 240px; object-fit: cover; transition: transform .3s; }
.cds-gallery__item:hover img { transform: scale(1.04); }
.cds-gallery__caption { padding: 13px 16px; font-size: 14px; font-weight: 600; color: var(--cds-ink); }
.cds-gallery__play { position: absolute; top: 96px; left: 50%; transform: translate(-50%, 0); width: 54px; height: 54px; border-radius: 50%; background: rgba(18,49,79,.82); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 4px; }

/* ------- resources ------- */
.cds-resource { background: #fff; border: 1px solid var(--cds-border); border-radius: 14px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; transition: box-shadow .2s; }
.cds-resource:hover { box-shadow: 0 10px 24px rgba(18,49,79,.08); }
.cds-resource__title { font-weight: 600; font-size: 16px; color: var(--cds-ink); display: flex; align-items: center; gap: 12px; }

/* ------- events ------- */
.cds-event { background: #fff; border: 1px solid var(--cds-border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; text-decoration: none; color: inherit; }
.cds-event:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(18,49,79,.1); }
.cds-event img { width: 100%; height: 200px; object-fit: cover; }
.cds-event__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cds-event__title { font-weight: 600; font-size: 19px; color: var(--cds-ink); line-height: 1.3; }
.cds-event__meta { font-size: 13.5px; color: var(--cds-muted-3); display: flex; flex-direction: column; gap: 4px; }

/* ------- footer ------- */
.cds-footer { background: var(--cds-navy-deep); color: #c3cfdb; margin-top: auto; }
.cds-footer__in { max-width: 1200px; margin: 0 auto; padding: 56px 24px 30px; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 44px; }
.cds-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cds-footer__brand img { height: 46px; width: 46px; object-fit: contain; border-radius: 8px; background: #fff; }
.cds-footer__brand span { font-size: 18px; font-weight: 600; color: #fff; }
.cds-footer__about { font-size: 14px; line-height: 1.7; color: #98a8b8; margin: 0 0 18px; max-width: 380px; }
.cds-footer__social { display: flex; gap: 10px; }
.cds-footer__social a { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; font-size: 13px; font-weight: 700; }
.cds-footer__social a:hover { background: rgba(255,255,255,.18); }
.cds-footer__title { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.cds-footer__links { display: flex; flex-direction: column; gap: 11px; }
.cds-footer__links a { color: #98a8b8; text-decoration: none; font-size: 14.5px; }
.cds-footer__links a:hover { color: #fff; }
.cds-footer__contact { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.6; color: #98a8b8; }
.cds-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.cds-footer__bottom-in { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #7f909f; }
.cds-footer__bottom-in a { color: #a9bccf; text-decoration: none; }

/* ------- notice modal ------- */
.cds-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(11,33,56,.6); backdrop-filter: blur(3px); }
.cds-modal.is-open { display: flex; }
.cds-modal__box { background: #fff; border-radius: 18px; max-width: 620px; width: 100%; max-height: 86vh; overflow: auto; padding: 34px 36px; position: relative; animation: cdsFade .3s ease; }
.cds-modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: none; background: #f0ece4; color: var(--cds-navy); font-size: 17px; font-weight: 700; }
.cds-modal__box h2 { font-weight: 600; font-size: 24px; color: var(--cds-navy); margin: 0 0 12px; padding-right: 36px; }
.cds-modal__box p { font-size: 15px; line-height: 1.7; color: var(--cds-body); }

/* ------- toasts ------- */
.cds-toasts { position: fixed; top: 18px; right: 18px; z-index: 300; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.cds-toast { background: var(--cds-navy); color: #fff; border-radius: 12px; padding: 15px 20px; font-size: 14.5px; box-shadow: 0 14px 34px rgba(0,0,0,.25); animation: cdsFade .35s ease; display: flex; gap: 10px; align-items: flex-start; }
.cds-toast--error { background: #8c2f14; }
.cds-toast--success { background: #2f7d5b; }

/* honeypot: visually gone but present for bots */
.cds-hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; opacity: 0; }

/* ------- misc ------- */
.cds-stack { display: flex; flex-direction: column; gap: 20px; }
.cds-stack--sm { gap: 18px; }
.cds-focusrow { display: flex; gap: 13px; padding: 12px 0; border-bottom: 1px solid #f0eadf; }
.cds-focusrow:last-child { border-bottom: none; }
.cds-focusrow__icon { font-size: 20px; }
.cds-focusrow__title { font-weight: 600; font-size: 15px; color: var(--cds-ink); }
.cds-focusrow__body { font-size: 13.5px; color: var(--cds-muted-2); line-height: 1.5; }
.cds-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--cds-border); border-radius: 30px; padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--cds-navy); }
.cds-chip small { font-weight: 600; color: var(--cds-muted-3); }
.cds-backlink { background: none; border: none; color: var(--cds-muted-2); font-size: 14px; font-weight: 600; padding: 0; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.cds-backlink--light { color: #a9bccf; }

/* ------- responsive ------- */
@media (max-width: 1080px) {
  .cds-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .cds-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cds-grid-3, .cds-gallery { grid-template-columns: repeat(2, 1fr); }
  .cds-about__in, .cds-fb__in, .cds-contactgrid, .cds-jobdetail { grid-template-columns: 1fr; }
  .cds-fb__card { justify-self: start; }
  .cds-aside { position: static; }
  .cds-stats__in { grid-template-columns: repeat(2, 1fr); }
  .cds-section { padding: 56px 24px; }
  .cds-cta-panel { padding: 36px 28px; }
  .cds-newsrow { grid-template-columns: 1fr; }
  .cds-newsrow > img { max-height: 220px; }
  .cds-formcard__head, .cds-formcard__body { padding-left: 24px; padding-right: 24px; }
  .cds-article { padding: 24px; }
}
@media (max-width: 600px) {
  .cds-grid-5, .cds-grid-4, .cds-grid-3, .cds-gallery { grid-template-columns: 1fr; }
  .cds-form-grid { grid-template-columns: 1fr; }
  .cds-hero__arrow { display: none; }
  .cds-brand__name { font-size: 16px; }
  .cds-footer__in { grid-template-columns: 1fr; gap: 32px; }
}
