@font-face {
  font-family: "Thmanyah Sans";
  src: url("./fonts/thmanyah-sans-light.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("./fonts/thmanyah-sans-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("./fonts/thmanyah-sans-medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("./fonts/thmanyah-sans-bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("./fonts/thmanyah-sans-black.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

:root {
  --navy: #071b46;
  --navy-2: #0b2558;
  --gold: #b88a47;
  --gold-2: #d0ad76;
  --cream: #fbf8f2;
  --cream-2: #f4efe6;
  --text: #21304e;
  --muted: #6a7287;
  --line: #eadfce;
  --green: #5b983d;
  --teal: #4a9aa1;
  --blue: #456dbf;
  --shadow: 0 12px 28px rgba(7, 27, 70, .08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--navy);
  font-family: "Thmanyah Sans", Tahoma, Arial, sans-serif;
  line-height: 1.8;
}

noscript {
  display: block;
  margin: 20px auto;
  width: min(940px, calc(100% - 28px));
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.page {
  width: min(1180px, calc(100% - 28px));
  margin: 22px auto;
  background: var(--cream);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .24);
}

.inside {
  padding: 24px 24px 18px;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 18px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 26px 26px 12px 12px;
  background: var(--navy);
  box-shadow: inset 0 0 0 3px rgba(184, 138, 71, .22), 0 12px 24px rgba(7, 27, 70, .12);
}

.brand-logo img,
.round-logo img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  display: block;
}

.brand-text h1 {
  margin: 0;
  font-size: 25px;
  color: var(--navy);
  letter-spacing: -.5px;
}

.brand-text p {
  margin: -4px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.date-card {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  text-align: right;
  font-weight: 700;
}

.date-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 28px;
}

.date-card small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.panel {
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 170px 1fr;
  align-items: center;
  gap: 22px;
  padding: 18px 28px;
  margin-bottom: 18px;
}

.mv-card {
  text-align: center;
  min-height: 118px;
  display: grid;
  align-content: center;
}

.mv-card h2 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 20px;
}

.mv-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

.round-logo {
  width: 142px;
  height: 142px;
  margin: auto;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .04);
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 18px 0;
  margin-bottom: 18px;
}

.stat {
  text-align: center;
  padding: 8px 14px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
}

.stat .icon {
  display: block;
  font-size: 34px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  opacity: .85;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 28px;
  line-height: 1.2;
}

.stat span:last-child {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 230px;
  gap: 18px;
  margin-bottom: 18px;
  align-items: stretch;
}

.dark-card {
  min-height: 230px;
  background: radial-gradient(circle at 25% 52%, rgba(184, 138, 71, .24), transparent 30%), var(--navy);
  border-radius: 14px;
  color: #fff;
  padding: 18px 18px 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.dark-card h3,
.ad-card h3 {
  margin: 0 0 18px;
  text-align: center;
  color: var(--gold);
  font-size: 18px;
}

.title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.title-line::before,
.title-line::after {
  content: "";
  height: 1px;
  width: 52px;
  background: var(--gold);
  opacity: .7;
}

.employee {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 0 42%, #b88947 42% 100%);
  border: 4px solid rgba(255, 255, 255, .9);
  position: relative;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 30px;
  font-weight: 900;
}

.avatar::after {
  content: "★";
  position: absolute;
  left: -2px;
  bottom: -2px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--gold);
  font-size: 16px;
  box-shadow: 0 0 0 2px var(--gold);
}

.employee h4,
.admin h4 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #fff;
}

.employee p,
.admin p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.admin {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 18px;
  height: calc(100% - 52px);
}

.admin-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
}

.cup {
  position: absolute;
  top: 18px;
  left: 22px;
  color: var(--gold);
  font-size: 32px;
}

.ad-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 2px dashed var(--gold);
  background: #fffaf4;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: 58px 1fr;
}

.ad-card h3 {
  background: var(--navy);
  display: grid;
  place-items: center;
  margin: 0;
}

.ad-body {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  background:
    linear-gradient(45deg, rgba(184, 138, 71, .08) 25%, transparent 25%, transparent 75%, rgba(184, 138, 71, .08) 75%),
    linear-gradient(45deg, rgba(184, 138, 71, .08) 25%, transparent 25%, transparent 75%, rgba(184, 138, 71, .08) 75%),
    #fffaf4;
  background-position: 0 0, 13px 13px;
  background-size: 26px 26px;
}

.ad-placeholder {
  width: 100%;
  height: 100%;
  min-height: 150px;
  border: 2px dashed rgba(184, 138, 71, .65);
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, .72);
}

.ad-placeholder-icon {
  display: block;
  color: var(--gold);
  font-size: 38px;
  line-height: 1;
  margin-bottom: 8px;
}

.ad-placeholder strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.5;
}

.ad-placeholder span:last-child {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: -.2px;
}

.section-title::before,
.section-title::after {
  content: "◆";
  color: var(--gold);
  font-size: 12px;
}

.progress-panel {
  padding: 20px 26px;
  margin-bottom: 20px;
}

