* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(20, 82, 140, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 82, 140, 0.03) 1px, transparent 1px),
    #f7f5ef;
  background-size: 34px 34px, 34px 34px, auto;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

.shape-field {
  position: fixed;
  inset: 0 0 auto;
  height: 118vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
}

.shape {
  position: absolute;
  display: block;
  opacity: 0.86;
}

.square {
  width: var(--s);
  height: var(--s);
  background: var(--c);
}

.triangle {
  width: 0;
  height: 0;
  border-left: calc(var(--s) * 0.5) solid transparent;
  border-right: calc(var(--s) * 0.5) solid transparent;
  border-bottom: calc(var(--s) * 0.86) solid var(--c);
  transform: rotate(var(--r, 0deg));
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.site-header,
.topbar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
}

.logo-link {
  display: block;
  width: clamp(148px, 18vw, 220px);
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 13px 16px rgba(0, 0, 0, 0.12));
}

.logo-link img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-link,
.back-link,
.action-link,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid #202020;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #14528c;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 7px 0 rgba(20, 82, 140, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.back-link:hover,
.back-link:focus-visible,
.action-link:hover,
.action-link:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 18px rgba(39, 38, 34, 0.16);
  outline: none;
}

.nav-link:nth-child(3n + 1),
.accent-red {
  color: #2a8f8a;
}

.nav-link:nth-child(3n + 2),
.accent-green {
  color: #168246;
}

.nav-link:nth-child(3n),
.accent-blue {
  color: #14528c;
}

.site-nav {
  gap: clamp(16px, 2vw, 30px);
}

.site-nav .nav-link {
  min-height: auto;
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #202020;
  font-size: 20px;
  transition: border-color 180ms ease, color 180ms ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible {
  transform: none;
  box-shadow: none;
  border-color: currentColor;
  outline: none;
}

.site-nav .nav-link:nth-child(3n + 1):hover,
.site-nav .nav-link:nth-child(3n + 1):focus-visible {
  color: #2a8f8a;
}

.site-nav .nav-link:nth-child(3n + 2):hover,
.site-nav .nav-link:nth-child(3n + 2):focus-visible {
  color: #168246;
}

.site-nav .nav-link:nth-child(3n):hover,
.site-nav .nav-link:nth-child(3n):focus-visible {
  color: #14528c;
}

.hero-page {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(22px, 4vw, 46px);
  border: 3px solid rgba(20, 82, 140, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 1px, transparent 1.2px) 8px 8px / 18px 18px,
    #fffdf5;
  box-shadow: 0 24px 52px rgba(61, 60, 55, 0.15);
}

.hero-page h1,
.section-heading h2,
.feature-copy h2 {
  margin: 0;
  color: #202020;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-page h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 88px);
}

.hero-page p,
.copy {
  margin: 18px 0 0;
  color: #263238;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.6;
  text-wrap: pretty;
}

.kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 2px solid #202020;
  border-radius: 999px;
  background: #ffffff;
  color: #168246;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-image,
.feature-photo,
.polaroid img,
.collection-card img,
.contact-card img {
  width: 100%;
  border-radius: 6px;
  background: #ffffff;
  object-fit: contain;
}

.hero-image {
  aspect-ratio: 1;
  border: 14px solid #ffffff;
  border-bottom-width: 42px;
  box-shadow: 0 18px 34px rgba(83, 61, 39, 0.2);
}

.business-card-preview {
  border-color: #000000;
  border-width: 9px;
  border-bottom-width: 9px;
}

.contact-card-zone {
  width: min(250px, 100%);
  perspective: 1400px;
  justify-self: center;
}

.contact-flip-wrap {
  position: relative;
  display: grid;
  width: 100%;
  justify-items: center;
}

.contact-business-card {
  position: relative;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 0.585;
  cursor: default;
  transform-style: preserve-3d;
  transition: transform 700ms ease;
}

.contact-card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 5px solid #000000;
  border-radius: 10px;
  background: #000000;
  backface-visibility: hidden;
  box-shadow: 0 18px 34px rgba(83, 61, 39, 0.22);
}

