:root {
  --bg: #0e202f;
  --text: #ebefe8;
  --accent: #e3a936;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(227, 169, 54, 0.22);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.24);

  /* Nord token overrides */
  --n-color-background: #0e202f;
  --n-color-surface-background: #0e202f;
  --n-color-surface-canvas: #0e202f;
  --n-color-surface: #162b3b;
  --n-color-surface-raised: #1a3144;
  --n-color-surface-lowered: #0b1a27;
  --n-color-header: rgba(14, 32, 47, 0.88);
  --n-color-text: #ebefe8;
  --n-color-text-weak: #d4ddd2;
  --n-color-text-weaker: #b7c2b4;
  --n-color-text-weakest: #8f9a90;
  --n-color-text-link: #e3a936;
  --n-color-accent: #e3a936;
  --n-color-accent-secondary: #e3a936;
  --n-color-text-on-accent: #0e202f;
  --n-color-border: rgba(227, 169, 54, 0.26);
  --n-color-border-strong: rgba(227, 169, 54, 0.4);
  --n-color-border-hover: rgba(227, 169, 54, 0.62);
  --n-color-button: #162b3b;
  --n-color-button-hover: #1b364c;
  --n-color-icon: #d4ddd2;
  --n-color-icon-hover: #ebefe8;
  --n-box-shadow-card: 0 10px 28px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Utile', Inter, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-style: normal;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

html,
body {
  background-color: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Monarcha', Georgia, serif;
  font-weight: 400;
  font-style: normal;
}

nord-accordion-trigger {
  --n-font-family: 'Monarcha', Georgia, serif;
}

a {
  color: inherit;
  text-decoration: none;
  &:hover {
    text-decoration: underline;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: rgba(14, 32, 47, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand img {
  display: block;
  width: auto;
  height: 2.1rem;
  max-width: min(42vw, 12rem);
  &:hover {
      opacity: 0.8;
  }
}

h2 img {
  display: inline-block;
  width: auto;
  height: 1.1rem;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.nav-link {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--text);
  transition: background 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--surface-strong);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 0 3rem;
}

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

h1,
h2 {
  margin-top: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.hero-title-mark {
  margin-bottom: 0.9rem;
}

.hero-title-mark img {
  display: block;
  width: min(100%, 30rem);
  height: auto;
}

.hero-text,
p {
  font-size: 1.02rem;
  color: rgba(235, 239, 232, 0.9);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: var(--bg);
}

.button.secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
}

nord-card {
  display: block;
  border: 2px solid var(--border);
  /* border-radius: 20px; */
  /* padding: 1.2rem; */
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
}

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

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

.page-intro {
  padding: 1rem 0 1.6rem;
}

.accordion-card {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}

nord-input,
nord-textarea {
  display: block;
  margin-bottom: 0.8rem;
}

nord-button {
  margin-top: 0.2rem;
}

.site-footer {
  padding: 0 2rem 2rem;
  color: rgba(235, 239, 232, 0.7);
  text-align: center;
}

@media (max-width: 820px) {
  .hero,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    gap: 0.8rem;
  }
}

img.card {
  height: 300px;
  width: 300px;
  object-fit: contain;
}

img.profile {
  height: 200px;
  width: 200px;
  object-fit: cover;
  border-radius: 5%;
}

.profile-header {
  text-align: center;
}

.symbol-saffron {
  filter: invert(72%) sepia(34%) saturate(939%) hue-rotate(353deg) brightness(96%) contrast(86%);
}