:root {
  --navy: #0a2038;
  --orange: #ff4319;
  --cream: #fff7e5;
  --yellow: #ffe22f;
  --red: #de271c;
  --paper: #efe6d2;
  --line: 3px solid var(--navy);
  --shadow: 8px 8px 0 var(--navy);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--cream);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  line-height: 1.35;
}
body.is-locked { overflow: hidden; }
button, input { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; border: var(--line); background: var(--yellow); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.issue-strip {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 22px;
  padding: 8px clamp(16px, 4vw, 64px);
  color: var(--cream);
  background: var(--navy);
  font: 800 11px/1.2 "Arial Narrow", Arial, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.issue-strip .pilot { color: var(--yellow); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 82px;
  padding: 12px clamp(16px, 4vw, 64px);
  border-bottom: var(--line);
  background: rgba(255, 247, 229, .95);
  backdrop-filter: blur(12px);
}
.logo { display: grid; width: max-content; text-decoration: none; font-style: italic; font-size: 21px; font-weight: 1000; line-height: .72; letter-spacing: -.06em; transform: skew(-8deg); }
.logo span { color: var(--orange); }
.logo strong { font-size: 39px; }
.site-header nav { display: flex; justify-content: center; gap: clamp(18px, 4vw, 52px); font: 800 13px/1 Arial, sans-serif; text-transform: uppercase; }
.site-header nav a { text-decoration: none; border-bottom: 3px solid transparent; }
.site-header nav a:hover { border-color: var(--orange); }
.bag-button { padding: 10px 14px; border: var(--line); color: var(--cream); background: var(--navy); box-shadow: 4px 4px 0 var(--orange); font-weight: 1000; cursor: pointer; }
.bag-button span { color: var(--yellow); }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 1.25fr); min-height: 700px; overflow: hidden; border-bottom: var(--line); background: var(--cream); }
.hero-art { grid-column: 2; background: url("assets/total-flow-hero.webp") center / cover no-repeat; }
.hero-copy { position: relative; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 8vw, 120px) clamp(22px, 5vw, 78px); }
.hero-copy::after { content: ""; position: absolute; z-index: -1; inset: 8% -40% 8% 42%; background: var(--cream); transform: skew(-10deg); }
.kicker { margin: 0 0 14px; font: 900 12px/1 "Arial Narrow", Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; text-wrap: balance; }
h1 { margin-bottom: 24px; font-size: clamp(60px, 8.7vw, 142px); font-style: italic; font-weight: 1000; line-height: .75; letter-spacing: -.065em; }
h1 em { color: var(--orange); font-style: inherit; -webkit-text-stroke: 2px var(--navy); text-shadow: 6px 6px 0 var(--yellow); }
.hero-copy > p:not(.kicker) { max-width: 590px; margin: 0 0 28px; font: 700 clamp(18px, 1.8vw, 25px)/1.35 Arial, sans-serif; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 18px; border: var(--line); box-shadow: 6px 6px 0 var(--navy); color: var(--navy); background: var(--cream); text-decoration: none; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.button:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--navy); }
.button-red { color: white; background: var(--orange); }
.full { width: 100%; }
.underlink { padding: 0; border: 0; border-bottom: 3px solid var(--orange); background: none; font-weight: 1000; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.burst { position: absolute; right: -45px; bottom: 20px; display: grid; place-items: center; width: 150px; height: 150px; clip-path: polygon(50% 0,61% 24%,80% 7%,78% 31%,100% 27%,82% 47%,100% 57%,76% 62%,88% 83%,63% 75%,58% 100%,46% 77%,28% 95%,30% 70%,4% 74%,24% 53%,0 43%,28% 38%,14% 17%,39% 25%); color: var(--navy); background: var(--yellow); text-align: center; line-height: .82; transform: rotate(8deg); }

.benefit-bar { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: var(--line); background: var(--navy); color: var(--cream); }
.benefit-bar div { display: flex; align-items: center; gap: 14px; min-height: 105px; padding: 20px clamp(14px, 3vw, 34px); border-right: 2px solid var(--cream); }
.benefit-bar div:last-child { border-right: 0; }
.benefit-bar strong { color: var(--yellow); font-size: 42px; line-height: 1; }
.benefit-bar span { font: 800 12px/1.25 Arial, sans-serif; text-transform: uppercase; }

.section { padding: clamp(70px, 9vw, 130px) clamp(18px, 5vw, 80px); border-bottom: var(--line); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section h2 { margin-bottom: 0; font-size: clamp(44px, 7vw, 96px); font-style: italic; font-weight: 1000; line-height: .82; letter-spacing: -.055em; }
.section-intro { max-width: 720px; margin: 24px 0 42px; font: 700 18px/1.5 Arial, sans-serif; }
.filters { display: flex; gap: 8px; }
.filters button { padding: 9px 12px; border: var(--line); background: var(--cream); box-shadow: 3px 3px 0 var(--navy); font-weight: 1000; cursor: pointer; }
.filters button.is-active { color: white; background: var(--orange); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 38px); }
.product-card { display: flex; flex-direction: column; border: var(--line); background: #fffdfa; box-shadow: var(--shadow); }
.product-card[hidden] { display: none; }
.product-image { position: relative; aspect-ratio: 1 / .92; overflow: hidden; border-bottom: var(--line); background: var(--paper); }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .18s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-number { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: var(--line); border-radius: 50%; color: white; background: var(--orange); font-size: 20px; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.product-label { margin: 0 0 8px; color: var(--orange); font: 900 11px/1 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.product-card h3 { margin-bottom: 9px; font-size: clamp(28px, 2.8vw, 40px); font-style: italic; line-height: .9; letter-spacing: -.035em; }
.product-description { margin: 0 0 18px; font: 600 15px/1.45 Arial, sans-serif; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 20px; padding: 0; list-style: none; }
.specs li { padding: 4px 7px; border: 2px solid var(--navy); font: 900 10px/1 Arial, sans-serif; text-transform: uppercase; }
.product-buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 2px solid var(--navy); }
.product-buy strong { font-size: 31px; }
.product-buy small { font: 800 10px/1 Arial, sans-serif; }
.add { padding: 10px 12px; border: var(--line); color: white; background: var(--orange); box-shadow: 4px 4px 0 var(--navy); font-weight: 1000; cursor: pointer; }

.method { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 120px); color: var(--cream); background: var(--navy); }
.method-cover { position: relative; align-self: start; min-height: 440px; padding: clamp(28px, 5vw, 58px); border: 4px solid var(--cream); background: var(--orange); box-shadow: 12px 12px 0 var(--yellow); transform: rotate(-2deg); }
.method-cover h2 { max-width: 610px; }
.method-cover > p:last-of-type { max-width: 520px; font: 700 19px/1.4 Arial, sans-serif; }
.cover-stamp { position: absolute; right: -30px; bottom: -30px; display: grid; place-items: center; width: 125px; height: 125px; border: 4px solid var(--navy); border-radius: 50%; color: var(--navy); background: var(--yellow); text-align: center; line-height: .85; transform: rotate(11deg); }
.method-list { display: grid; align-content: center; }
.method-list article { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 28px 0; border-bottom: 2px solid var(--cream); }
.method-list article:first-child { border-top: 2px solid var(--cream); }
.method-list article > span { color: var(--yellow); font-size: 34px; }
.method-list h3 { margin-bottom: 6px; font-size: 27px; font-style: italic; }
.method-list p { margin: 0; font: 600 16px/1.45 Arial, sans-serif; }

.statement { display: flex; justify-content: center; align-items: center; gap: clamp(10px, 2vw, 30px); flex-wrap: wrap; color: var(--navy); background: var(--yellow); }
.statement p, .statement i { margin: 0; font-size: clamp(30px, 5vw, 76px); font-style: italic; line-height: .9; }
.statement i { color: var(--orange); }

.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 120px); }
.about-copy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; font: 600 16px/1.55 Arial, sans-serif; }
.about-copy .lead { grid-column: 1 / -1; margin-top: 0; padding-bottom: 22px; border-bottom: var(--line); font-size: 23px; font-weight: 800; }

