@import "fonts/fonts.css";

:root {
  --ink: #2a1548;
  --ink-soft: #4c3a66;
  --night: #140c22;
  --night-soft: #241433;
  --paper: #f3ebdd;
  --paper-deep: #e5d9c6;
  --cream: #fcf1df;
  --copper: #c47b45;
  --copper-deep: #8a4e2c;
  --orange: #ff7a00;
  --line: rgb(42 21 72 / 14%);
  --sans: Inter, sans-serif;
  --header: 4.25rem;
  --measure: 40rem;
  --page: 72rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

main { flex: 1; }

img { max-width: 100%; height: auto; }

a { color: inherit; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 20;
  transform: translateY(-120%);
  background: var(--cream);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
}

.skip:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem 1.25rem;
  background: rgb(20 12 34 / 92%);
  color: var(--cream);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
  line-height: 1;
}

.brand svg { width: 2rem; height: auto; display: block; }

.lockup {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.8;
  white-space: nowrap;
}

.lockup img {
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.08em;
  transform: translateY(-0.12em);
}

.lockup-mascot { font-size: 2.25rem; color: var(--ink); }

.lockup-mascot img { width: 1.05em; height: 1.05em; }

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] { color: #f0c49a; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: center;
  padding: 2.5rem 1.25rem 3.5rem;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgb(12 6 20 / 62%) 0%, rgb(16 8 28 / 38%) 38%, rgb(8 4 16 / 82%) 100%),
    url("assets/trail.jpeg") center 12% / cover no-repeat;
}

.hero-grid {
  width: min(100%, var(--page));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  justify-items: center;
}

.hero-copy { max-width: 40rem; text-align: center; }

.eyebrow {
  margin: 0 0 0.8rem;
  color: #f0c49a;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-ligatures: none;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 10vw, 6.4rem);
  line-height: 0.9;
}

.deck {
  margin: 1.25rem auto 0;
  max-width: var(--measure);
  font-size: 1.2rem;
  line-height: 1.5;
  color: rgb(252 246 238 / 92%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.button.primary { background: var(--orange); color: #1a1028; }
.button.quiet {
  background: rgb(252 246 238 / 10%);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgb(252 246 238 / 35%);
}

.mark-slot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.paw-sticker {
  height: 11rem;
  width: auto;
  filter: drop-shadow(0 14px 16px rgb(42 21 72 / 28%));
}

.mascot-sticker {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  border-radius: 1.8rem;
  background: #fff;
  box-shadow: 0 16px 24px rgb(42 21 72 / 14%);
}

.mascot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 13rem;
  border-radius: 1.35rem;
  background: var(--cream);
  padding: 0.25rem 1rem 0.9rem;
}

.mascot-card > img {
  width: 11rem;
  height: auto;
}

.section {
  width: min(100% - 2.5rem, var(--page));
  margin: 0 auto;
  padding: 4.5rem 0;
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.section h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.lede {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.about-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.pillars {
  display: grid;
  gap: 1rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.pillars li {
  padding: 1.25rem 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--cream);
}

.pillars h3 { margin: 0.85rem 0 0.4rem; font-size: 1.55rem; }

.pillars p { margin: 0; color: var(--ink-soft); }

.mark-icon { width: 1.7rem; height: auto; display: block; }

.scenes {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.scene { margin: 0; }

.scene-frame {
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--paper-deep);
}

.scene-frame.wide { aspect-ratio: 16 / 9; }
.scene-frame.square { aspect-ratio: 4 / 3; }
.scene-frame.portrait { aspect-ratio: 3 / 4; }

.scene-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scene figcaption {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.site-footer {
  background: var(--night);
  color: rgb(252 246 238 / 82%);
  padding: 2.5rem 1.25rem 2rem;
}

.footer-inner {
  width: min(100%, 28rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
  line-height: 1;
}

.footer-brand svg { width: 1.6rem; height: auto; }

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.1rem;
}

.legal a { color: var(--cream); }

.fine { margin: 0; font-size: 0.92rem; }

.page-main {
  width: min(100% - 2.5rem, 46rem);
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
}

.page-main h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }

.page-main p + p { margin-top: 1rem; }

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(0, 36rem) 1fr;
    justify-items: center;
  }

  .hero-copy { text-align: left; }
  .hero-actions { justify-content: flex-start; }
  .deck { margin-left: 0; }

  .about-layout {
    grid-template-columns: 16rem 1fr;
    justify-items: stretch;
  }

  .about-layout .mark-slot { justify-self: center; }

  .scenes { grid-template-columns: repeat(6, 1fr); }
  .scene-field { grid-column: span 6; }
  .scene-half { grid-column: span 3; }
  .scene-third { grid-column: span 2; }

  .pillars { grid-template-columns: repeat(3, 1fr); }
}

body.about { background: var(--night); }

.about-main {
  flex: 1;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgb(12 6 20 / 70%) 0%, rgb(16 8 28 / 50%) 42%, rgb(8 4 16 / 88%) 100%),
    url("assets/trail.jpeg") center 18% / cover no-repeat;
}

.about-copy {
  width: min(100% - 2.5rem, 36rem);
  margin: 0 auto;
  padding: 4.75rem 0 5.25rem;
}

.about-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  line-height: 0.95;
}

.about-copy h2 {
  margin: 2.75rem 0 0;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.about-copy p {
  margin: 0.7rem 0 0;
  color: rgb(252 246 238 / 88%);
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-copy a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.about-copy #inquiries { margin-top: 3.25rem; }

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