@font-face {
  font-family: "IHR Avenir";
  src: url("../fonts/avenir-heavy-webfont.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
}

@font-face {
  font-family: "IHR Avenir";
  src: url("../fonts/avenir-black-webfont.woff2") format("woff2");
  font-display: swap;
  font-weight: 800;
}

@font-face {
  font-family: "Texas Tango";
  src: url("../fonts/texas_tango-webfont.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ihr-slate: #74808a;
  --ihr-slate-dark: #59636b;
  --ihr-blue: #d2edf3;
  --ihr-gold: #f0c17d;
  --ihr-stone: #aaa79b;
  --ihr-stone-light: #d4d0c4;
  --ihr-ink: #4f4d4a;
  --ihr-white: #fff;
  --ihr-header-height: 66px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ihr-ink);
  background: var(--ihr-stone);
  font-family: "IHR Avenir", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

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

.screen-reader-text:focus {
  z-index: 10000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #111;
  background: #fff;
}

.ihr-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--ihr-header-height);
  color: rgba(255, 255, 255, .8);
  background: rgba(91, 91, 91, .84);
  backdrop-filter: blur(5px);
}

.admin-bar .ihr-header { top: 32px; }

.ihr-header__inner {
  width: min(100%, 1920px);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 72px);
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 90px);
}

.ihr-brand { width: clamp(120px, 11vw, 190px); flex: 0 0 auto; }
.ihr-brand img { width: 100%; }
.ihr-nav { margin-inline: auto; width: min(86vw, 1200px); }
.ihr-nav__list {
  display: grid;
  grid-template-columns: repeat(8, minmax(76px, 1fr));
  align-items: center;
  gap: clamp(8px, 1.4vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ihr-nav__item a {
  display: block;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
  transition: color .2s ease, transform .2s ease;
}

.ihr-nav__item a:hover,
.ihr-nav__item a:focus-visible { color: var(--ihr-gold); transform: translateY(-1px); }
.ihr-nav__item span { display: block; font-size: clamp(.72rem, .9vw, 1rem); font-weight: 800; letter-spacing: .03em; }
.ihr-nav__item small { display: block; margin-top: 3px; font-size: clamp(.36rem, .42vw, .54rem); font-weight: 600; letter-spacing: .02em; text-transform: none; opacity: .72; }
.ihr-menu-toggle { display: none; }

.ihr-hero {
  position: relative;
  min-height: 100svh;
  background-image: url("../images/MtAnteroPrinceton1024@2x.png");
  background-position: center center;
  background-size: cover;
}

.ihr-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 25, .16), transparent 50%, rgba(10, 15, 18, .24));
}

.ihr-hero__content {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--ihr-header-height) + 40px) 24px 54px;
}

.ihr-hero__content > img {
  width: min(72vw, 860px);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.24));
}

.ihr-hero__cue {
  position: absolute;
  bottom: 30px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
}

.ihr-hero__cue span {
  position: absolute;
  left: 12px;
  top: 10px;
  width: 14px;
  height: 14px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.ihr-love { background: var(--ihr-stone); }
.ihr-love__title-band {
  position: relative;
  min-height: 270px;
  padding: 68px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.72);
  text-align: center;
  background:
    linear-gradient(rgba(129, 111, 111, .66), rgba(129, 111, 111, .66)),
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.22), transparent 35%),
    #897d7b;
  border-top: 13px solid #54788f;
  box-shadow: inset 0 8px 0 rgba(36, 62, 80, .45);
}

.ihr-love__title-band::after,
.ihr-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 24px;
  background: linear-gradient(135deg, transparent 8px, var(--ihr-stone) 0) 0 0/22px 22px repeat-x;
}

.ihr-love__title-band::after { bottom: -18px; }
.ihr-love__title-band > img:first-child { width: min(410px, 76vw); }
.ihr-love__title-band p { margin: 10px 0 0; font-size: clamp(.8rem, 1.2vw, 1.05rem); }
.ihr-love__heart { width: 45px; margin-top: 18px; opacity: .65; }

.ihr-love__intro {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 24px;
  color: var(--ihr-blue);
  text-align: center;
  font-size: clamp(1rem, 1.55vw, 1.5rem);
  line-height: 1.65;
}

.ihr-love__intro strong { color: var(--ihr-gold); }
.ihr-reasons {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 80px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(52px, 7vw, 100px) clamp(42px, 10vw, 150px);
}