footer { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 34px clamp(18px, 5vw, 80px); color: var(--cream); background: var(--navy); font: 700 12px/1.3 Arial, sans-serif; }
footer p { margin: 0; }
.logo-small span { color: var(--yellow); }
.logo-small strong { font-size: 28px; }

.overlay { position: fixed; z-index: 40; inset: 0; background: rgba(10, 32, 56, .77); backdrop-filter: blur(4px); }
.cart { position: fixed; z-index: 50; top: 0; right: 0; display: flex; flex-direction: column; width: min(520px, 100%); height: 100dvh; padding: 24px; border-left: 4px solid var(--navy); background: var(--cream); box-shadow: -12px 0 0 var(--orange); transform: translateX(110%); transition: transform .18s ease; }
.cart.is-open { transform: translateX(0); }
.panel-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: var(--line); }
.panel-head h2 { margin: 0; font-size: 40px; font-style: italic; line-height: .9; }
.close { width: 42px; height: 42px; border: var(--line); color: white; background: var(--orange); box-shadow: 3px 3px 0 var(--navy); font-size: 26px; font-weight: 900; cursor: pointer; }
.cart-items { overflow: auto; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 13px; align-items: center; padding: 15px 0; border-bottom: 2px solid var(--navy); }
.cart-item img { width: 72px; height: 72px; border: 2px solid var(--navy); background: white; object-fit: contain; }
.cart-item h3 { margin: 0 0 4px; font-size: 19px; font-style: italic; }
.cart-item p { margin: 0; font: 800 12px/1 Arial, sans-serif; }
.quantity { display: grid; grid-template-columns: repeat(3, 28px); margin-top: 8px; text-align: center; }
.quantity button { border: 2px solid var(--navy); background: white; font-weight: 900; cursor: pointer; }
.remove { display: block; margin-top: 8px; border: 0; background: none; text-decoration: underline; font: 700 11px/1 Arial, sans-serif; cursor: pointer; }
.cart-empty { margin: auto; text-align: center; font-size: 24px; }
.cart-footer { margin-top: auto; padding-top: 20px; border-top: var(--line); }
.cart-footer > div, .order-total { display: flex; justify-content: space-between; gap: 20px; font-size: 24px; }
.cart-footer > p { font: 700 12px/1.4 Arial, sans-serif; }

