:root {
  --ink: #12100c;
  --white: #ffffff;
  --blue: #0e89da;
  --ink-soft: #2c261f;
  --paper: #0e89da;
  --paper-deep: #e6d8bc;
  --bone: #fff9eb;
  --orange: #616161;
  --red: #d7351f;
  --yellow: #f2c94c;
  --muted: #756b5f;
  --line: #201a14;
  --white: #ffffff;
  --shadow-hard: 8px 8px 0 var(--ink);
  --shadow-soft: 0 28px 70px rgba(18, 16, 12, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  /* background:
    radial-gradient(circle at 12% 12%, rgba(255, 90, 31, 0.13), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(242, 201, 76, 0.16), transparent 22rem),
    linear-gradient(90deg, rgba(18, 16, 12, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(18, 16, 12, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 36px 36px, 36px 36px, auto; */
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  z-index: 100;
  /* background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(18, 16, 12, 0.18) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(18, 16, 12, 0.09) 5px 6px); */
  mix-blend-mode: multiply;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 234, 216, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--ink);
}

.nav {
  width: min(1220px, calc(100% - 28px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-grid;
  grid-template-columns: 42px auto;
  column-gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.brand img {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  background: var(--orange);
}

.brand span {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 20px;
  line-height: 0.95;
}

.brand small {
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--ink);
  background: var(--bone);
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-right: 2px solid var(--ink);
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.nav-links a:last-child {
  border-right: 0;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--ink);
  color: var(--paper);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  background: var(--orange);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.scroll-meter {
  width: 0%;
  height: 4px;
  background: var(--orange);
  border-top: 2px solid var(--ink);
  transition: width 80ms linear;
}

.section {
  padding: clamp(72px, 8vw, 118px) 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  padding: 56px 0 74px;
  color: var(--paper);
  text-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2);
  /* background:
    linear-gradient(118deg, rgba(0, 0, 0, 0.98) 0 58%, rgba(18, 16, 12, 0.76) 58% 100%),
    repeating-linear-gradient(135deg, #1d1914 0 13px, #12100c 13px 26px); */
  background-image: url('assets/products/hero.jpeg');
  border-bottom: 2px solid var(--ink);
}

/* .hero::before {
  content: "";
  position: absolute;
  width: min(42vw, 520px);
  height: 140%;
  right: -8vw;
  top: -20%;
  background: var(--orange);
  transform: rotate(8deg);
  box-shadow: -18px 0 0 rgba(255, 255, 255, 0.08);
} */

.hero::after {
  content: "KAOSPRINT / PRINT WORKSHOP";
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(48px, 11vw, 156px);
  line-height: 0.78;
  white-space: nowrap;
  color: rgba(242, 234, 216, 0.065);
  letter-spacing: -0.04em;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(20px, 4vw, 46px);
  align-items: center;
}

.hero-rail {
  display: grid;
  gap: 12px;
  align-self: stretch;
  align-content: center;
  justify-items: center;
  border-left: 2px solid rgba(242, 234, 216, 0.38);
  border-right: 2px solid rgba(242, 234, 216, 0.38);
}

.hero-rail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Courier New", monospace;
  color: rgba(242, 234, 216, 0.76);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Segoe UI Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.0em;
  
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(24px, 9vw, 80px);
  line-height: 0.9;
  
}

h1 span {
  display: block;
  
}

h2 {
  margin: 0;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 0.9;
}

h3 {
  margin: 0;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 0.95;
}

.lead {
  max-width: 690px;
  margin: 24px 0 30px;
  color: var(--white);
  text-shadow: 16px 8px 16px rgb(0, 0, 0);
  font-size: clamp(8px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  padding: 13px 18px;
  background: var(--bone);
  color: black;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-primary {
  background: var(--orange);
}

.btn-ghost {
  border-color: var(--paper);
  color: var(--white);
  background: var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
}

.btn-outline {
  background: transparent;
}

.btn-small {
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  padding: 11px 14px;
  font-size: 13px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 120px));
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  border: 2px solid rgba(242, 234, 216, 0.48);
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-facts strong {
  display: block;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 28px;
  line-height: 0.95;
  color: var(--yellow);
}

.hero-facts span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(242, 234, 216, 0.72);
  font-weight: 800;
}

.print-board {
  position: relative;
  min-height: 560px;
  color: var(--ink);
}

.poster-stamp {
  position: absolute;
  z-index: 3;
  right: 28px;
  top: 28px;
  border: 3px solid var(--ink);
  padding: 10px 12px;
  background: var(--yellow);
  font-family: "Courier New", monospace;
  font-weight: 950;
  text-transform: uppercase;
  transform: rotate(8deg);
  box-shadow: 6px 6px 0 var(--ink);
}

.shirt-card {
  position: absolute;
  /* inset: 32px 64px 272px 36px; */
  display: grid;
  place-items: center;
  /* border: 3px solid var(--ink); */
  /* background:
    linear-gradient(90deg, rgb(255, 255, 255) 1px, transparent 1px),
    linear-gradient(0deg, rgba(18, 16, 12, 0.09) 1px, transparent 1px),
    var(--bone); */
  /* background-size: 22px 22px;
  box-shadow: var(--shadow-hard); */
  transform: rotate(-2deg);
  margin-bottom: 1000px !important;
}

.shirt-card p {
  position: absolute;
  left: 18px;
  bottom: 14px;
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.shirt-shape {
  position: relative;
  width: min(300px, 70%);
  aspect-ratio: 1 / 1;
  /* background: var(--ink); */
  /* clip-path: polygon(18% 16%, 34% 5%, 44% 16%, 56% 16%, 66% 5%, 82% 16%, 95% 37%, 78% 47%, 74% 34%, 74% 92%, 26% 92%, 26% 34%, 22% 47%, 5% 37%); */
  display: grid;
  place-items: center;
  
}

.shirt-shape::after {
  content: "";
  position: absolute;
  inset: 18px;
  /* border: 2px dashed var(--orange); */
  clip-path: inherit;

}

.shirt-shape strong {
  color: var(--paper);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: -0.08em;
}

.neck {
  position: absolute;
  top: 12%;
  width: 38%;
  aspect-ratio: 2 / 1;
  border-radius: 0 0 120px 120px;
  background: var(--bone);
  z-index: 1;
}

.production-ticket {
  position: absolute;
  right: 0;
  bottom: 38px;
  width: min(300px, 82%);
  border: 3px solid var(--ink);
  background: var(--paper-deep);
  padding: 18px;
  box-shadow: var(--shadow-hard);
  transform: rotate(2deg);
}

.production-ticket > span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 7px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
}

.production-ticket h2 {
  font-size: 44px;
}

.production-ticket dl {
  margin: 18px 0 0;
}

.production-ticket div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 2px dashed rgba(18, 16, 12, 0.46);
  padding: 8px 0;
  font-size: 13px;
}