.contact-card-face img {
  width: 100%;
  height: calc(100% + 12px);
  margin-top: -6px;
  object-fit: cover;
}

.contact-card-back {
  transform: rotate3d(1, 1, 0, 180deg);
}

.ebay-store-strip {
  display: grid;
  justify-items: center;
  margin: 24px 0 0;
}

.ebay-store-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 2px solid #202020;
  border-radius: 999px;
  background: #cf2b21;
  color: #ffffff;
  box-shadow: 0 8px 0 rgba(36, 36, 36, 0.14);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ebay-store-link span {
  color: #fff0cf;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  text-transform: none;
}

.ebay-store-link:hover,
.ebay-store-link:focus-visible {
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 12px 18px rgba(39, 38, 34, 0.16);
}

.contact-flip-button {
  position: absolute;
  right: -14px;
  bottom: 8px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 2px solid #242424;
  border-radius: 999px;
  background: #168246;
  color: #ffffff;
  box-shadow: 0 5px 0 rgba(36, 36, 36, 0.16);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transform: rotate(-30deg);
}

.contact-flip-button:hover,
.contact-flip-button:focus-visible {
  outline: none;
}

.content-section {
  margin-top: 28px;
  padding: clamp(22px, 3vw, 34px);
  border: 3px solid rgba(32, 32, 32, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(61, 60, 55, 0.11);
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin-bottom: 22px;
}

.section-heading h2 {
  color: #2a8f8a;
  font-size: clamp(34px, 4vw, 54px);
}

.section-heading p {
  margin: 0;
  color: #263238;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.home-grid,
.collection-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.polaroid,
.collection-card,
.contact-card,
.info-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 2px solid rgba(32, 32, 32, 0.16);
  border-radius: 8px;
  background: #fffdf5;
  box-shadow: 0 12px 24px rgba(61, 60, 55, 0.12);
}

.polaroid:nth-child(odd),
.collection-card:nth-child(odd) {
  transform: rotate(-3.4deg);
}

.polaroid:nth-child(even),
.collection-card:nth-child(even) {
  transform: rotate(3.4deg);
}

.polaroid:nth-child(4n + 1),
.collection-card:nth-child(4n + 1) {
  transform: rotate(-4deg);
}

.polaroid:nth-child(4n + 2),
.collection-card:nth-child(4n + 2) {
  transform: rotate(4deg);
}

.polaroid:nth-child(4n + 3),
.collection-card:nth-child(4n + 3) {
  transform: rotate(-2.8deg);
}

.polaroid:nth-child(4n),
.collection-card:nth-child(4n) {
  transform: rotate(2.8deg);
}

.polaroid:hover,
.polaroid:focus-visible,
.collection-card:hover,
.collection-card:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-6px) rotate(0deg);
  outline: none;
}

.polaroid img,
.collection-card img {
  aspect-ratio: 1;
  padding: 10px;
}

.polaroid strong,
.collection-card strong,
.contact-card strong,
.info-panel strong {
  color: #2a8f8a;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: clamp(31px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.12;
  text-transform: none;
}

.polaroid small,
.collection-card small,
.contact-card span,
.info-panel p {
  color: #263238;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.feature-photo {
  aspect-ratio: 1;
  border: 12px solid #ffffff;
  box-shadow: 0 16px 30px rgba(61, 60, 55, 0.16);
}

.feature-copy {
  display: grid;
  gap: 14px;
}

.feature-copy h2 {
  color: #14528c;
  font-size: clamp(36px, 5vw, 64px);
}

.feature-copy p {
  margin: 0;
  color: #263238;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
  margin: 0 auto;
}

.shop-overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  align-items: stretch;
}

.shop-overview > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  min-height: 0;
  border: 10px solid #ffffff;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(61, 60, 55, 0.14);
}

.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shop-category-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 132px;
  padding: 16px 14px 14px;
  border: 2px solid rgba(20, 82, 140, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 82, 140, 0.1), transparent 48%),
    #fffdf5;
  box-shadow: 0 12px 22px rgba(61, 60, 55, 0.1);
}

