:root {
  color-scheme: light;
  --ink: #073f40;
  --paper: #fffef9;
  --aqua: #b8dedc;
  --aqua-light: #e8f5f4;
  --white: #ffffff;
  --border: 3px solid var(--ink);
  font-family: "Avenir Next", Avenir, Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.65;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-120%);
}

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

.site-header,
.hero,
.selection,
.about,
.site-footer {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.brand {
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(7rem, 15vw, 9.5rem);
  height: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Arial Rounded MT Bold", "Avenir Next", system-ui, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 14ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 7vw, 6.3rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.lead {
  max-width: 38rem;
  margin-bottom: 2rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.shop-link {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border: var(--border);
  border-radius: 1.2rem 1.55rem 1.1rem 1.65rem;
  background: var(--ink);
  box-shadow: 0.35rem 0.35rem 0 var(--aqua);
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.shop-link:hover {
  transform: translate(-0.12rem, -0.12rem);
  box-shadow: 0.5rem 0.5rem 0 var(--aqua);
}

.shop-link:focus-visible,
.site-footer a:focus-visible,
.brand:focus-visible {
  outline: 4px solid #f2b705;
  outline-offset: 4px;
}

.shop-link--small {
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  box-shadow: none;
  font-size: 1rem;
}

.hero__mark {
  width: min(100%, 24rem);
  justify-self: center;
  transform: rotate(2deg);
}

.hero__mark img {
  display: block;
  width: 100%;
  height: auto;
}

.product-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.2fr 0.85fr 1fr;
  gap: clamp(0.6rem, 2vw, 1.25rem);
  align-items: end;
  margin-top: clamp(1rem, 3vw, 2rem);
}

.product-photo {
  height: clamp(13rem, 25vw, 20rem);
  margin: 0;
  overflow: hidden;
  border: var(--border);
  background: var(--white);
  box-shadow: 0.45rem 0.45rem 0 var(--aqua);
}

.product-photo:nth-child(1) {
  border-radius: 2.2rem 3.6rem 2.7rem 3.2rem / 3rem 2.3rem 3.5rem 2.5rem;
  transform: rotate(-0.7deg);
}

.product-photo:nth-child(2) {
  height: clamp(15rem, 29vw, 23rem);
  border-radius: 3rem 2.3rem 3.4rem 2.5rem / 2.4rem 3rem 2.5rem 3.6rem;
  transform: translateY(0.6rem) rotate(0.8deg);
}

.product-photo:nth-child(3) {
  border-radius: 2.6rem 3.2rem 2.1rem 3.8rem / 3.4rem 2.4rem 3.1rem 2.2rem;
  transform: rotate(-0.35deg);
}

.product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-photo--tall img {
  object-position: center 58%;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  gap: clamp(2rem, 8vw, 7rem);
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: var(--border);
}

.selection {
  padding-block: clamp(5rem, 10vw, 8rem);
  border-top: var(--border);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(10rem, 0.45fr) minmax(0, 1fr);
  gap: clamp(2rem, 8vw, 7rem);
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-heading h2 {
  max-width: 16ch;
}

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

.selection-card {
  min-height: 30rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: var(--border);
  border-radius: 2.2rem 2.9rem 2rem 3.1rem / 2.6rem 2rem 3rem 2.2rem;
  background: var(--aqua-light);
  box-shadow: 0.45rem 0.45rem 0 var(--aqua);
}

.selection-card:nth-child(2) {
  transform: translateY(1.25rem) rotate(0.4deg);
}

.selection-card:nth-child(3) {
  transform: rotate(-0.35deg);
}

.selection-card__number {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.selection-card__image {
  height: 13rem;
  margin: 0 -0.35rem 1.75rem;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 1.6rem 2.2rem 1.5rem 2.4rem / 2rem 1.5rem 2.2rem 1.6rem;
  background: var(--white);
}

.selection-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selection-card__image img {
  object-position: center 52%;
}

.selection-card__image--dragon img {
  object-position: center 40%;
}

.selection-card__image--wall img {
  object-position: center 42%;
}

.selection-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Arial Rounded MT Bold", "Avenir Next", system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

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

.about__text {
  align-self: end;
}

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

.cta {
  width: min(76rem, calc(100% - 1rem));
  margin: 0 auto 1rem;
  padding: clamp(3rem, 8vw, 7rem) max(1rem, calc((100% - 70rem) / 2));
  border: var(--border);
  border-radius: 3rem 4.5rem 2.6rem 4rem / 3rem 2.5rem 4rem 3.5rem;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.shop-link--light {
  border-color: var(--white);
  background: var(--white);
  box-shadow: 0.4rem 0.4rem 0 var(--aqua);
  color: var(--ink);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  padding-block: 2rem 3rem;
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
}

.company-note {
  margin-left: auto !important;
  color: #345f60;
}

@media (max-width: 48rem) {
  .hero,
  .about,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-block: 3.5rem 5rem;
  }

  .hero__mark {
    width: min(80vw, 21rem);
  }

  .product-strip {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .product-photo,
  .product-photo:nth-child(2) {
    height: clamp(11rem, 42vw, 17rem);
  }

  .product-photo:nth-child(3) {
    grid-column: 1 / -1;
    width: 72%;
    justify-self: center;
  }

  .about {
    gap: 1rem;
  }

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

  .selection-card {
    min-height: auto;
  }

  .selection-card:nth-child(2),
  .selection-card:nth-child(3) {
    transform: none;
  }

  .selection-card__number {
    margin-bottom: 2rem;
  }

  .company-note {
    flex-basis: 100%;
    margin-left: 0 !important;
  }
}

@media (max-width: 28rem) {
  body {
    font-size: 1rem;
  }

  .shop-link--small {
    padding-inline: 0.8rem;
    font-size: 0.9rem;
  }

  .product-strip {
    gap: 0.5rem;
  }

  .product-photo,
  .product-photo:nth-child(2) {
    height: 10.5rem;
    box-shadow: 0.3rem 0.3rem 0 var(--aqua);
  }

  .product-photo:nth-child(3) {
    width: 82%;
  }
}

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

  .shop-link {
    transition: none;
  }
}