.production-ticket dt {
  font-weight: 900;
  color: var(--muted);
}

.production-ticket dd {
  margin: 0;
  font-weight: 900;
}

.ink-dot {
  position: absolute;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--red);
  box-shadow: 5px 5px 0 var(--ink);
}

.dot-one {
  width: 42px;
  height: 42px;
  left: 0;
  bottom: 94px;
}

.dot-two {
  width: 24px;
  height: 24px;
  right: 48px;
  bottom: 6px;
  background: var(--yellow);
}

.split,
.editorial-split,
.legal-wrap,
.address-grid,
.contact-wrap,
.benefit-layout,
.social-wrap,
.shelf-layout {
  display: grid;
  gap: clamp(24px, 4vw, 52px);
}

.editorial-split {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
}

.section-heading {
  margin: 0;
}

.section-heading.spread {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 22px;
}

.section-note {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.about-copy {
  border-left: 3px solid var(--ink);
  padding-left: clamp(20px, 3vw, 34px);
  font-size: clamp(17px, 2vw, 21px);
}

.about-copy p {
  margin: 0 0 18px;
}

.about-copy strong {
  background: var(--yellow);
  padding: 0 6px;
  box-decoration-break: clone;
}

.legal-section {
  padding-top: 0;
}

.legal-wrap {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  border: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow-hard);
}

