/* GENERATED by store/tools/build_css.py from landing/encore.css — edit the landing file, not this one. */
/* ==========================================================================
   encore.com: the publisher's storefront.
   Layered over broderbund.css. Encore identity from the Encore brand
   guidelines: navy #0E416B (PMS 541), green #8DC63F (PMS 368), Proxima Nova
   with Montserrat as the web alternative. Green never carries text on white
   (1.9:1); it is a fill: tag stripes, the shelf-edge rule, badges.
   ========================================================================== */
:root {
  --accent: #0e416b;
  --accent-text: #0e416b;
  --accent-soft: #e3ebf2;
  --logo: #0e416b;
  --green: #8dc63f;
  --green-ink: #1f3a06;
  --ground: #eef2f4;
}

.bb-logo { width: clamp(118px, 11vw, 150px); }
.bb-util { background: var(--accent); }
.bb-header .bb-nav a[aria-current="page"] { border-bottom-color: var(--green); }
.bb-page[data-line="broderbund"].imsi-designed .bb-btn { background: var(--accent); border-color: var(--accent); }

/* ---------- the software shelf (home hero) ---------- */
.en-hero { background: var(--ground); padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2.5rem, 5vw, 3.5rem); overflow: hidden; }
.en-hero__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; }
.en-hero h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.025em; max-width: 17ch; }
.en-hero__lede { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }

.en-shelf { margin-top: clamp(1.5rem, 3.5vw, 2.5rem); }
.en-shelf [role="tablist"] { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.9rem; }
.en-shelf [role="tab"] {
  font: 700 0.86rem var(--font-ui); padding: 0.5rem 0.9rem; border-radius: 3px 3px 0 0; cursor: pointer;
  background: transparent; border: 0; border-bottom: 3px solid transparent; color: var(--ink-soft);
}
.en-shelf [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--green); }
.en-shelf [role="tab"]:hover { color: var(--ink); }

.en-bay { position: relative; padding: 1.5rem clamp(0.75rem, 2vw, 1.5rem) 0; background: linear-gradient(180deg, var(--surface) 0%, var(--surface-sunk) 100%); border: 1px solid var(--rule); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.en-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.5rem, 1.6vw, 1.25rem); align-items: end; min-height: 230px; }
.en-box { display: grid; justify-items: center; text-decoration: none; color: inherit; }
.en-box img { width: min(100%, 132px); height: auto; filter: drop-shadow(0 10px 8px rgba(18, 26, 51, 0.28)); transition: transform 0.18s ease; transform-origin: bottom center; }
.en-box:hover img { transform: translateY(-6px); }
/* the shelf edge, with a price tag under every box */
.en-edge { height: 16px; background: var(--accent); border-radius: 0 0 2px 2px; box-shadow: 0 10px 18px -12px rgba(18, 26, 51, 0.6); position: relative; }
.en-edge::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--green); }
.en-tags { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.5rem, 1.6vw, 1.25rem); padding: 0 clamp(0.75rem, 2vw, 1.5rem); }
.en-tag {
  justify-self: center; width: min(100%, 150px); margin-top: -2px; background: #ffffff; color: #121a33;
  border: 1px solid #d3dbe3; border-top: 4px solid var(--green); border-radius: 0 0 3px 3px; padding: 0.45rem 0.55rem 0.5rem;
  display: grid; gap: 0.1rem; text-decoration: none; box-shadow: 0 6px 10px -8px rgba(18, 26, 51, 0.5);
}
.en-tag b { font: 700 0.78rem/1.25 var(--font-ui); }
.en-tag span { font: 600 1.02rem var(--font-mono); font-variant-numeric: tabular-nums; color: #0e416b; }
.en-tag small { font: 500 0.66rem var(--font-mono); color: #5a6582; letter-spacing: 0.02em; }
.en-shelf [role="tabpanel"][hidden] { display: none; }

/* ---------- departments ---------- */
.en-depts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.en-dept { display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.5rem; padding: 1.3rem 1.35rem 1.2rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: inherit; position: relative; }
.en-dept::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--dept, var(--green)); border-radius: var(--radius) 0 0 var(--radius); }
.en-dept:hover { border-color: var(--accent); }
.en-dept .bb-mono { font-size: 0.76rem; color: var(--muted); }
.en-dept h3 { font-size: var(--step-1); font-weight: 800; }
.en-dept p { color: var(--ink-soft); font-size: 0.95rem; }
.en-dept ul { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.35rem 0 0; padding: 0; list-style: none; }
.en-dept li { font: 600 0.76rem var(--font-ui); padding: 0.22rem 0.5rem; border-radius: 3px; background: var(--surface-sunk); color: var(--ink-soft); }

