:root {
  --ink: #202124;
  --muted: #5f6368;
  --line: #d9dee5;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --mint: #d9f0e4;
  --sage: #7aa58e;
  --coral: #ef856d;
  --blue: #6f95bd;
  --gold: #f0c85a;
  --shadow: 0 18px 48px rgba(32, 33, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(32, 33, 36, 0.08);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.top-nav a:hover {
  color: var(--ink);
}

main {
  padding: 0 clamp(18px, 4vw, 56px) 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 74px);
  padding: 40px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: #5c715e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(46px, 8vw, 106px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: var(--surface);
}

.button-secondary {
  background: var(--surface);
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 520px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #f7f4ef;
}

.flow-step.active {
  border-color: var(--ink);
  background: var(--mint);
}

.flow-step span {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--surface);
  font-weight: 800;
}

.flow-step p {
  margin: 0;
  font-weight: 800;
}

.process-section {
  padding-top: 76px;
  scroll-margin-top: 144px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.filter-bar {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.filter-button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  background: var(--ink);
  color: var(--surface);
}

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-meta span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-card p {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 18px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 5px 8px;
  background: #eef2f5;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-footer div {
  display: flex;
  gap: 12px;
}

.text-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

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

.process-grid-followup {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.process-product-step {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.process-step-copy {
  max-width: 760px;
}

.process-product-step .process-number {
  margin-bottom: 16px;
}

.process-product-step h3 {
  max-width: 760px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.process-product-step p:not(.eyebrow) {
  color: var(--muted);
}

.process-grid article {
  min-height: 240px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.process-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--coral);
  font-weight: 800;
}

.process-grid p {
  color: var(--muted);
}

.product-visual {
  position: relative;
  display: grid;
  min-height: 170px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(217, 240, 228, 0.7), rgba(111, 149, 189, 0.18)),
    #f5f2ec;
  overflow: hidden;
}

.product-visual-large {
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: min(480px, 80%);
  height: 300px;
  border: 1px solid var(--line);
}

.visual-shirt,
.visual-mug,
.visual-cap,
.visual-poster,
.visual-tote,
.visual-box {
  position: relative;
  display: block;
}

.visual-shirt {
  width: 86px;
  height: 96px;
  background: var(--coral);
  clip-path: polygon(22% 0, 36% 0, 43% 12%, 57% 12%, 64% 0, 78% 0, 100% 25%, 82% 42%, 82% 100%, 18% 100%, 18% 42%, 0 25%);
}

.visual-shirt::after {
  position: absolute;
  inset: 37px 22px auto;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  content: "";
}

.visual-mug {
  width: 88px;
  height: 72px;
  border: 6px solid var(--blue);
  border-radius: 4px 4px 12px 12px;
  background: var(--surface);
}

.visual-mug::after {
  position: absolute;
  top: 14px;
  right: -30px;
  width: 28px;
  height: 34px;
  border: 6px solid var(--blue);
  border-left: 0;
  border-radius: 0 24px 24px 0;
  content: "";
}

.visual-cap {
  width: 110px;
  height: 58px;
  border-radius: 64px 64px 12px 12px;
  background: var(--gold);
}

.visual-cap::after {
  position: absolute;
  right: -36px;
  bottom: 0;
  width: 54px;
  height: 18px;
  border-radius: 0 0 50px 0;
  background: var(--ink);
  content: "";
}

.visual-poster {
  width: 86px;
  height: 118px;
  border: 7px solid var(--ink);
  background: linear-gradient(160deg, var(--mint) 0 46%, var(--coral) 46% 68%, var(--blue) 68%);
}

.visual-tote {
  width: 94px;
  height: 92px;
  border: 6px solid var(--sage);
  border-top: 0;
  background: #fff7e0;
}

.visual-tote::before {
  position: absolute;
  top: -34px;
  left: 20px;
  width: 42px;
  height: 42px;
  border: 6px solid var(--sage);
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
  content: "";
}

.visual-box {
  width: 92px;
  height: 92px;
  background: var(--sage);
}

.hero-panel .visual-shirt {
  position: absolute;
  left: 70px;
  bottom: 72px;
  transform: rotate(-7deg) scale(1.3);
}

.hero-panel .visual-mug {
  position: absolute;
  right: 76px;
  bottom: 84px;
  transform: rotate(5deg) scale(1.1);
}

.hero-panel .visual-cap {
  position: absolute;
  left: 166px;
  bottom: 176px;
  transform: rotate(4deg);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.policy-page {
  max-width: 860px;
  min-height: calc(100svh - 74px);
  padding-top: 48px;
}

.policy-page h1 {
  font-size: clamp(38px, 6vw, 72px);
}

.policy-page section {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.policy-page p,
.policy-page li {
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero,
  .catalog-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid-followup {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .section-heading,
  .product-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    gap: 12px 16px;
  }

  .hero,
  .catalog-grid,
  .process-grid,
  .process-grid-followup {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 0;
  }

  .hero-panel .product-visual-large {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 250px;
    margin-top: 4px;
  }

  .hero-panel .visual-shirt {
    left: 20%;
    bottom: 36px;
    transform: rotate(-7deg) scale(1.08);
  }

  .hero-panel .visual-mug {
    right: 14%;
    bottom: 52px;
    transform: rotate(5deg) scale(0.95);
  }

  .hero-panel .visual-cap {
    left: 48%;
    bottom: 148px;
    transform: rotate(4deg) translateX(-50%) scale(0.9);
  }

  .filter-bar,
  .hero-actions {
    width: 100%;
  }

  .filter-button,
  .button {
    flex: 1;
  }
}
