/* index.html page styles — worker-owned */

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

/* ---------- 1 home-hero ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 820px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(29, 24, 19, 0.92) 0%, rgba(29, 24, 19, 0.72) 34%, rgba(29, 24, 19, 0.18) 62%, rgba(29, 24, 19, 0) 82%);
}
.hero-inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
}
.hero-copy {
  padding: 0 0 clamp(56px, 9vh, 104px);
  max-width: 560px;
}
.hero-copy .eyebrow { margin: 0 0 18px; }
.hero-copy h1 { margin: 0 0 20px; }
.hero-support { margin: 0 0 30px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); }
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero .seam { position: absolute; left: 0; right: 0; bottom: 0; }
@media (max-width: 760px) {
  .hero-shade {
    background: linear-gradient(180deg, rgba(29, 24, 19, 0.55) 0%, rgba(29, 24, 19, 0.85) 60%, rgba(29, 24, 19, 0.95) 100%);
  }
  .hero-copy { padding-bottom: 64px; }
}

/* ---------- 2 home-collection ---------- */
.collection { padding: clamp(72px, 10vw, 120px) 0 0; }
.collection-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.collection-head .eyebrow { margin: 0 0 14px; }
.collection-head h2 { margin: 0 0 16px; }
.collection-head .body-copy { margin: 0 0 24px; }
.collection-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}
.collection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.tile {
  position: relative;
  display: block;
  border: 1px solid rgba(201, 143, 78, 0.35);
  border-radius: 10px;
  overflow: hidden;
  min-height: 220px;
}
.tile-big {
  grid-row: span 2;
  min-height: 0;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tile:hover img { transform: scale(1.03); }
.tile-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 14px;
  background: rgba(29, 24, 19, 0.88);
  border: 1px dashed var(--stitch);
  border-radius: 8px;
  color: var(--text);
}
.tile-name {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 12px;
  background: rgba(29, 24, 19, 0.75);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
}
.collection .seam { margin-top: clamp(64px, 9vw, 110px); }
@media (max-width: 760px) {
  .collection-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .tile { min-height: 300px; }
  .tile-big { min-height: 340px; }
}

/* ---------- 3 home-craft-why ---------- */
.craft-why { margin-top: clamp(64px, 9vw, 110px); }
.craft-grid {
  display: grid;
  grid-template-columns: 55% minmax(0, 1fr);
}
.craft-media {
  border-right: 2px dashed var(--stitch);
  min-height: clamp(320px, 46vw, 560px);
}
.craft-media img { width: 100%; height: 100%; object-fit: cover; }
.craft-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 88px);
  background: var(--surface);
}
.craft-eyebrow { margin: 0 0 22px; }
.craft-text h2 { margin: 0 0 24px; }
.craft-rule {
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 26px;
}
.craft-text .body-copy { margin: 0; font-size: clamp(16px, 1.5vw, 19px); }
@media (max-width: 900px) {
  .craft-grid { grid-template-columns: 1fr; }
  .craft-media { border-right: none; border-bottom: 2px dashed var(--stitch); min-height: 0; }
  .craft-media img { max-height: 60vw; }
}

/* ---------- 4 home-handcraft-steps ---------- */
.steps {
  margin-top: clamp(72px, 10vw, 120px);
  border-top: 2px dashed var(--stitch);
  padding-top: clamp(40px, 5vw, 64px);
}
.steps-eyebrow { text-align: center; margin: 0 0 clamp(32px, 4vw, 56px); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step { padding: 0 clamp(24px, 3.5vw, 44px) clamp(40px, 5vw, 56px); min-width: 0; }
.step + .step { border-left: 2px dashed rgba(201, 143, 78, 0.6); }
.step-media {
  height: clamp(200px, 24vw, 300px);
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  margin-bottom: 28px;
}
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.step-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 24, 19, 0) 40%, rgba(29, 24, 19, 0.92) 100%);
}
.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(64px, 7vw, 96px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  margin-bottom: 12px;
}
.step-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 0 0 14px;
}
.step-rule { display: block; width: 44px; height: 2px; background: var(--accent); margin-bottom: 16px; }
.step-copy { margin: 0; color: var(--muted); }
@media (max-width: 760px) {
  .steps-grid { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: 2px dashed rgba(201, 143, 78, 0.6); padding-top: 36px; }
}

