/* Homepage proposal. Existing v1.4 screens are retained for reference transitions. */
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #101010;
  --paper: #f3f3f1;
  --line: #d7d7d2;
  --muted: #5c5c58;
  --gutter: 12px;
}

body {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
}

button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.header {
  height: 64px;
  padding: 0 16px;
  background: #101010;
}
.logo {
  display: flex;
  align-items: center;
  width: 112px;
  height: 44px;
  line-height: 1;
}
.brand-logo { width: 100%; height: auto; }
.bag { width: 44px; height: 44px; }
.bag svg { width: 23px; height: 23px; stroke-width: 1.4; }
.bagcount { background: #b0b0b0; color: #101010; }

/* One unified video field. The bottom action is included in the HERO height. */
.film {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 44px;
  height: 45svh;
  min-height: 280px;
  background: #d6d6d2;
}
html[data-mobile-hero="tall"] .film { height: 60svh; }
.film-frame {
  display: grid;
  place-items: center;
  min-height: 0;
  background: #d6d6d2;
  animation: video-field-in .8s ease-out both;
}
.video-label {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}
.film-bottom {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #101010;
  color: #f3f3f1;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0;
}
.film-bottom span:first-child { font-size: 14px; letter-spacing: 0; }
.film-bottom svg { width: 20px; height: 20px; }
.film-bottom:hover { color: #b0b0b0; }

.collection {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
#top, #catalog { scroll-margin-top: 64px; }
.collection-heading {
  min-height: 78px;
  align-items: baseline;
  padding: 24px 0 18px;
}
.collection-heading h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
}
.collection-heading > span { font-size: 13px; color: var(--muted); }
.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 10px;
}
.photo-button { background: #e6e6e3; }
.photo-button img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  transition: none;
}
.product:hover .photo-button img { transform: none; }
.photo-button:hover { outline: 1px solid #c6c6c1; outline-offset: -1px; }
.product-details { padding: 12px 0 0; min-height: 62px; }
.product-name {
  display: block;
  min-height: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.015em;
}
.product-price {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.feature { max-width: 1600px; margin: 36px auto; }
.feature .feature-photo {
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.feature-bear { color: #f3f3f1; background: #292929; }
.feature-bear .feature-photo { background: #292929; }
.feature-birds { color: var(--ink); background: #dededb; }
.feature-birds .feature-photo { background: #dededb; }
.feature-photo img { opacity: 0; transform: none !important; transition: none; }
.feature-product {
  min-height: 90px;
  padding: 22px 16px;
  gap: 16px;
}
.feature-product strong {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.2;
}
.feature-right { gap: 0; }
.feature-right b { font-size: 15px; font-weight: 400; }
.feature-right svg { display: none; }
.feature-product:hover { text-decoration: underline; text-underline-offset: 5px; }
.collection-more, .collection-last { padding-top: 0; }

.footer { margin-top: 52px; padding: 40px 16px 56px; background: #101010; }
.footer-title { display: block; width: min(100%, 300px); margin-bottom: 44px; }
.footer-title img { width: 100%; height: auto; }
.footer-links { max-width: 580px; }
.footer-links summary { min-height: 56px; padding: 16px 0; font-size: 16px; }
.footer-links p { max-width: 55ch; font-size: 14px; line-height: 1.6; color: #b8b8b4; }
.footer-links details { border-color: #484846; }
.footer-links details:last-child { border-color: #484846; }

/* Neutral media and unapproved prices also apply to the preserved reference screens. */
.screen-header .logo { width: 100px; }
.screen .plain { max-width: 680px; }
.screen .pdp-infohead h2 { font-weight: 650; }
.screen .purchase { font-family: inherit; font-weight: 500; }
.screen .pdp-description p, .screen .cart-item p { font-size: 14px; }
.screen .plain label { font-size: 14px; }
.screen .option-row .muted { font-size: 13px; }
.screen .form-note { font-size: 14px; }

@keyframes video-field-in { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 720px) {
  :root { --gutter: 4vw; }
  .header { height: 76px; padding: 0 var(--gutter); }
  .logo { width: 142px; }
  .film, html[data-mobile-hero="tall"] .film { height: 60svh; min-height: 0; }
  .film-bottom { padding: 0 var(--gutter); }
  #top, #catalog { scroll-margin-top: 76px; }
  .collection-heading { min-height: 120px; padding: 40px 0 26px; }
  .collection-heading h1 { font-size: 48px; }
  .collection-heading > span { font-size: 14px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 18px; }
  .product-name, .product-price { font-size: 15px; }
  .product-details { min-height: 70px; padding-top: 15px; }
  .feature { margin-top: 56px; margin-bottom: 56px; }
  .feature .feature-photo { aspect-ratio: 2 / 1; }
  .feature-product { min-height: 112px; padding: 26px var(--gutter); }
  .feature-product strong { font-size: 34px; }
  .feature-right b { font-size: 16px; }
  .footer { margin-top: 80px; padding: 64px var(--gutter) 72px; }
  .footer-title { width: 390px; margin-bottom: 56px; }
}

@media (max-width: 359px) {
  .feature-product strong { font-size: 22px; }
  .product-name { font-size: 14px; }
  .collection-heading h1 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film-frame { animation: none; }
}
