:root {
  color-scheme: light;
  --ink: #19211d;
  --muted: #64706a;
  --line: #d8ded6;
  --paper: #fbfaf5;
  --ivory: #f3efe4;
  --green: #123f35;
  --green-2: #0d2e28;
  --gold: #bd8d45;
  --burgundy: #7c2f37;
  --blue: #365d7d;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(15, 24, 19, 0.14);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(251, 250, 245, 0.88);
  border-bottom: 1px solid rgba(216, 222, 214, 0.7);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 52px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  letter-spacing: 0;
  width: 42px;
}

.brand small,
.brand strong {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

nav {
  display: flex;
  gap: clamp(10px, 2vw, 24px);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero {
  min-height: 94vh;
  overflow: hidden;
  position: relative;
}

.hero-bg,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-bg {
  background-image: url("assets/alumni-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 21, 18, 0.84) 0%, rgba(12, 37, 31, 0.64) 43%, rgba(12, 37, 31, 0.18) 78%),
    linear-gradient(0deg, rgba(7, 21, 18, 0.52), rgba(7, 21, 18, 0.06));
}

.hero-content {
  color: var(--white);
  max-width: 760px;
  padding: 158px clamp(22px, 7vw, 96px) 54px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.7rem, 7vw, 6.4rem);
  line-height: 0.98;
  max-width: 720px;
}

.page-title {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.06;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.23rem);
  line-height: 1.6;
  margin: 24px 0 0;
  max-width: 620px;
}

.hero-actions,
.form-actions,
.share-actions,
.search-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--gold);
  color: #1d160b;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.btn.secondary.light,
.btn.ghost,
.btn.compact {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.btn.compact {
  min-height: 40px;
  padding-inline: 14px;
}

.impact-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 54px 0 0;
  max-width: 620px;
}

.impact-strip div {
  border-left: 2px solid rgba(189, 141, 69, 0.78);
  padding-left: 16px;
}

.impact-strip dt {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
}

.impact-strip dd {
  color: rgba(255, 255, 255, 0.72);
  margin: 4px 0 0;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 52px);
}

.standalone-main {
  padding-top: 72px;
}

.band {
  background: var(--ivory);
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.two-column,
.app-layout,
.dinner-layout,
.memory-layout,
.share-layout {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.two-column {
  align-items: start;
  grid-template-columns: 0.8fr 1.2fr;
}

.two-column p,
.survey-copy p,
.path-card p,
.memory-layout > div > p,
.share-layout > div > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.path-section {
  padding-bottom: clamp(36px, 6vw, 72px);
}

.path-heading {
  margin-bottom: 24px;
  max-width: 760px;
}

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

.path-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
}

.path-card.accent {
  background: var(--green);
  border-color: var(--green);
}

.path-card h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.12;
  margin: 0;
}

.path-card.accent h3,
.path-card.accent p {
  color: var(--white);
}

.path-card .btn {
  justify-self: start;
  margin-top: 4px;
}

.dinner-layout {
  align-items: start;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
}

.survey-copy {
  position: sticky;
  top: 94px;
}

.app-layout {
  align-items: start;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
}

.panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 30px);
}

.search-panel {
  position: sticky;
  top: 94px;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.field span,
legend {
  color: #324039;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  background: #fffefb;
  border: 1px solid #ccd5cc;
  border-radius: 8px;
  color: var(--ink);
  min-height: 46px;
  outline: none;
  padding: 12px 13px;
  width: 100%;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green) 50%),
    linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 52%,
    calc(100% - 14px) 52%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 42px;
}

textarea {
  line-height: 1.5;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 141, 69, 0.2);
}

.icon-btn {
  align-items: center;
  background: var(--green);
  border: 0;
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.5rem;
  height: 40px;
  justify-content: center;
  line-height: 1;
  width: 40px;
}

.search-tools {
  margin-top: 12px;
}

.results {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.result-card {
  background: #fffefb;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 14px;
  text-align: left;
  width: 100%;
}

.result-card strong,
.result-card span {
  display: block;
}

.result-card strong {
  margin-bottom: 5px;
}

.result-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.result-card.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 141, 69, 0.16);
}

.form-heading {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.status-pill {
  background: #edf4f1;
  border: 1px solid #cfe0d9;
  border-radius: 999px;
  color: var(--green);
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 12px;
}

.grid {
  display: grid;
  gap: 0 16px;
}

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

.verify-box {
  background: #f5f7f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 24px;
  padding: 18px;
}

.verify-box p {
  color: var(--muted);
  line-height: 1.5;
  margin: 6px 0 0;
}

.form-actions {
  margin-top: 24px;
}

.save-note {
  color: var(--green);
  font-weight: 800;
  min-height: 22px;
}

.memory-layout,
.share-layout {
  align-items: center;
  grid-template-columns: 0.82fr 1.18fr;
}

.upload-zone {
  align-items: center;
  background: #fffefb;
  border: 1.5px dashed #b7c3b9;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  justify-items: center;
  margin-top: 18px;
  min-height: 156px;
  padding: 22px;
  text-align: center;
}

.upload-zone input {
  display: none;
}

.upload-zone small {
  color: var(--muted);
  line-height: 1.4;
  margin-top: 6px;
}

.upload-icon {
  align-items: center;
  background: var(--green);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 1.6rem;
  font-weight: 400;
  height: 42px;
  justify-content: center;
  margin-bottom: 8px;
  width: 42px;
}

.media-preview {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
  margin-top: 14px;
}

.media-item {
  background: #f5f7f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 92px;
  overflow: hidden;
  position: relative;
}

.media-item img,
.media-item video {
  display: block;
  height: 92px;
  object-fit: cover;
  width: 100%;
}

.media-item span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  overflow: hidden;
  padding: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.privacy-options {
  border: 0;
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
}

.privacy-options label {
  align-items: start;
  color: #34433c;
  display: flex;
  gap: 10px;
  line-height: 1.4;
}

.privacy-options input {
  flex: 0 0 auto;
  min-height: 18px;
  width: 18px;
}

.qr-panel {
  background: var(--green);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  justify-items: center;
  padding: clamp(22px, 4vw, 40px);
}

#qrImage,
#qrCanvas {
  background: var(--white);
  border-radius: 8px;
  height: 220px;
  padding: 12px;
  width: 220px;
}

#shareUrl {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 18px 0 0;
  overflow-wrap: anywhere;
  text-align: center;
}

.site-footer {
  align-items: center;
  background: var(--green-2);
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 52px);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    gap: 10px;
    min-height: auto;
    position: absolute;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 142px;
  }

  .two-column,
  .app-layout,
  .dinner-layout,
  .path-grid,
  .memory-layout,
  .share-layout,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .search-panel,
  .survey-copy {
    position: static;
  }

  .form-heading {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  nav {
    font-size: 0.82rem;
    gap: 8px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding: 132px 18px 42px;
  }

  .impact-strip {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 18px;
  }
}
