/* ==========================================================================
   Haven & Form — stylesheet
   Warm, architectural, refined. Mobile-first, real breakpoints.
   ========================================================================== */

:root{
  /* Color system */
  --clay:        #b79e84;
  --clay-light:  #e7dccb;
  --clay-pale:   #f1e7d8;
  --linen:       #f8f3ea;
  --linen-deep:  #f1e9db;
  --walnut:      #4a3324;
  --walnut-deep: #362419;
  --ink:         #2b2118;
  --ink-soft:    #5c5044;
  --terracotta:  #b9603f;
  --terracotta-deep: #9c4c2f;
  --line:        rgba(74,51,36,0.16);
  --white:       #fffdf9;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rhythm */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 2px rgba(43,33,24,0.06), 0 12px 28px -16px rgba(43,33,24,0.28);
  --shadow-pop: 0 24px 60px -20px rgba(43,33,24,0.45);
  --max-width: 1240px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }
button{ font: inherit; }
ul{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4{ font-family: var(--font-display); font-weight: 500; margin: 0; color: var(--walnut-deep); }
p{ margin: 0; }
input, select, textarea{ font: inherit; color: inherit; }

.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;
}

.skip-link{
  position: absolute; left: 1rem; top: -100px;
  background: var(--walnut); color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  z-index: 1000; transition: top 0.2s ease;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus{ top: 1rem; }

:focus-visible{
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.section-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow{
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 0.75rem;
}
.eyebrow--light{ color: var(--clay-light); }

.section-head{
  max-width: 640px;
  margin: 0 0 2.5rem;
}
.section-head h2{ font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; }
.section-lede{ margin-top: 0.9rem; color: var(--ink-soft); font-size: 1.02rem; }

/* A thin architectural "floor plan line" divider motif */
.rule{
  border: 0; height: 1px; background: var(--line); margin: 3rem 0;
}
.craft__divider{
  width: 64px; height: 2px; background: var(--terracotta); margin: 1.6rem 0;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--terracotta);
  color: var(--white);
}
.btn--primary:hover{ background: var(--terracotta-deep); }

.btn--primary-dark{
  background: var(--walnut);
  color: var(--white);
}
.btn--primary-dark:hover{ background: var(--walnut-deep); }

.btn--ghost-light{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.btn--ghost-light:hover{ background: rgba(255,255,255,0.14); border-color: var(--white); }

.btn--outline{
  background: transparent;
  color: var(--walnut);
  border-color: var(--walnut);
}
.btn--outline:hover{ background: var(--walnut); color: var(--white); }

.btn--add{
  width: 100%;
  background: var(--walnut);
  color: var(--white);
  margin-top: 0.9rem;
}
.btn--add:hover{ background: var(--terracotta-deep); }
.btn--add.is-added{ background: #5c7350; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 500;
  background: rgba(248,243,234,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}

.wordmark{
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: var(--walnut-deep);
  flex-shrink: 0;
}
.wordmark__mark{
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--walnut); color: var(--white);
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em;
}
.wordmark__name{
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 500;
  white-space: nowrap;
}

.nav-primary{ display: none; }
.nav-primary ul{ display: flex; align-items: center; gap: 1.9rem; }
.nav-primary a{
  text-decoration: none; font-size: 0.92rem; font-weight: 500;
  color: var(--ink); position: relative; padding: 0.3rem 0;
}
.nav-primary a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1.5px; background: var(--terracotta);
  transition: right 0.22s ease;
}
.nav-primary a:hover::after{ right: 0; }

.header-actions{ display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.cart-button{
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--line); border-radius: 50%;
  color: var(--walnut-deep); cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cart-button:hover{ border-color: var(--walnut); background: var(--clay-pale); }
.cart-count{
  position: absolute; top: -6px; right: -6px;
  min-width: 19px; height: 19px; padding: 0 4px;
  border-radius: 999px;
  background: var(--terracotta); color: var(--white);
  font-size: 0.68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: transform 0.2s ease;
}
.cart-count.is-bumped{ transform: scale(1.25); }

.nav-toggle{
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer;
}
.nav-toggle span{
  display: block; width: 18px; height: 1.5px; background: var(--walnut-deep);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile{
  max-height: 0; overflow: hidden;
  background: var(--linen-deep);
  border-bottom: 1px solid transparent;
  transition: max-height 0.3s ease;
}
.nav-mobile.is-open{ max-height: 480px; border-bottom-color: var(--line); }
.nav-mobile ul{ padding: 0.5rem 1.25rem 1.5rem; display: flex; flex-direction: column; }
.nav-mobile a{
  display: block; padding: 0.85rem 0; text-decoration: none;
  color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 88vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.hero__media, .hero__media img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__scrim{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,33,24,0.15) 0%, rgba(43,33,24,0.32) 55%, rgba(35,25,17,0.82) 100%);
}
.hero__content{
  position: relative; z-index: 2;
  padding: 3rem 1.25rem 3.5rem;
  max-width: 760px;
}
.hero h1{
  color: var(--white);
  font-size: clamp(2.3rem, 7vw, 4.1rem);
  line-height: 1.06;
  font-weight: 400;
}
.hero__lede{
  margin-top: 1.3rem;
  font-size: 1.08rem;
  max-width: 46ch;
  color: rgba(255,255,255,0.9);
}
.hero__actions{ margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ==========================================================================
   Shop by Room
   ========================================================================== */
.rooms{ padding: 5rem 0 4.5rem; }

.room-tiles{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.room-tile{
  position: relative;
  border: 0; padding: 0; cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--clay-light);
}
.room-tile img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.room-tile::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,33,24,0) 40%, rgba(35,25,17,0.78) 100%);
}
.room-tile:hover img{ transform: scale(1.06); }
.room-tile__label{
  position: absolute; left: 1rem; bottom: 0.9rem; z-index: 2;
  color: var(--white); font-family: var(--font-display); font-size: 1.05rem;
}
.room-tile.is-active{ box-shadow: 0 0 0 3px var(--terracotta); }

