:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #1b1d26;
  --muted: #555861;
  --navy: #27265e;
  --line: #e4e2df;
  --warm: #f5f3ef;
  --font: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--font);
}
main { flex: 1; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
a:focus-visible, main:focus-visible { outline: 2px solid var(--navy); outline-offset: 5px; }
.container { width: min(calc(100% - 5rem), 77.5rem); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 3;
  top: .75rem;
  left: .75rem;
  transform: translateY(-200%);
  padding: .65rem 1rem;
  background: var(--paper);
  color: var(--navy);
}
.skip:focus { transform: translateY(0); }

.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 5.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.65rem;
}
.brand { display: block; width: fit-content; }
.brand img { width: 10rem; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1.1rem, 3.4vw, 3rem); }
.nav a {
  position: relative;
  padding: .6rem 0;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current] { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current]::after {
  content: "";
  position: absolute;
  inset: auto 0 .25rem;
  border-bottom: 1px solid currentColor;
}
.languages {
  justify-self: end;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: .875rem;
}
.languages a, .languages span { padding: .45rem .6rem; text-decoration: none; }
.languages > :last-child { border-left: 1px solid var(--line); }
.languages span { color: var(--navy); font-weight: 700; }
.languages a:hover { color: var(--navy); text-decoration: underline; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(26rem, 38vw, 34rem);
  background: #362619;
  color: var(--paper);
}
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 61% 52%; }
.hero-media::after {
  content: "";
  background: linear-gradient(90deg, #17110ce8, #17110ca8 29%, #17110c34 55%, transparent 76%);
}
.hero-inner { padding-block: 4rem; }
.hero-copy { max-width: 34rem; }
.hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.8rem);
  letter-spacing: -.05em;
  font-weight: 650;
  line-height: 1.04;
  text-wrap: balance;
}
.hero .button { margin-top: 1.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3rem;
  padding: .62rem 1.22rem;
  border: 1px solid transparent;
  border-radius: .2rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: color .18s, background-color .18s, border-color .18s;
}
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: #e9e3d9; }
.hero .button:focus-visible { outline-color: var(--paper); }
.button-primary { color: var(--paper); background: var(--navy); }
.button-primary:hover { background: #171642; }
.button-secondary { color: var(--navy); border-color: #b2b0bc; }
.button-secondary:hover { background: #f0eff4; border-color: var(--navy); }

.section { padding-block: clamp(2.7rem, 4.35vw, 4.1rem); }
.section h2, .feature-copy h2, .closing h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.85rem);
  font-weight: 650;
  letter-spacing: -.04em;
}
.category-grid, .product-grid {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.card a { display: block; text-decoration: none; }
.card h3 { font-size: clamp(1.04rem, 1.43vw, 1.25rem); margin-top: .8rem; font-weight: 650; }
.card a:hover h3, .product-grid a:hover h2 { color: var(--navy); text-decoration: underline; text-underline-offset: .24em; }
.card-media { aspect-ratio: 5 / 4; overflow: hidden; background: var(--warm); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card a:hover img { transform: scale(1.04); }
.company-band { background: var(--warm); padding-block: clamp(2rem, 4.25vw, 3.8rem); }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: center;
}
.feature > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--warm); }
.feature-copy p { max-width: 28rem; margin-top: .7rem; color: var(--muted); font-size: 1.08rem; }
.feature-copy .button { margin-top: 1.3rem; }
.closing {
  padding-block: clamp(2.5rem, 5.2vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem 2rem;
}
.closing h2 { font-size: clamp(1.55rem, 2.5vw, 2.3rem); }
.closing p { margin-top: .5rem; color: var(--muted); }
.closing .button { flex-shrink: 0; }

.page { padding-block: clamp(2.6rem, 6vw, 5.25rem); }
.page-heading h1 { font-size: clamp(2.3rem, 5.3vw, 4.6rem); letter-spacing: -.05em; overflow-wrap: anywhere; font-weight: 650; }
.page-heading p { max-width: 39rem; font-size: clamp(1.04rem, 1.6vw, 1.2rem); color: var(--muted); margin-top: .9rem; }
.page-heading > .button { margin-top: 1.55rem; }
.breadcrumb { margin-bottom: 1.4rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.breadcrumb li + li::before { content: "/"; color: #777782; margin-inline: .65rem; }
.breadcrumb a { text-underline-offset: .19em; }
.category-feature { background: var(--warm); gap: 0; }
.category-feature .page-heading { padding: clamp(1.25rem, 4vw, 3.5rem); }
.category-feature > img { height: 100%; min-height: 14rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; margin-top: 2rem; }
.product-grid li { border-bottom: 1px solid var(--line); }
.product-grid a { display: block; height: 100%; padding-block: 1.25rem; text-decoration: none; }
.product-grid h2 { font-size: 1.15rem; font-weight: 650; text-wrap: pretty; }
.product-grid p { color: var(--muted); margin-top: .45rem; }
.detail { max-width: 52rem; }
.detail.has-media { max-width: none; display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: clamp(1.5rem, 5vw, 5rem); }
.detail-media { aspect-ratio: 4 / 3; background: var(--warm); overflow: hidden; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-media.pack img { object-fit: contain; padding: 1rem; mix-blend-mode: multiply; }
.specs { display: flex; flex-wrap: wrap; gap: .9rem 2.1rem; margin: 1.35rem 0 0; }
.specs dt, .contact-list dt { color: var(--muted); font-size: .9rem; }
.specs dd, .contact-list dd { margin: .12rem 0 0; font-weight: 600; }
.about-feature > img { aspect-ratio: 5 / 4; }

.documents { max-width: 56rem; margin-top: clamp(2.75rem, 5vw, 4.5rem); }
.documents h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 650; letter-spacing: -.035em; }
.documents > p { color: var(--muted); margin-top: .6rem; }
.document-list { list-style: none; padding: 0; margin: 1.3rem 0 0; border-top: 1px solid var(--line); }
.document-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding-block: .8rem;
  border-bottom: 1px solid var(--line);
}
.document-title { color: var(--navy); font-weight: 650; text-underline-offset: .23em; overflow-wrap: anywhere; }
.document-title:hover { text-decoration-thickness: 2px; }
.document-list p { margin-top: .2rem; font-size: .9rem; color: var(--muted); }
.document-download { min-height: 2.6rem; padding: .4rem .65rem; font-size: .9rem; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 1.5rem; margin-top: 2.25rem; }
.contact-card { background: var(--warm); border-top: 2px solid var(--navy); padding: clamp(1.3rem, 3vw, 2.3rem); }
.contact-card h2 { font-size: 1.35rem; margin-bottom: .85rem; }
.contact-card section + section { border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1.2rem; }
.contact-card address { font-style: normal; }
.contact-card .button { margin-top: 1.15rem; }
.contact-list { display: grid; gap: .8rem; margin: 0; }
.contact-list a { color: var(--navy); text-underline-offset: .2em; overflow-wrap: anywhere; }
.contact-map { display: block; width: 100%; height: 100%; min-height: 23rem; border: 0; background: var(--warm); }

.footer { background: #25243e; color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 1.2rem 2rem; align-items: start; padding-block: 2.4rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: .22em; }
.footer a:focus-visible { outline-color: #fff; }
.footer-company > a { font-weight: 700; font-size: 1.12rem; }
.footer p { margin-top: .3rem; font-size: .875rem; color: #e1dfed; }
.footer-links { display: grid; gap: .35rem; }
.footer-links a { width: fit-content; overflow-wrap: anywhere; }

@media (max-width: 54rem) {
  .container { width: calc(100% - 3rem); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.25rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .container { width: calc(100% - 2rem); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 0; gap: .5rem 1rem; padding-top: .58rem; }
  .header .brand img { width: 8.5rem; }
  .nav { grid-area: 2 / 1 / 3 / 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); gap: .5rem; }
  .nav a { padding-block: .63rem; font-size: .93rem; }
  .hero { min-height: clamp(25rem, 105vw, 30rem); align-items: end; }
  .hero-inner { padding-block: 3rem 1.9rem; }
  .hero-media img { object-position: 71% 50%; }
  .hero-media::after { background: linear-gradient(0deg, #140e09f2 0%, #140e09c7 24%, #140e0924 66%, transparent 86%); }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.3rem); text-wrap: initial; }
  .hero-copy { max-width: 28rem; }
  .hero .button { margin-top: 1.2rem; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .detail.has-media, .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 18rem; }
  .category-feature > img { height: auto; min-height: 0; max-height: 17rem; }
  .about-feature > img { aspect-ratio: 16 / 9; }
  .product-grid { grid-template-columns: 1fr; }
  .closing { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