.ihr-reason { text-align: center; }
.ihr-reason img,
.ihr-summary img { width: 82px; margin: 0 auto -3px; filter: sepia(.5) saturate(1.5); }
.ihr-reason h2,
.ihr-summary h2 {
  margin: 0;
  color: var(--ihr-blue);
  font-size: clamp(1.25rem, 1.9vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}
.ihr-reason p { max-width: 430px; margin: 16px auto 0; color: #706f6d; font-size: .94rem; line-height: 1.45; }
.ihr-summary { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 100px; text-align: center; }
.ihr-summary p { margin-top: 18px; color: #706f6d; }

.ihr-footer {
  position: relative;
  padding: 70px clamp(24px, 6vw, 90px) 24px;
  color: #6d6870;
  background:
    linear-gradient(rgba(225, 221, 210, .9), rgba(225, 221, 210, .9)),
    repeating-radial-gradient(circle at 0 0, #d7d2c6 0 2px, #c9c4b9 3px 7px);
}

.ihr-footer::before { top: -18px; transform: rotate(180deg); background: linear-gradient(135deg, transparent 8px, #ded9cd 0) 0 0/22px 22px repeat-x; }
.ihr-footer__inner { width: min(1500px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr .45fr 1fr; align-items: center; gap: 50px; }
.ihr-footer__join h2 { margin: 0 0 8px; font-size: 1.2rem; text-transform: uppercase; }
.ihr-footer__join p { max-width: 430px; margin: 0 0 16px; font-size: .82rem; }
.ihr-footer__join .ihr-footer__detail { margin-top: 16px; font-size: .68rem; line-height: 1.45; }
.ihr-button { display: inline-block; padding: 8px 22px; color: #fff; background: #d96071; border-radius: 3px; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.ihr-footer__mark { width: 120px; aspect-ratio: 1; margin: 0 auto; padding: 18px 8px; display: flex; flex-direction: column; justify-content: center; color: var(--ihr-gold); background: #335a7b; border-radius: 50% 50% 42% 42%; text-align: center; text-transform: uppercase; transform: rotate(-2deg); }
.ihr-footer__mark span { font-size: .65rem; }
.ihr-footer__mark strong { font-size: 1.05rem; }
.ihr-footer__logo { justify-self: end; width: min(100%, 420px); filter: grayscale(1) opacity(.55); }
.ihr-footer__legal { margin: 36px 0 0; text-align: center; font-size: .65rem; }

.ihr-page { min-height: 70vh; padding-top: var(--ihr-header-height); background: #eeece5; }
.ihr-page__hero img { width: 100%; max-height: 72vh; object-fit: cover; }
.ihr-page__content { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: clamp(55px, 8vw, 110px) 0; }
.ihr-page__content h1 { color: var(--ihr-slate-dark); font-family: "Texas Tango", Georgia, serif; font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 400; }
.ihr-entry { padding: 28px 0; border-bottom: 1px solid rgba(0,0,0,.12); }

.ihr-activities { background: #15202a; }
.ihr-activities__cover,
.ihr-activity {
  position: relative;
  min-height: 100svh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.ihr-activities__cover {
  background-image: url("../images/BikeJumpMountain@2x-scaled.jpg");
  background-position: center 35%;
}
.ihr-activities__cover-shade,
.ihr-activity__shade { position: absolute; inset: 0; }
.ihr-activities__cover-shade {
  background: linear-gradient(90deg, rgba(10,18,24,.62), rgba(10,18,24,.08) 55%, rgba(10,18,24,.28));
}
.ihr-activities__cover-content {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--ihr-header-height) + 14vh) 26vw 10vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.ihr-activities__cover-content > p {
  margin: 0 0 4px;
  color: var(--ihr-gold);
  font-family: "Texas Tango", Georgia, serif;
  font-size: clamp(2rem, 5vw, 5.2rem);
  line-height: .9;
}
.ihr-activities__cover-content h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 7rem);
  line-height: .88;
  text-transform: uppercase;
}
.ihr-activities__start {
  align-self: flex-start;
  margin-top: 30px;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ihr-activity-index {
  position: fixed;
  z-index: 900;
  top: calc(var(--ihr-header-height) + 20px);
  right: 0;
  width: min(240px, 23vw);
  pointer-events: none;
}
.admin-bar .ihr-activity-index { top: calc(var(--ihr-header-height) + 52px); }
.ihr-activity-index ol { margin: 0; padding: 0; list-style: none; }
.ihr-activity-index li { margin: 0 0 4px; }
.ihr-activity-index a {
  --rail-color: #da9c3b;
  display: block;
  width: calc(100% - (var(--rail-step, 0) * 4px));
  margin-left: auto;
  padding: 5px 22px 5px 30px;
  color: rgba(255,255,255,.82);
  background: color-mix(in srgb, var(--rail-color), transparent 12%);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
  font-size: clamp(.58rem, .78vw, .82rem);
  font-style: italic;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  pointer-events: auto;
  transition: color .2s ease, filter .2s ease, transform .2s ease;
}
.ihr-activity-index li:nth-child(even) a { --rail-color: #7291a7; }
.ihr-activity-index li:nth-child(4n) a { --rail-color: #81946c; }
.ihr-activity-index a:hover,
.ihr-activity-index a:focus-visible,
.ihr-activity-index a.is-current { color: #fff; filter: brightness(1.18); transform: translateX(-8px); }
.ihr-activity {
  scroll-margin-top: 0;
  background-image: var(--ihr-activity-image);
  overflow: visible;
}
.ihr-activity__shade {
  background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.05) 58%, rgba(0,0,0,.22));
}
.ihr-activity__copy {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--ihr-header-height) + 40px) 28vw 8vh 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.ihr-activity__number { margin: 0; color: var(--ihr-gold); font-size: .74rem; letter-spacing: .18em; }
.ihr-activity__copy h2 {
  margin: 2px 0 10px;
  font-family: "Texas Tango", Georgia, serif;
  font-size: clamp(2rem, 4.2vw, 4.5rem);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
  text-shadow: 0 2px 9px rgba(0,0,0,.45);
}
.ihr-activity__copy > p:last-child { width: min(500px, 100%); margin: 0; font-size: clamp(.9rem, 1.1vw, 1.08rem); line-height: 1.45; text-shadow: 0 1px 5px rgba(0,0,0,.75); }

@media (max-width: 1000px) {
  :root { --ihr-header-height: 62px; }
  .admin-bar .ihr-header { top: 46px; }
  .ihr-header__inner { justify-content: space-between; }
  .ihr-menu-toggle { width: 42px; height: 42px; padding: 9px; display: grid; align-content: center; gap: 5px; border: 0; color: #fff; background: transparent; }
  .ihr-menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .ihr-nav { position: fixed; top: var(--ihr-header-height); left: 0; right: 0; width: 100%; max-height: 0; overflow: hidden; background: rgba(80, 80, 80, .96); transition: max-height .3s ease; }
  .admin-bar .ihr-nav { top: calc(var(--ihr-header-height) + 46px); }
  .is-open .ihr-nav { max-height: calc(100vh - var(--ihr-header-height)); }
  .ihr-nav__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 14px; }
  .ihr-nav__item a { padding: 15px 8px; }
  .ihr-nav__item span { font-size: .88rem; }
  .ihr-nav__item small { font-size: .55rem; }
  .is-open .ihr-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .is-open .ihr-menu-toggle span:nth-child(2) { opacity: 0; }
  .is-open .ihr-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .ihr-activity-index {
    top: calc(var(--ihr-header-height));
    left: 0;
    right: 0;
    width: 100%;
    overflow-x: auto;
    background: rgba(55,61,65,.94);
  }
  .admin-bar .ihr-activity-index { top: calc(var(--ihr-header-height) + 46px); }
  .ihr-activity-index ol { display: flex; min-width: max-content; padding: 7px 10px; gap: 6px; }
  .ihr-activity-index li { margin: 0; }
  .ihr-activity-index a { width: auto; margin: 0; padding: 8px 14px; clip-path: none; border-radius: 2px; }
  .ihr-activity-index a:hover,
  .ihr-activity-index a:focus-visible,
  .ihr-activity-index a.is-current { transform: none; }
  .ihr-activities__cover-content,
  .ihr-activity__copy { padding-right: 0; }
  .ihr-activity { scroll-margin-top: 0; }
}

@media (max-height: 600px) {
  .admin-bar .ihr-activity,
  .admin-bar .ihr-activity__copy { min-height: calc(100svh - 32px); }
  .ihr-activity__copy {
    padding-top: calc(var(--ihr-header-height) + 54px);
    padding-bottom: 18px;
  }
  .ihr-activity__copy h2 { font-size: clamp(1.8rem, 9vh, 3.4rem); }
  .ihr-activity__copy > p:last-child { font-size: .82rem; line-height: 1.34; }
}

@media (min-width: 1001px) {
  .ihr-brand { display: none; }
}

@media (max-width: 700px) {
  .admin-bar .ihr-header { top: 0; }
  .admin-bar .ihr-nav { top: var(--ihr-header-height); }
  .admin-bar .ihr-activity-index { top: var(--ihr-header-height); }
  .ihr-brand { width: 128px; }
  .ihr-hero { background-position: 58% center; }
  .ihr-hero__content > img { width: min(88vw, 560px); }
  .ihr-love__title-band { min-height: 230px; padding-top: 55px; }
  .ihr-reasons { grid-template-columns: 1fr; gap: 58px; }
  .ihr-reason p { font-size: .9rem; }
  .ihr-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .ihr-footer__join p { margin-inline: auto; }
  .ihr-footer__logo { justify-self: center; width: min(88%, 400px); }
  .ihr-activities__cover-content { padding-top: calc(var(--ihr-header-height) + 80px); }
  .ihr-activity { min-height: 88svh; background-position: center; }
  .ihr-activity__copy { min-height: 88svh; padding: 130px 0 50px; }
  .ihr-activity__copy h2 { font-size: clamp(2rem, 12vw, 3.5rem); }
  .ihr-activity__copy > p:last-child { font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
