:root {
  --black: #050505;
  --ink: #11100e;
  --paper: #f7f4ec;
  --sand: #eee7dc;
  --muted-sand: #e3dacb;
  --red: #d43b1b;
  --white: #ffffff;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-mono: "Courier New", Courier, monospace;
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-hand: "Permanent Marker", "Marker Felt", "Comic Sans MS", "Trebuchet MS", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.35;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--black);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section-inner {
  width: min(1120px, calc(100% - 4rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 780px;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.05) 38%, rgba(0, 0, 0, 0.5)),
    url("assets/hero_img.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
  overflow: hidden;
}

.site-nav {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.3rem 0.75rem 0.25rem;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-hand);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-list a {
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.nav-list a:hover {
  color: var(--sand);
}

.hero-logo {
  position: absolute;
  z-index: 2;
  top: 115px;
  left: 50%;
  width: min(390px, 54%);
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.25));
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 2.3rem;
  width: min(1120px, calc(100% - 4rem));
  transform: translateX(-50%);
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 2rem;
  font-family: var(--font-serif);
  font-size: clamp(4.75rem, 6.2vw, 5.5rem);
  line-height: 0.98;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
}

.hero-copy {
  display: inline;
  max-width: 560px;
  margin: 0;
  background: var(--black);
  color: var(--white);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 0.55rem 0 0 var(--black), -0.55rem 0 0 var(--black);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-top: 2rem;
  font-family: var(--font-hand);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-meta p {
  margin: 0;
}

.scribble-link {
  text-decoration-thickness: 3px;
  text-underline-offset: 0.2em;
}

.gear-section {
  background: var(--sand);
  padding: 3.75rem 0 4.75rem;
}

.gear-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.section-label {
  margin: 0 0 2rem;
  color: var(--red);
  font-family: var(--font-hand);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.gear-intro .section-label::after {
  content: "";
  display: block;
  width: 118px;
  max-width: 100%;
  aspect-ratio: 230 / 15;
  margin-top: 0.35rem;
  background: url("assets/underline.svg") left center / contain no-repeat;
}

.gear-intro h2,
.mission-copy h2,
.values-list h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

.gear-intro h2 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(3.35rem, 3.8vw, 3.85rem);
  line-height: 1.03;
}

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

.product {
  min-width: 0;
}

.product-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.22;
  margin-bottom: 1.05rem;
  background: var(--muted-sand);
}

.product-image img {
  width: auto;
  height: 73%;
  max-width: 86%;
  object-fit: contain;
}

.product h3,
.product .price {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.product .price {
  margin-bottom: 1.3rem;
}

.buy-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-bottom: 1.25rem;
  background: var(--red);
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.buy-link:hover {
  background: var(--black);
}

.product > p:last-child {
  margin: 0;
  font-size: 0.98rem;
}

.mission-section {
  background: var(--white);
  padding: 5.25rem 0 3.25rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.75rem;
  align-items: center;
  width: min(900px, calc(100% - 4rem));
}

.mission-photo {
  margin: 0;
}

.mission-photo img {
  width: min(320px, 100%);
  margin: 0 auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.16));
}

.mission-copy .section-label {
  margin-bottom: 0.6rem;
  font-size: 2.15rem;
}

.mission-copy h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
  line-height: 1;
}

.mission-copy p:last-child {
  max-width: 620px;
  margin: 0;
  font-size: 1.2rem;
}

.values-section {
  background: var(--white);
  padding: 1.5rem 0 5rem;
}

.values-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3rem;
  text-align: center;
}

.values-list img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin: 0 auto 0.85rem;
}

.values-list h3 {
  margin: 0 0 0.4rem;
  font-size: 2.35rem;
  line-height: 0.95;
}

.values-list p {
  margin: 0 auto;
  max-width: 240px;
  font-size: 1.05rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 2rem;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

@media (max-width: 980px) {
  .hero {
    min-height: 730px;
  }

  .hero h1 {
    font-size: 4.75rem;
  }

  .gear-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .gear-intro {
    max-width: 500px;
  }

  .gear-intro h2 {
    font-size: 3.35rem;
  }

  .product-grid {
    gap: 2rem;
  }

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

@media (max-width: 720px) {
  .section-inner,
  .site-nav,
  .hero-content,
  .mission-grid {
    width: min(100% - 2rem, 1120px);
  }

  .hero {
    min-height: 720px;
    background-position: center top;
  }

  .site-nav {
    padding-top: 1.25rem;
    align-items: flex-start;
  }

  .nav-list {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.9rem;
  }

  .hero-logo {
    top: 95px;
    width: min(330px, 72%);
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .hero-copy {
    font-size: 0.92rem;
  }

  .hero-meta {
    display: grid;
    gap: 1rem;
  }

  .product-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    gap: 3rem;
  }

  .product-image {
    aspect-ratio: 1 / 1;
  }

  .product-image img {
    height: 82%;
    max-width: 82%;
  }

  .mission-section {
    padding-top: 4rem;
  }

  .mission-copy .section-label {
    font-size: 1.8rem;
  }

  .mission-copy h2 {
    font-size: 1.65rem;
  }

  .mission-copy p:last-child {
    font-size: 1.05rem;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .brand-pill {
    font-size: 0.8rem;
  }

  .site-nav {
    gap: 1rem;
  }

  .nav-list {
    gap: 0.7rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero h1 {
    font-size: 2.95rem;
  }

  .hero-content {
    bottom: 1.5rem;
  }

  .gear-section {
    padding-top: 3rem;
  }

  .gear-intro h2 {
    font-size: 3rem;
  }

  .values-list {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .values-list img {
    width: 104px;
    height: 104px;
  }

  .values-list h3 {
    font-size: 2.2rem;
  }

  .site-footer {
    display: grid;
  }
}
