@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/rajdhani-400.woff2") format("woff2");
}

@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/rajdhani-500.woff2") format("woff2");
}

:root {
  --paper: #ffffff;
  --ink: #26384a;
  --navy: #043a5e;
  --blue: #275f83;
  --line: #dbe4ea;
  --radius: 0.25rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body:has(.info-panel:target) {
  overflow: hidden;
}

a {
  color: var(--blue);
  text-decoration-color: color-mix(in srgb, var(--blue) 38%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--navy);
  text-decoration-color: currentColor;
}

a:focus-visible {
  border-radius: 2px;
  outline: 3px solid #8db9df;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-screen {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: 1fr auto;
  padding: clamp(2.5rem, 7vh, 5rem) 1.5rem clamp(1.75rem, 4vh, 3rem);
  background: var(--paper);
}

.logo-stage {
  display: grid;
  place-items: center;
  padding-block: 2rem;
}

.logo-image {
  display: block;
  width: clamp(13rem, 28vw, 19.625rem);
  max-width: 72vw;
  height: auto;
}

.section-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-nav a {
  color: var(--navy);
  text-decoration: none;
}

.info-panel {
  position: fixed;
  z-index: 10;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  background: rgba(255, 255, 255, 0.99);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.8rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0s linear 180ms;
}

.info-panel:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.panel-content {
  width: min(100% - 2.5rem, 43rem);
  min-height: 100%;
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 4.5rem) 0 2rem;
}

.panel-content--short {
  display: flex;
  flex-direction: column;
}

.panel-content--short .contact-block {
  flex: 1;
}

.panel-brandbar {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 7vw, 4.5rem);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.panel-logo-link {
  display: block;
  text-decoration: none;
}

.panel-logo {
  display: block;
  width: clamp(3.8rem, 8vw, 5.1rem);
  height: auto;
}

.panel-header {
  margin-bottom: clamp(3rem, 8vw, 5.5rem);
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.35rem, 7vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h3 {
  margin: 3rem 0 0.7rem;
  color: var(--navy);
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.3;
}

.panel-header + h3 {
  margin-top: 0;
}

p {
  margin: 0 0 1.35rem;
}

strong {
  font-weight: 500;
}

.close-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.close-link span {
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
}

.contact-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  font-size: 1.16rem;
  font-style: normal;
}

.contact-block strong {
  margin-bottom: 0.2rem;
  color: var(--navy);
  font-size: 1.3rem;
}

.contact-gap {
  margin-top: 1rem;
}

.legal-list {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
}

.legal-list li {
  margin: 0.35rem 0;
  padding-left: 0.25rem;
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(4rem, 10vw, 7rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  color: #647485;
  font-size: 0.82rem;
}

.panel-footer a {
  white-space: nowrap;
}

@media (max-width: 40rem) {
  .home-screen {
    padding-inline: 1.1rem;
  }

  .logo-image {
    width: min(15rem, 68vw);
  }

  .section-nav {
    gap: 1.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  .panel-content {
    width: min(100% - 2rem, 43rem);
  }

  .close-link {
    font-size: 0;
  }

  .close-link span {
    font-size: 1.65rem;
  }

  .panel-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .info-panel {
    transition: none;
  }
}

@media print {
  body {
    overflow: visible;
  }

  .home-screen {
    display: none;
  }

  .info-panel,
  .info-panel:target {
    position: static;
    display: none;
    visibility: visible;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .info-panel:target {
    display: block;
  }

  .close-link,
  .panel-footer a {
    display: none;
  }
}
