:root {
  --ink: #17211d;
  --muted: #5f6d66;
  --paper: #f7f8f5;
  --white: #ffffff;
  --evergreen: #12372a;
  --evergreen-2: #1f5843;
  --gold: #f4c95d;
  --gold-dark: #7a5a05;
  --sky: #2f6f8f;
  --rose: #9a3f4c;
  --line: #dbe2dd;
  --shadow: 0 12px 28px rgba(16, 45, 34, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body,
button,
a {
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--evergreen);
  padding: 10px 14px;
  border-radius: 4px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--evergreen);
  color: var(--white);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 16px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.69rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 9px 8px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.language-button,
.icon-button {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.language-button {
  min-width: 48px;
  min-height: 38px;
  border-radius: 4px;
  font-weight: 800;
}

.icon-button {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 4px;
}

.icon-button span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  color: var(--white);
  background-color: var(--evergreen);
  background-image: url("../images/hero/uw-campus-fellowship.jpeg");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(8, 34, 25, 0.78);
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 60px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: 0.96;
  font-weight: 700;
}

.hero-description {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.28rem);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-signal {
  align-self: stretch;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 32px;
}

.hero-signal strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem;
  line-height: 0.9;
}

.hero-signal span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.button,
.calendar-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button {
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 5px;
}

.button-primary {
  color: var(--evergreen);
  background: var(--gold);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.button-dark {
  color: var(--white);
  background: var(--evergreen);
}

.button-light {
  color: var(--evergreen);
  background: var(--white);
}

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

.section {
  padding: 76px 0;
}

.section-white {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background: var(--evergreen);
}

.section-accent {
  background: #e8f0ec;
}

.section-rose {
  background: #f6e9eb;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.section-heading h2,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.section-heading p,
.page-hero p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.page-hero {
  padding: 86px 0 58px;
  color: var(--white);
  background: var(--evergreen);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
}

.activity-grid,
.resource-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.activity-card,
.resource-card,
.info-card {
  min-height: 210px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.activity-card:nth-child(2) {
  border-top: 4px solid var(--sky);
}

.activity-card:nth-child(3) {
  border-top: 4px solid var(--rose);
}

.activity-card:nth-child(4) {
  border-top: 4px solid var(--gold);
}

.activity-card:first-child {
  border-top: 4px solid var(--evergreen-2);
}

.activity-index {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.activity-card h3,
.resource-card h3,
.info-card h3,
.event-card h3 {
  margin: 32px 0 8px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.activity-card p,
.resource-card p,
.info-card p,
.event-card p {
  color: var(--muted);
}

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

.event-card {
  min-height: 332px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
}

.section-white .event-card,
.section-accent .event-card {
  border-color: var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.event-date {
  margin: 0;
  color: var(--gold) !important;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-white .event-date,
.section-accent .event-date {
  color: var(--gold-dark) !important;
}

.event-card h3 {
  margin-top: 12px;
  color: inherit;
  font-size: 1.38rem;
}

.section-dark .event-card > p:not(.event-date) {
  color: rgba(255, 255, 255, 0.72);
}

.event-details {
  margin: auto 0 20px;
  padding-top: 20px;
  display: grid;
  gap: 10px;
}

.event-details div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
}

.event-details dt {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-white .event-details dt,
.section-accent .event-details dt {
  color: var(--gold-dark);
}

.event-details dd {
  margin: 0;
  font-size: 0.9rem;
}

.calendar-link {
  width: fit-content;
  color: var(--gold);
  font-size: 0.88rem;
}

.section-white .calendar-link,
.section-accent .calendar-link {
  color: var(--evergreen);
}

.split-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 46px;
  align-items: center;
}

.split-panel h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.08;
}

.split-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 430px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--evergreen);
}

.photo-strip img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.photo-strip-copy {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.photo-strip-copy h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.photo-strip-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.action-stack {
  display: grid;
  gap: 10px;
}

.notice {
  padding: 18px 20px;
  border-left: 5px solid var(--gold);
  background: var(--white);
  color: var(--ink);
}

.prose {
  max-width: 800px;
}

.prose h2 {
  margin: 42px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 22px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list p {
  min-height: 56px;
  margin: 0;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.empty-state {
  padding: 22px;
  border: 1px dashed #aebbb4;
  border-radius: 6px;
  color: var(--muted);
}

.media-placeholder {
  width: 100%;
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px dashed #9cad9f;
  border-radius: 6px;
  color: var(--muted);
  background: #e9eeea;
}

.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.74);
  background: #0d261d;
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 30px;
  align-items: start;
}

.footer-shell strong {
  color: var(--white);
}

.footer-shell p {
  margin: 8px 0 0;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.text-link {
  color: inherit;
  font-size: 0.9rem;
}

.text-link:hover {
  color: var(--gold);
}

.footer-date {
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .nav-shell {
    grid-template-columns: 1fr auto auto;
  }

  .icon-button {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    max-height: 0;
    padding: 0 16px;
    display: grid;
    overflow: hidden;
    background: var(--evergreen);
    transition: max-height 180ms ease, padding 180ms ease;
  }

  .primary-nav.is-open {
    max-height: 560px;
    padding-top: 10px;
    padding-bottom: 18px;
  }

  .nav-link {
    padding: 11px 12px;
  }

  .activity-grid,
  .resource-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-shell {
    width: min(100% - 24px, 1180px);
  }

  .brand strong {
    max-width: 170px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 590px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero-description {
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 0.88rem;
    text-align: center;
  }

  .hero-signal {
    min-height: auto;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .hero-signal strong {
    font-size: 3.2rem;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading-row,
  .split-panel,
  .photo-strip {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .photo-strip img {
    min-height: 280px;
    max-height: 420px;
  }

  .photo-strip-copy {
    padding: 30px 24px;
  }

  .schedule-grid,
  .activity-grid,
  .resource-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
