/*
  Miles for Nicole — orange mid-century theme
  This layer intentionally leaves the page structure and content unchanged.
*/

:root {
  --forest: #23717a;
  --deep: #123d45;
  --pine: #2f7880;
  --sage: #b9dedb;
  --cream: #fff5e5;
  --paper: #fffcf4;
  --gold: #f6bf45;
  --amber: #eba13a;
  --orange: #f36b2f;
  --sky: #78c5d4;
  --ink: #173b43;
  --muted: #63787b;
  --line: rgba(18, 61, 69, 0.18);
  --display: Rockwell, Georgia, "Times New Roman", serif;
  --body: "Trebuchet MS", Arial, sans-serif;
}

body {
  background: var(--paper);
}

.topbar {
  background: rgba(255, 248, 236, 0.95);
  border-bottom: 3px solid var(--orange);
}

.brand-icon {
  background: var(--orange);
  color: var(--cream);
  border-radius: 68% 32% 62% 38%;
  box-shadow: 4px 3px 0 var(--gold);
}

.brand b {
  background: var(--gold);
  color: var(--deep);
  border-radius: 2px 9px 2px 9px;
  transform: rotate(-2deg);
}

.pill {
  border-radius: 5px 24px 5px 24px;
  box-shadow: 4px 4px 0 rgba(18, 61, 69, 0.2);
}

.pill:hover {
  box-shadow: 7px 7px 0 rgba(18, 61, 69, 0.2);
}

.pill-dark {
  background: var(--deep);
  color: var(--cream);
}

.pill-gold {
  background: var(--gold);
  color: var(--deep);
}

.pill-outline {
  border-color: var(--cream);
  color: var(--cream);
}

.pill-cream {
  background: var(--cream);
  color: var(--deep);
}

.hero {
  background: var(--deep);
  padding-bottom: 150px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 3;
  width: 42px;
  height: 42px;
  right: 3.5%;
  top: 13%;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffdf7 0 18%, rgba(255, 245, 229, 0.88) 45%, rgba(255, 245, 229, 0.72) 100%);
  box-shadow: 0 0 0 7px rgba(255, 245, 229, 0.08), 0 0 22px rgba(255, 245, 229, 0.2);
  -webkit-mask: none;
  mask: none;
  opacity: 0.72;
  transform: none;
  pointer-events: none;
}

.route-track {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 7%;
  width: min(55vw, 790px);
  height: 79%;
  overflow: visible;
  opacity: 0.72;
  filter: drop-shadow(0 2px 4px rgba(18, 61, 69, 0.28));
}

.route-track path {
  fill: none;
  stroke: var(--cream);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 2 17;
  vector-effect: non-scaling-stroke;
}

.movement-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 2px;
}

.movement-icons span {
  position: relative;
  isolation: isolate;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--deep);
  box-shadow: none;
}

.movement-icons span::before,
.movement-icons span::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.movement-icons span::before {
  z-index: 0;
  inset: -6px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 58% 18%, 71% 8%, 72% 28%, 92% 21%, 82% 39%, 100% 50%, 82% 61%, 92% 79%, 72% 72%, 71% 92%, 58% 82%, 50% 100%, 42% 82%, 29% 92%, 28% 72%, 8% 79%, 18% 61%, 0% 50%, 18% 39%, 8% 21%, 28% 28%, 29% 8%, 42% 18%);
}

