:root {
  --paper: #F3F2ED;
  --panel: #efeee9;
  --white: #ffffff;
  --green: #7abd38;
  --deep-green: #0d5231;
  --ink: #252525;
  --muted: #6f716b;
  --line: #78b938;
  --focus: #174fdd;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.app-root {
  min-height: 100vh;
}

.landing-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 48px;
  isolation: isolate;
}

.landing-orbit {
  position: absolute;
  z-index: -1;
  width: 760px;
  max-width: 74%;
  min-width: 420px;
  height: auto;
  opacity: 0.95;
}

.landing-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.landing-kicker {
  display: grid;
  gap: 4px;
  margin: 0 0 54px;
  color: var(--deep-green);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
}

.landing-kicker span {
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 600;
}

.landing-kicker strong {
  display: grid;
  gap: 2px;
}

.landing-title {
  display: grid;
  margin: 0;
  color: var(--green);
  font-size: 3.7rem;
  font-weight: 300;
  line-height: 0.98;
}

.language-choice {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 58px;
  color: var(--deep-green);
  font-size: 1.16rem;
  font-weight: 700;
  text-transform: uppercase;
}

.language-choice button,
.language-switch button {
  cursor: pointer;
  background: transparent;
  color: inherit;
  text-transform: uppercase;
}

.language-choice button {
  padding: 8px 0;
}

.language-choice span,
.language-switch span {
  display: block;
  width: 1px;
  align-self: stretch;
  background: var(--green);
}

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

.landing-page > .brand-row {
  position: absolute;
  left: 68px;
  bottom: 56px;
}

.brand-logo {
  display: block;
  object-fit: contain;
}

.brand-logo-foxy {
    width: 150px;
    height: 200px;
}

.brand-logo-ict {
  width: 200px;
  height: auto;
}

.site-shell {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 70px;
  min-height: 100vh;
  padding: 86px 86px 62px 70px;
}

.site-sidebar {
  display: flex;
  min-height: calc(100vh - 148px);
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-title {
  display: grid;
  width: max-content;
  color: var(--green);
  font-size: 3.9rem;
  font-weight: 300;
  line-height: 0.98;
}

.site-nav {
  display: grid;
  gap: 26px;
  margin-top: 78px;
}

.nav-block {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.main-nav-link {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: baseline;
  min-height: 32px;
  padding-bottom: 10px;
  color: var(--deep-green);
  font-size: 1.18rem;
  line-height: 1.15;
}

.main-nav-link span,
.main-nav-link strong {
  font-weight: 400;
}

.main-nav-link.is-active span,
.main-nav-link.is-active strong {
  font-weight: 700;
}

.sub-nav {
  display: grid;
  gap: 10px;
  padding: 0 0 30px 44px;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.2;
}

.sub-nav a {
  width: max-content;
  max-width: 100%;
}

.sub-nav a.is-active {
  font-weight: 700;
}

.site-stage {
  position: relative;
  min-width: 0;
}

.language-switch {
  position: absolute;
  top: 22px;
  right: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--deep-green);
  font-size: 0.9rem;
  font-weight: 600;
}

.language-switch button {
  padding: 4px 0;
  color: var(--deep-green);
}

.language-switch button:not(.is-active) {
  color: var(--muted);
}

.content-panel {
  min-height: calc(100vh - 148px);
  background: var(--panel);
}

.documents-panel,
.highlight-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  padding: 98px 70px 72px;
}

.documents-panel h2,
.highlight-panel h2 {
  margin: 0;
  color: var(--green);
  font-size: 3.1rem;
  font-weight: 300;
  line-height: 1.1;
  text-align: center;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(112px, 1fr));
  gap: 40px;
  align-self: center;
  width: 100%;
  max-width: 950px;
  margin: 58px auto 0;
}

.document-card {
  display: grid;
  gap: 24px;
  justify-items: center;
  color: var(--ink);
  text-align: center;
}

.document-card-empty {
  cursor: default;
}

