:root {
  --cream: #f4efe6;
  --cream-deep: #ebe3d4;
  --paper: #f8f4ec;
  --white: #fcfaf6;
  --charcoal: #2a2622;
  --ink: #2a2622;
  --muted: #6b635a;
  --line: #d8cfc0;
  --forest: #2f4a3a;
  --forest-soft: #4a6756;
  --wood: #a67c52;
  --wood-light: #c4a574;
  --kids-red: #d45a4a;
  --kids-yellow: #e6c14a;
  --kids-green: #7cb88a;
  --shadow: 0 10px 28px rgba(42, 38, 34, 0.08);
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --header-h: 74px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    url("images/paper-texture.jpg"),
    linear-gradient(180deg, #f3eee4 0%, var(--cream) 28%, #efe8db 100%);
  background-size: 420px, auto;
  background-blend-mode: multiply, normal;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

.skip-link, .sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; left: 1rem; top: 0.6rem;
  background: var(--charcoal); color: var(--cream); padding: 0.5rem 0.8rem; z-index: 90;
}

.container { width: min(100% - 1.6rem, var(--max)); margin-inline: auto; }
.section { padding: 4.2rem 0; }
@media (min-width: 800px) { .section { padding: 5.4rem 0; } }

.eyebrow {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--forest); margin-bottom: 0.6rem;
}
.eyebrow.light { color: #c5d1c4; }
h1, h2, h3 {
  font-family: var(--display); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.12; color: var(--charcoal);
}
h1 { font-size: clamp(2.05rem, 4.6vw, 3.5rem); margin-bottom: 0.8rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); margin-bottom: 0.7rem; }
h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.section-lead, .lede { color: var(--muted); }
.row-head {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 1rem; max-width: none;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 0.78rem 1.2rem;
  font-weight: 600; transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: #f6f1e8; }
.btn-primary:hover { background: #263c30; }
.btn-lg { padding: 0.95rem 1.45rem; }
.btn-block { width: 100%; }
.btn-add { width: 100%; margin-top: 0.55rem; padding: 0.58rem 0.9rem; font-size: 0.88rem; }
.btn-kids { background: var(--kids-red); color: #fff8f4; }
.btn-kids:hover { background: #c24c3d; }
.text-link { font-weight: 650; color: var(--forest); }

.sample-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.45rem 0.85rem; background: #24352c; color: #f3eee4;
  text-align: center; font-size: 0.78rem; font-weight: 500;
  line-height: 1.4; padding: 0.42rem 0.85rem;
}
.sf-back,
.sf-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0.35rem 0.8rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
  white-space: nowrap; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.sf-back {
  background: #f4efe6; color: #24352c;
}
.sf-switch {
  background: transparent; color: #f4efe6;
  border: 1.5px solid #f4efe6;
}

.site-chrome { position: sticky; top: 0; z-index: 40; }
.site-header {
  background: rgba(248, 244, 236, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 38, 34, 0.08);
}
.header-inner {
  width: min(100% - 1.4rem, 1240px); margin-inline: auto;
  min-height: var(--header-h); display: flex; align-items: center; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--cream-deep); border-radius: 11px;
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-size: 1.16rem; font-weight: 650; }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest); font-weight: 600; }
.nav-desktop { display: none; gap: 1rem; margin-left: auto; }
.nav-desktop a { font-size: 0.94rem; font-weight: 500; }
.nav-desktop a:hover { color: var(--forest); }
.header-actions { display: flex; align-items: center; gap: 0.65rem; margin-left: auto; }
.header-ship { display: none; font-size: 0.8rem; font-weight: 600; color: var(--forest); }
.cart-btn {
  position: relative; width: 42px; height: 42px; border: 0; background: transparent; color: var(--charcoal);
}
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px;
  border-radius: 999px; background: var(--forest); color: #f6f1e8;
  font-size: 0.68rem; font-weight: 700; display: grid; place-items: center;
}
.nav-toggle { width: 42px; height: 42px; border: 0; background: transparent; display: grid; place-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--charcoal); }
.nav-mobile { display: grid; padding: 0.3rem 1.2rem 1rem; border-top: 1px solid var(--line); background: var(--paper); }
.nav-mobile[hidden] { display: none; }
.nav-mobile a { padding: 0.55rem 0; font-weight: 500; }
@media (min-width: 980px) {
  .nav-desktop { display: flex; }
  .header-ship { display: block; }
  .header-actions { margin-left: 0; }
  .nav-toggle, .nav-mobile { display: none !important; }
}
.promo-bar {
  background: var(--forest); color: #f3eee4; text-align: center;
  font-size: 0.82rem; font-weight: 500; padding: 0.48rem 1rem;
}

