:root {
  --bg: #ffffff;
  --heading: #000000;
  --text: #000000;
  --text-muted: #555555;
  --border-subtle: rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

/* HEADER */

.site-header {
  min-height: 100px;
  background: #4A70A9;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 1750px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;              /* fine: vertical space between logo/nav when stacked */
}

/* HERO */

.hero {
  margin-bottom: 2rem;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;             /* keeps aspect ratio */
}

.site-title {
  flex: 0 0 auto;
}

.site-nav {
  text-align: right;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav > a,
.site-nav .dropdown {
  text-decoration: none;
  font-size: 1.4rem;
  text-transform: none;
  color: #8FABD4;
  line-height: 1.2;       /* tighten line height a bit */
}

.site-nav > a:first-child {
  margin-left: 0;
}

.site-nav a.disabled {
  opacity: 0.45;             /* dimmed */
  pointer-events: none;      /* optional: truly disable click */
}

.site-nav > a:hover,
.site-nav > a:focus,
.site-nav > a[aria-current="page"] {
  color: #ffffff;
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #8FABD4;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  line-height: 1.2;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
  color: #ffffff;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #4A70A9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 1000;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu,
.dropdown-toggle:focus + .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #8FABD4;
  text-decoration: none;
  font-size: 1.4rem;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.dropdown-menu a.disabled:hover,
.dropdown-menu a.disabled:focus {
  background: transparent;
  color: #8FABD4;
}

.site-main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.logo-section {
  text-align: center;
}

.logo-placeholder {
  width: 220px;
  height: 220px;
  margin: 0 auto 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.content {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.content h1,
.content h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--heading);
}

.content h1 {
  font-size: clamp(3.2rem, 4.3vw + 1.8rem, 4.7rem);
}

.content h2 {
  font-size: clamp(1.9rem, 2.1vw + 1.4rem, 2.6rem);
}

.content p {
  margin-top: 1.4rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  max-width: 70ch;
  font-size: 1.42rem;
}

.content p.emphasis, .content span.emphasis{
  font-weight: bold;
}

.content li {
  font-size: 1.42rem;
}

.content p,
.content li {
  line-height: 1.35;
}

.content a {
  color: var(--text);       /* same as normal body text */
  text-decoration: underline;
}

.content a:hover,
.content a:focus {
  color: var(--heading);    /* optional: brighter on hover */
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem 1.75rem;
  margin-top: auto;
}

.footer-inner {
  width: 100%;
  max-width: 1750px;          /* same as .header-inner */
  margin: 0 auto;             /* center within window */
  padding: 0 2rem;            /* same horizontal padding as header */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icons .icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.social-icons .icon:hover,
.social-icons .icon:focus {
  background: var(--bg-alt);
}

@media (max-width: 1000px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    gap: 0.75rem;          /* reduce vertical gap between logo and nav */
  }

  .site-nav {
    text-align: left;      /* nav now under logo, align from left */
    flex-wrap: wrap;
  }

  /* keep the same margin between links */
  .site-nav > a {
    margin-left: 0;
    margin-right: 1.0rem;  /* space to the right instead, avoids indent on wrapped line */
    line-height: 1.2;
  }
}