.legal-title p:last-child {
  max-width: 460px;
  color: rgba(242, 234, 216, 0.72);
}

.legal-card {
  position: relative;
  color: var(--ink);
  background: var(--bone);
  border: 3px solid var(--ink);
  padding: 20px;
}

.legal-card::before,
.legal-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 10px;
  /* background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 20px); */
}

.legal-card::before {
  top: -7px;
}

.legal-card::after {
  bottom: -7px;
}

.legal-card dl {
  margin: 0;
}

.legal-card div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
  border-bottom: 2px dashed rgba(18, 16, 12, 0.3);
  padding: 12px 0;
}

.legal-card div:last-child {
  border-bottom: 0;
}

.legal-card dt {
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-card dd {
  margin: 0;
  font-weight: 900;
}

.product-section {

  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 3px solid var(--ink);
  background: var(--bone);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.product-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.feature-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-card:nth-child(4) {
  grid-column: span 2;
}

.product-image {
  position: relative;
  min-height: 220px;
  border-bottom: 3px solid var(--ink);
  /* background:
    linear-gradient(135deg, transparent 0 49%, rgb(255, 255, 255) 50% 52%, transparent 53% 100%),
    var(--paper-deep); */
}

.feature-card .product-image {
  min-height: 100%;
  border-bottom: 0;
  border-right: 3px solid var(--ink);
}

.product-image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.product-body {
  padding: 18px;
}

.badge {
  display: inline-flex;
  margin-bottom: 12px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  padding: 5px 8px;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
}

.badge.accent {
  background: var(--orange);
}

.badge.red {
  background: var(--red);
  color: var(--paper);
}

.code {
  margin: 0 0 8px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--muted);
}

.product-body p:not(.code) {
  color: var(--muted);
  font-weight: 650;
}

.price {
  display: block;
  margin-top: 16px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--red);
}

.shelf-layout {
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
  align-items: end;
  border-bottom: 18px solid var(--ink);
  padding-bottom: 18px;
}

.shelf {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 3px solid var(--ink);
  background: var(--bone);
  padding: 82px 14px 16px;
  box-shadow: 5px 5px 0 var(--ink);
}

.shelf:nth-child(2),
.shelf:nth-child(4) {
  min-height: 280px;
}

.shelf::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 18px;
  height: 42px;
  border: 2px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--ink) 0 18px, var(--orange) 18px 28px, var(--yellow) 28px 36px);
}

.shelf span {
  position: absolute;
  left: 12px;
  top: 70px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 950;
  color: var(--red);
}

.shelf p,
.benefit p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
}

.gallery-section {
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.gallery-section .section-note {
  color: rgba(242, 234, 216, 0.66);
}

.gallery-section .section-heading.spread {
  border-color: rgba(242, 234, 216, 0.34);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  grid-auto-rows: 210px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 3px solid var(--paper);
  background: var(--paper-deep);
  box-shadow: 7px 7px 0 rgba(242, 234, 216, 0.18);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.08);
  transition: transform 420ms ease, filter 420ms ease;
}

.gallery-item:hover img {
  transform: scale(1.06) rotate(0.4deg);
  filter: grayscale(0) contrast(1.05);
}

.gallery-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border: 2px solid var(--ink);
  background: var(--orange);
  color: var(--ink);
  padding: 7px 10px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.benefit-layout {
  grid-template-columns: 0.65fr 1.35fr;
  align-items: start;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.benefit {
  min-height: 220px;
  border: 3px solid var(--ink);
  background: var(--bone);
  padding: 16px;
  box-shadow: 5px 5px 0 var(--ink);
}

.benefit:nth-child(even) {
  transform: translateY(24px);
  background: var(--paper-deep);
}

.benefit span {
  display: inline-flex;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--orange);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 48px;
  line-height: 0.85;
  color: var(--red);
}