/* ---------- feature band ---------- */
.en-feature { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: center; background: var(--accent); color: #fff; border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.en-feature img { width: 180px; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.35)); }
.en-feature h2 { font-size: var(--step-2); font-weight: 800; }
.en-feature p { opacity: 0.9; margin-top: 0.4rem; }
.en-feature .bb-price, .en-feature .bb-price b { color: #fff; }
.en-feature .bb-btn { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.en-feature__tag { display: inline-block; font: 700 0.72rem var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; background: var(--green); color: var(--green-ink); padding: 0.3rem 0.5rem; border-radius: 2px; margin-bottom: 0.6rem; }

@media (max-width: 1000px) {
  .en-row, .en-tags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .en-row > :nth-child(n+4), .en-tags > :nth-child(n+4) { display: none; }
  .en-depts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .en-hero__head { grid-template-columns: minmax(0, 1fr); }
  .en-feature { grid-template-columns: minmax(0, 1fr); }
  .en-feature img { width: 140px; }
}
@media (max-width: 600px) { .en-depts { grid-template-columns: minmax(0, 1fr); } .en-row { min-height: 170px; } }

.en-bay__more { margin-top: 0.9rem; font: 600 0.9rem var(--font-ui); text-align: right; }

/* ---------- sub-brand lines on encore.com (Encore brand guidelines) ---------- */
.bb-page[data-line="punch"] { --line: #007a3d; --line-2: #00a854; --line-soft: #e4f4eb; --line-text: #006b35; --line-ink: #ffffff; }
.bb-page[data-line="cad"]   { --line: #154852; --line-2: #ef413a; --line-soft: #e3eef0; --line-text: #154852; --line-ink: #ffffff; }

.ph-banner { width: 100%; border-radius: var(--radius); box-shadow: 0 16px 30px -20px rgba(18, 26, 51, 0.5); }
.ph-copilot { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; margin-top: clamp(2rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem; }
.ph-copilot h3 { font-size: 1.2rem; font-weight: 800; margin-top: 0.4rem; }
.ph-copilot p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.5rem; }
.ph-copilot figure { margin: 0; display: grid; gap: 0.4rem; }
.ph-copilot figure img { border-radius: 3px; }
.ph-copilot figcaption { font: 600 0.8rem var(--font-ui); color: var(--muted); }
.ph-copilot .cd-wide { grid-column: span 2; }

.cd-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.cd-ladder li { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1.2rem; }
.cd-ladder li:nth-child(n+4) { border-left-color: var(--line-2); }
.cd-ladder img { width: 70px; filter: drop-shadow(0 6px 8px rgba(18, 26, 51, 0.2)); }
.cd-ladder h3 { font-size: 1.1rem; font-weight: 800; }
.cd-ladder p { color: var(--ink-soft); font-size: 0.94rem; margin-top: 0.2rem; }
.cd-ladder .bb-price { text-align: right; white-space: nowrap; }

.bo-rows { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.bo-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; background: var(--surface); padding: 1.1rem 1.3rem; }
.bo-row img { width: 84px; filter: drop-shadow(0 6px 8px rgba(18, 26, 51, 0.2)); }
.bo-row h3 { font-size: 1.1rem; font-weight: 800; }
.bo-row p { color: var(--ink-soft); font-size: 0.94rem; margin-top: 0.25rem; max-width: 75ch; }
.bo-row .bb-price { text-align: right; white-space: nowrap; }
.dc-square { max-width: 460px; justify-self: center; border-radius: var(--radius); }
.ph-mac-prices { min-width: 0; }
.ph-mac-prices td, .ph-mac-prices th { text-align: left; }

@media (max-width: 860px) {
  .ph-copilot { grid-template-columns: minmax(0, 1fr); }
  .ph-copilot .cd-wide { grid-column: auto; }
  .cd-ladder li, .bo-row { grid-template-columns: 56px minmax(0, 1fr); }
  .cd-ladder img, .bo-row img { width: 56px; }
  .cd-ladder .bb-price, .bo-row .bb-price { grid-column: 2; text-align: left; }
}

/* ---------- photorealistic shelf (2026-10-11): painted wall with overhead light, boxes casting contact shadows on a lit
   wooden plank with grain, a thick front edge and a soft shadow thrown on the wall below. Price tags hang off the edge. */
.en-bay {
  padding-top: 2.2rem;
  border: 0;
  border-radius: 6px 6px 0 0;
  background:
    radial-gradient(900px 300px at 50% -20%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 72%),
    repeating-linear-gradient(90deg, rgba(18, 26, 51, 0.012) 0 2px, rgba(255, 255, 255, 0.0) 2px 6px),
    linear-gradient(180deg, #f1f4f9 0%, #dde4ee 100%);
  box-shadow: inset 0 18px 28px -22px rgba(18, 26, 51, 0.35);
}
.en-bay::after {  /* the shelf top, seen from slightly above */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px;
  background: linear-gradient(180deg, #f6e3c1 0%, #e6c993 55%, #cfa56a 100%);
  box-shadow: inset 0 3px 5px -2px rgba(255, 255, 255, 0.7), inset 0 -4px 6px -3px rgba(90, 56, 20, 0.35);
}
.en-row { position: relative; z-index: 1; padding-bottom: 6px; }
.en-box { position: relative; padding-bottom: 4px; }
.en-box::after {  /* contact shadow on the plank */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -2px; height: 14px; z-index: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(44, 26, 6, 0.55) 0%, rgba(44, 26, 6, 0.22) 45%, rgba(44, 26, 6, 0) 72%);
  filter: blur(2px);
}
.en-box img {
  position: relative; z-index: 1;
  filter: drop-shadow(1px 2px 1px rgba(20, 14, 6, 0.4)) drop-shadow(12px 8px 10px rgba(30, 20, 8, 0.22));
}
.en-edge {
  height: 30px; border-radius: 0 0 3px 3px; position: relative; z-index: 2;
  background:
    repeating-linear-gradient(90deg, rgba(70, 40, 10, 0.07) 0 1px, rgba(0, 0, 0, 0) 1px 9px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 4px, rgba(0, 0, 0, 0) 4px 23px),
    linear-gradient(180deg, #e9cb9a 0%, #cfa468 10%, #b58650 35%, #94672f 72%, #6d4821 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.3), 0 16px 20px -12px rgba(40, 24, 6, 0.55);
}
.en-edge::before { display: none; }
.en-tags { position: relative; z-index: 2; margin-top: 4px; }
.en-tag { border-top-color: #0e416b; box-shadow: 0 8px 12px -8px rgba(18, 26, 51, 0.6); }

/* ---------- header dropdowns (same markup and styles as ps.encore.com; tools/enc_menus.py) */
/* ---------- header dropdowns: boxes and prices (tools/printshop_menus.py, 2026-10-06) ----------
   The panel hangs off the nav's .bb-wrap (position: relative), full width; opens on hover and keyboard focus. Desktop only: the
   960px hamburger menu keeps plain links. Selectors are long to beat ".bb-header .bb-nav ul/a" without !important. */
.bb-header .bb-nav li.bb-nav__has-menu { position: static; }
.bb-header .bb-nav .bb-mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr); gap: 1.75rem; padding: 1.4rem 1.5rem 1.5rem;
  background: var(--paper, #fff); border: 1px solid var(--rule); border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 28px 44px -26px rgba(10, 30, 60, 0.5);
}
.bb-header .bb-nav li.bb-nav__has-menu:hover > .bb-mega,
.bb-header .bb-nav li.bb-nav__has-menu:focus-within > .bb-mega { display: grid; }
.bb-header .bb-nav li.bb-nav__has-menu:hover > a { border-bottom-color: var(--accent); }
.bb-header .bb-nav .bb-mega a { display: inline; padding: 0; border: 0; font-size: inherit; }
.bb-mega__head { display: grid; gap: 0.55rem; align-content: start; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
.bb-mega__title { font: 800 1.15rem/1.2 var(--font-display); color: var(--ink); }
.bb-mega__links { display: grid; gap: 0.35rem; margin-top: 0.35rem; }
.bb-header .bb-nav .bb-mega .bb-mega__links a { color: var(--accent-text); font-weight: 700; }
.bb-header .bb-nav .bb-mega .bb-mega__links a::after { content: " \203A"; }
.bb-header .bb-nav .bb-mega ul.bb-mega__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.bb-header .bb-nav .bb-mega ul.bb-mega__items--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 44rem; }
.bb-header .bb-nav .bb-mega a.bb-mega__item {
  display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0.9rem; align-items: start; height: 100%;
  padding: 0.8rem; border: 1px solid transparent; border-radius: var(--radius); color: var(--ink); text-decoration: none;
}
.bb-header .bb-nav .bb-mega a.bb-mega__item:hover, .bb-header .bb-nav .bb-mega a.bb-mega__item:focus-visible { background: var(--accent-soft); border-color: var(--rule); }
.bb-mega__item img { width: 4.6rem; height: auto; border-radius: 3px; box-shadow: 0 6px 14px -6px rgba(10, 30, 60, 0.45); background: #fff; }
.bb-mega__item > span { display: grid; gap: 0.2rem; }
.bb-mega__kicker { font: 700 0.68rem var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bb-mega__name { font: 700 1rem/1.25 var(--font-ui); color: var(--ink); }
.bb-mega__note { font-size: 0.84rem; line-height: 1.4; color: var(--ink-soft); }
.bb-mega__price { margin-top: 0.25rem; font: 800 1.05rem var(--font-ui); color: var(--accent-text); }
.bb-mega__price:empty { display: none; }
@media (max-width: 1180px) { .bb-header .bb-nav .bb-mega { grid-template-columns: minmax(0, 1fr); gap: 1rem; } .bb-mega__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; } }
@media (max-width: 960px) { .bb-header .bb-nav .bb-mega { display: none !important; } }

/* Learn dropdown: link columns + one feature tile (printshop_menus.py LEARN) */
.bb-mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(13rem, 15rem); gap: 1.5rem; align-items: start; }
.bb-mega__coltitle { margin-bottom: 0.5rem; font: 700 0.7rem var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bb-header .bb-nav .bb-mega .bb-mega__col ul { display: grid; gap: 0.1rem; margin: 0; padding: 0; list-style: none; }
.bb-header .bb-nav .bb-mega .bb-mega__col a { display: block; padding: 0.35rem 0.5rem; margin-left: -0.5rem; border-radius: 6px; color: var(--ink); font-weight: 600; font-size: 0.93rem; line-height: 1.35; }
.bb-header .bb-nav .bb-mega .bb-mega__col a:hover, .bb-header .bb-nav .bb-mega .bb-mega__col a:focus-visible { background: var(--accent-soft); color: var(--accent-text); }
.bb-header .bb-nav .bb-mega a.bb-mega__feature { display: grid; gap: 0.25rem; padding: 0.6rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface, #fff); color: var(--ink); text-decoration: none; }
.bb-header .bb-nav .bb-mega a.bb-mega__feature:hover { border-color: var(--accent); }
.bb-mega__feature img { width: 100%; height: auto; border-radius: 4px; margin-bottom: 0.35rem; }
@media (max-width: 1180px) { .bb-mega__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bb-mega__feature { display: none !important; } }


/* ---------- department cards: a backdrop (template or screenshot) with three flat boxes standing on it (2026-10-11) ---------- */
.en-dept { overflow: hidden; grid-template-rows: auto auto auto 1fr auto; }
.en-dept__art {
  display: block; position: relative; height: 150px; margin: -1.3rem -1.35rem 0.4rem; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, #eef3fb 0%, #d5e1f2 100%);
}
.en-dept__art::after {  /* shelf-top the boxes stand on */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background: linear-gradient(180deg, #f1dcb6 0%, #cfa56a 100%); box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.6);
}
.en-dept__boxes { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; align-items: flex-end; gap: 0.5rem; z-index: 1; }
.en-dept__boxes img {
  height: 112px; width: auto; border-radius: 2px;
  box-shadow: 0 10px 14px -4px rgba(10, 20, 40, 0.55), 0 1px 2px rgba(10, 20, 40, 0.4);
  transition: transform 0.18s ease;
}
.en-dept__boxes img:nth-child(2) { height: 124px; }
.en-dept:hover .en-dept__boxes img { transform: translateY(-4px); }
.en-dept::before { z-index: 2; }
@media (max-width: 600px) { .en-dept__art { height: 130px; } .en-dept__boxes img { height: 96px; } .en-dept__boxes img:nth-child(2) { height: 106px; } }