.movement-icons span::after {
  z-index: 1;
  inset: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.movement-icons span:nth-child(even) {
  color: var(--orange);
}

.movement-icons span:nth-child(even)::before {
  inset: -4px;
  border-radius: 50%;
  background: var(--cream);
  clip-path: none;
}

.movement-icons span:nth-child(even)::after {
  inset: auto -5px auto auto;
  top: -5px;
  width: 39px;
  height: 39px;
  background: var(--deep);
}

.movement-icons svg {
  position: relative;
  z-index: 2;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Keep activity choices simple; celestial shapes belong to the landscape. */
.movement-icons span {
  isolation: auto;
  width: 46px;
  height: 46px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  box-shadow: 3px 3px 0 var(--orange);
}

.movement-icons span::before,
.movement-icons span::after {
  content: none;
}

.movement-icons span:nth-child(even) {
  background: var(--cream);
  color: var(--deep);
}

.movement-icons svg {
  z-index: 1;
}

.hero-foot {
  height: 112px;
}

.hero-foot .event-date {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.anywhere-message {
  min-width: 285px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.anywhere-icon {
  width: 36px;
  height: 36px;
  flex: none;
  fill: none;
  stroke: var(--deep);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.anywhere-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.anywhere-copy strong {
  font: 800 17px var(--body);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.anywhere-copy small {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(18, 61, 69, 0.78);
}

.mountains::after {
  background: linear-gradient(
    90deg,
    rgba(18, 61, 69, 0.97) 0%,
    rgba(25, 78, 86, 0.86) 43%,
    rgba(243, 107, 47, 0.16) 100%
  );
}

.sun {
  display: none;
  background: var(--gold);
  isolation: isolate;
  z-index: 0;
  box-shadow: 0 0 0 12px rgba(243, 107, 47, 0.3);
}

.sun::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 56% 20%, 67% 6%, 69% 27%, 85% 15%, 80% 35%, 100% 31%, 84% 45%, 100% 50%, 84% 55%, 100% 69%, 80% 65%, 85% 85%, 69% 73%, 67% 94%, 56% 80%, 50% 100%, 44% 80%, 33% 94%, 31% 73%, 15% 85%, 20% 65%, 0% 69%, 16% 55%, 0% 50%, 16% 45%, 0% 31%, 20% 35%, 15% 15%, 31% 27%, 33% 6%, 44% 20%);
}

.ridge {
  background: var(--pine);
}

.ridge.near {
  background: #24565f;
}

.marker {
  border-color: var(--cream);
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(243, 180, 63, 0.28);
}

.kicker,
h1 em {
  color: var(--gold);
}

.hero-copy > p:not(.kicker, .preview-note) {
  color: #e2f3f2;
}

.preview-note {
  color: #b8dedd;
}

.hero-foot {
  background: var(--orange);
  color: var(--cream);
}

.hero-foot .line {
  background: rgba(255, 240, 218, 0.42);
}

.section-tag {
  color: var(--orange);
}

.section-tag.light {
  color: var(--gold);
}

.intro {
  background-color: var(--paper);
  background-image: radial-gradient(circle at 92% 18%, rgba(243, 180, 63, 0.19) 0 54px, transparent 56px);
}

.intro blockquote {
  border-left-color: var(--orange);
  color: var(--pine);
}

.intro blockquote cite {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nicole-photo {
  position: relative;
  width: min(100%, 560px);
  margin: 48px 0 0;
}

.nicole-photo::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 92px;
  height: 92px;
  right: -24px;
  top: -28px;
  border-radius: 50%;
  background: var(--gold);
}

.nicole-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 3px solid var(--deep);
  border-radius: 220px 220px 10px 10px;
  box-shadow: 10px 10px 0 var(--orange);
}

.nicole-photo figcaption {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: -8px 0 0 22px;
  padding: 8px 13px;
  background: var(--cream);
  border: 2px solid var(--deep);
  border-radius: 3px 14px 3px 14px;
  color: var(--deep);
  font-size: 11px;
  font-weight: 800;
}

.journey {
  position: relative;
  overflow: hidden;
  background: #fff0da;
}

.journey::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -145px;
  top: -145px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.62;
  pointer-events: none;
}

.journey > * {
  position: relative;
  z-index: 1;
}

.round-icon {
  background: var(--orange);
  color: var(--cream);
  border-radius: 62% 38% 58% 42%;
  box-shadow: 5px 5px 0 var(--gold);
}

.ways {
  position: relative;
  overflow: hidden;
  background: var(--orange);
}

.ways::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 155px;
  right: 6%;
  bottom: -2px;
  border-radius: 310px 310px 0 0;
  background: rgba(243, 180, 63, 0.34);
  pointer-events: none;
}

.ways > * {
  position: relative;
  z-index: 1;
}

.ways-title > p:not(.section-tag) {
  color: #fff2df;
}

.activity {
  border: 2px solid var(--deep);
  border-radius: 5px 24px 5px 24px;
  box-shadow: 7px 8px 0 rgba(18, 61, 69, 0.23);
}

.activity:nth-child(even) {
  border-radius: 24px 5px 24px 5px;
}

.a-run,
.a-swim {
  background: var(--gold);
}

.a-hike {
  background: #a8d0d5;
}

.participate {
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(232, 100, 46, 0.17) 2px, transparent 2.5px);
  background-position: 0 0;
  background-size: 28px 28px;
}

