@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap');

:root {
  --peat: #31271d;
  --moss: #496647;
  --moss-dark: #30482f;
  --shell: #fffaf1;
  --wool: #f7f2e8;
  --paper: #fffdf7;
  --heather: #b85d7b;
  --sea: #58726a;
  --buttercup: #e5b84d;
  --line: rgba(49, 39, 29, 0.16);
  --muted: #6d6257;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--peat); background: var(--shell); font-family: var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }

.announcement {
  padding: .55rem 1rem;
  color: var(--shell);
  background: var(--moss-dark);
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.7rem;
  padding: .75rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, .96);
}

.brand { display: flex; align-items: center; gap: .7rem; font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; font-size: 1.6rem; font-weight: 400; letter-spacing: 0; text-decoration: none; }
.brand-mark {
  display: block;
  width: 2.9rem;
  height: 2rem;
  flex: 0 0 auto;
  background: url("approved-images/sheep-unique-logo.png") center / contain no-repeat;
  mix-blend-mode: multiply;
}
.nav-links { display: flex; align-items: center; gap: 1.4rem; font-size: .88rem; font-weight: 600; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--moss); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .72rem 1rem;
  border: 1px solid var(--moss);
  border-radius: 4px;
  color: var(--shell);
  background: var(--moss);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}
.button.secondary { color: var(--moss); background: transparent; }
.button.light { border-color: var(--shell); color: var(--peat); background: var(--shell); }

.product-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .95fr);
  min-height: 36rem;
  background: var(--wool);
}
.hero-copy { display: grid; align-content: center; padding: clamp(3rem, 7vw, 7rem); }
.eyebrow { margin: 0 0 .9rem; color: var(--moss); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
h1 { max-width: 12ch; font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: .94; }
.hero-copy > p:not(.eyebrow) { max-width: 42rem; margin: 1.4rem 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.hero-media { min-height: 28rem; overflow: hidden; background: var(--shell); }
.hero-media img { width: 100%; height: 100%; min-height: 28rem; object-fit: cover; display: block; }
body[data-product="tumble-dryer-balls"] .hero-media img { object-fit: contain; background: #fff; }
.hero-motif { position: absolute; left: 48%; bottom: 1.2rem; width: 13rem; opacity: .42; pointer-events: none; }

.trade-first { padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 4vw, 3.5rem); background: var(--moss-dark); color: var(--shell); }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .7fr); gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-head h2 { max-width: 12ch; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .98; }
.section-head p { margin: 0; color: rgba(255,250,241,.78); line-height: 1.65; }
.trade-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; }
.trade-panel { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid rgba(255,250,241,.22); background: rgba(255,250,241,.06); }
.trade-panel h3 { margin-bottom: 1.2rem; font-size: 2rem; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: rgba(255,250,241,.2); }
.spec { min-height: 7.2rem; padding: 1rem; background: var(--moss-dark); }
.spec span { display: block; margin-bottom: .4rem; color: rgba(255,250,241,.66); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.spec strong { font-size: .98rem; line-height: 1.45; }
.retailer-list { display: grid; gap: .9rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.retailer-list li { padding: 0 0 .9rem 1.6rem; border-bottom: 1px solid rgba(255,250,241,.16); line-height: 1.5; }
.retailer-list li::before { content: "✓"; float: left; margin-left: -1.6rem; color: var(--buttercup); font-weight: 700; }

.content-section { padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 3.5rem); }
.content-section.alt { background: var(--wool); }
.content-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); max-width: 1180px; margin: 0 auto; }
.content-grid h2 { max-width: 11ch; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: .98; }
.copy { color: var(--muted); line-height: 1.7; }
.copy p:first-child { margin-top: 0; }
.benefit-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 1.6rem; }
.benefit { padding: 1.2rem; border-top: 3px solid var(--heather); background: var(--paper); }
.benefit img { width: 3.2rem; height: 3.2rem; margin-bottom: .65rem; object-fit: contain; }
.benefit strong { display: block; margin-bottom: .35rem; color: var(--peat); }
.benefit span { font-size: .9rem; line-height: 1.5; }

.product-gallery { padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 3.5rem); background: var(--peat); color: var(--shell); }
.gallery-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .7fr); gap: 2rem; align-items: end; max-width: 1180px; margin: 0 auto 2rem; }
.gallery-head h2 { max-width: 12ch; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: .98; }
.gallery-head p { margin: 0; color: rgba(255,250,241,.72); line-height: 1.65; }
.gallery-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: repeat(2, minmax(16rem, 24rem)); gap: .8rem; max-width: 1180px; margin: 0 auto; }
.gallery-item { position: relative; overflow: hidden; margin: 0; background: #201a15; }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item:nth-child(4) { grid-column: 2 / 4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-grid--3 { grid-template-columns: 1.15fr .85fr; }
.gallery-grid--3 .gallery-item:first-child { grid-row: 1 / 3; }
.gallery-grid--3 .gallery-item img { object-fit: contain; background: #fff; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item figcaption { position: absolute; inset: auto 0 0; padding: 2.5rem 1rem 1rem; background: linear-gradient(transparent, rgba(32,26,21,.88)); color: var(--shell); font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; max-width: 1180px; margin: 2rem auto 0; }
.step { padding: 1.4rem; border: 1px solid var(--line); background: var(--paper); }
.step-number { margin-bottom: 1.2rem; color: var(--heather); font-family: var(--serif); font-size: 2.4rem; }
.step h3 { font-size: 1.6rem; }
.step p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,6vw,6rem); max-width: 1180px; margin: 0 auto; }
.faq-grid h2 { font-size: clamp(2.6rem,5vw,4.5rem); line-height: .98; }
details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; color: var(--peat); font-weight: 700; }
details p { margin-bottom: 0; color: var(--muted); line-height: 1.65; }

.final-cta { position: relative; overflow: hidden; padding: clamp(3rem,7vw,6rem) 1rem; color: var(--shell); background: var(--peat); text-align: center; }
.final-cta h2 { max-width: 14ch; margin: 0 auto; font-size: clamp(2.7rem,6vw,5rem); line-height: .98; }
.final-cta p { max-width: 42rem; margin: 1rem auto 1.5rem; color: rgba(255,250,241,.74); line-height: 1.6; }
.final-cta .hero-actions { justify-content: center; }

footer { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 2rem; padding: 3rem clamp(1rem,4vw,3.5rem); background: var(--wool); }
footer h3 { margin-bottom: .8rem; font-size: 1.25rem; }
footer p { max-width: 30rem; color: var(--muted); line-height: 1.6; }
footer nav { display: grid; gap: .6rem; }
footer nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .product-hero, .trade-grid, .content-grid, .faq-grid, .section-head { grid-template-columns: 1fr; }
  .product-hero { min-height: auto; }
  .hero-media, .hero-media img { min-height: 24rem; }
  .hero-motif { left: auto; right: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .gallery-head { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: repeat(2, minmax(15rem, 22rem)); }
  .gallery-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-item:first-child, .gallery-item:nth-child(4) { grid-row: auto; grid-column: auto; }
}

@media (max-width: 620px) {
  .site-nav { gap: .6rem; }
  .site-nav .nav-actions { gap: .35rem; }
  .site-nav .nav-actions .button { padding-inline: .65rem; font-size: .72rem; }
  .hero-copy { padding: 3rem 1rem; }
  .spec-grid, .benefit-list, footer { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-grid--3 { grid-template-columns: 1fr; }
  .gallery-item { min-height: 20rem; }
  h1 { font-size: 3.3rem; }
}
