@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --ink: #081d3f;
  --text: #405474;
  --muted: #4d6080;
  --blue: #0759b9;
  --teal: #00655d;
  --mint: #7ef2d5;
  --line: #dbe5ef;
  --surface: #f4f8fc;
  --header-height: 4.65rem;
  --gutter: clamp(1rem, 5.25vw, 5rem);
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
img, .icon { display: block; }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1673df; outline-offset: 4px; }
main section[id] { scroll-margin-top: calc(var(--header-height) + .75rem); }
.wrap { width: min(83rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(3.6rem, 6vw, 5.75rem); }
.icon { width: 1.2rem; height: 1.2rem; flex: none; }
[data-icon] { display: inline-flex; align-items: center; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip { position: fixed; z-index: 10; left: .75rem; top: .75rem; translate: 0 -160%; padding: .85rem 1.1rem; background: white; border-radius: .5rem; }
.skip:focus { translate: 0; }

.button {
  min-height: 2.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .72rem 1rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  font-weight: 750;
  font-size: .92rem;
  line-height: 1.15;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button-ink { color: #fff; background: var(--ink); }
.button-ink:hover { background: #113967; }
.button-mint { color: #032d34; background: var(--mint); }
.button-mint:hover { background: #acf9e6; }
.button-outline { color: var(--ink); background: #fff; border-color: #becede; }
.button-outline:hover { background: #edf5fc; border-color: #6190bf; }
.button-ghost { color: #fff; background: #0a234d8c; border-color: #ffffff51; }
.button-ghost:hover { background: #123367; border-color: #a6d4ff; }
.text-button {
  background: transparent;
  border: 0;
  padding: .375rem 0;
  color: #0753a7;
  font-size: .9rem;
  font-weight: 740;
  text-decoration: underline;
  text-underline-offset: .21em;
}
.text-button:hover { color: #082b63; }
.icon-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: .55rem;
  min-width: 2.65rem;
  min-height: 2.65rem;
  padding: 0;
  color: var(--ink);
  background: white;
}
.icon-button:hover { background: var(--surface); }
.icon-button:disabled { opacity: .44; }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  background: #fff;
  box-shadow: 0 1px 0 #08203c14;
}
.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
}
.brands { display: inline-flex; align-items: center; justify-self: start; gap: clamp(.65rem, 1.45vw, 1.35rem); }
.brands > span { width: 1px; height: 1.75rem; background: #d5e2ee; }
.brand-noesis { width: clamp(5.35rem, 8.25vw, 8rem); height: auto; }
.brand-maggenta { width: clamp(6.2rem, 8.65vw, 8.25rem); height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.25vw, 2.4rem); }
.main-nav a { padding-block: .7rem; color: #324662; text-decoration: none; font-size: .915rem; font-weight: 680; white-space: nowrap; }
.main-nav a:hover { color: var(--blue); }
.header-cart { justify-self: end; white-space: nowrap; }
.cart-count {
  display: grid;
  place-items: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding-inline: .28rem;
  color: #07323b;
  background: #b5f7e7;
  border-radius: .34rem;
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--teal);
  text-transform: uppercase;
  font-size: .77rem;
  line-height: 1.45;
  font-weight: 830;
  letter-spacing: .135em;
}
.eyebrow::before { content: ""; width: 1.15rem; height: 2px; background: currentColor; flex: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #061532; color: #fff; }
.hero-background { position: absolute; z-index: -3; inset: 0; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 61%; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg,#061532 4%,#061532f4 24%,#061532bd 39%,#06153200 66%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg,#1675e1,#37c6be 76%,#82f1d3);
}
.hero-inner {
  min-height: clamp(31rem, 41.5vw, 38rem);
  padding-block: 2.7rem;
  display: grid;
  grid-template-columns: .97fr 1.03fr;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero .eyebrow, .kits .eyebrow, .contact .eyebrow { color: var(--mint); }
.hero h1 {
  margin-block: 1rem 1.3rem;
  font-size: clamp(3.05rem, 5.55vw, 5.8rem);
  font-weight: 740;
  line-height: .985;
  letter-spacing: -.072em;
}
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-lead { max-width: 35ch; color: #d7e7fb; font-size: clamp(1rem, 1.45vw, 1.25rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.hero-actions .button { min-height: 3.2rem; padding-inline: 1.15rem; }
.hero :focus-visible, .kits :focus-visible, .contact :focus-visible { outline-color: var(--mint); }
.hero-stage {
  position: relative;
  isolation: isolate;
  height: clamp(21rem, 34vw, 29.5rem);
  margin-left: -1.1rem;
}
.hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 5% 9% 4%;
  height: 9%;
  border-radius: 50%;
  background: #000b;
  filter: blur(16px);
}
.hero-stage img {
  position: absolute;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(12px 16px 15px #0008);
}
.stage-pack { height: 84%; left: 29%; bottom: 13.5%; }
.stage-book { height: 58%; left: 4%; bottom: 12%; rotate: -9deg; }
.stage-cup { height: 51%; right: 5%; bottom: 11%; }
.hero-stage figcaption {
  position: absolute;
  right: 4%;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .66rem;
  border: 1px solid #b4d4f953;
  border-radius: .38rem;
  background: #041734cb;
  color: #d8edfa;
  font: 600 .72rem / 1.25 "DM Sans", system-ui, sans-serif;
}
.hero-stage figcaption span { width: .4rem; height: .4rem; background: var(--mint); border-radius: 50%; }

.catalog { padding-top: clamp(3.5rem, 4.65vw, 4.85rem); background: #fff; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}
.section-heading .eyebrow { margin-bottom: .55rem; }
.section h2, .contact h2 {
  font-size: clamp(2.65rem, 4.25vw, 4.4rem);
  line-height: 1.01;
  font-weight: 750;
  letter-spacing: -.065em;
}
.section-heading > p, .contact-copy > p:last-child { max-width: 36ch; color: var(--text); font-size: 1.04rem; line-height: 1.55; }
.catalog-tools { border-top: 1px solid var(--line); padding-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: .85rem; }
.category-filters { display: flex; flex-wrap: wrap; gap: .42rem; }
.filter {
  min-height: 2.65rem;
  padding: .5rem .8rem;
  border: 1px solid #d0deeb;
  border-radius: 99rem;
  background: #fff;
  color: #334963;
  font-size: .87rem;
  font-weight: 690;
}
.filter:hover { border-color: #7c9dbd; background: var(--surface); }
.filter[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.search-field {
  display: flex;
  align-items: center;
  flex: 0 1 18.5rem;
  gap: .65rem;
  min-height: 2.75rem;
  padding-inline: .75rem;
  border: 1px solid #c6d7e6;
  border-radius: .56rem;
  background: var(--surface);
  color: var(--muted);
}
.search-field:focus-within { border-color: var(--blue); outline: 2px solid #287ae23a; }
.search-field input { min-width: 0; flex-grow: 1; min-height: 2.7rem; border: none; outline: none; padding: .2rem 0; color: var(--ink); background: transparent; font-size: .92rem; }
.search-field input::placeholder { color: #52637d; }
.catalog-status { padding-block: .65rem .8rem; min-height: 2.85rem; display: flex; align-items: center; gap: .7rem 1rem; flex-wrap: wrap; }
.catalog-status p { color: var(--muted); font-size: .86rem; font-weight: 640; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.05rem; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .9rem; background: white; min-width: 0; transition: box-shadow .2s ease, border-color .2s ease; }
.product-card:hover, .product-card:focus-within { border-color: #aebfd9; box-shadow: 0 12px 32px #15365e0c; }
.product-art {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  aspect-ratio: 1.22;
  border: 0;
  border-radius: .85rem .85rem 0 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 55% 35%,#f9fcff,#edf3f9 74%);
}
.product-art img {
  position: absolute;
  inset: 10% 9%;
  width: 82%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 8px 7px #102b4a22);
  transition: transform .25s ease;
}
.product-art img.pen-pair { height: 29%; }
.product-art img.pen-pair:first-child { top: 29%; }
.product-art img.pen-pair:last-child { top: 48%; }
.product-art:hover img { transform: scale(1.055); }
.card-code {
  display: inline-flex;
  align-items: center;
  color: #0753a7;
  background: #eaf3ff;
  border-radius: .27rem;
  width: fit-content;
  padding: .22rem .42rem;
  font: 700 .725rem / 1.05 ui-monospace, monospace;
  letter-spacing: .02em;
}
.card-info { display: flex; flex-direction: column; align-items: start; padding: 1rem; flex: 1; }
.card-info h3 { margin: .55rem 0 .2rem; font-size: clamp(1.06rem, 1.62vw, 1.36rem); font-weight: 770; line-height: 1.13; letter-spacing: -.033em; }
.title-button { color: inherit; background: none; border: 0; padding: 0; text-align: start; font: inherit; }
.title-button:hover { text-decoration: underline; text-underline-offset: .15em; }
.product-meta { min-height: 1.45rem; margin-bottom: 1rem; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.card-add { display: flex; width: 100%; margin-top: auto; justify-content: space-between; }
.card-add .icon { width: 1.05rem; height: 1.05rem; }
.no-results { grid-column: 1 / -1; padding: 2rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; text-align: center; }
.no-results p { margin: .35rem 0 .8rem; color: var(--text); }

.kits { background: radial-gradient(ellipse at 100% 0%,#104465 0%,#0b2850 40%,#081c3e 78%); color: white; }
.kits-heading > p { color: #d4e4f8; }
.kit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.kit-card { display: flex; flex-direction: column; align-items: start; gap: .7rem; min-width: 0; border: 1px solid #6b9bc454; border-radius: .85rem; padding: clamp(1.1rem, 2.1vw, 1.65rem); background: #b9dafa0b; }
.kit-icon, .step-icon, .contact-icon { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: .6rem; background: #e3f3ff; color: #0755a8; }
.kit-icon { background: #86f1d61f; color: var(--mint); }
.kit-icon .icon, .step-icon .icon, .contact-icon .icon { width: 1.32rem; height: 1.32rem; }
.kit-card h3 { margin-top: .2rem; font-size: 1.36rem; font-weight: 760; line-height: 1.2; letter-spacing: -.03em; }
.kit-card p { flex: 1; max-width: 35ch; color: #cedff4; line-height: 1.45; font-size: .94rem; }
.kit-link { display: inline-flex; align-items: center; gap: .5rem; padding-block: .4rem; color: var(--mint); font-size: .92rem; font-weight: 770; text-underline-offset: .23em; }
.kit-link:hover { color: white; }

.how { background: #f4f8fc; }
.how-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.how-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.how-steps li { padding-block: 1rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.how-steps li:first-child { padding-top: 0; }
.how-steps li:last-child { border: 0; padding-bottom: 0; }
.how-steps h3 { margin-bottom: .27rem; font-size: 1.11rem; font-weight: 760; letter-spacing: -.02em; }
.how-steps p { color: var(--text); font-size: .97rem; line-height: 1.45; }

.contact { padding-block: clamp(3.4rem, 5.5vw, 5rem); background: linear-gradient(115deg,#081c3e 32%,#0b4172 72%,#126661); color: white; }
.contact-layout { display: grid; align-items: center; grid-template-columns: 1.18fr .82fr; gap: clamp(2rem,6vw,5rem); }
.contact h2 { margin: .65rem 0 1rem; }
.contact-copy > p:last-child { color: #d3e7fb; }
.contact-links { display: grid; gap: .75rem; }
.contact-link {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .85rem;
  padding: .85rem;
  border: 1px solid #e0f5ff55;
  border-radius: .8rem;
  background: #051c3b64;
  color: #fff;
  text-decoration: none;
}
.contact-link:hover { background: #031b48a3; border-color: #b1e7e3; }
.contact-link strong, .contact-link small { display: block; overflow-wrap: anywhere; }
.contact-link strong { font-size: 1.05rem; }
.contact-link small { margin-top: .13rem; color: #d8e8fc; font-size: .89rem; }
.contact-icon { color: #073a4c; background: var(--mint); }
.site-footer { background: white; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem,3vw,2.2rem); padding-block: 1.55rem; }
.footer-inner > p { color: var(--muted); font-size: .86rem; }
.footer-site { display: inline-flex; align-items: center; gap: .35rem; color: #0753a7; font-size: .9rem; font-weight: 720; text-underline-offset: .18em; }

.dialog { padding: 0; border: 1px solid #dfe9f1; border-radius: 1rem; color: var(--ink); background: white; }
.dialog::backdrop { background: #06152db8; backdrop-filter: blur(3px); }
.dialog-close { position: absolute; right: .8rem; top: .8rem; z-index: 2; }
.detail-dialog { width: min(55rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); }
.detail-layout { display: grid; grid-template-columns: .97fr 1.03fr; }
.detail-art { display: grid; align-content: center; gap: .95rem; padding: 1.35rem; min-width: 0; background: radial-gradient(ellipse at center,#f9fcff,#edf3f9); text-align: center; }
.detail-img { width: 100%; height: clamp(13rem, 28vw, 22rem); object-fit: contain; filter: drop-shadow(0 8px 7px #102b4a1c); }
.detail-art.is-lanyard .detail-img { height: auto; min-height: 4.25rem; }
.detail-gallery { display: flex; align-items: center; justify-content: center; gap: .45rem; flex-wrap: wrap; }
.detail-info { min-width: 0; align-self: center; padding: 2.65rem 1.45rem 1.55rem; }
.detail-info h2 { margin: .55rem 0; letter-spacing: -.055em; font-size: clamp(1.65rem, 3.1vw, 2.75rem); line-height: 1.04; }
.detail-info p { color: var(--text); font-size: .95rem; line-height: 1.52; }
.detail-note { margin-top: .75rem; }
.detail-info .detail-note { font-size: .8rem; color: var(--muted); }
.product-specs { display: grid; grid-template-columns: 1fr 1fr; margin-block: .85rem; gap: .6rem; }
.product-specs > div { padding: .56rem; border-radius: .48rem; background: var(--surface); }
.product-specs dt { color: var(--muted); font-size: .75rem; font-weight: 730; }
.product-specs dd { margin: .13rem 0 0; color: var(--ink); font-size: .9rem; font-weight: 700; }
.color-options { border: 0; margin: 0 0 .8rem; padding: 0; }
.color-options legend { margin-bottom: .2rem; padding: 0; font-size: .82rem; font-weight: 750; }
.color-options > div { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { min-height: 2.4rem; display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .68rem; border: 1px solid #b8cade; border-radius: .45rem; background: #fff; color: var(--ink); font-size: .83rem; font-weight: 720; }
.chip[aria-pressed="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: #eaf4ff; }
.swatch { display: inline-block; width: .78rem; height: .78rem; border: 1px solid #9ab0c9; border-radius: 50%; background: #f4f5f9; }
.swatch.dark { border-color: #121c2b; background: #121c2b; }
.add-detail { display: flex; flex-wrap: wrap; align-items: end; gap: .55rem; }
.add-detail label, .notes-field label { display: grid; gap: .35rem; color: var(--ink); font-size: .84rem; font-weight: 750; }
.add-detail .button { flex: 1 1 auto; }
.qty {
  width: 5.35rem;
  height: 2.875rem;
  border: 1px solid #b8cade;
  border-radius: .55rem;
  padding-inline: .58rem;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.cart-dialog { position: fixed; inset: 0 0 0 auto; margin: 0; border: 0; border-radius: 1rem 0 0 1rem; width: min(100%,31rem); height: 100%; max-width: 100%; max-height: 100dvh; overflow: hidden; }
.cart-layout { display: flex; flex-direction: column; height: 100%; }
.cart-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem .95rem; border-bottom: 1px solid var(--line); }
.cart-heading h2 { font-size: 1.8rem; font-weight: 780; line-height: 1.1; letter-spacing: -.055em; }
.cart-heading p { margin-top: .28rem; color: var(--text); font-size: .9rem; }
.cart-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 1.25rem 1rem; overscroll-behavior: contain; }
.empty-cart { display: grid; justify-items: start; padding-block: 1.5rem; gap: .65rem; }
.empty-cart p { color: var(--text); }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-row { display: grid; grid-template-columns: 3.5rem minmax(0,1fr) auto; align-items: center; gap: .65rem; padding-block: .8rem; border-bottom: 1px solid var(--line); }
.cart-row img { width: 3.5rem; height: 3.5rem; padding: .34rem; object-fit: contain; border-radius: .4rem; background: var(--surface); }
.cart-row h3 { font-size: .94rem; line-height: 1.15; font-weight: 780; }
.cart-row p { margin-top: .2rem; color: var(--muted); font-size: .8rem; }
.cart-row .text-button { font-size: .8rem; min-height: 1.95rem; }
.quantity-control { display: flex; align-items: center; gap: .25rem; }
.quantity-control .icon-button { min-width: 1.9rem; min-height: 2rem; border-radius: .35rem; }
.quantity-control .icon { width: 1rem; height: 1rem; }
.quantity-control .qty { width: 3.65rem; height: 2rem; padding-inline: .22rem; text-align: center; appearance: textfield; border-radius: .35rem; }
.quantity-control .qty::-webkit-inner-spin-button { appearance: none; }
.notes-field { display: grid; gap: .45rem; padding-top: 1rem; }
.notes-field label { display: block; }
.notes-field label span { color: var(--muted); font-weight: 530; }
.notes-field textarea, .quote-preview { width: 100%; min-height: 4rem; padding: .6rem; border: 1px solid #b8cade; border-radius: .55rem; color: var(--ink); background: var(--surface); font-size: .92rem; resize: vertical; }
.quote-preview { margin-top: .7rem; min-height: 7rem; }
.cart-footer { padding: .85rem 1.25rem max(.6rem,env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.cart-footer p { color: var(--text); font-size: .86rem; }
.quote-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: .55rem 0 .18rem; }
.quote-copy { display: flex; align-items: center; flex-wrap: wrap; gap: 0 .55rem; }
.quote-copy span { font-size: .8rem; color: var(--teal); }
.toast {
  position: fixed;
  z-index: 6;
  inset: auto var(--gutter) max(1rem,env(safe-area-inset-bottom)) auto;
  max-width: min(24rem, calc(100vw - 2 * var(--gutter)));
  padding: .85rem 1rem;
  border: 1px solid #5b95bd;
  border-radius: .65rem;
  color: #fff;
  background: #09274b;
  box-shadow: 0 8px 30px #081d3f2b;
  font-size: .9rem;
}
.toast:empty { visibility: hidden; }

@media (max-width: 1070px) {
  .catalog-tools { align-items: stretch; }
  .search-field { flex-basis: 14rem; align-self: start; }
  .hero-stage { margin-left: -.65rem; height: clamp(18.5rem, 38.5vw, 25.5rem); }
  .stage-pack { left: 21%; }
  .stage-book { left: 0; }
  .stage-cup { right: 0; }
}

@media (max-width: 860px) {
  .header-inner { gap: .8rem; }
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: .87rem; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; }
  .catalog-tools { align-items: start; flex-direction: column; }
  .search-field { flex: none; width: min(100%, 23rem); }
}

@media (max-width: 760px) {
  :root { --header-height: 6rem; }
  .header-inner { grid-template-columns: 1fr auto; grid-template-rows: 3.7rem 2.3rem; min-height: auto; gap: 0 .5rem; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid #e6edf4; }
  .main-nav a { padding-block: .42rem; }
  .header-cart { grid-row: 1; grid-column: 2; min-height: 2.5rem; padding: .55rem .7rem; }
  .hero-inner { display: block; min-height: 0; padding-block: 2.75rem 1.15rem; }
  .hero-background { inset: 20% 0 0; }
  .hero-background img { object-position: 79% 70%; }
  .hero::before { background: linear-gradient(180deg,#061532 14%,#061532fa 39%,#0615328a 62%,#0615320a 83%); }
  .hero h1 { font-size: clamp(3.1rem, 9vw, 4.85rem); margin-bottom: 1rem; }
  .hero-actions { margin-top: 1.25rem; gap: .5rem; }
  .hero-actions .button { padding-inline: .93rem; min-height: 2.85rem; }
  .hero-stage { width: min(100%, 31rem); height: clamp(15.8rem, 55vw, 22rem); margin: 1rem auto 0; }
  .stage-pack { height: 81%; left: 32%; }
  .stage-book { left: 5%; }
  .stage-cup { right: 9%; }
  .hero-stage figcaption { right: 2%; bottom: -.25rem; }
  .section-heading { display: grid; align-items: start; gap: .7rem; margin-bottom: 1.35rem; }
  .section-heading > p { max-width: 45ch; font-size: .96rem; }
  .kit-grid { gap: .8rem; }
  .kit-card { padding: 1rem; }
  .kit-card h3 { font-size: 1.15rem; }
  .kit-card p { font-size: .9rem; }
}

@media (max-width: 580px) {
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .card-info { padding: .73rem; }
  .card-code { font-size: .68rem; }
  .product-meta { margin-bottom: .75rem; font-size: .81rem; }
  .card-add { min-height: 2.6rem; padding: .55rem .6rem; font-size: .8rem; gap: .25rem; }
  .card-add .icon { width: .9rem; height: .9rem; }
  .kit-grid, .how-layout, .contact-layout { grid-template-columns: minmax(0,1fr); }
  .kit-card { gap: .45rem; }
  .contact-layout, .how-layout { gap: 1.8rem; }
  .contact h2 br { display: none; }
  .footer-inner { grid-template-columns: 1fr auto; row-gap: .65rem; }
  .footer-inner p { grid-row: 2; grid-column: 1 / -1; }
  .detail-layout { grid-template-columns: minmax(0,1fr); }
  .detail-art { padding: 1.05rem 3.1rem; }
  .detail-img { height: min(29dvh, 12rem); }
  .detail-info { padding: 1.1rem; }
}

@media (max-width: 410px) {
  .header-cart-label { display: none; }
  .hero h1 { font-size: clamp(2.65rem, 10.5vw, 3.7rem); }
  .hero-actions .button { font-size: .84rem; padding-inline: .7rem; }
  .hero-actions .icon { width: .93rem; height: .93rem; }
  .hero-stage { height: clamp(12.2rem, 55vw, 17rem); }
  .stage-pack { left: 32%; }
  .stage-book { left: 3%; }
  .stage-cup { right: 10%; }
  .cart-heading, .cart-body, .cart-footer { padding-inline: .95rem; }
  .cart-row { grid-template-columns: 2.7rem minmax(0,1fr) auto; gap: .5rem; }
  .cart-row img { width: 2.7rem; height: 2.7rem; }
  .quantity-control .qty { width: 3.1rem; }
  .quantity-control .icon-button { min-width: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
