:root {
  --bg-900: #160f08;
  --bg-800: #22170e;
  --bg-700: #302113;
  --surface: #2f2318;
  --surface-soft: #3a2c1f;
  --text: #f8f2de;
  --text-muted: #dccfae;
  --accent: #ffcc4d;
  --accent-strong: #f5a900;
  --line: #8a6730;
  --shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  font-family: "Trebuchet MS", "Gill Sans", "Lucida Sans Unicode", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(1400px 700px at 75% -10%, rgba(255, 204, 77, 0.14), transparent 70%),
    linear-gradient(180deg, #1a1209, #0f0a05 45%, #130d08);
  min-height: 100vh;
}

a {
  color: #ffe7a0;
  text-underline-offset: 2px;
}

a:hover {
  color: #fff3c8;
}

.shell {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(8px);
  background: rgba(16, 11, 7, 0.86);
  border-bottom: 1px solid rgba(255, 204, 77, 0.22);
}

.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand img {
  width: 94px;
  height: 94px;
  object-fit: contain;
}

.brand strong {
  display: block;
  letter-spacing: 0.02em;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 1.15rem;
  line-height: 1.2;
}

.brand .brand-text {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: normal;
}

.brand .brand-sub {
  display: block;
}

.arrl-link img {
  width: 94px;
  height: 94px;
  object-fit: contain;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font: inherit;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  padding: 0.46rem 0.72rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(255, 204, 77, 0.45);
  background: rgba(255, 204, 77, 0.12);
  color: #fff7dd;
}

.site-nav .cta-link {
  border-color: rgba(255, 204, 77, 0.7);
  background: linear-gradient(180deg, #6f4f18, #4f3611);
}

.page-main {
  padding: 1.6rem 0 2rem;
}

.panel {
  background: linear-gradient(180deg, rgba(49, 36, 24, 0.92), rgba(34, 24, 15, 0.92));
  border: 1px solid rgba(255, 204, 77, 0.26);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.panel h1,
.panel h2,
.panel h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.panel h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: #ffe49f;
}

.panel h2 {
  font-size: 1.35rem;
  color: #ffe49f;
}

.muted {
  color: var(--text-muted);
}

.contact-highlight {
  border: 1px solid rgba(255, 204, 77, 0.5);
  background: linear-gradient(180deg, rgba(111, 79, 24, 0.35), rgba(37, 25, 14, 0.62));
  text-align: center;
  margin: 0.4rem 0 1rem;
  border-radius: 11px;
  padding: 0.7rem;
}

.contact-highlight .email {
  margin: 0.2rem 0 0;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.mini-card {
  border-radius: 11px;
  border: 1px solid rgba(255, 204, 77, 0.24);
  background: rgba(20, 13, 8, 0.4);
  padding: 0.8rem;
}

.item-list {
  margin: 0.25rem 0 0;
  padding-left: 1.15rem;
}

.item-list li {
  margin: 0.2rem 0;
}

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

.year-block h3 {
  color: #ffd982;
  margin-bottom: 0.35rem;
}

.year-block ul {
  margin: 0;
  padding-left: 1rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 204, 77, 0.22);
  margin-top: 1.6rem;
  padding: 1rem 0 1.8rem;
  color: #ccb98d;
  font-size: 0.87rem;
}

@media (max-width: 980px) {
  .grid-two,
  .year-grid {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    position: absolute;
    top: 112px;
    left: 0;
    right: 0;
    background: rgba(14, 9, 6, 0.98);
    border-top: 1px solid rgba(255, 204, 77, 0.2);
    border-bottom: 1px solid rgba(255, 204, 77, 0.2);
    padding: 0.7rem 1rem 0.9rem;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

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

@media (max-width: 620px) {
  .header-inner {
    min-height: 78px;
  }

  .brand strong {
    font-size: 1.02rem;
  }

  .brand .brand-text {
    font-size: 0.82rem;
  }

  .brand img,
  .arrl-link img {
    width: 58px;
    height: 58px;
  }
}
