@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #231f20;
  --muted: #66615d;
  --accent: #faa61a;
  --accent-hover: #ffb841;
  --accent-ink: #78501b;
  --paper: #f8f7f4;
  --surface: #fff;
  --line: #e6e1d9;
  --stage: #f0ede8;
  --radius: 1rem;
  --header: 5rem;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: calc(var(--header) + 1.15rem);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #a66b0b; outline-offset: 4px; }
::selection { color: var(--ink); background: #ffcb75; }

.shell {
  width: min(78rem, calc(100% - clamp(2rem, 8vw, 9rem)));
  margin-inline: auto;
}

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 9;
  top: .5rem;
  left: .5rem;
  padding: 1rem;
  color: var(--ink);
  background: white;
}

.eyebrow {
  color: var(--accent-ink);
  font-weight: 800;
  font-size: .8125rem;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.icon {
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
  align-items: center;
  justify-content: center;
}

.icon svg { width: 100%; height: 100%; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.1rem;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.28;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary { color: var(--ink); background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { border-color: #ccc5ba; background: white; }
.button-outline:hover { border-color: var(--ink); background: var(--paper); }

.text-link {
  display: inline-flex;
  width: fit-content;
  padding: .25rem 0;
  border: 0;
  background: transparent;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.text-link:hover { color: var(--accent-ink); }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header);
}

.brand-lockup { display: inline-flex; align-items: center; gap: .9rem; width: fit-content; }
.tecnal-logo { width: clamp(8rem, 12.5vw, 11.5rem); height: auto; }
.maggenta-logo { width: clamp(5rem, 8vw, 7.75rem); height: auto; }
.brand-divider { width: 1px; height: 1.55rem; flex: none; background: #d8d2c9; }

.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem); }
.site-nav a { padding-block: .8rem; color: #4c4744; font-size: .9375rem; font-weight: 750; }
.site-nav a:hover { color: var(--accent-ink); }

.selection-trigger {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .4rem .6rem .4rem .8rem;
  border: 1px solid var(--ink);
  border-radius: .55rem;
  color: white;
  background: var(--ink);
  font-size: .875rem;
  font-weight: 800;
  white-space: nowrap;
}

.selection-trigger:hover { background: #433a34; }
.selection-count {
  display: grid;
  min-width: 1.6rem;
  height: 1.6rem;
  padding-inline: .3rem;
  place-items: center;
  border-radius: .32rem;
  color: var(--ink);
  background: var(--accent);
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 3px solid var(--accent);
  color: white;
  background: var(--ink);
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(33rem, 44vw, 39rem);
  padding-block: 3.4rem 3.8rem;
}

.hero-visual {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 37%;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 49%;
  filter: saturate(.79) brightness(.92);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--ink) 1%, #231f20f5 10%, #231f2094 31%, #231f2018 57%, transparent 79%),
    linear-gradient(0deg, #211b18df, #211b1838 32%, transparent 65%);
  content: "";
}

.hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: max(clamp(1rem, 4vw, 4.5rem), calc((100vw - 78rem) / 2));
  bottom: 1.15rem;
  color: #f4f0e9;
  font-size: .8125rem;
  font-weight: 650;
}

.hero-copy { max-width: min(45rem, 64%); }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.15rem;
  color: #ffcc7b;
}

.hero-eyebrow::before { width: 1.5rem; height: 2px; background: var(--accent); content: ""; }

.hero h1 {
  font-size: clamp(4rem, 6.52vw, 6.45rem);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.061em;
}

.hero h1 span { color: var(--accent); }
.hero-description {
  max-width: 29rem;
  margin-top: 1.4rem;
  color: #eeebe5;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.62;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 1.7rem; }
.hero-actions .button { min-height: 3.26rem; padding-inline: 1.35rem; }
.button-hero-secondary { border-color: #a39a91; color: #f8f5ed; background: #231f2054; }
.button-hero-secondary:hover { border-color: #fbebd1; background: #fff2d922; }
.hero :focus-visible, .contact :focus-visible { outline-color: #ffd389; }

.hero-product {
  position: absolute;
  right: 0;
  bottom: 3.65rem;
  display: flex;
  align-items: stretch;
  gap: .85rem;
  min-height: 6.25rem;
  padding: .65rem 1rem .65rem .65rem;
  border: 1px solid #f3e3c9;
  border-left: 3px solid var(--accent);
  border-radius: .7rem;
  color: var(--ink);
  background: #fffaf0;
  box-shadow: 0 10px 34px #100c0a38;
  text-align: left;
  transition: background-color 160ms ease, transform 160ms ease;
}

.hero-product:hover { transform: translateY(-3px); background: #fff; }

.hero-product-image {
  display: grid;
  width: 4.4rem;
  flex: none;
  place-items: center;
  background: #f0ece3;
  border-radius: .35rem;
}

.hero-product-image img {
  width: auto;
  height: 4.2rem;
  filter: drop-shadow(0 4px 4px #261c1630);
}

.hero-product-text { display: grid; align-content: center; gap: .12rem; }
.hero-product-label { color: #795425; font-size: .75rem; font-weight: 800; }
.hero-product-text strong { font-size: 1rem; line-height: 1.3; font-weight: 800; }
.hero-product-text > span:last-child { color: var(--muted); font-size: .8125rem; font-weight: 750; }

.catalog { padding-block: 4.55rem 5.25rem; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.4rem 2.5rem;
}

.section-head h2, .story h2, .contact h2 {
  margin-top: .55rem;
  font-size: clamp(2.35rem, 4.25vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.064em;
}

.section-description { max-width: 35rem; margin-top: .72rem; color: var(--muted); line-height: 1.65; }

.catalog-search {
  display: flex;
  width: min(100%, 21rem);
  flex: none;
  align-items: center;
  gap: .65rem;
  min-height: 3.25rem;
  padding-inline: .9rem;
  border: 1px solid #cfc9c0;
  border-radius: .55rem;
  background: var(--surface);
}

.catalog-search .icon { color: var(--muted); }

.catalog-search input {
  width: 100%;
  min-width: 0;
  min-height: 3.1rem;
  padding: .3rem 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
}

.catalog-search:focus-within { outline: 2px solid #9a640c; outline-offset: 2px; }

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block: 1.7rem 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.category-filters { display: flex; flex-wrap: wrap; gap: .45rem; }

.category-filters button {
  min-height: 2.55rem;
  padding: .38rem .85rem;
  border: 1px solid #ded8ce;
  border-radius: 2rem;
  background: transparent;
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.25;
}

.category-filters button:hover { border-color: #9f762f; background: #fff7e7; }
.category-filters button[aria-pressed="true"] { border-color: var(--ink); color: white; background: var(--ink); }
.catalog-count { flex: none; margin-inline-start: auto; color: var(--muted); font-size: .875rem; font-weight: 750; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 4px 14px #32221307;
}

.product-media, .detail-media {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 48%, #faf8f4 0, #f1eee8 55%, #eae5dc 100%);
}

.product-media {
  width: 100%;
  min-height: 13.4rem;
  aspect-ratio: 1.67;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.product-media:focus-visible { outline-offset: -4px; z-index: 1; }

.product-media img, .detail-media img {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  max-width: 79%;
  max-height: 74%;
  margin: auto;
  object-fit: contain;
  filter: drop-shadow(0 9px 10px #29241d24);
  transition: transform 220ms ease;
}

.product-media:hover img { transform: scale(1.055); }

.product-code {
  position: absolute;
  top: .8rem;
  left: .8rem;
  padding: .2rem .45rem;
  border: 1px solid #e1dace;
  border-radius: .28rem;
  color: #534b43;
  background: #fffcf7;
  font: 700 .8125rem/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace;
}

.product-edition {
  position: absolute;
  top: .8rem;
  right: .8rem;
  padding: .26rem .55rem;
  border-radius: .35rem;
  color: #5a380f;
  background: #ffdda4;
  font-size: .8125rem;
  font-weight: 800;
}

.media-action {
  position: absolute;
  right: .65rem;
  bottom: .65rem;
  display: flex;
  align-items: center;
  gap: .34rem;
  padding: .32rem .55rem;
  border-radius: .4rem;
  color: #4e473e;
  background: #fcfaf5eb;
  font-size: .8125rem;
  font-weight: 800;
}

.media-action .icon { width: .95rem; height: .95rem; }
.product-media:hover .media-action { color: var(--ink); background: white; }

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: .58rem;
  padding: 1rem;
}

.product-info h3 { font-weight: 800; font-size: 1.13rem; line-height: 1.24; letter-spacing: -.025em; }
.product-info p { margin-bottom: .28rem; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.product-choices { display: grid; gap: .65rem; margin-top: auto; }
.product-add { width: 100%; min-height: 2.75rem; }

.variant-picker {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.6rem;
  border: 1px solid #dfd9ce;
  border-radius: .45rem;
  background: #f9f8f6;
  font-size: .875rem;
  font-weight: 750;
}

.swatch {
  display: inline-block;
  width: .82rem;
  height: .82rem;
  flex: none;
  border: 1px solid #231f2038;
  border-radius: 50%;
  background: var(--swatch);
}

.variant-picker .swatch { position: absolute; left: .7rem; pointer-events: none; }
.variant-picker .icon { position: absolute; right: .55rem; width: 1rem; height: 1rem; pointer-events: none; }
.variant-picker select {
  width: 100%;
  min-height: 2.6rem;
  padding: .4rem 1.85rem .4rem 2rem;
  appearance: none;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.variant-picker [data-single-variant] { padding: .4rem .65rem .4rem 2rem; }

.catalog-empty, .cart-empty {
  display: grid;
  justify-items: center;
  gap: .75rem;
  padding: 3rem 1rem;
  text-align: center;
}

.catalog-empty { border: 1px dashed #ccc5ba; border-radius: var(--radius); background: #fff; }
.catalog-empty > .icon, .cart-empty > .icon { width: 2.1rem; height: 2.1rem; color: #916024; }
.catalog-empty p, .cart-empty p { color: var(--muted); line-height: 1.55; }
.catalog-empty .button, .cart-empty .button { margin-top: .25rem; }

.story { padding-bottom: 5rem; }

.story-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 24rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #eeeae3;
}

.story-image { position: relative; min-height: 23.5rem; isolation: isolate; background: #d9d0c5; }

.story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-image::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(0deg, #1d1915b0, transparent 28%);
  content: "";
}

.story-image figcaption { position: absolute; z-index: 1; bottom: 1rem; left: 1.1rem; color: white; font-size: .8125rem; font-weight: 700; }
.story-copy { display: grid; align-content: center; gap: 1.12rem; padding: clamp(1.6rem, 3.65vw, 3.6rem); }
.story h2 { margin-top: 0; font-size: clamp(2.15rem, 3.6vw, 3.45rem); }
.story-copy > p:not(.eyebrow) { color: #4c4741; line-height: 1.68; }

.contact {
  border-top: 3px solid var(--accent);
  color: white;
  background: radial-gradient(ellipse at 84% 27%, #483529, var(--ink) 64%);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, .67fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 7.5rem);
  padding-block: 4.35rem;
}

.contact-copy .eyebrow { color: #ffcc7b; }
.contact-copy h2 { max-width: 38rem; }
.contact-copy > p:not(.eyebrow) { max-width: 31rem; margin-top: 1rem; color: #e3dcd4; line-height: 1.65; }

.contact-card {
  display: grid;
  gap: .55rem;
  padding: .85rem;
  border-radius: .9rem;
  color: var(--ink);
  background: #fffbf3;
}

.contact-person { display: flex; align-items: center; gap: .7rem; padding: .15rem .35rem .25rem; }
.contact-person div { display: grid; gap: .08rem; }
.contact-person strong { font-size: 1.13rem; font-weight: 800; }
.contact-person div span { color: var(--muted); font-size: .875rem; font-weight: 650; }
.contact-initial {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  flex: none;
  place-items: center;
  border-radius: .5rem;
  background: var(--accent);
  font-size: 1.3rem;
  font-weight: 800;
}

.contact-link {
  display: flex;
  gap: .75rem;
  align-items: center;
  min-height: 3.9rem;
  padding: .56rem .7rem;
  border: 1px solid #e1dace;
  border-radius: .5rem;
  background: white;
}

.contact-link:hover { border-color: #a37127; background: #fff5df; }
.contact-link > span:nth-child(2) { display: grid; gap: .12rem; min-width: 0; }
.contact-link strong { font-size: .9375rem; line-height: 1.25; font-weight: 800; }
.contact-link small { color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  min-height: 8.4rem;
  padding-block: 1.35rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.58;
}

.footer-brand { display: grid; gap: .37rem; }
.footer-brand img { width: 9rem; height: auto; }
.footer-brand:hover span, .footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: .55rem 1.4rem; font-weight: 750; }

html:has(dialog[open]) { overflow: hidden; }
dialog {
  max-width: calc(100% - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 20px 70px #17120c4a;
}

dialog::backdrop { background: #211b18ae; }

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  padding: .35rem;
  border: 1px solid #d3cfc7;
  border-radius: .5rem;
  background: var(--surface);
}

.icon-button:hover { background: #f1ede6; }

.product-dialog { width: 54rem; }
.dialog-close { position: absolute; z-index: 1; top: .8rem; right: .8rem; }
.detail-layout { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 26.5rem; }
.detail-media { min-height: 20rem; border-right: 1px solid var(--line); }
.detail-media img { max-width: 83%; max-height: 82%; }
.detail-copy { display: grid; align-content: center; gap: .76rem; padding: 3.45rem clamp(1.2rem, 3.4vw, 2.6rem) 1.55rem; }
.detail-copy h2 { font-size: clamp(1.75rem, 3.15vw, 2.45rem); font-weight: 800; line-height: 1.1; letter-spacing: -.05em; text-wrap: balance; }
.detail-copy > p:not(.eyebrow) { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.detail-specs { display: grid; gap: .21rem; padding-block: .42rem; font-size: .875rem; }
.detail-specs div { display: flex; justify-content: space-between; gap: .8rem; padding: .42rem 0; border-bottom: 1px solid var(--line); }
.detail-specs dt { color: var(--muted); }
.detail-specs dd { text-align: right; font-weight: 750; }
.detail-choices { display: grid; gap: .65rem; }

.cart-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 31rem);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  overflow: hidden;
  border-width: 0 0 0 1px;
  border-radius: 0;
  background: var(--paper);
}

.cart-dialog[open] { display: flex; flex-direction: column; }
.cart-head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  padding: 1.4rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.cart-head h2 { margin-top: .2rem; font-size: 2.1rem; font-weight: 800; line-height: 1.08; letter-spacing: -.06em; }
.cart-body { flex: 1; min-height: 0; padding: .85rem 1.4rem 1.3rem; overflow: auto; overscroll-behavior: contain; }

.cart-line {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: .7rem;
  padding-block: .8rem;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  position: relative;
  align-self: start;
  height: 4.7rem;
  border-radius: .5rem;
  background: #eee9e1;
}

.cart-thumb img {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  max-width: 83%;
  max-height: 81%;
  margin: auto;
  object-fit: contain;
}
.cart-line h3 { font-weight: 800; font-size: .99rem; letter-spacing: -.015em; }
.cart-line p { margin-top: .19rem; color: var(--muted); font-size: .875rem; line-height: 1.35; }
.cart-line-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1rem; margin-top: .62rem; }

.quantity { display: flex; overflow: hidden; border: 1px solid #d8d1c7; border-radius: .45rem; background: white; }

.quantity button, .quantity input {
  min-height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.quantity button { display: grid; width: 2.6rem; place-items: center; }
.quantity button:hover:not(:disabled) { background: #f2ede4; }
.quantity button:disabled { color: #9a938a; }

.quantity input {
  width: 4.15rem;
  flex: none;
  appearance: textfield;
  border-inline: 1px solid #e5dfd6;
  font-weight: 800;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.quantity input::-webkit-inner-spin-button, .quantity input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.quantity :focus-visible { outline-offset: -3px; }
.cart-remove { color: #7a4230; font-size: .875rem; }

.cart-note, .copy-fallback { display: grid; gap: .43rem; margin-top: 1rem; font-size: .875rem; font-weight: 800; }
.cart-note small { margin-left: .28rem; color: var(--muted); font-size: .8125rem; font-weight: 650; }

.cart-note textarea, .copy-fallback textarea {
  width: 100%;
  padding: .65rem .7rem;
  border: 1px solid #d0c9bd;
  border-radius: .48rem;
  background: white;
  font-size: 1rem;
  font-weight: 500;
  resize: vertical;
}

.cart-note textarea::placeholder { color: #777068; }

.cart-footer {
  flex: none;
  padding: .9rem 1.4rem max(1.15rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: white;
}

.cart-summary { margin-bottom: .58rem; font-weight: 800; font-size: .9375rem; }
.cart-actions { display: grid; grid-template-columns: 1.12fr 1fr; gap: .5rem; }
.cart-footer-note { display: flex; align-items: center; justify-content: space-between; gap: .3rem .7rem; flex-wrap: wrap; margin-top: .6rem; color: var(--muted); font-size: .8125rem; }
#copy-quote { color: #6c4517; }
.copy-fallback { margin-top: .4rem; }
.copy-fallback textarea { max-height: 5.4rem; font-size: .875rem; }

.toast {
  position: fixed;
  z-index: 6;
  right: max(1rem, calc((100vw - 78rem) / 2));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: .75rem .95rem;
  border-left: 4px solid var(--accent);
  border-radius: .45rem;
  color: white;
  background: var(--ink);
  box-shadow: 0 10px 24px #20191338;
  font-size: .9rem;
  font-weight: 750;
  pointer-events: none;
}

.toast:empty { padding: 0; border: 0; box-shadow: none; }

@media (max-width: 1000px) {
  .hero-copy { max-width: 68%; }
  .section-head { align-items: start; }
  .catalog-search { align-self: end; }
  .product-grid { gap: .85rem; }
  .product-media { min-height: 12.6rem; }
  .catalog-toolbar { align-items: start; }
  .catalog-count { padding-top: .54rem; }
}

@media (max-width: 800px) {
  :root { --header: 4.2rem; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; }
  .site-nav { display: none; }
  .hero h1 { font-size: clamp(3.7rem, 9.2vw, 5.15rem); }
  .hero-inner { min-height: 32rem; }
  .hero-description { max-width: 23rem; }
  .hero-visual { inset-inline-start: 31%; }
  .hero-visual::after {
    background: linear-gradient(100deg, var(--ink), #231f20e7 15%, #231f2050 51%, transparent 87%),
      linear-gradient(0deg, #211b18ec, #211b1830 32%, transparent 72%);
  }
  .hero-product { gap: .55rem; padding: .45rem .6rem .45rem .45rem; min-height: 5.6rem; }
  .hero-product-image { width: 3.4rem; }
  .hero-product-image img { height: 3.65rem; }
  .hero-product-text strong { font-size: .9rem; }
  .catalog { padding-block: 3.1rem 3.5rem; }
  .section-head { display: grid; gap: 1.15rem; }
  .catalog-search { width: min(100%, 28rem); }
  .catalog-toolbar { margin-block: 1.1rem .95rem; padding-top: .85rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story { padding-bottom: 3.7rem; }
  .story-image { min-height: 19rem; }
  .contact-inner { grid-template-columns: minmax(0, 1fr) minmax(17rem, .83fr); gap: 1.45rem; padding-block: 3.3rem; }
  .footer-inner { grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.4rem; }
  .footer-links { grid-column: 1 / -1; justify-content: start; }
}

@media (max-width: 610px) {
  :root { --header: 3.8rem; }
  .brand-lockup { gap: .56rem; }
  .tecnal-logo { width: 7.9rem; }
  .maggenta-logo { width: 5.35rem; }
  .brand-divider { height: 1.25rem; }
  .selection-trigger { padding: .38rem .52rem; }
  .selection-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  .hero-inner { display: block; min-height: auto; padding-block: 2.45rem 16.35rem; }
  .hero-copy { max-width: none; }
  .hero-eyebrow { margin-bottom: .9rem; }
  .hero h1 { font-size: clamp(3.22rem, 12.9vw, 4.6rem); }
  .hero-description { margin-top: 1.07rem; }
  .hero-actions { gap: .45rem; margin-top: 1.15rem; }
  .hero-actions .button { min-height: 2.95rem; padding-inline: .75rem; font-size: .875rem; }
  .hero-visual { inset: auto 0 0; height: 16.45rem; }
  .hero-visual img { object-position: 55% 54%; }
  .hero-visual::after {
    background: linear-gradient(180deg, var(--ink) 0%, #231f2050 23%, transparent 55%),
      linear-gradient(0deg, #211b18da, #211b183b 23%, transparent 54%);
  }
  .hero-visual figcaption { bottom: .7rem; right: 1rem; }
  .hero-product { bottom: 2.2rem; padding: .4rem .65rem .4rem .4rem; min-height: 5rem; }
  .hero-product-image { width: 3.4rem; }
  .hero-product-image img { height: 3.3rem; }
}

@media (max-width: 610px) {
  .catalog { padding-block: 2.55rem 2.8rem; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; gap: .65rem; }
  .catalog-count { padding-top: 0; margin-inline-start: 0; }
  .product-grid { grid-template-columns: 1fr; gap: .9rem; }
  .product-media { min-height: 11.25rem; aspect-ratio: 1.7; }
  .product-info { padding: .88rem; }
  .product-info h3 { font-size: 1.15rem; }

  .story { padding-bottom: 2.8rem; }
  .story-panel { grid-template-columns: 1fr; }
  .story-image { min-height: 13.75rem; }
  .story-copy { padding: 1.45rem; gap: .78rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 1.45rem; padding-block: 2.55rem; }
  .footer-inner { grid-template-columns: 1fr; gap: .9rem; padding-block: 1.4rem; }

  dialog { max-width: calc(100% - 1.25rem); max-height: calc(100dvh - 1.25rem); }
  .detail-layout { display: block; }
  .detail-media { min-height: min(33dvh, 14.5rem); border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-media img { max-width: 72%; max-height: 77%; }
  .detail-copy { padding: 1rem 1.1rem 1.3rem; }
  .cart-dialog { max-width: none; max-height: none; border: 0; }
  .cart-head { padding: 1.05rem; }
  .cart-body { padding-inline: 1.05rem; }
  .cart-footer { padding-inline: 1.05rem; }
}

@media (max-width: 365px) {
  .tecnal-logo { width: 7rem; }
  .maggenta-logo { width: 4.75rem; }
  .hero h1 { font-size: 3.05rem; }
  .hero-actions .button { padding-inline: .6rem; }
  .cart-line { grid-template-columns: 3.75rem minmax(0, 1fr); }
}

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