/* Southeast Applied & Computational Math Student Workshop */
:root {
  --ink: #102b3d;
  --ink-soft: #4f6573;
  --navy: #071b2c;
  --navy-2: #0c2f46;
  --blue: #147b9f;
  --teal: #45c2bc;
  --gold: #f4b860;
  --coral: #f2765d;
  --paper: #f6f8f6;
  --white: #ffffff;
  --line: #d9e2e5;
  --shadow: 0 18px 50px rgba(7, 27, 44, 0.11);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 15%, rgba(69, 194, 188, 0.09), transparent 27rem),
    radial-gradient(circle at 92% 55%, rgba(244, 184, 96, 0.10), transparent 28rem);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 810px;
  margin-bottom: 1.35rem;
  color: var(--white);
  font-size: clamp(2.7rem, 6.3vw, 5.85rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 4vw, 3.65rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.7rem 1rem;
  color: var(--navy);
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.nav {
  display: flex;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 78px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.nav-links {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2.2rem);
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(7, 27, 44, 0.99), rgba(7, 37, 58, 0.94) 54%, rgba(12, 62, 78, 0.78)),
    var(--navy);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 45%, rgba(69, 194, 188, 0.12), transparent 29rem),
    linear-gradient(90deg, rgba(7, 27, 44, 0.34), transparent 70%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 38%;
  content: "";
  pointer-events: none;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, black);
}

