:root {
  color-scheme: dark;
  --bg: #10131a;
  --surface: #171b24;
  --surface-strong: #202632;
  --text: #f3f5f7;
  --muted: #aeb7c3;
  --subtle: #7f8a99;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #5fd4c6;
  --accent-strong: #f4c76d;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 280px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 88px),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(95, 212, 198, 0.08), transparent 34%, rgba(244, 199, 109, 0.06));
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(16, 19, 26, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(95, 212, 198, 0.55);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(135deg, rgba(95, 212, 198, 0.22), rgba(244, 199, 109, 0.14));
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  flex-wrap: wrap;
}

.site-nav a,
.site-footer a,
.site-footer button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.site-nav a:hover,
.site-footer a:hover,
.site-footer button:hover {
  color: var(--text);
}

main {
  position: relative;
}

.section-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.hero {
  min-height: calc(100svh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 4rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 840px;
  font-size: clamp(3.25rem, 9vw, 7rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
}

h3 {
  font-size: 1.15rem;
}

.role {
  margin: 0.75rem 0 0;
  color: var(--accent-strong);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
}

.lead {
  max-width: 790px;
  margin: 1.65rem 0 0;
  color: var(--text);
  font-size: clamp(1.08rem, 2.4vw, 1.45rem);
}

.employment-note,
.content-copy p,
.focus-card p,
.principles p,
.contact-section p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.employment-note {
  max-width: 720px;
  margin: 1rem 0 0;
}

.profile-panel,
.focus-card,
.principles article,
.contact-section,
.legal-page {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 27, 36, 0.86);
  box-shadow: var(--shadow);
}

.profile-panel {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.profile-mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
  border: 1px solid rgba(95, 212, 198, 0.45);
}

.profile-facts {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 0;
}

.profile-facts div {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.profile-facts dt {
  color: var(--subtle);
  font-size: 0.88rem;
}

.profile-facts dd {
  margin: 0.2rem 0 0;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
}

.content-copy p:first-child {
  margin-top: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

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

.focus-card {
  min-height: 230px;
  padding: 1.35rem;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 2rem;
  border-radius: 8px;
  background: rgba(95, 212, 198, 0.12);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 900;
}

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

.principles article {
  padding: 1.15rem;
  box-shadow: none;
}

.chip-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-weight: 750;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  padding: clamp(1.5rem, 5vw, 2.5rem);
}

.contact-links {
  display: grid;
  gap: 0.75rem;
  font-style: normal;
}

.contact-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
}

.contact-links a:hover {
  border-color: rgba(95, 212, 198, 0.55);
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem max(1rem, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.legal-page {
  width: min(900px, calc(100% - 2rem));
  margin: clamp(2rem, 5vw, 4rem) auto;
  padding: clamp(1.25rem, 5vw, 3rem);
}

.legal-page h1 {
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-page a {
  color: var(--accent);
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  width: min(980px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 27, 36, 0.97);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-copy p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.cookie-details {
  margin-top: 0.5rem;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button,
.text-button {
  min-height: 44px;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button {
  border: 1px solid rgba(95, 212, 198, 0.55);
  background: var(--accent);
  color: #08110f;
}

.text-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
  }

  .hero,
  .split-section,
  .focus-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .focus-card {
    min-height: 0;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .site-footer nav {
    justify-content: flex-start;
  }

  .section-shell {
    width: min(100% - 1rem, var(--max));
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.4rem);
  }

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

  .contact-links a {
    font-size: 0.95rem;
  }

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