/* ---------- 5 home-festive ---------- */
.festive { margin-top: clamp(72px, 10vw, 120px); }
.festive-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.festive-head h2 { margin: 0 0 12px; }
.festive-head .body-copy { margin: 0; }
.theme-switch {
  display: inline-flex;
  border: 2px dashed var(--stitch);
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.theme-btn {
  appearance: none;
  background: transparent;
  color: var(--muted);
  border: none;
  font: inherit;
  font-size: 15px;
  padding: 12px 22px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.theme-btn + .theme-btn { border-left: 1px solid rgba(240, 232, 220, 0.18); }
.theme-btn[aria-pressed="true"] { background: var(--accent); color: #1D1813; font-weight: 700; }
.festive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}
.festive-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(201, 143, 78, 0.35);
  min-height: 280px;
}
.festive-card img { width: 100%; height: 100%; object-fit: cover; }
.festive-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #F0E8DC;
  border-radius: 4px;
}
.badge-halloween { background: #E8862B; }
.badge-christmas { background: #3E6B4F; }
.festive-cta { text-align: center; padding: clamp(40px, 5vw, 64px) 0; margin: 0; }
@media (max-width: 760px) {
  .festive-grid { grid-template-columns: 1fr; }
  .festive-card { min-height: 240px; }
}

/* ---------- 6 home-attitude ---------- */
.attitude { margin-top: clamp(40px, 6vw, 72px); }
.marquee {
  overflow: hidden;
  border-top: 2px dashed var(--stitch);
  border-bottom: 2px dashed var(--stitch);
  padding: 14px 0;
  background: var(--surface);
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  font-family: var(--font-western);
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: 0.08em;
  color: var(--accent);
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.claims {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(56px, 8vw, 96px) 0;
}
.claim { padding: 0 clamp(20px, 3vw, 40px); min-width: 0; text-align: left; }
.claim + .claim { border-left: 1px solid rgba(240, 232, 220, 0.14); }
.claim-big {
  margin: 0 0 10px;
  line-height: 1;
  font-size: clamp(64px, 8vw, 110px);
  color: var(--paper);
}
.claim-big.display { font-size: clamp(56px, 7vw, 100px); }
.claim-num { font-family: var(--font-heading); font-weight: 900; }
.claim-pct { font-family: var(--font-heading); font-weight: 700; font-size: 0.45em; vertical-align: 0.35em; margin-left: 4px; }
.claim-sep { display: block; color: var(--accent); margin: 10px 0 14px; }
.claim-name { margin: 0 0 14px; font-size: clamp(26px, 3vw, 40px); }
.claim-copy { margin: 0; color: var(--muted); font-size: 15px; max-width: 34ch; }
@media (max-width: 760px) {
  .claims { grid-template-columns: 1fr; gap: 44px; }
  .claim + .claim { border-left: none; border-top: 1px solid rgba(240, 232, 220, 0.14); padding-top: 40px; }
}

/* ---------- 7 home-footer-cta ---------- */
.closing { padding: clamp(64px, 9vw, 110px) 0 clamp(64px, 9vw, 110px); }
.closing-inner { text-align: center; }
.closing h2 { margin: 0 0 26px; }
.closing-sep { display: block; color: var(--accent); margin-bottom: 20px; }
.closing-line { margin: 0 0 34px; color: var(--muted); letter-spacing: 0.08em; }

/* ---------- footer ---------- */
.copyright {
  padding: 0 0 36px;
  margin: -20px 0 0;
  font-size: 13px;
  color: var(--muted);
}