.address-section {
  padding-top: clamp(92px, 10vw, 146px);
}

.address-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
}

.address-card {
  border: 3px solid var(--ink);
  background: var(--bone);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--shadow-hard);
}

.address-card p {
  color: var(--muted);
  font-weight: 650;
}

.address-card strong {
  color: var(--ink);
}

.map-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 3px solid var(--ink);
  background:
    linear-gradient(90deg, transparent 31px, rgba(18, 16, 12, 0.13) 32px),
    linear-gradient(0deg, transparent 31px, rgba(18, 16, 12, 0.13) 32px),
    var(--paper-deep);
  background-size: 64px 64px;
  box-shadow: var(--shadow-hard);
}

.map-label {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 3;
  border: 2px solid var(--ink);
  background: var(--yellow);
  padding: 8px 10px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.street {
  position: absolute;
  background: var(--bone);
  border: 2px solid rgba(18, 16, 12, 0.2);
}

.street.horizontal {
  left: -20px;
  right: -20px;
  top: 48%;
  height: 58px;
  transform: rotate(-3deg);
}

.street.vertical {
  top: -20px;
  bottom: -20px;
  left: 58%;
  width: 58px;
  transform: rotate(5deg);
}

.pin {
  position: absolute;
  left: 38%;
  top: 31%;
  max-width: 190px;
  border: 3px solid var(--ink);
  background: var(--orange);
  padding: 13px 14px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--ink);
}

.social-section {
  padding-top: 0;
}

.social-wrap {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.social-link {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 3px solid var(--ink);
  background: var(--bone);
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.social-link:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--yellow);
}

.social-link img {
  width: 32px;
  height: 32px;
}

.contact {
  padding-top: 0;
}

.contact-wrap {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  border: 3px solid var(--ink);
  background: var(--orange);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-hard);
}

.contact-wrap .eyebrow {
  color: var(--ink);
}

.contact-wrap p {
  max-width: 470px;
  color: rgba(18, 16, 12, 0.74);
  font-weight: 700;
}

.contact-actions {
  justify-content: end;
}

.footer {
  border-top: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer .brand {
  color: var(--paper);
}

.footer p {
  margin: 0;
  color: rgba(242, 234, 216, 0.72);
  font-weight: 650;
}

.footer-brand {
  margin-bottom: 12px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 60;
  box-shadow: 4px 4px 0 var(--ink);
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) rotate(0.001deg);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  }

  .hero-rail {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card,
  .product-card:nth-child(4) {
    grid-column: span 2;
  }

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

  .shelf-layout,
  .benefit-layout,
  .social-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-hard);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    width: 0vw;
    opacity: 0.8;
  }

  .hero-layout,
  .editorial-split,
  .legal-wrap,
  .address-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .print-board {
    min-height: 520px;
  }

  .section-heading.spread {
    display: block;
  }

  .section-note {
    margin-top: 16px;
  }

  .shelf-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
  }

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

  .contact-actions {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand span {
    font-size: 17px;
  }

  .brand small {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 40px 0 58px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 78px);
  }

  h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .print-board {
    min-height: 460px;
  }

  .shirt-card {
    inset: 8px 14px 126px 6px;
  }

  .production-ticket {
    width: 88%;
  }

  .product-grid,
  .feature-card,
  .product-card:nth-child(4),
  .shelf-grid,
  .gallery-grid,
  .benefit-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    display: block;
  }

  .feature-card .product-image {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .product-card:nth-child(4) {
    grid-column: auto;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .benefit:nth-child(even) {
    transform: none;
  }

  .legal-card div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .map-panel {
    min-height: 330px;
  }

  .pin {
    left: 18%;
    top: 34%;
  }
}