.progress-content {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 24px;
  align-items: center;
}

.bars {
  display: grid;
  gap: 18px;
}

.bar-row {
  display: grid;
  grid-template-columns: 260px 1fr 54px;
  gap: 16px;
  align-items: center;
  font-weight: 700;
  color: var(--text);
}

.bar {
  height: 13px;
  border-radius: 50px;
  background: #e8e4dc;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: var(--c);
}

.gauge {
  width: 200px;
  height: 200px;
  margin: auto;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 260deg, #dfddd7 260deg 360deg);
  display: grid;
  place-items: center;
  position: relative;
}

.gauge::before {
  content: "";
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: var(--cream);
  position: absolute;
}

.gauge-text {
  position: relative;
  text-align: center;
  z-index: 1;
}

.gauge-text span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.gauge-text strong {
  display: block;
  color: var(--navy);
  font-size: 52px;
  line-height: 1.1;
}

.partners {
  margin-bottom: 22px;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.partner {
  min-height: 72px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  color: #0b6d5a;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 8px 16px rgba(7, 27, 70, .04);
}

.partner.small {
  color: var(--navy);
  font-size: 13px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.department {
  background: rgba(255, 255, 255, .42);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(7, 27, 70, .05);
}

.department-head {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  align-items: center;
  min-height: 54px;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 900;
  font-size: 14px;
}

.department-head .dept-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--gold);
}

.task-list {
  display: grid;
  gap: 10px;
}

.task {
  min-height: 66px;
  background: #fffaf4;
  border: 1px solid #eee4d6;
  border-radius: 10px;
  padding: 10px 10px 10px 8px;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 9px;
  align-items: start;
  font-size: 13px;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(184, 138, 71, .05);
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--c);
}

.done {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.done strong {
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.bottom-news {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 18px;
}

.partners-with-qr {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 22px;
}

.partners-with-qr .partners {
  margin-bottom: 0;
}

.partners-with-qr .qr-card {
  align-self: end;
  min-height: 92px;
}

.qr-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.qr {
  width: 76px;
  height: 76px;
  background:
    linear-gradient(90deg, #111 12px, transparent 12px 22px, #111 22px 34px, transparent 34px 44px, #111 44px 56px, transparent 56px),
    linear-gradient(#111 10px, transparent 10px 22px, #111 22px 34px, transparent 34px 45px, #111 45px 58px, transparent 58px),
    #fff;
  border: 7px solid #fff;
  box-shadow: 0 0 0 2px #111 inset, 0 0 0 1px var(--line);
}

.qr-card strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.qr-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.news-card {
  background: var(--navy);
  color: white;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 62px 1fr 52px;
  gap: 8px;
  align-items: center;
  padding: 14px 18px;
  min-height: 86px;
}

.news-card h3 {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 18px;
}

.news-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .88);
}

.news-card small {
  color: rgba(255, 255, 255, .65);
  font-weight: 700;
}

.megaphone {
  font-size: 36px;
  color: var(--gold);
  text-align: center;
}

.quote {
  font-size: 34px;
  color: var(--gold);
  text-align: center;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 14px;
  background: var(--navy);
  color: #fff;
  padding: 16px 24px;
  min-height: 70px;
}

.social {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  direction: ltr;
  color: var(--gold);
  font-weight: 700;
}

.social .circle {
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.tagline {
  text-align: center;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}

.book {
  text-align: left;
  color: var(--gold);
  font-size: 32px;
}

.fade-in {
  animation: fadeIn .35s ease both;
}

@keyframes fadeIn {
  from {
    opacity: .55;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .inside {
    padding: 18px 14px;
  }

  .topbar,
  .mission-vision,
  .featured-grid,
  .progress-content,
  .bottom-news,
  .partners-with-qr,
  .footer {
    grid-template-columns: 1fr;
  }

  .date-card,
  .brand,
  .footer,
  .book,
  .tagline {
    text-align: center;
    justify-content: center;
  }

  .mission-vision {
    gap: 10px;
  }

  .round-logo {
    order: -1;
  }

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

  .stat:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .stat:nth-child(even) {
    border-left: 0;
  }

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

  .bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ad-card {
    aspect-ratio: auto;
    min-height: 220px;
  }

  .admin,
  .employee,
  .qr-card,
  .news-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .avatar,
  .admin-icon,
  .qr {
    margin: auto;
  }

  .social {
    justify-content: center;
  }
}

@media (min-width: 1600px) and (min-height: 3000px) and (orientation: portrait) {
  body {
    min-height: 100vh;
    overflow: hidden;
    display: grid;
    place-items: center;
  }

  .page {
    width: 1180px;
    margin: 0;
    transform: scale(1.72);
    transform-origin: center center;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 16px, 940px);
    margin: 8px auto;
  }

  .brand {
    flex-direction: column;
  }

  .brand-text h1 {
    font-size: 20px;
  }

  .stats,
  .partner-list,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(odd) {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .progress-panel {
    padding: 18px 14px;
  }
}
