@font-face {
  font-family: "Sansation";
  src: url("./public/sansation-regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #f3eee8;
  --bg-soft: #e7dfd3;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --text: #18232c;
  --muted: #55616b;
  --line: rgba(24, 35, 44, 0.08);
  --accent: #17a6df;
  --accent-deep: #0b5fad;
  --accent-soft: rgba(23, 166, 223, 0.08);
  --shadow: 0 22px 45px rgba(42, 33, 24, 0.08);
  --radius: 24px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Sansation", "Trebuchet MS", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.45), transparent 0 18%),
    radial-gradient(circle at 84% 22%, rgba(23, 166, 223, 0.06), transparent 0 16%);
  opacity: 0.95;
}

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

.inline-link {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-color: rgba(11, 95, 173, 0.3);
  text-underline-offset: 0.18em;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: #084b8b;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 5rem;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  backdrop-filter: none;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 -1rem;
  z-index: -1;
  content: none;
}

.brand {
  width: clamp(168px, 22vw, 260px);
}

.brand-mark {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(31, 42, 51, 0.08));
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: #3a4650;
  font-weight: 600;
}

.site-nav a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.58);
  color: var(--accent-deep);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 1.5rem;
  align-items: start;
  padding: 2.5rem 0 2rem;
}

.hero-visual,
.spotlight,
.info-card,
.timeline article,
.contact-panel {
  position: relative;
  overflow: hidden;
}

.hero-visual::before,
.spotlight::before,
.info-card::before,
.timeline article::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12, 83, 140, 0.9), rgba(23, 166, 223, 0.84)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  z-index: 0;
}

.hero-visual::after,
.spotlight::after,
.info-card::after,
.timeline article::after,
.contact-panel::after {
  content: "";
  position: absolute;
  width: 10rem;
  height: 10rem;
  right: -3rem;
  top: -3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 0;
}

.hero-copy,
.hero-visual-panel,
.info-card,
.contact-panel,
.spotlight,
.timeline article {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-visual-panel,
.info-card,
.timeline article,
.spotlight,
.contact-panel {
  border-radius: var(--radius);
}

.hero-copy {
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(12, 83, 140, 0.92), rgba(23, 166, 223, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
}

.hero-copy::before,
.hero-copy::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-copy::before {
  width: 16rem;
  height: 16rem;
  right: -4rem;
  top: -4rem;
}

.hero-copy::after {
  width: 11rem;
  height: 11rem;
  left: -3rem;
  bottom: -4rem;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-visual {
  position: relative;
  min-height: 100%;
  padding: 1rem;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.hero-visual-panel {
  position: relative;
  z-index: 1;
  padding: 1.7rem;
  margin-bottom: 0.95rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

.eyebrow,
.section-kicker,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--accent-deep);
}

.hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero-visual-panel .card-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  font-size: clamp(3rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  color: #14212b;
}

.hero-copy h1 {
  color: #ffffff;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  color: #14212b;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: #1b2935;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 54ch;
  margin-bottom: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.hero-tags span {
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  opacity: 0.9;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: none;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.signal-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
}

.signal-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.signal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #59c9f2, var(--accent));
  box-shadow: 0 0 12px rgba(23, 166, 223, 0.22);
}

.hero-stat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-stat-grid article {
  padding: 1rem 1rem 0.9rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

.hero-stat-grid strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: #ffffff;
}

.hero-stat-grid span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.5;
}


.section {
  margin-top: 1.5rem;
}

.spotlight {
  padding: clamp(1.7rem, 3vw, 2.4rem);
}

.spotlight-grid,
.about-grid,
.contact-panel {
  display: grid;
  gap: 1.5rem;
}

.spotlight-grid,
.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  min-height: 100%;
  padding: 1.45rem;
  border-radius: 24px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.timeline article {
  padding: 1.4rem;
  border-radius: 24px;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.95rem;
}

.contact-panel {
  grid-template-columns: 1.35fr 0.85fr;
  align-items: center;
  padding: clamp(1.7rem, 3vw, 2.4rem);
}

.spotlight > *,
.info-card > *,
.timeline article > *,
.contact-panel > * {
  position: relative;
  z-index: 1;
}

.spotlight h2,
.spotlight h3,
.spotlight p,
.info-card h3,
.info-card p,
.timeline article h3,
.timeline article p,
.contact-panel h2,
.contact-panel p,
.contact-note,
.contact-panel .section-kicker {
  color: #ffffff;
}

.spotlight .section-kicker,
.info-card .section-kicker,
.timeline article .section-kicker,
.contact-panel .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.info-card p,
.timeline article p,
.contact-panel p,
.spotlight p {
  color: rgba(255, 255, 255, 0.86);
}

.contact-panel .inline-link {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.contact-panel .button-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.contact-note {
  margin: 0;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 90ms;
}

.delay-2 {
  transition-delay: 180ms;
}

.delay-3 {
  transition-delay: 270ms;
}

@media (max-width: 980px) {
  .hero,
  .card-grid,
  .timeline,
  .spotlight-grid,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero-copy,
  .hero-visual-panel,
  .spotlight,
  .info-card,
  .timeline article,
  .contact-panel {
    padding: 1.35rem;
  }

  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 0.35rem;
  }
}

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

  .reveal,
  .delay-1,
  .delay-2,
  .delay-3,
  .button,
  .site-nav a {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
