:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --white: #fffdf7;
  --ink: #251e19;
  --muted: #5d544b;
  --dark: #211d1a;
  --gold: #edc982;
  --line: #dcd2c4;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.45rem, 5vw, 4.05rem); letter-spacing: -.055em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #b07825; outline-offset: 4px; }
section[id] { scroll-margin-top: 1rem; }
.wrap { width: min(1280px, calc(100% - 104px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 1rem; top: 1rem; padding: .5rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.masthead { background: var(--dark); color: var(--white); border-bottom: 1px solid #524439; }
.masthead-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-size: .94rem; font-weight: 750; letter-spacing: .12em; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand-mark { color: var(--gold); font-size: 1.65rem; font-weight: 400; }
.brand small { color: #e3c892; font-size: .69rem; font-weight: 600; letter-spacing: .14em; }
nav { display: flex; justify-content: center; align-items: center; gap: clamp(.95rem, 3.1vw, 2.85rem); }
nav a, .nav-inquiry { font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
nav a:hover, .hero-text-link:hover { text-decoration: underline; }
.nav-inquiry { display: inline-flex; gap: .7rem; border: 1px solid #a38b65; color: #f6d596; padding: .58rem .8rem; }
.nav-inquiry:hover { background: #3d3327; }

.hero { position: relative; isolation: isolate; min-height: clamp(475px, 43vw, 650px); display: grid; place-items: center; overflow: hidden; color: var(--white); background: #1d1915; }
.hero-media { position: absolute; inset: 0 0 0 34%; z-index: -2; }
.hero-media img { height: 100%; object-fit: cover; object-position: 50% 53%; }
.hero::after { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg, #1d1915 26%, rgb(29 25 21 / 85%) 36%, rgb(29 25 21 / 25%) 62%, rgb(24 16 8 / 4%) 100%); }
.hero-inner { padding-block: 4rem 4.5rem; }
.hero-copy { max-width: 560px; }
.eyebrow { font-size: .72rem; font-weight: 720; letter-spacing: .135em; text-transform: uppercase; }
.hero .eyebrow { color: #efd49e; margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(4.6rem, 8.5vw, 8.8rem); letter-spacing: -.075em; line-height: .88; }
.hero-description { color: #f2e9db; font-size: clamp(1rem, 1.6vw, 1.23rem); max-width: 32ch; margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .72rem 1rem; border: 1px solid transparent; text-decoration: none; font-size: .87rem; font-weight: 720; }
.button-gold { color: #292017; background: var(--gold); }
.button-gold:hover { background: #f8db9e; }
.hero-text-link { font-size: .87rem; font-weight: 650; text-decoration: none; }

.collection { padding-top: 4rem; }
.outdoor { padding-bottom: 4.8rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.55rem; }
.section-heading p { color: var(--muted); margin-top: .65rem; }
.text-link { display: inline-flex; align-items: baseline; justify-content: flex-start; gap: .5rem; padding: 0; border: 0; background: none; font-weight: 700; text-decoration: underline; font-size: .86rem; }
.text-link:hover, .product-link:hover { color: #794b16; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.55rem); }
.product { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); }
.product-image { display: block; overflow: hidden; aspect-ratio: 1.33; background: #2a211a; }
.product-image img { height: 100%; object-fit: cover; transition: transform .25s ease; }
.product-image:hover img { transform: scale(1.04); }
.product-image:has(img[src*="acrylic-night"]) img { object-fit: contain; background: #34251f; }
.product-image:has(img[src*="door-net"]) img { object-fit: contain; background: #252322; }
.product-body { flex: 1; display: flex; flex-direction: column; padding: clamp(.8rem, 1.55vw, 1.22rem); }
.model { color: #795628; font-size: .72rem; letter-spacing: .055em; font-weight: 750; overflow-wrap: anywhere; }
.product h3 { margin-top: .35rem; font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.73rem); letter-spacing: -.035em; }
.product-description { color: var(--muted); font-size: .87rem; margin: .62rem 0 .85rem; }
.product-link { display: flex; align-items: center; justify-content: space-between; gap: .35rem; margin-top: auto; padding-top: .65rem; border-top: 1px solid var(--line); text-decoration: none; font-size: .82rem; font-weight: 740; }

.factory { background: #eae2d4; padding-block: 4.3rem; }
.factory-intro { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(1.5rem, 4.5vw, 5rem); }
.factory .eyebrow { color: #684b30; margin-bottom: .6rem; }
.factory-copy > p:not(.eyebrow) { color: var(--muted); margin-top: .9rem; max-width: 46ch; }
.factory-stats { display: flex; gap: clamp(1.35rem, 4vw, 3.25rem); margin: 1.4rem 0 1.15rem; }
.factory-stats > div { display: flex; flex-direction: column-reverse; }
.factory-stats dd { font: 400 clamp(1.9rem, 3vw, 2.55rem)/1.1 var(--serif); letter-spacing: -.04em; }
.factory-stats dt { color: var(--muted); font-size: .83rem; margin-top: .25rem; }
.factory figure img { object-fit: cover; }
.factory-lead img { aspect-ratio: 1.75; }
.factory figcaption { margin-top: .37rem; font-size: .78rem; color: var(--muted); }
.factory-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.factory-gallery img { aspect-ratio: 1.9; }
.oem { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; border-top: 1px solid #cbbca7; margin-top: 2rem; padding-top: 1.35rem; }
.oem h3 { font-size: 1rem; }
.oem p { color: var(--muted); font-size: .9rem; max-width: 48ch; margin-top: .5rem; }

.catalogue { padding-block: 4.3rem; }
.catalogue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.catalogue-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-width: 0; padding: 1.05rem; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.catalogue-card:hover { border-color: #98703a; }
.catalogue-card strong { display: block; font: 600 clamp(1.12rem, 1.65vw, 1.5rem)/1.15 var(--serif); }
.catalogue-card div > span { display: block; margin-top: .3rem; font-size: .8rem; color: var(--muted); }
.download { color: #795628; font-size: 1.3rem; }

.inquiry { background: #29221c; color: var(--white); padding-block: 4.4rem; }
.inquiry-inner { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem, 5.7vw, 6rem); }
.inquiry h2 + p { color: #f0e5d7; margin-top: 1rem; max-width: 32ch; }
.mode-note { color: #ddc9ac; font-size: .86rem; margin-top: .9rem; max-width: 34ch; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1rem; }
form label { display: block; font-size: .85rem; font-weight: 660; min-width: 0; }
form input, form textarea { width: 100%; display: block; margin-top: .23rem; padding: .55rem .65rem; color: var(--white); background: #3a3027; border: 1px solid #857460; border-radius: 0; font-size: .92rem; font-weight: 400; }
form input::placeholder, form textarea::placeholder { color: #d5c5b6; }
form textarea { resize: vertical; }
.full-width { grid-column: 1 / -1; }
.draft { margin-top: 1rem; }
.draft-actions { display: flex; gap: 1rem; margin-top: .4rem; }
.inquiry .text-link, .form-status { color: var(--gold); }
.form-status { margin-top: .55rem; font-size: .82rem; }
.form-status:empty { margin: 0; }
footer { background: var(--dark); color: #e9ddcc; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.55rem; font-size: .8rem; }
footer .text-link:hover { color: var(--gold); }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
}
@media (max-width: 790px) {
  .nav-inquiry { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-media { inset-inline-start: 22%; }
  .hero::after { background: linear-gradient(90deg, #1d1915 10%, rgb(29 25 21 / 82%) 36%, rgb(29 25 21 / 30%) 78%); }
}
@media (max-width: 590px) {
  .wrap { width: calc(100% - 36px); }
  .masthead-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: .8rem; gap: .65rem; }
  nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: .35rem .92rem; }
  nav a { font-size: .78rem; }
  .hero { min-height: 460px; place-items: end center; }
  .hero-media { inset: 0; }
  .hero-media img { object-position: 53% 38%; }
  .hero::after { background: linear-gradient(0deg, #1d1915 5%, rgb(29 25 21 / 90%) 24%, rgb(29 25 21 / 48%) 73%, rgb(29 25 21 / 18%) 100%); }
  .hero-inner { padding-block: 3rem 2.1rem; }
  .hero h1 { font-size: clamp(3.65rem, 15vw, 5.1rem); }
  .hero .eyebrow { font-size: .64rem; margin-bottom: .8rem; }
  .hero-description { margin-top: 1rem; }
  .hero-actions { gap: .7rem 1rem; margin-top: 1.2rem; }
  .collection { padding-top: 2.7rem; }
  .outdoor { padding-bottom: 2.9rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .55rem; margin-bottom: 1rem; }
  .product h3 { font-size: 1.22rem; }
  .product-description, .product-link { font-size: .79rem; }
  .factory, .catalogue, .inquiry { padding-block: 2.7rem; }
  .factory-intro, .oem, .inquiry-inner, .catalogue-grid { grid-template-columns: 1fr; }
  .factory-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factory-gallery img { aspect-ratio: 1.55; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 355px) {
  .product-grid, .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
