:root {
  --red: #b5122b;
  --red-dark: #8d0d20;
  --ink: #171514;
  --muted: #6f6a66;
  --paper: #fbfaf8;
  --line: #e8e2dc;
  --cream: #f3eee8;
  --white: #fff;
  --shadow: 0 18px 50px rgba(46, 31, 22, .12);
  --radius: 24px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; background: #fff; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; transition: background .25s ease, box-shadow .25s ease; color: #fff; }
.site-header.scrolled { background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 8px 25px rgba(29,20,16,.08); backdrop-filter: blur(14px); }
.header-inner { width: min(calc(100% - 48px), var(--max)); height: 86px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 188px; height: auto; }
.brand span { color: currentColor; font-size: .74rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; opacity: .72; padding-left: 12px; border-left: 1px solid currentColor; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: .92rem; font-weight: 650; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; height: 2px; inset: auto 100% -7px 0; background: var(--red); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-cta { padding: 12px 20px; border-radius: 999px; background: var(--red); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 9px; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; background: currentColor; margin: 5px 0; }

.hero { position: relative; min-height: 760px; height: 92vh; display: flex; align-items: center; overflow: hidden; color: #fff; background: #30241f; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(23,15,13,.88) 0%, rgba(23,15,13,.60) 42%, rgba(23,15,13,.10) 72%), linear-gradient(0deg, rgba(20,13,11,.54), transparent 42%); }
.hero-content { position: relative; z-index: 2; width: min(calc(100% - 48px), var(--max)); margin: 50px auto 0; padding-right: 48%; }
.eyebrow { margin: 0 0 16px; font-size: .78rem; line-height: 1.3; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow.red { color: var(--red); }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: .98; letter-spacing: -.035em; }
h1 { max-width: 760px; font-size: clamp(3.25rem, 6.4vw, 6.5rem); }
h2 { font-size: clamp(2.5rem, 4.8vw, 4.8rem); }
.hero-copy { max-width: 620px; margin: 28px 0 0; font-size: 1.13rem; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border-radius: 999px; text-decoration: none; font-weight: 760; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 12px 26px rgba(181,18,43,.28); }
.button-primary:hover { background: var(--red-dark); }
.button-quiet { color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.hero-proof { position: absolute; z-index: 3; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 34px; display: flex; padding: 20px 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(20,13,11,.42); backdrop-filter: blur(14px); }
.hero-proof div { min-width: 150px; padding: 0 22px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-proof div:last-child { border: 0; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.hero-proof span { color: rgba(255,255,255,.68); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 80px; margin-bottom: 42px; }
.section-heading p:last-child { margin: 0 0 8px; color: var(--muted); font-size: 1.05rem; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; color: var(--muted); background: transparent; font-weight: 700; cursor: pointer; }
.filter.active, .filter:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; text-align: left; color: inherit; background: #fff; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.product-card:hover, .product-card:focus-visible { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow); }
.product-card[hidden] { display: none; }
.product-card.featured { grid-column: span 2; }
.product-image { display: block; height: 230px; padding: 18px; background: #f4f1ed; overflow: hidden; }
.featured .product-image { height: 310px; }
.product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-copy { display: grid; min-height: 152px; padding: 20px; align-content: start; }
.product-copy > span { color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.product-copy strong { margin-top: 6px; font-family: Georgia, serif; font-size: 1.38rem; font-weight: 500; line-height: 1.15; }
.product-copy em { align-self: end; margin-top: 20px; color: var(--muted); font-size: .83rem; font-style: normal; font-weight: 700; }

.standards { width: 100%; padding: 0; background: var(--red); color: #fff; }
.standards-panel { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 94px 0; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 80px; }
.standards-copy p:not(.eyebrow) { max-width: 600px; color: rgba(255,255,255,.78); }
.text-link { display: inline-block; margin-top: 16px; font-weight: 800; text-underline-offset: 5px; }
.standard-marks { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); overflow: hidden; }
.standard-marks span { min-height: 160px; padding: 32px; display: flex; flex-direction: column; justify-content: center; font-family: Georgia, serif; font-size: 2.4rem; border-right: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.standard-marks span:nth-child(2n) { border-right: 0; }
.standard-marks span:nth-last-child(-n+2) { border-bottom: 0; }
.standard-marks small { margin-top: 2px; font-family: Inter, sans-serif; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }

.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 84px; align-items: center; }
.about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 14px; }
.about-gallery .gallery-main { grid-column: 1 / -1; height: 420px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
blockquote { margin: 30px 0; padding: 22px 0 22px 24px; border-left: 3px solid var(--red); font-family: Georgia, serif; font-size: 1.32rem; line-height: 1.4; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.about-facts div { padding-top: 16px; border-top: 1px solid var(--line); }
.about-facts dt { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.about-facts dd { margin: 4px 0 0; font-weight: 800; }

.contact { width: 100%; max-width: none; margin: 0; padding: 104px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; color: #fff; background: #201b19; }
.contact > div:first-child p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.66); }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { min-width: 0; padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.contact-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); }
.contact-card span, .contact-card strong, .contact-card em { display: block; }
.contact-card span { color: rgba(255,255,255,.54); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-card strong { margin-top: 18px; overflow-wrap: anywhere; font-family: Georgia, serif; font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 500; }
.contact-card em { margin-top: 26px; color: rgba(255,255,255,.66); font-size: .84rem; font-style: normal; font-weight: 700; }

.site-footer { padding: 44px max(24px, calc((100vw - var(--max)) / 2)); background: #171311; color: #fff; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.footer-top { padding-bottom: 34px; }
.footer-brand img { width: 170px; }
.social-links { display: flex; flex-wrap: wrap; gap: 20px; }
.social-links a { color: rgba(255,255,255,.75); font-size: .84rem; text-decoration: none; }
.social-links a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.48); font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }

.product-dialog { width: min(920px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 34px; border: 0; border-radius: 24px; background: var(--paper); box-shadow: 0 40px 120px rgba(0,0,0,.35); }
.product-dialog::backdrop { background: rgba(18,12,10,.72); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 20px; top: 18px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.dialog-heading { padding-right: 56px; }
.dialog-heading h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.dialog-heading > p:last-child { color: var(--muted); }
.dialog-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0; }
.dialog-gallery figure { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.dialog-gallery img { width: 100%; height: 220px; object-fit: contain; }
.dialog-gallery figcaption { margin-top: 10px; color: var(--muted); font-size: .78rem; text-align: center; }

@media (max-width: 980px) {
  .site-header { color: var(--ink); background: rgba(255,255,255,.96); }
  .header-inner { height: 74px; }
  .nav-toggle { display: block; color: inherit; cursor: pointer; }
  .site-nav { position: absolute; top: 74px; left: 18px; right: 18px; display: none; align-items: stretch; gap: 0; padding: 12px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 13px 15px; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .hero { min-height: 720px; height: auto; padding: 160px 0 230px; }
  .hero-content { padding-right: 18%; margin-top: 0; }
  .hero-proof { left: 24px; right: 24px; justify-content: center; }
  .section-heading, .standards-panel, .about, .contact { grid-template-columns: 1fr; gap: 44px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-card.featured { grid-column: span 2; }
  .standards-panel { padding: 80px 0; }
  .about-copy { order: -1; }
}

@media (max-width: 700px) {
  .header-inner, .hero-content, .section, .standards-panel { width: min(calc(100% - 32px), var(--max)); }
  .brand img { width: 150px; }
  .brand span { display: none; }
  .hero { min-height: 760px; padding: 135px 0 250px; }
  .hero-image { object-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(20,13,11,.9), rgba(20,13,11,.35)), linear-gradient(0deg, rgba(20,13,11,.65), transparent); }
  .hero-content { padding-right: 0; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.7rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); bottom: 22px; padding: 15px 4px; }
  .hero-proof div { min-width: 0; padding: 0 10px; }
  .hero-proof strong { font-size: 1.25rem; }
  .hero-proof span { font-size: .58rem; }
  .section { padding: 82px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card.featured { grid-column: span 2; }
  .product-image, .featured .product-image { height: 180px; padding: 12px; }
  .featured .product-image { height: 245px; }
  .product-copy { min-height: 135px; padding: 15px; }
  .product-copy strong { font-size: 1.1rem; }
  .product-copy em { margin-top: 14px; font-size: .75rem; }
  .standard-marks span { min-height: 130px; padding: 22px; font-size: 2rem; }
  .about-gallery .gallery-main { height: 300px; }
  .about-gallery img { height: 160px; }
  .about-facts { grid-template-columns: 1fr; }
  .contact { padding-top: 78px; padding-bottom: 78px; }
  .contact-actions { grid-template-columns: 1fr; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .dialog-gallery { grid-template-columns: 1fr; }
  .dialog-gallery img { height: 260px; }
  .product-dialog { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
