/* Bird Benches — local mockup
   Warm paper, charcoal type, photography first. */

:root {
  --paper: #f3f0ea;
  --paper-deep: #e7e2d8;
  --ink: #1c1b19;
  --ink-soft: #5a564f;
  --line: #d4cfc4;
  --robin: #7eb8c4;
  --cardinal: #c4453a;
  --canary: #e2c04a;
  --cta: #1c1b19;
  --cta-text: #f7f4ee;
  --max: 1180px;
  --header-h: 6rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

#about,
#colors,
#buy {
  scroll-margin-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.lockup-bird {
  width: 3.1rem;
  height: 3.1rem;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  background: none;
  border: none;
  box-shadow: none;
}

.lockup-type {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1;
}

.lockup-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lockup-tag {
  font-weight: 500;
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-bottom-color: var(--robin);
}

.nav a.nav-buy {
  border-bottom-color: transparent;
}

/* ——— Hero ——— */

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  height: min(52rem, calc(100dvh - var(--header-h)));
  min-height: 34rem;
  background: var(--paper);
}

.hero-photo {
  min-height: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-visual {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 0;
  min-width: 0;
}

.hero-visual .hero-photo {
  flex: 1;
  min-height: 0;
  min-width: 0;
}

.hero-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.65rem 0.55rem;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--paper-deep);
  border-left: 1px solid var(--line);
  flex: 0 0 auto;
  -webkit-overflow-scrolling: touch;
}

.hero-thumb {
  flex: 0 0 auto;
  width: 3.15rem;
  height: 3.15rem;
  padding: 0;
  border: 2px solid transparent;
  background: #ccc8be;
  cursor: pointer;
  overflow: hidden;
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
}

.hero-thumb.is-active,
.hero-thumb:hover {
  border-color: var(--ink);
}

.hero-thumb:focus-visible {
  outline: 2px solid var(--robin);
  outline-offset: 2px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.6rem, 4.5vw, 4.2rem);
}

.kicker {
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.15rem;
}

.kicker::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 2px;
  background: var(--robin);
  margin-top: 0.85rem;
}

.hero-copy h1 {
  font-weight: 800;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-transform: uppercase;
  margin: 0 0 1.15rem;
}

.lede {
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 28ch;
  margin: 0 0 1.8rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cta);
  color: var(--cta-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #000;
}

.ships {
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ——— Story ——— */

.story {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.story h2 {
  font-weight: 800;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

.story p {
  margin: 0 0 1.1rem;
  max-width: 42ch;
}

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

.story .care {
  margin-top: 1.35rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 42ch;
}

.facts {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.facts li {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.facts li span {
  display: block;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.28rem;
}

/* ——— Colors ——— */

.colors {
  background: var(--paper-deep);
  padding: clamp(4rem, 9vw, 7rem) 0  clamp(3.5rem, 7vw, 5.5rem);
}

.section-head {
  margin-bottom: 2.4rem;
}

.section-head h2 {
  font-weight: 800;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 48ch;
}

.section-head p + p {
  margin-top: 0.55rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem 1rem;
}

.card {
  min-width: 0;
}

.card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card figure {
  margin: 0;
}

.card .frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ccc8be;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transition: transform 0.45s ease;
}

.card a:hover img {
  transform: scale(1.035);
}

.card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.7rem 0.05rem 0.15rem;
}

.card .name {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card .price {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  white-space: nowrap;
}

a.custom {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

a.custom:hover {
  background: #ebe6dc;
  box-shadow: 0 1px 0 var(--line);
}

.custom {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  background: var(--paper);
  border-left: 3px solid var(--canary);
}

.custom .swatches {
  display: flex;
  gap: 0.35rem;
}

.custom .swatches i {
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.custom h3 {
  margin: 0 0 0.2rem;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.custom p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.custom .price {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

/* ——— Lifestyle ——— */

.life {
  padding: clamp(0.6rem, 2vw, 1.2rem) 0 0;
}

.life-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.life-strip figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #c8c4ba;
}

.life-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.life-strip figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ——— Buy band ——— */

.buy {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  text-align: center;
}

.buy h2 {
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}

.buy p {
  margin: 0 auto 1.6rem;
  max-width: 38ch;
  color: var(--ink-soft);
}

.buy .shop-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--robin);
  padding-bottom: 0.15rem;
}

.buy .shop-link:hover { color: var(--ink); }

/* ——— Footer ——— */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--robin);
}

.site-footer .note {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
}

/* ——— Responsive ——— */

@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero { max-height: none; }
}

@media (max-width: 780px) {
  :root { --header-h: 4.85rem; }

  .lockup-tag { display: none; }
  .lockup-bird {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .hero-visual {
    flex-direction: column;
  }

  .hero-photo {
    min-height: 0;
    height: min(70svh, 34rem);
  }

  .hero-photo img {
    object-fit: contain;
    object-position: center;
  }

  .hero-thumbs {
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 0.65rem 0.75rem;
  }

  .hero-thumb {
    width: 2.75rem;
    height: 2.75rem;
  }

  .story-grid,
  .custom {
    grid-template-columns: 1fr;
  }

  .life-strip {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .life-strip figure { aspect-ratio: 4 / 5; }

  .nav { gap: 0.95rem; font-size: 0.68rem; letter-spacing: 0.12em; }
}

@media (max-width: 480px) {
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .gallery { gap: 0.85rem 0.7rem; }
  .hero-copy h1 { font-size: 1.7rem; }
}


/* ——— Desktop container cleanup (mobile unchanged below 780px) ——— */
@media (min-width: 781px) {
  .hero {
    height: min(46rem, calc(100dvh - var(--header-h)));
    min-height: 32rem;
    max-width: var(--max);
    margin-inline: auto;
    border-bottom: 1px solid var(--line);
  }

  .hero-visual {
    overflow: hidden;
    background: var(--paper-deep);
  }

  .hero-thumbs {
    border-left: 1px solid var(--line);
    background: var(--paper);
    padding: 0.85rem 0.65rem;
    gap: 0.5rem;
    justify-content: center;
  }

  .hero-copy {
    border-left: 1px solid var(--line);
    background: var(--paper);
  }

  .colors .wrap,
  .story .wrap,
  .buy .wrap {
    width: min(var(--max), calc(100% - 3.5rem));
  }

  .gallery {
    gap: 1.35rem 1.15rem;
  }

  .card .frame {
    background: var(--paper);
    border: 1px solid var(--line);
  }

  .custom {
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--line);
    border-left: 3px solid var(--canary);
  }

  .life {
    padding: 1.25rem 0 0;
  }

  .life-strip {
    width: min(var(--max), calc(100% - 3.5rem));
    gap: 0.75rem;
  }

  .life-strip figure {
    border: 1px solid var(--line);
    background: var(--paper);
  }

  .story {
    padding: clamp(3.25rem, 6vw, 5rem) 0;
  }

  .story-grid {
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: stretch;
  }

  .facts {
    margin-top: 0;
    height: 100%;
  }

  .buy {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    border-top: 1px solid var(--line);
  }
}

.lockup-mark {
  height: 4.875rem;
  width: auto;
  max-width: min(510px, 68vw);
  display: block;
  background: none;
  border: none;
  box-shadow: none;
}

@media (max-width: 780px) {
  .lockup-mark {
    height: 3.85rem;
    max-width: min(280px, 58vw);
  }
}
