/* The firstpressprint.com look over styles.css: fonts, header, footer, home, category grid, product frame (values from ../../rea/DESIGN-SPEC.md). */
@font-face { font-family: Adieu; src: url(fonts/Adieu-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Adieu; src: url(fonts/Adieu-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: CircularStd; src: url(fonts/CircularStd-Book.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: CircularStd; src: url(fonts/CircularStd-Bold.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --font: CircularStd, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: Adieu, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ink: #222529;
  --ink-2: #5b6168;
  --text: #252a2f;
  --line: #e4e4e4;
  --sage: #568970;
  --pill: 30px;
}
body { background: #fff; color: var(--text); font: 16px/1.625 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); letter-spacing: 0; color: var(--ink); }
h1 { font-size: clamp(1.6rem, 4.4vw, 1.875rem); font-weight: 700; line-height: 1.2; }
h2 { font-weight: 400; }
.wrap { max-width: 1440px; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.btn, .pill { border-radius: var(--pill); }

/* top band: the live site's green announcement bar, carrying our test-site notice */
.topband { background: var(--forest); color: #fff; text-align: center; font: 400 13px/1.4 var(--display); letter-spacing: .02em; text-transform: uppercase; padding: 12px 16px; }

/* header: utility row + main row */
.fp-top { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.fp-util { border-bottom: 1px solid var(--line); }
.fp-util-in { max-width: 1440px; margin: 0 auto; height: 45px; padding: 0 20px; display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.fp-cur, .fp-lang { font: 500 12px/26px var(--display); letter-spacing: .3px; text-transform: uppercase; color: var(--forest); text-decoration: none; }
.fp-lang { display: inline-flex; align-items: center; min-height: 44px; }
.fp-lang:hover { color: var(--forest-dark); text-decoration: underline; }
.fp-bar { max-width: 1440px; margin: 0 auto; min-height: 100px; padding: 0 20px; display: flex; align-items: center; gap: 16px; }
.fp-logo { flex: none; display: inline-flex; align-items: center; min-height: 44px; }
.fp-logo-img { width: clamp(190px, 14vw, 250px); height: auto; }
.fp-nav { flex: 1; min-width: 0; }
.fp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; justify-content: flex-end; align-items: center; }
.fp-nav li { flex: none; }
.fp-nav a, .fp-mnav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; white-space: nowrap; color: var(--forest); text-decoration: none; font: 600 14px/20px var(--font); letter-spacing: -.35px; }
.fp-nav a:hover { color: var(--forest-dark); }
.fp-nav a.here::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: var(--forest); }
.fp-nav .nav-pill { margin-left: 10px; }
.fp-nav a.pill-mustard { padding: 6px 20px; }
/* the top utility bar: Resellers on the left, currency and language on the right */
.fp-util-link { margin-right: auto; display: inline-flex; align-items: center; min-height: 44px; font: 500 12px/26px var(--display); letter-spacing: .3px; text-transform: uppercase; color: var(--forest); text-decoration: none; }
.fp-util-link:hover { color: var(--forest-dark); text-decoration: underline; }
a.pill-mustard { background: var(--mustard); color: #000; border: 1px solid var(--sage); border-radius: 10em; padding: 6px 22px; min-height: 40px; font: 400 14.4px/26px var(--font); letter-spacing: 0; }
a.pill-mustard:hover { background: #f6bd2f; color: #000; }
.fp-cart { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--forest); text-decoration: none; }
.fp-cart .count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ff5b5b; color: #fff; font: 600 11px/18px var(--font); text-align: center; }
.fp-mnav { display: none; }
.fp-mnav summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--forest); cursor: pointer; }
.fp-mnav summary::-webkit-details-marker { display: none; }

/* footer: wash band, brand column + link columns */
.fp-foot { background: var(--ground); color: #707070; margin-top: 56px; border-top: 1px solid var(--line); }
.fp-foot-in { max-width: 1440px; margin: 0 auto; padding: 40px 50px 24px; display: grid; gap: 28px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.fp-foot-logo { width: 250px; height: auto; margin-bottom: 14px; }
.fp-foot p { font-size: 13px; line-height: 22px; margin: 0 0 6px; max-width: 34ch; }
.fp-foot h2 { font: 400 20px/22px var(--display); color: var(--forest); margin: 6px 0 14px; }
.fp-foot ul { list-style: none; margin: 0; padding: 0; }
.fp-foot li a, .fp-foot-bottom a { display: inline-flex; align-items: center; min-height: 32px; color: #707070; font-size: 13px; text-decoration: none; }
.fp-foot li a:hover, .fp-foot-bottom a:hover { color: var(--forest); text-decoration: underline; }
.fp-foot-bottom { max-width: 1440px; margin: 0 auto; padding: 14px 50px 28px; border-top: 1px solid #dfe3df; display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: center; font-size: 13px; }

/* breadcrumb: home > CATEGORY, Adieu uppercase */
.crumbs ol { align-items: center; padding: 10px 0 2px; font: 400 12px/1.4 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.crumbs li { display: inline-flex; align-items: center; min-height: 40px; }
.crumbs a { color: var(--forest); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: '\203A'; margin: 0 10px; color: var(--ink-2); font-family: var(--font); }
.crumbs [aria-current] { color: var(--forest); }

/* home: 50/50 hero, wash text panel + photo */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--ground); border: 0; padding: 0; margin: 0 0 32px; }
.hero-text { padding: 40px 20px 36px; align-self: center; }
.hero h1 { color: var(--forest); font-size: clamp(2.1rem, 5.4vw, 3.5rem); line-height: 1.05; max-width: 12ch; margin-bottom: 20px; }
.hero .lede { color: var(--text); max-width: 46ch; }
.hero-media { margin: 0; background: var(--forest); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 12px 54px; margin-top: 12px; border: 1px solid var(--forest); border-radius: var(--pill); background: #fff; color: var(--forest); text-decoration: none; font: 400 16px/1 var(--display); }
.btn-outline:hover { background: var(--forest); color: #fff; }
.how { margin: 0 0 36px; }
.how li::before { font-family: var(--display); }
.cat { scroll-margin-top: 16px; }
.cat h2, .cat-head h1 { color: var(--forest); }
.cat h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
.cat-head { padding: 6px 0 18px; }
.cat-head .intro { color: var(--text); max-width: 70ch; }

/* product cards: the live grid (16:9 photo, square corners, name under it), plus our "as low as" line */
.pcard a { background: #fff; border: 0; border-radius: 0; box-shadow: none; }
.pcard a:hover { border: 0; }
.pcard a:hover h3 { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.pcard-img { aspect-ratio: 16 / 9; background: var(--forest); border-radius: 0; }
.pcard-img img { transition: transform .3s ease; }
.pcard a:hover .pcard-img img { transform: scale(1.03); }
.pcard-body { padding: 12px 0 4px; }
.pcard h3 { font: 400 16px/1.35 var(--font); color: var(--text); }
.pcard .lowas strong { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: .95rem; }
.pcard-cta { color: var(--forest); font-size: .88rem; }
.promo-teaser { border: 0; border-radius: 0; background: var(--ground); }

/* cart, checkout, order pages: white cards on the white page get a hairline */
.card { box-shadow: none; border: 1px solid #e4e8d5; border-radius: 14px; }
fieldset.card legend, .cl-price, .cart-sub strong { font-family: var(--display); }
.wrap > h1, .wrap.narrow > h1 { color: var(--forest); font-size: clamp(1.3rem, 3vw, 1.6rem); margin-top: 28px; }

@media (min-width: 600px) {
  .pgrid-cards { gap: 32px 20px; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 520px; }
  .hero-text { padding: 56px 40px 56px 75px; }
  .pgrid-cards.cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .how.how-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .pgrid-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* big screens (1440p, 4K): the bar grows with the page instead of sitting in a narrow strip */
@media (min-width: 1800px) {
  .fp-util-in, .fp-bar, .wrap, .fp-foot-in, .fp-foot-bottom { max-width: 1680px; }
  .fp-nav a { padding: 10px 20px; font-size: 15px; }
  .fp-nav a.here::after { left: 20px; right: 20px; }
}
/* 1280 to 1439 (laptops): tighter links, account as an icon only */
@media (max-width: 1439px) {
  .fp-nav a { padding: 10px 11px; }
  .fp-nav a.here::after { left: 11px; right: 11px; }
  .fp-nav a.pill-mustard { padding: 6px 16px; }
  .fp-bar { gap: 10px; }
}
/* phones and tablets: hamburger, logo, cart (the live phone header) */
/* below 1280 (small laptops, tablets, iPad, phones): the menu button, so the bar never wraps */
@media (max-width: 1279px) {
  .fp-util-in { height: 36px; }
  .fp-util-link { display: none; }
  .fp-bar { min-height: 72px; gap: 10px; padding: 0 12px; }
  .fp-nav { display: none; }
  .fp-mnav { display: block; order: -1; }
  .fp-mnav[open] summary { background: var(--ground); border-radius: 8px; }
  .fp-mnav nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .fp-mnav ul { list-style: none; margin: 0; padding: 6px 0; }
  .fp-mnav li { border-bottom: 1px solid #f0f0f0; }
  .fp-mnav li:last-child { border: 0; padding: 12px 16px; }
  .fp-mnav a { display: flex; padding: 13px 16px; text-transform: uppercase; font-size: 13px; letter-spacing: 0; }
  .fp-mnav a.pill-mustard { display: inline-flex; text-transform: none; padding: 6px 22px; }
  .fp-mnav li.nav-pill { display: inline-block; border: 0; padding: 12px 0 12px 16px; }
  .fp-logo { flex: 1; min-width: 0; }
  .fp-logo-img { width: min(186px, 100%); }
}
@media (max-width: 1023px) {
  .fp-foot-in { grid-template-columns: 1fr 1fr; padding: 32px 20px 16px; }
  .fp-foot-brand { grid-column: 1 / -1; }
  .fp-foot-bottom { padding: 12px 20px 24px; }
  .hero-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 420px) {
  .fp-foot-in { grid-template-columns: 1fr; }
  .topband { font-size: 11.5px; padding: 9px 12px; }
}