.document-cover {
  display: block;
  width: 100%;
  max-width: 150px;
  aspect-ratio: 0.72;
  background: var(--white);
}

.document-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.document-title {
  min-height: 46px;
  font-size: 1rem;
  line-height: 1.25;
}

.chart-space {
  position: relative;
  align-self: stretch;
  min-height: 360px;
  margin-top: 46px;
}

.bar-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-grid-lines line {
  stroke: rgba(13, 82, 49, 0.14);
  stroke-width: 1;
}

.chart-tick text,
.chart-label,
.chart-value {
  font-variant-numeric: tabular-nums;
}

.chart-tick text,
.chart-label {
  fill: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.chart-value {
  fill: var(--deep-green);
  font-size: 15px;
  font-weight: 700;
}

.chart-axis {
  stroke: rgba(13, 82, 49, 0.28);
  stroke-width: 1.5;
}

.chart-bar {
  filter: drop-shadow(0 7px 8px rgba(13, 82, 49, 0.08));
}

.chart-full-image-bars {
  filter: drop-shadow(0 7px 8px rgba(13, 82, 49, 0.08));
}

.chart-bar-image {
  filter: drop-shadow(0 7px 8px rgba(13, 82, 49, 0.08));
}

.chart-empty {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.spot-panel {
  display: grid;
  place-items: center;
  padding: 84px;
}

.spot-video,
.video-placeholder {
  width: min(100%, 980px);
  aspect-ratio: 16 / 9;
  background: #1f241f;
}

.spot-video {
  display: block;
}

.video-placeholder {
  display: grid;
  place-items: center;
}

.play-mark {
  width: 0;
  height: 0;
  margin-left: 10px;
  border-top: 34px solid transparent;
  border-bottom: 34px solid transparent;
  border-left: 52px solid var(--white);
  opacity: 0.88;
}

@media (max-width: 1180px) {
  .site-shell {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 42px;
    padding: 64px 46px 44px;
  }

  .sidebar-title {
    font-size: 3.2rem;
  }

  .documents-panel,
  .highlight-panel {
    padding-right: 42px;
    padding-left: 42px;
  }

  .document-grid {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .landing-page {
    min-height: 100svh;
    padding: 36px 24px 112px;
  }

  .landing-orbit {
    max-width: none;
    min-width: 340px;
    width: 92%;
  }

  .landing-title {
    font-size: 3rem;
  }

  .landing-page > .brand-row {
    left: 24px;
    right: 24px;
    bottom: 28px;
  }

  .site-shell {
    display: block;
    min-height: 100vh;
    padding: 38px 24px;
  }

  .site-sidebar {
    min-height: 0;
  }

  .site-sidebar > .brand-row {
    margin-top: 32px;
  }

  .site-nav {
    margin-top: 40px;
  }

  .site-stage {
    margin-top: 40px;
  }

  .content-panel {
    min-height: 560px;
  }

  .documents-panel h2,
  .highlight-panel h2 {
    font-size: 2.45rem;
  }

  .document-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  .landing-title,
  .sidebar-title {
    font-size: 2.35rem;
  }

  .landing-kicker {
    margin-bottom: 38px;
  }

  .language-choice {
    gap: 14px;
    margin-top: 42px;
    font-size: 1rem;
  }

  .brand-row {
    gap: 12px;
  }

  .brand-logo-foxy {
    width: 50px;
    height: 36px;
  }

  .brand-logo-ict {
    width: 164px;
  }

  .main-nav-link {
    grid-template-columns: 32px 1fr;
    font-size: 1rem;
  }

  .sub-nav {
    padding-left: 38px;
    font-size: 1rem;
  }

  .documents-panel,
  .highlight-panel,
  .spot-panel {
    padding: 74px 22px 38px;
  }

  .documents-panel h2,
  .highlight-panel h2 {
    font-size: 2rem;
  }

  .document-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 210px;
  }

  .language-switch {
    top: 18px;
    right: 20px;
  }
}