.hero-map {
  position: absolute;
  z-index: 1;
  top: 6.5rem;
  right: -7rem;
  width: min(68vw, 980px);
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0.58;
  filter: saturate(0.9) drop-shadow(0 0 30px rgba(69, 194, 188, 0.13));
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 820px;
  margin-inline: auto;
  padding: 150px 0 82px;
  align-items: center;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1.5rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0.78rem 1.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

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

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

.route-card {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.route-card h2 {
  margin-bottom: 0.4rem;
  color: var(--white);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.route-intro {
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.route {
  position: relative;
  display: grid;
  gap: 0.2rem;
}

.route::before {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 7px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--teal), var(--gold));
}

.route-stop {
  position: relative;
  display: grid;
  padding: 0.75rem 0 0.75rem 2rem;
  grid-template-columns: 58px 1fr;
  gap: 0.75rem;
}

.route-stop::before {
  position: absolute;
  top: 1.2rem;
  left: 2px;
  width: 11px;
  height: 11px;
  content: "";
  border: 2px solid var(--navy-2);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(69, 194, 188, 0.14);
}

.route-stop:last-child::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(244, 184, 96, 0.14);
}

.route-stop-upcoming .route-year {
  color: var(--gold);
}

.route-stop-upcoming .route-place {
  color: #fff4d8;
}

.route-year {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.route-place {
  color: var(--white);
  font-weight: 700;
  line-height: 1.3;
}

.route-city {
  display: block;
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.49);
  font-size: 0.78rem;
  font-weight: 500;
}

.section {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.section-heading {
  max-width: 710px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.about-heading {
  position: relative;
  max-width: 820px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.about-heading::after {
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 2rem;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.about-heading p {
  max-width: 760px;
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.objective-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.objective {
  min-height: 275px;
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.objective:hover {
  border-color: rgba(20, 123, 159, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.objective-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 2rem;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  border: 1px solid rgba(20, 123, 159, 0.23);
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 800;
}

.objective p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.history {
  color: var(--white);
  background: var(--navy);
}

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

.history .section-heading p {
  color: rgba(255, 255, 255, 0.66);
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.history-card {
  position: relative;
  display: flex;
  min-height: 350px;
  padding: clamp(1.6rem, 4vw, 3rem);
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 180ms ease;
}

.history-card:hover {
  background: rgba(255, 255, 255, 0.045);
}

.history-year {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 9vw, 7.2rem);
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.history-kicker {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.history-card:nth-child(2) .history-kicker,
.history-card:nth-child(4) .history-kicker {
  color: var(--gold);
}

.history-card-upcoming {
  min-height: 315px;
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 82% 20%, rgba(244, 184, 96, 0.16), transparent 21rem),
    linear-gradient(110deg, rgba(69, 194, 188, 0.07), rgba(244, 184, 96, 0.045));
}

.history-card-upcoming:hover {
  background:
    radial-gradient(circle at 82% 20%, rgba(244, 184, 96, 0.2), transparent 21rem),
    linear-gradient(110deg, rgba(69, 194, 188, 0.1), rgba(244, 184, 96, 0.065));
}

.history-card-upcoming .history-year {
  color: rgba(244, 184, 96, 0.24);
}

.history-card-upcoming .history-kicker {
  color: var(--gold);
}

.history-card-upcoming h3 {
  max-width: 680px;
}

.upcoming-note {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.72rem;
  color: #fff4d8;
  border: 1px solid rgba(244, 184, 96, 0.3);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(244, 184, 96, 0.08);
}

.history-card h3 {
  max-width: 420px;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.history-card p {
  margin-bottom: 1.3rem;
  color: rgba(255, 255, 255, 0.6);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "↗";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translate(2px, -2px);
}

.photos-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.25rem;
  align-items: start;
}

.photo-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dbe5e7;
  box-shadow: var(--shadow);
}

.photo-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dbe5e7;
}

.photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.photo-card-emory {
  margin-top: 3.5rem;
}

.photo-media-emory img {
  object-fit: contain;
  transform: rotate(90deg) scale(1.35);
}

.photo-card:not(.photo-card-emory):hover img {
  transform: scale(1.025);
}

.photo-card-emory:hover img {
  transform: rotate(90deg) scale(1.39);
}

.photo-card figcaption {
  padding: 1.15rem 1.35rem 1.3rem;
  color: var(--ink-soft);
  background: var(--white);
  font-size: 0.9rem;
}

.photo-card figcaption strong {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--ink);
  font-size: 1rem;
}

.photo-source {
  color: var(--blue);
  font-weight: 700;
}

.support {
  padding-top: 0;
}

.support-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  color: var(--white);
  border-radius: 30px;
  background: linear-gradient(120deg, #0d6680, #0c425b 62%, #102d45);
  box-shadow: var(--shadow);
}

.support-panel::after {
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 26rem;
  height: 26rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.025);
}

.support-copy {
  position: relative;
  z-index: 1;
  display: grid;
  margin-bottom: 3rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
}

.support-copy h2 {
  margin-bottom: 0;
}

.support-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.support-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.supporter {
  min-height: 140px;
  padding: 1.35rem;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.035);
}

.supporter-abbr {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.supporter-name {
  display: block;
  color: var(--white);
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.35;
}

.support-note {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.site-footer {
  padding: 3rem 0;
  color: rgba(255, 255, 255, 0.62);
  background: #051521;
}

.footer-inner {
  display: flex;
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-title {
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.footer-copy {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
}

.back-to-top {
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

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

@media (max-width: 880px) {
  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 138px;
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .route-card {
    max-width: 580px;
  }

  .support-copy {
    grid-template-columns: 1fr;
  }

  .hero-map {
    top: 10rem;
    right: -12rem;
    width: min(120vw, 900px);
    opacity: 0.42;
  }

  .objective-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .photo-card-emory {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: 70px;
  }

  .brand-text {
    display: none;
  }

  .nav-links {
    gap: 0.9rem;
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .hero-inner {
    padding-top: 118px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.5rem);
  }

  .objective-list,
  .history-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .history-card-upcoming {
    grid-column: auto;
  }

  .objective {
    min-height: auto;
  }

  .objective-number {
    margin-bottom: 1.3rem;
  }

  .history-card {
    min-height: 320px;
  }

  .photo-card-emory {
    margin-top: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
