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

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul[role='list'], ol[role='list'] {
  list-style: none;
  padding: 0;
  margin: 0;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.6;
  font-family: var(--font-body);
  background-color: var(--c-alabaster);
  color: var(--c-oxford);
  -webkit-font-smoothing: antialiased;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

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

input, button, textarea, select {
  font: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-oxford);
  margin-bottom: var(--sp-4);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

@media (min-width: 768px) {
  h1 { font-size: var(--text-6xl); }
  h2 { font-size: var(--text-4xl); }
  h3 { font-size: var(--text-3xl); }
}

p {
  margin-bottom: var(--sp-4);
}

a {
  color: var(--c-bronze);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  text-decoration: underline;
  color: var(--c-oxford);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--edge-pad);
  padding-right: var(--edge-pad);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section-py {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
}

@media (min-width: 768px) {
  .section-py {
    padding-top: var(--sp-24);
    padding-bottom: var(--sp-24);
  }
}

.bg-oxford {
  background-color: var(--c-oxford);
  color: var(--c-alabaster);
}
.bg-oxford h1, .bg-oxford h2, .bg-oxford h3 { color: var(--c-white); }
.bg-oxford a:not(.btn) { color: var(--c-sand); text-decoration: underline; }

.bg-sand {
  background-color: var(--c-sand);
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3) var(--sp-6);
  background-color: var(--c-bronze);
  color: var(--c-white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: var(--c-oxford);
  color: var(--c-white);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--c-oxford);
  color: var(--c-oxford);
}

.btn-outline:hover {
  background-color: var(--c-oxford);
  color: var(--c-white);
}

/* Global Header */
.site-header {
  border-bottom: var(--border-light);
  background: var(--c-white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--c-oxford);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.logo:hover { text-decoration: none; }

.main-nav {
  display: none;
}
@media (min-width: 768px) {
  .main-nav {
    display: flex;
    gap: var(--sp-6);
    align-items: center;
  }
}

.nav-link {
  color: var(--c-slate);
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-link:hover, .nav-link[aria-current="page"] {
  color: var(--c-bronze);
  text-decoration: none;
}

/* Global Footer */
.site-footer {
  background-color: var(--c-oxford);
  color: var(--c-sand);
  padding: var(--sp-16) 0 var(--sp-8);
  font-size: var(--text-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-col h3 {
  color: var(--c-white);
  font-size: var(--text-lg);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-4);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: var(--sp-2);
}
.footer-col a {
  color: var(--c-sand);
  opacity: 0.8;
}
.footer-col a:hover {
  opacity: 1;
  color: var(--c-white);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 241, 234, 0.1);
  padding-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