.checkout { position: fixed; z-index: 60; top: 50%; left: 50%; width: min(980px, calc(100% - 30px)); max-height: calc(100dvh - 30px); overflow: auto; padding: clamp(22px, 4vw, 40px); border: 4px solid var(--navy); background: var(--cream); box-shadow: 12px 12px 0 var(--yellow); opacity: 0; pointer-events: none; transform: translate(-50%, -46%) scale(.96); transition: opacity .16s ease, transform .16s ease; }
.checkout.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 30px; padding-top: 26px; }
.pilot-notice { margin-bottom: 18px; padding: 13px; border: var(--line); background: var(--yellow); font: 700 13px/1.4 Arial, sans-serif; }
fieldset { display: grid; gap: 13px; margin: 0 0 18px; padding: 18px; border: var(--line); }
legend { padding: 0 7px; color: var(--orange); font-style: italic; font-size: 20px; }
label { display: grid; gap: 5px; font: 900 11px/1 Arial, sans-serif; text-transform: uppercase; }
input { min-width: 0; height: 42px; padding: 8px 10px; border: 2px solid var(--navy); border-radius: 0; background: white; font-family: Arial, sans-serif; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field-trio { display: grid; grid-template-columns: 1fr .55fr .55fr; gap: 12px; }
.payment-note { margin-bottom: 18px; padding: 14px; border-left: 8px solid var(--orange); background: var(--paper); }
.payment-note p { margin: 3px 0 0; font: 600 12px/1.4 Arial, sans-serif; }
.result { min-height: 22px; font: 800 13px/1.4 Arial, sans-serif; }
.order-card { align-self: start; padding: 20px; border: var(--line); background: white; box-shadow: 6px 6px 0 var(--navy); }
.order-card h3 { font-size: 25px; font-style: italic; }
.summary-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 2px solid var(--navy); font: 700 13px/1.2 Arial, sans-serif; }
.order-total { margin-top: 16px; font-size: 16px; }

@media (max-width: 1040px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); }
}
@media (max-width: 820px) {
  .issue-strip { grid-template-columns: auto 1fr; }
  .issue-strip span:nth-child(2), .issue-strip span:nth-child(3) { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .site-header nav { display: none; }
  .bag-button { justify-self: end; }
  .hero { grid-template-columns: 1fr; min-height: 980px; }
  .hero-art { grid-column: 1; grid-row: 2; min-height: 520px; background-position: 62% center; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-copy::after { display: none; }
  .burst { right: 10px; }
  .benefit-bar { grid-template-columns: repeat(2, 1fr); }
  .benefit-bar div:nth-child(2) { border-right: 0; }
  .benefit-bar div:nth-child(-n+2) { border-bottom: 2px solid var(--cream); }
  .method, .about { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-card { grid-row: 1; }
  footer { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { min-height: 850px; }
  .hero-art { min-height: 410px; }
  .cover-stamp { right: -4px; bottom: -22px; }
  .product-grid { grid-template-columns: 1fr; }
  .section-title { align-items: start; flex-direction: column; }
  .benefit-bar { grid-template-columns: 1fr; }
  .benefit-bar div { border-right: 0; border-bottom: 2px solid var(--cream); }
  .about-copy { grid-template-columns: 1fr; }
  .about-copy .lead { grid-column: 1; }
  .field-pair, .field-trio { grid-template-columns: 1fr; }
  .checkout { width: calc(100% - 16px); max-height: calc(100dvh - 16px); box-shadow: 6px 6px 0 var(--yellow); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