/* Broken bento stage */
.stage { padding: 1rem 0 0.4rem; }
.bento {
  width: min(100% - 1.2rem, 1240px);
  margin-inline: auto;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
.tile {
  background: var(--white);
  border: 1px solid rgba(42, 38, 34, 0.07);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 0;
}
.tile-intro { padding: 1.35rem 1.2rem 1.4rem; }
.tile-intro .lede { margin-bottom: 1rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem; }
.chip {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.32rem 0.7rem; font-size: 0.82rem; font-weight: 600; background: var(--paper);
}
.chip-kids { background: #fff3c4; border-color: #e6c14a; color: #7a3a28; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; }

.tile-life { position: relative; }
.tile-life img { width: 100%; height: 260px; object-fit: cover; display: block; }
.tile-life figcaption {
  position: absolute; left: 0.8rem; bottom: 0.75rem;
  background: rgba(244, 239, 230, 0.94); border-radius: 999px;
  padding: 0.28rem 0.7rem; font-size: 0.78rem; font-weight: 650;
}

.tile-prod {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.75rem;
  padding: 0.85rem;
  align-items: center;
}
.tile-prod img {
  width: 96px; height: 96px; object-fit: cover; border-radius: 12px;
}
.tile-prod .product-cat { padding: 0; }
.tile-prod h3, .tile-prod .price { padding: 0; }
.tile-prod .btn-add { width: auto; margin: 0.45rem 0 0; padding: 0.5rem 0.9rem; }
.tile-prod-kids { background: linear-gradient(180deg, #fff8ee, #fff3c4); }

.tile-ship { padding: 1.15rem 1.1rem 1.2rem; background: var(--forest); color: #f4efe6; }
.tile-ship .eyebrow, .tile-ship h2 { color: #f4efe6; }
.tile-ship p { color: #d8d0c4; }
.ship-form { display: flex; gap: 0.45rem; margin: 0.85rem 0 0.45rem; }
.ship-form input {
  flex: 1; min-width: 0; border: 0; border-radius: 999px;
  padding: 0.7rem 0.9rem; background: #f4efe6; color: var(--charcoal);
}
.ship-result { min-height: 1.3em; font-size: 0.9rem; color: #efe4c8; font-weight: 500; }

.tile-kids-peek { position: relative; display: block; }
.tile-kids-peek img { width: 100%; height: 200px; object-fit: cover; display: block; }
.tile-kids-peek span {
  position: absolute; left: 0.75rem; bottom: 0.7rem;
  background: #fff3c4; color: #7a3a28; font-weight: 700;
  padding: 0.32rem 0.7rem; border-radius: 999px;
}

@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-areas:
      "intro intro intro intro intro life life life life life life life"
      "crew crew crew crew jack jack jack jack ship ship ship ship"
      "peek peek peek peek rain rain rain rain rain rain rain rain";
    gap: 0.85rem;
    align-items: stretch;
  }
  .bento-intro { grid-area: intro; }
  .bento-life { grid-area: life; }
  .bento-crew { grid-area: crew; }
  .bento-jacket { grid-area: jack; }
  .bento-ship { grid-area: ship; }
  .bento-peek { grid-area: peek; }
  .bento-rain { grid-area: rain; }
  .tile-life { height: 100%; }
  .tile-life img { height: 100%; min-height: 280px; }
  .tile-kids-peek img { height: 100%; min-height: 180px; }
}

@media (max-width: 520px) {
  .tile-prod { grid-template-columns: 1fr; }
  .tile-prod img { width: 100%; height: 180px; }
}

/* Dense floor */
.product-grid.dense {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.product {
  background: var(--white); border: 1px solid rgba(42, 38, 34, 0.07);
  border-radius: 14px; overflow: hidden; padding-bottom: 0.85rem; box-shadow: var(--shadow);
  min-width: 0; display: flex; flex-direction: column;
}
.product-photo { position: relative; background: var(--cream-deep); }
.product-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sale {
  position: absolute; top: 0.5rem; left: 0.5rem;
  background: var(--kids-yellow); color: #4a3510;
  font-size: 0.7rem; font-weight: 700; padding: 0.18rem 0.45rem; border-radius: 999px;
}
.product-cat {
  padding: 0.6rem 0.75rem 0; font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--forest); font-weight: 600;
}
.product h3, .product .price { padding: 0 0.75rem; }
.price { font-weight: 650; }
.price s { color: var(--muted); font-weight: 500; margin-right: 0.25rem; }
.product .btn-add { width: calc(100% - 1.5rem); margin-left: 0.75rem; }
.product-kids { border-color: rgba(212, 90, 74, 0.2); }
.product-kids .product-cat { color: var(--kids-red); }
.tile.tile-prod { display: grid; }
@media (min-width: 700px) {
  .product-grid.dense { grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
}

/* Kids band */
.kids-band {
  background:
    linear-gradient(135deg, #fff6d2 0%, #ffe8d6 42%, #e8f5ea 100%);
  padding: 3.4rem 0;
  border-top: 3px solid var(--kids-yellow);
  border-bottom: 3px solid var(--kids-green);
}
.kids-eye { color: var(--kids-red); }
.kids-copy h2 { max-width: 16ch; }
.kids-copy p { color: #5a4638; max-width: 34rem; }
.kids-deal { font-weight: 700; color: var(--kids-red); margin: 0.7rem 0 1rem; }
.kids-layout { display: grid; gap: 1.4rem; }
.kids-mosaic {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0.55rem;
}
.kids-mosaic img { width: 100%; height: 120px; object-fit: cover; border-radius: 14px; }
.kids-mosaic img:first-child { grid-row: span 2; height: 252px; }
@media (min-width: 860px) {
  .kids-layout { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
  .kids-mosaic img { height: 140px; }
  .kids-mosaic img:first-child { height: 292px; }
}

.why { background: linear-gradient(180deg, transparent, rgba(232, 220, 200, 0.32), transparent); }
.why-grid { display: grid; gap: 0.9rem; }
.why-card {
  background: var(--white); border-radius: 16px; padding: 1.2rem 1.1rem;
  border: 1px solid rgba(42, 38, 34, 0.07); box-shadow: var(--shadow);
}
.why-card p { color: var(--muted); }
@media (min-width: 800px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 799px) and (min-width: 560px) { .why-grid { grid-template-columns: 1fr 1fr; } }

.trust-bar { background: var(--charcoal); color: #e8e0d2; padding: 0.95rem 0; }
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem 1rem; text-align: center; font-size: 0.92rem; font-weight: 500;
}
.trust-row span { color: var(--wood-light); }

.final-cta {
  background: linear-gradient(180deg, rgba(42, 38, 34, 0.28), rgba(32, 27, 22, 0.52)),
    url("images/hero.jpg") center/cover;
  color: var(--cream); padding: 5rem 0;
}
.final-cta h2 { color: #f7f1e6; }
.final-cta p { color: #e4d8c6; max-width: 34rem; margin-bottom: 1.15rem; }

.site-footer { background: #231f1c; color: #d8d0c4; padding: 3rem 0 1.3rem; }
.footer-grid { display: grid; gap: 1.8rem; padding-bottom: 1.8rem; border-bottom: 1px solid rgba(244, 239, 230, 0.08); }
.site-footer h3 { color: #f4efe6; font-size: 1rem; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.55rem;
  padding-top: 1.15rem; font-size: 1.02rem; font-weight: 500; color: #e4d8c6;
}
.footer-base .concept-credit {
  font-size: 1.02rem;
  color: #efe4c8;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.cart-drawer[hidden] { display: none; }
.cart-drawer { position: fixed; inset: 0; z-index: 70; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(32, 27, 22, 0.5); }
.cart-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(100%, 400px);
  background: var(--paper); padding: 1.2rem; overflow: auto;
}
.cart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.modal-close { border: 0; background: transparent; font-size: 1.6rem; color: var(--muted); width: 40px; height: 40px; }
.cart-items { list-style: none; display: grid; gap: 0.7rem; }
.cart-items li { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.95rem; }
.cart-empty { color: var(--muted); }
.cart-items:not(:empty) + .cart-empty { display: none; }
.cart-foot { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 0.35rem; }
.cart-note { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.9rem; }

:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.tile-ship :focus-visible { outline-color: #e6c14a; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
