:root {
  color-scheme: light;
  --paper: #f7ecd2;
  --paper-warm: #fff7e6;
  --ink: #26211b;
  --muted: #6d5d48;
  --denim: #244f7a;
  --barn-red: #a93424;
  --mustard: #d99b21;
  --pickle: #6f7f3d;
  --asphalt: #34312d;
  --cardboard: #b98752;
  --freezer: #d9ecf4;
  --line: rgba(38, 33, 27, 0.18);
  --shadow: rgba(66, 47, 27, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  border-bottom: 3px solid var(--denim);
  background: rgba(255, 247, 230, 0.94);
  box-shadow: 0 0.35rem 1.4rem var(--shadow);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-mark {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.brand-text {
  color: var(--denim);
  font-size: 1.1rem;
  font-weight: 950;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--barn-red);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem) 0;
}

.hero-copy {
  text-align: center;
}

.hero-logo {
  display: block;
  width: clamp(10rem, 28vw, 18rem);
  height: auto;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}

.section-kicker,
.meta {
  margin: 0 0 0.8rem;
  color: var(--barn-red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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


h2 {
  margin-bottom: 1rem;
  color: var(--denim);
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.18;
}

p {
  color: var(--muted);
  line-height: 1.58;
}

.intro {
  max-width: 44rem;
  margin-right: auto;
  margin-left: auto;
  color: #4f4435;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.hero-photo {
  position: relative;
  min-height: clamp(26rem, 55vw, 42rem);
  border: 2px solid var(--ink);
  background:
    linear-gradient(180deg, rgba(217, 236, 244, 0.9) 0 26%, transparent 26%),
    linear-gradient(90deg, transparent 0 24%, rgba(255, 247, 230, 0.65) 24% 26%, transparent 26% 49%, rgba(255, 247, 230, 0.65) 49% 51%, transparent 51% 74%, rgba(255, 247, 230, 0.65) 74% 76%, transparent 76%),
    linear-gradient(160deg, #6d6256 0%, #393631 55%, #8a6641 100%);
  overflow: hidden;
  box-shadow: 0.7rem 0.7rem 0 var(--cardboard);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.hero-photo:hover,
.hero-photo:focus-visible {
  transform: translateY(-0.2rem);
  border-color: var(--barn-red);
}

.hero-photo::before,
.hero-photo::after {
  content: "";
  position: absolute;
}

.hero-photo::before {
  width: 125%;
  height: 0.5rem;
  left: -12%;
  bottom: 30%;
  transform: rotate(-7deg);
  background: var(--mustard);
}

.hero-photo::after {
  width: 10rem;
  height: 6rem;
  right: 9%;
  top: 13%;
  border: 0.45rem solid var(--barn-red);
  background: var(--paper-warm);
  box-shadow: inset 0 -1rem 0 var(--mustard);
}

.photo-label,
.photo-caption {
  position: absolute;
  left: 1rem;
  z-index: 1;
  background: var(--paper-warm);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.photo-label {
  top: 1rem;
  padding: 0.5rem 0.65rem;
  color: var(--barn-red);
  font-size: 0.75rem;
}

.photo-caption {
  right: 1rem;
  bottom: 1rem;
  padding: 0.85rem;
}

.definition-band,
.section-block {
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.definition-band {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 2px solid var(--ink);
  border-left: 0.7rem solid var(--barn-red);
  background: var(--paper-warm);
  box-shadow: 0.45rem 0.45rem 0 var(--shadow);
}

.definition-band p:last-child {
  max-width: 72rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.3vw, 1.75rem);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 1.25rem;
}

.note-card {
  padding: 1rem;
  border: 2px solid var(--ink);
  background: var(--paper-warm);
  box-shadow: 0.35rem 0.35rem 0 var(--shadow);
}

.note-card .meta {
  color: var(--pickle);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 6rem;
}

.note-list {
  display: grid;
  gap: 1rem;
}

.note-card {
  border-left: 0.55rem solid var(--mustard);
}

.note-card p:last-child {
  margin-bottom: 0;
}

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

.collection-tile {
  display: grid;
  align-content: space-between;
  min-height: 12rem;
  padding: 1rem;
  border: 2px solid var(--ink);
  background: var(--paper-warm);
  box-shadow: 0.35rem 0.35rem 0 var(--shadow);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.collection-tile:hover,
.collection-tile:focus-visible {
  transform: translateY(-0.2rem);
  border-color: var(--barn-red);
}

.collection-tile span {
  color: var(--barn-red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-tile strong {
  font-size: 1.1rem;
  line-height: 1.15;
}


@media (max-width: 900px) {
  .site-header,
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .sticky-heading {
    position: static;
  }

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

@media (max-width: 620px) {
  main {
    width: min(100% - 1rem, 1180px);
  }

  .site-header {
    position: static;
  }

  .logo-mark {
    width: 3rem;
    height: 3rem;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .site-nav {
    width: 100%;
    font-size: 0.78rem;
  }

  .hero-logo {
    width: clamp(9rem, 52vw, 13rem);
  }

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

  .hero-photo {
    min-height: 24rem;
    box-shadow: 0.45rem 0.45rem 0 var(--cardboard);
  }
}