.participate .section-head,
.participate .path-grid {
  position: relative;
}

.path-grid article,
.event-card,
.finder {
  border: 2px solid var(--deep);
  border-radius: 5px 30px 5px 30px;
  box-shadow: 7px 7px 0 rgba(18, 61, 69, 0.15);
}

.path-grid article {
  background: #fffaf1;
}

.path-grid article:nth-child(2) {
  background: #f7c9a8;
}

.path-grid article:nth-child(3) {
  background: #f4d27a;
}

.strava {
  background-color: var(--deep);
  background-image:
    radial-gradient(circle at 8% 18%, rgba(232, 100, 46, 0.43) 0 72px, transparent 74px),
    radial-gradient(circle at 91% 84%, rgba(243, 180, 63, 0.22) 0 112px, transparent 114px);
}

.strava-copy > p:not(.section-tag),
.strava-steps p {
  color: #c4e3e3;
}

.strava-steps li > span {
  border: 2px solid var(--orange);
  color: var(--cream);
  background: var(--orange);
  border-radius: 68% 32% 58% 42%;
}

.events {
  background: #fff4e5;
}

.finder {
  background: #fffaf1;
}

.finder input {
  background: var(--cream);
  border-color: rgba(18, 61, 69, 0.28);
}

.quiet {
  color: var(--orange);
}

.status {
  background: #f7c9a8;
  border-radius: 2px 10px 2px 10px;
}

.status.community {
  background: #f4d27a;
}

.status.official {
  background: var(--orange);
  color: white;
}

.legacy {
  background: #dceff0;
}

.legacy-art {
  border: 3px solid var(--deep);
  border-radius: 240px 240px 8px 8px;
  box-shadow: 10px 10px 0 var(--orange);
}

.legacy-sun {
  background: var(--gold);
  box-shadow: 0 0 0 12px rgba(232, 100, 46, 0.3);
}

.lake {
  background: #4d8492;
}

.source-badge {
  background: var(--cream);
  border: 2px solid var(--orange);
  border-radius: 4px 16px 4px 16px;
}

.give {
  position: relative;
  overflow: hidden;
  background: var(--orange);
}

.give::before,
.give::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.give::before {
  width: 230px;
  height: 230px;
  left: -90px;
  top: -80px;
  background: var(--gold);
  opacity: 0.48;
}

.give::after {
  width: 180px;
  height: 180px;
  right: -55px;
  bottom: -60px;
  border: 28px solid rgba(255, 240, 218, 0.3);
}

.give > * {
  position: relative;
  z-index: 1;
}

.give > p:not(.section-tag) {
  color: #ffe5d2;
}

.give .section-tag {
  color: var(--gold);
}

footer {
  background: var(--deep);
  border-top: 8px solid var(--gold);
}

footer small {
  color: #b9d9db;
}

@media (max-width: 650px) {
  .hero::before {
    width: 34px;
    height: 34px;
    right: 4%;
    top: 15%;
    box-shadow: 0 0 0 5px rgba(255, 245, 229, 0.07), 0 0 16px rgba(255, 245, 229, 0.16);
  }

  .route-track {
    right: -2%;
    bottom: 14%;
    width: 96vw;
    height: 72%;
    opacity: 0.48;
  }

  .movement-icons span {
    width: 42px;
    height: 42px;
  }

  .hero-foot {
    height: 132px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
  }

  .hero-foot .event-date {
    font-size: clamp(25px, 7vw, 32px);
  }

  .anywhere-message {
    min-width: 0;
    gap: 9px;
  }

  .anywhere-icon {
    width: 26px;
    height: 26px;
  }

  .anywhere-copy strong {
    font-size: 13px;
  }

  .anywhere-copy small {
    margin-top: 3px;
    font-size: 9px;
  }

  .path-grid article,
  .event-card,
  .finder {
    box-shadow: 5px 5px 0 rgba(18, 61, 69, 0.14);
  }
}