.shop-category-card::before {
  content: "";
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: #2a8f8a;
}

.shop-category-card:nth-child(2n)::before {
  background: #168246;
}

.shop-category-card:nth-child(3n)::before {
  background: #14528c;
}

.shop-category-card strong {
  color: #14528c;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  text-transform: none;
}

.shop-category-card p {
  margin: 0;
  color: #263238;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.48;
}

.shop-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shop-photo-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 2px solid rgba(32, 32, 32, 0.16);
  border-radius: 8px;
  background: #fffdf5;
  box-shadow: 0 14px 28px rgba(61, 60, 55, 0.12);
  color: inherit;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

a.shop-photo-card:hover,
a.shop-photo-card:focus-visible {
  border-color: rgba(20, 82, 140, 0.42);
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(61, 60, 55, 0.16);
}

.shop-photo-card.featured {
  grid-column: span 2;
}

.shop-photo-card img {
  width: 100%;
  aspect-ratio: 1;
  padding: 10px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

.shop-photo-card.featured img {
  aspect-ratio: 1;
}

.shop-photo-card div {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.shop-photo-card strong {
  color: #2a8f8a;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: clamp(31px, 2.5vw, 38px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  text-transform: none;
}

.shop-photo-card small {
  color: #263238;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.shop-page .kicker,
.shop-page .section-heading h2,
.shop-page .shop-category-card strong,
.shop-page .shop-photo-card strong {
  color: #cf2b21;
}

.shop-page .shop-category-card::before {
  background: #cf2b21;
}

.shop-note-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  min-height: 158px;
  padding: 18px;
  border-color: rgba(32, 32, 32, 0.2);
  background:
    linear-gradient(90deg, rgba(20, 82, 140, 0.08), transparent 46%),
    #fffdf5;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: #2a8f8a;
}

.contact-card:nth-child(2)::before {
  background: #168246;
}

.contact-card:nth-child(3)::before {
  background: #14528c;
}

.contact-card:nth-child(4)::before {
  background: #ffc20f;
}

.contact-card span {
  font-size: 18px;
}

.contact-link {
  width: fit-content;
  margin-top: auto;
}

.contact-card .contact-link {
  min-height: auto;
  padding: 8px 0 2px;
  border: 0;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 17px;
}

.contact-card .contact-link:hover,
.contact-card .contact-link:focus-visible {
  transform: none;
  box-shadow: none;
  border-color: currentColor;
}

.map-frame {
  overflow: hidden;
  min-height: 380px;
  border: 3px solid rgba(20, 82, 140, 0.24);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(61, 60, 55, 0.12);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  border: 0;
}

.wide-panel {
  grid-column: 1 / -1;
}

.business-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.business-card-row img {
  width: 100%;
  border: 2px solid #000000;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(61, 60, 55, 0.14);
}

.flyer-showcase {
  display: grid;
  gap: 18px;
}

.flyer-preview {
  display: block;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 10px;
  border: 2px solid rgba(32, 32, 32, 0.2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(61, 60, 55, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.flyer-preview:hover,
.flyer-preview:focus-visible {
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(61, 60, 55, 0.2);
}

.flyer-preview img {
  width: 100%;
  border-radius: 6px;
}

@media (max-width: 860px) {
  .site-header,
  .topbar,
  .hero-page,
  .feature-panel,
  .shop-overview,
  .business-card-row {
    grid-template-columns: 1fr;
  }

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

  .home-grid,
  .collection-grid,
  .contact-grid,
  .shop-gallery,
  .shop-category-grid,
  .shop-note-strip {
    grid-template-columns: 1fr;
  }

  .shop-overview > img {
    min-height: 300px;
  }

  .shop-photo-card.featured {
    grid-column: auto;
  }

  .nav-link,
  .back-link,
  .action-link,
  .contact-link {
    min-height: 42px;
    font-size: 16px;
  }

  .site-nav .nav-link {
    min-height: auto;
    font-size: 18px;
  }
}
