:root {
  --sand: #e9dcc0;
  --sand-deep: #c9b489;
  --sun: #c79a4f;
  --ink: #161310;
  --paper: #f3ece0;
  --paper-2: #ece2d0;
  --sea: #8a7a5c;
  --rust: #a5502e;
  --foam: #f8f2e7;
  --shadow: 0 22px 70px rgba(22, 19, 16, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(243, 236, 224, 0.92), rgba(243, 236, 224, 1)),
    repeating-linear-gradient(90deg, rgba(201, 180, 137, 0.18) 0 24px, transparent 24px 42px);
  color: var(--ink);
  font-family: "Special Elite", ui-monospace, monospace;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 53%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--sand-deep) 0 22px,
    transparent 22px 40px
  );
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(243, 236, 224, 0.9);
  border-bottom: 2px solid rgba(22, 19, 16, 0.14);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand img {
  width: 52px;
  height: 52px;
}

.nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  color: var(--sea);
  font-family: "Anton", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a,
.footer-links a {
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"],
.footer-links a:hover {
  color: var(--ink);
  border-color: var(--sun);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  min-height: calc(100vh - 78px);
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}

.sunset-lines {
  position: absolute;
  inset: auto -8vw 8%;
  height: 36%;
  background:
    radial-gradient(circle at 78% 15%, rgba(199, 154, 79, 0.5) 0 11%, transparent 12%),
    repeating-linear-gradient(180deg, transparent 0 20px, rgba(138, 122, 92, 0.32) 20px 22px);
  opacity: 0.8;
  pointer-events: none;
}

.hero-copy,
.hero-logo,
.about-copy,
.about-badge {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sea);
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: "Anton", sans-serif;
  font-size: clamp(4rem, 10vw, 8.8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

h1 span,
.about-copy h1 span {
  display: block;
  color: var(--sun);
  font-family: "Alfa Slab One", serif;
  font-size: clamp(2rem, 5.6vw, 4.4rem);
  line-height: 0.95;
  -webkit-text-stroke: 1px var(--ink);
}

h2 {
  font-family: "Anton", sans-serif;
  font-size: clamp(2.3rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

h3 {
  font-family: "Anton", sans-serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lede {
  max-width: 56ch;
  margin: 24px 0 0;
  color: #3a332a;
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

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

.button,
.signup button,
.product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  font-family: "Anton", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform 0.14s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.button:hover,
.signup button:hover,
.product-button:hover {
  transform: translateY(-1px);
}

.primary,
.product-button {
  background: var(--ink);
  color: var(--sand);
}

.secondary {
  background: var(--sand);
}

.hero-logo {
  justify-self: center;
}

.hero-logo img,
.about-badge img {
  width: min(500px, 82vw);
  filter: drop-shadow(0 16px 32px rgba(22, 19, 16, 0.22));
}

.creed-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-block: 2px solid var(--ink);
  background: var(--ink);
  color: var(--sand);
  font-family: "Anton", sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.creed-strip span:not(:last-child)::after {
  content: ".";
  margin-left: 24px;
  color: var(--sun);
}

.intro-band,
.join-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: clamp(58px, 8vw, 100px) clamp(18px, 5vw, 72px);
}

.intro-band p,
.section-heading p,
.story-card p,
.core-values p,
.about-copy p,
.values-preview p,
.product-card p,
.site-footer p {
  color: #51483c;
  line-height: 1.7;
}

.intro-band > p {
  margin: 0;
  font-size: 1.1rem;
}

.shop-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: var(--paper-2);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.7fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading p {
  margin: 0;
}

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

.product-card {
  display: grid;
  background: var(--foam);
  border: 2px solid rgba(22, 19, 16, 0.18);
  box-shadow: var(--shadow);
}

.product-art {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(199, 154, 79, 0.48), transparent 34%),
    repeating-linear-gradient(180deg, rgba(22, 19, 16, 0.08) 0 2px, transparent 2px 18px),
    var(--sand);
  overflow: hidden;
}

.product-art img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.product-card:hover .product-art img {
  transform: scale(1.03);
}

.product-body {
  padding: 22px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--rust);
  font-family: "Anton", sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-card p {
  min-height: 116px;
}

.product-button {
  width: 100%;
  margin-top: 8px;
  opacity: 0.92;
}

.values-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(22, 19, 16, 0.2);
  border-block: 2px solid rgba(22, 19, 16, 0.2);
}

.values-preview article {
  min-height: 250px;
  padding: clamp(26px, 4vw, 44px);
  background: var(--paper);
}

.values-preview span,
.value-card span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--rust);
  font-family: "Anton", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.join-section {
  background: var(--sun);
}

.join-section.compact {
  align-items: center;
}

.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.signup input {
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.signup input:focus {
  box-shadow: 0 0 0 3px rgba(22, 19, 16, 0.18);
}

.signup button {
  background: var(--ink);
  color: var(--sand);
  cursor: pointer;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 1.2em;
  margin: 0;
  color: var(--ink);
  font-size: 0.84rem;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.about-copy h1 {
  font-size: clamp(3.5rem, 8vw, 7.3rem);
}

.about-copy p {
  max-width: 62ch;
  font-size: 1.12rem;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(54px, 8vw, 100px) clamp(18px, 5vw, 72px);
  background: var(--paper-2);
}

.story-card,
.core-values {
  background: var(--foam);
  border: 2px solid rgba(22, 19, 16, 0.16);
  box-shadow: var(--shadow);
}

.story-card {
  padding: clamp(26px, 5vw, 56px);
}

.story-card p {
  margin: 0 0 22px;
  font-size: 1.08rem;
}

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

.core-values {
  padding: 26px;
}

.core-values h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.value-card {
  padding: 20px 0;
  border-top: 2px solid rgba(22, 19, 16, 0.14);
}

.value-card span {
  margin-bottom: 8px;
}

.value-card p {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--sand);
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--sand-deep);
}

.footer-links {
  color: var(--sand-deep);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--sand);
}

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

@media (max-width: 940px) {
  .hero,
  .intro-band,
  .section-heading,
  .join-section,
  .about-hero,
  .story-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-logo {
    order: -1;
  }

  .hero-logo img,
  .about-badge img {
    width: min(360px, 78vw);
  }

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

  .values-preview article {
    min-height: auto;
  }
}

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

  .site-header {
    position: static;
  }

  .nav,
  .footer-links {
    flex-wrap: wrap;
    font-size: 0.9rem;
  }

  .brand span {
    max-width: 210px;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 5.4rem);
  }

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

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

  .button,
  .signup button {
    width: 100%;
  }

  .creed-strip {
    justify-content: flex-start;
  }
}
