:root {
  --bg: #111111;
  --bg-elevated: #181818;
  --bg-soft: #1c1c1c;
  --blue: #0d3877;
  --blue-bright: #1a5bb8;
  --orange: #ff8a00;
  --orange-hot: #ff9f2e;
  --white: #ffffff;
  --muted: #a8a8a8;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 6px;
  --max: 1120px;
  --font-display: "Montserrat", sans-serif;
  --font-body: "Public Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 50% at 85% 10%, rgba(255, 138, 0, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(13, 56, 119, 0.22), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(17, 17, 17, 0.85);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 3rem;
  width: auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  padding: 0.55rem 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.header-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(255, 138, 0, 0.25);
}

.btn-primary:hover {
  background: var(--orange-hot);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.03);
}

.btn-sm {
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(calc(92vh + 2rem), 852px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 35%;
  opacity: 0.75;
  animation: heroReveal 1.4s var(--ease) both;
}

.hero-content {
  padding: 5rem 0 4rem;
  max-width: 560px;
  margin-inline: 0;
  animation: riseIn 0.9s var(--ease) 0.15s both;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 1.25rem;
}

.hero h1 .line-blue {
  color: #46a0e6;
}

.hero h1 .line-orange {
  color: var(--orange);
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 34ch;
  margin-bottom: 2rem;
  color: #c9c9c9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 0.55;
    transform: scale(1);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page sections */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  animation: riseIn 0.7s var(--ease) both;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}

.page-hero p {
  max-width: 58ch;
  margin-bottom: 0;
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 0.5rem;
}

.prose {
  max-width: 68ch;
}

.prose p {
  color: #c4c4c4;
}

.prose strong {
  color: var(--white);
  font-weight: 600;
}

.owner-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.owner-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.owner-block .role {
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.cred-list {
  display: grid;
  gap: 0.7rem;
}

.cred-list li {
  position: relative;
  padding-left: 1.15rem;
  color: #c4c4c4;
}

.cred-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--orange);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.tiles .tile.reveal:nth-child(1) { transition-delay: 0ms; }
.tiles .tile.reveal:nth-child(2) { transition-delay: 60ms; }
.tiles .tile.reveal:nth-child(3) { transition-delay: 120ms; }
.tiles .tile.reveal:nth-child(4) { transition-delay: 180ms; }
.tiles .tile.reveal:nth-child(5) { transition-delay: 240ms; }

.tile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  min-height: 180px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}

.tile:hover {
  border-color: rgba(255, 138, 0, 0.45);
  transform: translateY(-3px);
  background: #1f1f1f;
}

.tile-icon {
  width: 42px;
  height: 42px;
  color: var(--orange);
}

.tile h3 {
  font-size: 1.05rem;
  margin: 0;
}

.tile p {
  margin: 0;
  font-size: 0.92rem;
  flex: 1;
}

.tile .more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--orange);
}

.tile .more svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.intro-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--blue-bright);
  background: rgba(13, 56, 119, 0.18);
  color: #c9c9c9;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1;
  transition: color 0.2s;
}

.back-link svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.back-link:hover {
  color: var(--white);
}

.topic-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.topic-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: #d0d0d0;
}

.topic-list li span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  padding-top: 0.2rem;
}

.placeholder-box {
  margin-top: 2rem;
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--muted);
}

.doc-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.doc-item {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.doc-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.doc-item .note {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-download {
  gap: 0.65rem;
}

.btn-download .file-icon {
  flex-shrink: 0;
  display: block;
  width: 20px;
  height: 20px;
  color: #fff;
}

.btn-download.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

.rodo-block {
  margin-bottom: 2.25rem;
}

.rodo-block h2 {
  font-size: 1.2rem;
  color: #8eb4f0;
  margin-bottom: 1rem;
}

.rodo-block p,
.rodo-block li {
  color: #bdbdbd;
  font-size: 0.98rem;
}

.rodo-block ol,
.rodo-block ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.rodo-block ol {
  list-style: decimal;
}

.rodo-block ul {
  list-style: disc;
}

.rodo-block li {
  margin-bottom: 0.45rem;
  padding-left: 0.25rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.contact-card {
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.contact-row {
  margin-bottom: 1.15rem;
}

.contact-row dt {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-row dd {
  margin: 0;
  font-size: 1.15rem;
}

.contact-row a {
  color: var(--orange);
  transition: color 0.2s;
}

.contact-row a:hover {
  color: var(--orange-hot);
}

.contact-hint {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 0;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-logo {
  height: 42px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: #777;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.not-found {
  padding: 6rem 0;
  text-align: center;
}

.not-found h1 {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    position: fixed;
    inset: 5rem 0 auto 0;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(17, 17, 17, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-wrap.is-open {
    display: flex;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav a {
    padding: 0.85rem 0.75rem;
  }

  .header-cta {
    width: 100%;
  }

  .header-cta .btn {
    width: 100%;
  }

  .header-inner {
    min-height: 5rem;
  }

  .hero {
    min-height: calc(100vh - 5rem);
  }

  .hero-bg img {
    object-position: 57% center;
    opacity: 0.5;
  }

  .hero-content {
    padding: 3.5rem 0 1.75rem;
  }

  .site-footer {
    padding: 1.75rem 0 1.5rem;
  }

  .footer-copy {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7.8vw, 2.3rem);
    white-space: nowrap;
  }

  .footer-links {
    display: none;
  }

  .footer-copy {
    font-size: 0.7rem;
    white-space: nowrap;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