/* ==========================================================================
   Featured Collection
   ========================================================================== */
.collection{ padding: 4.5rem 0; background: var(--linen-deep); }

.filter-chips{
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 1rem;
}
.chip{
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.87rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.chip:hover{ border-color: var(--walnut); }
.chip.is-active{ background: var(--walnut); border-color: var(--walnut); color: var(--white); }

.filter-status{
  font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.75rem;
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.product-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.product-card[hidden]{ display: none; }
.product-card__media{ aspect-ratio: 1 / 1; overflow: hidden; background: var(--clay-light); }
.product-card__media img{ width: 100%; height: 100%; object-fit: cover; }
.product-card__body{ padding: 1.1rem 1.2rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.product-card__room{
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--terracotta-deep); margin-bottom: 0.3rem;
}
.product-card__name{ font-size: 1.15rem; margin-bottom: 0.35rem; }
.product-card__spec{ font-size: 0.86rem; color: var(--ink-soft); line-height: 1.45; }
.product-card__price{ margin-top: 0.55rem; font-weight: 700; font-size: 1.02rem; color: var(--walnut-deep); }

.details-toggle{
  margin-top: 0.9rem;
  background: transparent; border: 0; padding: 0;
  color: var(--walnut); font-weight: 600; font-size: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  cursor: pointer; text-align: left; width: fit-content;
}
.details-toggle__icon{ font-size: 1rem; transition: transform 0.2s ease; line-height: 1; }
.details-toggle[aria-expanded="true"] .details-toggle__icon{ transform: rotate(45deg); }

.details-panel{
  margin-top: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: var(--linen-deep);
  border-radius: var(--radius-md);
  font-size: 0.83rem;
  color: var(--ink-soft);
}
.details-panel ul{ display: flex; flex-direction: column; gap: 0.4rem; }
.details-panel strong{ color: var(--ink); }

.filter-empty{ text-align: center; padding: 2.5rem 0; color: var(--ink-soft); }
.filter-empty a{ color: var(--terracotta-deep); font-weight: 600; }

/* ==========================================================================
   Materials & Craft
   ========================================================================== */
.craft{
  display: flex; flex-direction: column;
}
.craft__media{ aspect-ratio: 4 / 3; }
.craft__media img{ width: 100%; height: 100%; object-fit: cover; }
.craft__content{
  padding: 3rem 1.25rem 4rem;
  background: var(--walnut);
  color: var(--clay-light);
}
.craft__content h2{ color: var(--white); font-size: clamp(1.6rem, 4vw, 2.2rem); max-width: 20ch; }
.craft__content p{ margin-top: 1.1rem; max-width: 62ch; color: rgba(255,255,255,0.82); font-size: 1.02rem; }
.craft__divider{ background: var(--terracotta); }
.craft__points{ display: grid; gap: 1.6rem; margin-top: 0.5rem; }
.craft__points h3{ color: var(--white); font-size: 1.05rem; margin-bottom: 0.4rem; }
.craft__points p{ color: rgba(255,255,255,0.75); font-size: 0.93rem; margin-top: 0; }

/* ==========================================================================
   Showrooms
   ========================================================================== */
.showrooms{ padding: 4.5rem 0; }
.showroom-list{ display: grid; gap: 1.3rem; }
.showroom-card{
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.showroom-card h3{ font-size: 1.2rem; margin-bottom: 0.5rem; }
.showroom-card__address{ font-size: 0.92rem; color: var(--ink-soft); }
.showroom-card__hours{ font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.2rem; }
.showroom-card__note{ margin-top: 0.75rem; font-size: 0.92rem; color: var(--ink); }
.showroom-card .btn{ margin-top: 1.2rem; }

/* ==========================================================================
   Inspiration gallery
   ========================================================================== */
.inspiration{ padding: 4.5rem 0; background: var(--linen-deep); }
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.gallery-item{
  padding: 0; border: 0; cursor: pointer; border-radius: var(--radius-md);
  overflow: hidden; aspect-ratio: 1 / 1; background: var(--clay-light);
}
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img{ transform: scale(1.05); }

.lightbox{
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden]{ display: none; }
.lightbox__backdrop{ position: absolute; inset: 0; background: rgba(24,17,11,0.9); }
.lightbox__dialog{
  position: relative; z-index: 2;
  max-width: min(90vw, 980px);
  display: flex; flex-direction: column; align-items: center;
  padding: 0 1rem;
}
.lightbox__image{
  max-height: 78vh; width: auto; max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
}
.lightbox__caption{ color: var(--clay-light); margin-top: 1rem; font-size: 0.9rem; text-align: center; }
.lightbox__close{
  position: absolute; top: -44px; right: 0;
  background: transparent; border: 0; color: var(--white);
  font-size: 2rem; line-height: 1; cursor: pointer; padding: 0.3rem 0.6rem;
}
.lightbox__nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.4);
  color: var(--white); width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__nav:hover{ background: rgba(255,255,255,0.24); }
.lightbox__nav--prev{ left: -8px; }
.lightbox__nav--next{ right: -8px; }

/* ==========================================================================
   Design consultation
   ========================================================================== */
.consultation{ padding: 4.5rem 0; }
.consultation__inner{
  display: grid; gap: 2.5rem;
}
.consultation__intro p{ margin-top: 1rem; color: var(--ink-soft); font-size: 1rem; max-width: 52ch; }
.consultation__list{ margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.consultation__list li{
  padding-left: 1.4rem; position: relative; font-size: 0.94rem; color: var(--ink);
}
.consultation__list li::before{
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 1.5px; background: var(--terracotta);
}

.consultation-form{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1.1rem;
}
.form-row{ display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label{ font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-row input, .form-row select, .form-row textarea{
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--linen);
  font-size: 0.95rem;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  border-color: var(--walnut); background: var(--white);
}
.form-row textarea{ resize: vertical; min-height: 100px; }
.form-error{ font-size: 0.8rem; color: var(--terracotta-deep); min-height: 1em; }
.form-row.has-error input, .form-row.has-error select, .form-row.has-error textarea{
  border-color: var(--terracotta-deep);
}
.form-success{
  margin-top: 0.4rem;
  padding: 0.85rem 1rem;
  background: #eef3e8;
  border: 1px solid #c9d9b8;
  border-radius: var(--radius-sm);
  color: #3e5a2c;
  font-size: 0.9rem;
}
.form-success[hidden]{ display: none; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter{ padding: 4rem 0; background: var(--walnut); color: var(--white); }
.newsletter__inner{
  display: grid; gap: 1.6rem;
}
.newsletter h2{ color: var(--white); font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
.newsletter p{ margin-top: 0.6rem; color: rgba(255,255,255,0.78); max-width: 46ch; }
.newsletter-form__row{ display: flex; gap: 0.65rem; flex-wrap: wrap; }
.newsletter-form input{
  flex: 1 1 220px;
  padding: 0.82rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.newsletter-form input::placeholder{ color: rgba(255,255,255,0.55); }
.newsletter-form input:focus{ background: rgba(255,255,255,0.16); }
.newsletter-form .form-error{ color: #f0c2a6; }
.newsletter-form .form-success{ background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: var(--white); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--walnut-deep); color: rgba(255,255,255,0.82); padding: 3.5rem 0 0; }
.footer__grid{
  display: grid; gap: 2.4rem;
  padding-bottom: 2.75rem;
}
.footer__brand .wordmark--footer{ color: var(--white); }
.footer__brand .wordmark--footer .wordmark__mark{ background: var(--terracotta); }
.footer__brand p{ margin-top: 1rem; font-size: 0.9rem; color: rgba(255,255,255,0.65); max-width: 42ch; }
.social-links{ display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.social-links a{
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25); color: var(--white);
  text-decoration: none; transition: background 0.18s ease, border-color 0.18s ease;
}
.social-links a:hover{ background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.footer__col h3{
  color: var(--white); font-family: var(--font-body); font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer__col ul{ display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col a{ text-decoration: none; color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.footer__col a:hover{ color: var(--white); }

.footer__bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.4rem 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
  max-width: var(--max-width); margin: 0 auto;
}

/* ==========================================================================
   Breakpoints — 640 / 768 / 1024 / 1280
   ========================================================================== */

@media (min-width: 640px){
  .room-tiles{ grid-template-columns: repeat(3, 1fr); }
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
  .showroom-list{ grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px){
  .hero__content{ padding: 3.5rem 2.5rem 4.5rem; }
  .section-inner{ padding: 0 2rem; }
  .craft{ flex-direction: row; }
  .craft__media, .craft__content{ flex: 1 1 50%; min-width: 0; }
  .craft__media{ aspect-ratio: auto; }
  .craft__points{ grid-template-columns: repeat(2, 1fr); }
  .consultation__inner{ grid-template-columns: 1fr 1fr; align-items: start; }
  .newsletter__inner{ grid-template-columns: 1.2fr 1fr; align-items: center; }
  .footer__bottom{ padding: 1.4rem 2rem; }
}

@media (min-width: 1024px){
  .nav-primary{ display: block; }
  .nav-toggle{ display: none; }
  .header-actions{ gap: 0.9rem; }

  .room-tiles{ grid-template-columns: repeat(5, 1fr); }
  .product-grid{ grid-template-columns: repeat(3, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
  .showroom-list{ grid-template-columns: repeat(3, 1fr); }

  .footer__grid{ grid-template-columns: 1.4fr 0.8fr 0.8fr 0.9fr; }
}

@media (min-width: 1280px){
  .product-grid{ grid-template-columns: repeat(4, 1fr); }
  .hero__content{ max-width: 820px; }
}

/* Ensure mobile header never overflows at very small widths */
@media (max-width: 374px){
  .wordmark__name{ display: none; }
}
