/* nexmediashop.com: white base, near-black ink, deep indigo actions, pale mint highlight panels; Space Grotesk headings + Rubik body;
   square corners, 2 px ink borders, no shadows, small uppercase labels. Mobile 390 first-class, every text pair WCAG AA. */
:root { --bg: #ffffff; --ink: #121212; --ink-2: #3f3f46; --accent: #4338ca; --accent-deep: #312e81; --mint: #dff5ea; --mint-2: #c4ebd7;
        --rule: 2px solid var(--ink); --thin: 1px solid var(--ink); --wrap: 1240px;
        --head: "Space Grotesk", "Arial Narrow", Arial, sans-serif; --body: Rubik, "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.08; margin: 0 0 .45em; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 4.8vw, 60px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.wrap.narrow { max-width: 780px; }
.eyebrow { display: inline-block; font-family: var(--head); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
           color: var(--ink); background: var(--mint); border: var(--rule); padding: 6px 9px; margin: 0 0 18px; }
.h-small { font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.lead { font-size: 19px; line-height: 1.5; color: var(--ink); max-width: 60ch; }
.sub { color: var(--ink-2); max-width: 62ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
       line-height: 1.2; padding: 14px 22px; background: var(--accent); color: #fff; border: var(--rule); text-decoration: none; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.ghost { background: #fff; color: var(--ink); }
.btn.ghost:hover { background: var(--mint); color: var(--ink); }
.btn.big { padding: 17px 24px; font-size: 16px; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.more { margin: 32px 0 0; }
.badge { display: inline-block; font-family: var(--head); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
         color: #fff; background: var(--ink); padding: 6px 8px; margin: 0; }
/* header */
.site-head { background: #fff; border-bottom: var(--rule); position: sticky; top: 0; z-index: 20; }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; background: var(--accent); color: #fff; border: var(--rule); font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1; }
.logo-text { font-family: var(--head); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.nav { display: flex; gap: 6px; }
.nav a, .mobile-nav a { color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 500; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.nav a { padding: 8px 12px; border: 2px solid transparent; }
.nav a:hover { border-color: var(--ink); }
.nav a[aria-current] { background: var(--mint); border-color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: var(--rule); background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); }
.mobile-nav { display: flex; flex-direction: column; border-top: var(--rule); }
.mobile-nav a { padding: 15px 20px; border-bottom: var(--thin); font-size: 15px; }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a[aria-current] { background: var(--mint); }
.mobile-nav[hidden] { display: none; }
@media (max-width: 800px) { .nav { display: none; } .menu-btn { display: flex; } }
/* hero: product grid left, text right */
.hero { border-bottom: var(--rule); padding: 56px 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hero-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: var(--rule); }
.hero-cell { position: relative; aspect-ratio: 1; background: #fff; min-width: 0; }
.hero-cell:nth-child(1), .hero-cell:nth-child(4) { background: var(--mint); }
.hero-cell img { position: absolute; inset: 13%; width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; }
.hero h1 { font-size: clamp(38px, 5.4vw, 70px); margin-bottom: 20px; }
.hero .lead { font-size: 20px; }
@media (max-width: 900px) { .hero { padding: 36px 0 40px; } .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero-media { order: 2; max-width: 420px; } }
/* sections */
.section { padding: 64px 0; border-bottom: var(--rule); }
.section:last-child { border-bottom: 0; }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head h2 { margin-bottom: .3em; }
.section-head .sub { margin-bottom: 0; }
.page-head { padding: 52px 0 44px; border-bottom: var(--rule); background: var(--mint); }
.page-head .eyebrow { background: #fff; }
.page-head .lead { margin-bottom: 0; }
@media (max-width: 760px) { .section { padding: 44px 0; } .page-head { padding: 36px 0 32px; } .lead, .hero .lead { font-size: 17px; } }
/* product grid: cells share their 2 px rules */
.grid.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule); border-left: var(--rule); }
@media (max-width: 1100px) { .grid.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: #fff; border-right: var(--rule); border-bottom: var(--rule); display: flex; flex-direction: column; min-width: 0; }
.card[hidden] { display: none; }
.card-media { display: grid; place-items: center; padding: 20px; background: #fff; border-bottom: var(--thin); }
.card:hover .card-media { background: var(--mint); }
.card-media img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-family: var(--head); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 8px; }
.card-title { font-size: 18px; margin: 0 0 8px; line-height: 1.2; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-desc { font-size: 14px; color: var(--ink-2); margin: 0 0 16px; flex: 1; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-top: var(--thin); padding-top: 12px; }
.card-price { font-family: var(--head); font-weight: 700; margin: 0; font-size: 18px; line-height: 1.15; }
.card-unit { display: block; font-family: var(--body); font-weight: 400; font-size: 12px; color: var(--ink-2); letter-spacing: .02em; }
.card-soon { margin: 0; }
.card-go { font-family: var(--head); font-size: 20px; color: var(--accent); line-height: 1; }
@media (max-width: 760px) { .card-media { padding: 12px; } .card-body { padding: 12px 12px 14px; } .card-title { font-size: 16px; } .card-desc { font-size: 13px; } .card-price { font-size: 16px; } }
/* categories as a bordered list */
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: var(--rule); border-left: var(--rule); }
.cat-list li { border-right: var(--rule); border-bottom: var(--rule); }
.cat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 18px 20px; color: var(--ink); text-decoration: none; }
.cat-row:hover { background: var(--mint); color: var(--ink); }
.cat-name { font-family: var(--head); font-weight: 600; font-size: 19px; }
.cat-n { font-size: 14px; color: var(--ink-2); }
.cat-go { font-family: var(--head); font-size: 20px; color: var(--accent); }
@media (max-width: 760px) { .cat-list { grid-template-columns: 1fr; } .cat-row { padding: 15px 16px; } .cat-name { font-size: 17px; } }
/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font-family: var(--head); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 9px 13px; border: var(--rule); background: #fff; color: var(--ink); cursor: pointer; }
.chip:hover { background: var(--mint); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.empty { color: var(--ink-2); }
/* numbered blocks */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--rule); }
.steps li { padding: 28px 26px 26px; border-right: var(--rule); background: #fff; }
.steps li:last-child { border-right: 0; }
.steps h3 { margin: 14px 0 8px; }
.steps p { margin: 0; color: var(--ink-2); }
.step-n { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 40px; line-height: 1; color: var(--accent); letter-spacing: -.03em; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; border-bottom: var(--rule); padding: 22px 20px; } .steps li:last-child { border-bottom: 0; } .step-n { font-size: 32px; } }
/* contact strip */
.strip { background: var(--mint); padding: 52px 0; }
.strip-row { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.strip-text { max-width: 720px; }
.strip-text .eyebrow { background: #fff; }
.strip-text p { margin: 0; }
.strip-text a { color: var(--ink); word-break: break-word; }
.strip-cta { margin: 0; }
/* faq */
.faq-list { display: grid; }
.faq-item { border: var(--rule); margin-top: -2px; background: #fff; }
.faq-item:first-child { margin-top: 0; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 60px 18px 20px; font-family: var(--head); font-weight: 600; font-size: 18px; line-height: 1.3; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center;
                           border: var(--rule); font-size: 18px; font-weight: 500; line-height: 1; background: #fff; }
.faq-item[open] summary { background: var(--mint); border-bottom: var(--thin); }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 16px 20px 20px; color: var(--ink-2); }
.faq-a p { margin: 0; max-width: 68ch; }
/* PDP */
.crumbs { font-family: var(--head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 26px; }
.crumbs a { color: var(--ink); }
.pdp { padding-top: 32px; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 52px; align-items: start; }
@media (max-width: 900px) { .pdp-grid { grid-template-columns: 1fr; gap: 28px; } }
.pdp h1 { font-size: clamp(30px, 3.8vw, 46px); }
.pdp .lead { font-size: 18px; }
.gallery { position: sticky; top: 88px; }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery-main { border: var(--rule); background: var(--mint); display: grid; place-items: center; padding: 36px; }
.gallery-main img { width: 100%; max-width: 600px; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: opacity .2s; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gallery-thumbs button { width: 74px; height: 74px; padding: 6px; background: #fff; border: var(--rule); cursor: pointer; }
.gallery-thumbs button[aria-pressed="true"] { background: var(--mint); outline: 3px solid var(--accent); outline-offset: -5px; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.buy-box { border: var(--rule); margin: 24px 0 32px; background: #fff; }
.buy-top { background: var(--mint); border-bottom: var(--rule); padding: 18px 22px 16px; }
.buy-main { padding: 20px 22px 22px; }
.price { font-family: var(--head); font-weight: 700; font-size: 30px; margin: 0 0 4px; line-height: 1.1; letter-spacing: -.02em; }
.sold-by { color: var(--ink-2); font-size: 14px; margin: 0; }
.bundles { list-style: none; margin: 0 0 16px; padding: 0; border: var(--rule); }
.bundles li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 14px; border-bottom: var(--thin); font-size: 15px; }
.bundles li:last-child { border-bottom: 0; }
.bundles .bq { font-weight: 600; }
.bundles .bt { font-family: var(--head); font-weight: 700; text-align: right; }
.bundles .bu { color: var(--ink-2); font-size: 14px; }
.bundles .save { color: var(--accent); text-align: right; font-size: 13px; font-weight: 500; }
.ship-note { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; }
.one-time { font-size: 14px; font-weight: 500; margin: 0; border-left: 4px solid var(--accent); padding: 2px 0 2px 12px; }
.buy-box .cta-row { margin-top: 18px; }
.buy-note { font-size: 13px; color: var(--ink-2); margin: 10px 0 18px; }
.pay-h { font-family: var(--head); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin: 0 0 8px; font-weight: 600; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.pay-row img { height: 30px; width: auto; border: var(--thin); padding: 3px 6px; background: #fff; }
.soon-box .buy-main { padding: 22px; }
.soon-text { font-family: var(--head); font-size: 20px; font-weight: 600; line-height: 1.3; margin: 14px 0 8px; }
.soon-note { color: var(--ink-2); font-size: 15px; margin: 0; }
.facts { margin: 0 0 26px; padding-left: 20px; list-style: square; }
.facts li { margin-bottom: 6px; }
.facts li::marker { color: var(--accent); }
.acc-list { border-top: var(--rule); margin-bottom: 8px; }
.acc { border-bottom: var(--rule); }
.acc summary { cursor: pointer; list-style: none; padding: 16px 44px 16px 0; font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center; border: var(--rule); font-size: 17px; line-height: 1; }
.acc[open] summary::after { content: "–"; background: var(--mint); }
.acc-b { padding: 0 0 18px; color: var(--ink-2); }
.acc-b ul { margin: 0; padding-left: 20px; list-style: square; }
.acc-b p { margin: 0 0 8px; }
/* own checkout pack selector (site.js): the chosen row's pageProducts index -> ?pidx of the Buy button */
.bundles li.b-opt { grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 12px; cursor: pointer; }
.bundles li.b-opt::before { content: ""; grid-row: 1 / span 2; align-self: center; width: 18px; height: 18px; border: var(--rule); background: #fff; }
.bundles li.b-opt .bq, .bundles li.b-opt .bu { grid-column: 2; }
.bundles li.b-opt .bt, .bundles li.b-opt .save { grid-column: 3; }
.bundles li.b-opt:hover { background: #f3fbf7; }
.bundles li.b-opt[aria-checked="true"] { background: var(--mint); }
.bundles li.b-opt[aria-checked="true"]::before { background: var(--accent); }
.bundles li.b-opt:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
@media (max-width: 560px) { .bundles li.b-opt .save { grid-column: 2 / -1; text-align: left; } }
/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule); border-left: var(--rule); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.panel { background: #fff; border-right: var(--rule); border-bottom: var(--rule); padding: 26px; min-width: 0; }
.panel p:last-child { margin-bottom: 0; }
.panel-mail { background: var(--mint); }
.big-mail { font-family: var(--head); font-size: 22px; font-weight: 700; overflow-wrap: anywhere; }
.big-mail a { color: var(--ink); }
@media (max-width: 760px) { .panel { padding: 22px 20px; } .big-mail { font-size: 18px; } }
.entity-block { line-height: 1.6; }
/* prose / legal */
.prose p, .prose li { max-width: 70ch; }
.prose h2 { font-size: 28px; margin-top: 44px; }
.prose .steps { margin: 20px 0 8px; }
.prose .steps li { padding: 22px 20px; }
.legal h2 { font-size: 22px; margin-top: 38px; }
.tbl { overflow-x: auto; margin: 0 0 1.2em; border: var(--rule); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: var(--thin); vertical-align: top; }
th { font-family: var(--head); font-weight: 600; background: var(--mint); }
tr:last-child td { border-bottom: 0; }
/* footer: inverted */
.site-foot { background: var(--ink); color: #e4e4e7; padding: 56px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-bottom: 36px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.foot-about p { max-width: 56ch; color: #d4d4d8; }
.foot-logo { font-family: var(--head); font-weight: 700; font-size: 21px; color: #fff !important; display: flex; align-items: center; gap: 12px; letter-spacing: -.02em; }
.foot-logo .logo-mark { border-color: #fff; }
.foot-h { font-family: var(--head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #fff; margin: 0 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #fff; text-decoration-thickness: 1px; }
.site-foot a:hover { color: var(--mint); }
.site-foot :focus-visible { outline-color: var(--mint); }
.foot-bottom { border-top: 2px solid #3f3f46; padding-top: 22px; }
.entity-line { margin: 0 0 12px; color: #d4d4d8; overflow-wrap: anywhere; }
.disc { display: block; color: #b4b4bb; font-size: 13px; max-width: 90ch; }
