:root {
    --paper: #fffaf4;
    --white: #ffffff;
    --ink: #352721;
    --muted: #796a61;
    --accent: #6f2638;
    --accent-soft: #a75f55;
    --mist: #edf2f0;
    --sand: #e8ded2;
    --line: #dfd0c3;
    --content: 1440px;
    --gutter: clamp(24px, 6.9vw, 110px);
    --header-height: 76px;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--sans);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
::selection { color: var(--white); background: var(--accent); }

.screen-reader-text {
    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;
    top: 10px;
    left: 10px;
    z-index: 10000;
    padding: 12px 16px;
    color: var(--white);
    background: var(--accent);
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 4px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 250, 244, .95);
    border-bottom: 1px solid rgba(223, 208, 195, .75);
    transition: box-shadow .25s ease, background .25s ease;
    backdrop-filter: blur(12px);
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { background: rgba(255, 250, 244, .985); box-shadow: 0 8px 28px rgba(53, 39, 33, .05); }
.site-header__inner {
    width: min(100%, var(--content));
    height: 100%;
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    gap: 34px;
}
.site-logo { display: block; width: 138px; line-height: 0; }
.site-logo img { width: 100%; height: auto; }
.site-nav { justify-self: center; }
.site-nav__list {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 50px);
    list-style: none;
}
.site-nav__list a {
    position: relative;
    padding: 29px 0 27px;
    color: #463933;
    font-size: 12px;
    font-weight: 540;
    white-space: nowrap;
}
.site-nav__list a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}
.site-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-header__actions { display: flex; align-items: center; gap: 20px; }
.site-search { display: grid; place-items: center; }
.site-search svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.site-header__quote {
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--accent);
    font-size: 11px;
    font-weight: 620;
    transition: background .2s ease, transform .2s ease;
}
.site-header__quote:hover { background: #5d1d2e; transform: translateY(-1px); }
.menu-toggle { display: none; width: 34px; height: 34px; padding: 7px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span:not(.screen-reader-text) { display: block; height: 1px; margin: 4px 0; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { position: fixed; top: var(--header-height); right: 0; left: 0; z-index: 1001; width: 100%; height: calc(100dvh - var(--header-height)); padding: 40px var(--gutter); overflow-y: auto; background: var(--paper); }
.mobile-menu[hidden] { display: none; }
.mobile-menu .site-nav__list { display: grid; gap: 0; }
.mobile-menu .site-nav__list a { display: block; padding: 17px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 28px; }
.mobile-menu .site-nav__list a::after { display: none; }
.mobile-menu .button { width: 100%; margin-top: 34px; }

.section-kicker {
    margin: 0 0 22px;
    color: var(--accent);
    font-size: 9px;
    font-weight: 680;
    line-height: 1.4;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.section-kicker--light { color: rgba(255, 255, 255, .72); }
.button {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 620;
    line-height: 1;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--white); background: var(--accent); }
.button--primary:hover { background: #5d1d2e; }
.button--outline { color: var(--ink); border-color: var(--accent); background: transparent; }
.button--outline:hover { color: var(--white); background: var(--accent); }
.button--light { color: var(--ink); background: var(--white); }
.button--ghost { color: var(--white); border-color: rgba(255, 255, 255, .48); }
.button--ghost:hover { color: var(--accent); background: var(--white); }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.text-link { display: inline-block; font-size: 11px; font-weight: 650; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.home-hero {
    min-height: calc(100svh - var(--header-height));
    display: grid;
    grid-template-columns: 43% 57%;
    overflow: hidden;
    background: var(--paper);
}
.home-hero__copy {
    position: relative;
    z-index: 3;
    padding: clamp(72px, 10vh, 130px) 2vw clamp(66px, 9vh, 118px) var(--gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.home-hero h1 {
    max-width: 650px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(58px, 5.75vw, 90px);
    font-weight: 400;
    line-height: .92;
    letter-spacing: -.055em;
}
.home-hero h1 em { color: var(--accent-soft); font-weight: 400; }
.home-hero__intro { max-width: 470px; margin: 32px 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.home-hero__visual {
    position: relative;
    left: -8.5vw;
    width: calc(100% + 8.5vw);
    min-width: 0;
    overflow: hidden;
    background: var(--sand);
    clip-path: ellipse(100% 78% at 100% 50%);
}
.home-hero__visual::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 0;
    width: 23%;
    pointer-events: none;
    background: linear-gradient(90deg, var(--paper) 0%, rgba(255, 250, 244, .88) 24%, rgba(255, 250, 244, .38) 62%, transparent 100%);
}
.home-hero__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.has-js .hero-enter { opacity: 0; transform: translateY(16px); animation: hero-in .7s cubic-bezier(.2, .7, .25, 1) forwards; }
.has-js .hero-enter--one { animation-delay: .08s; }
.has-js .hero-enter--two { animation-delay: .16s; }
.has-js .hero-enter--three { animation-delay: .26s; }
.has-js .hero-enter--four { animation-delay: .34s; }
@keyframes hero-in { to { opacity: 1; transform: translateY(0); } }

.proof-strip {
    width: min(100%, var(--content));
    margin-inline: auto;
    padding: 30px var(--gutter);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    border-bottom: 1px solid var(--line);
}
.proof-strip strong { display: block; font-size: 11px; font-weight: 650; }
.proof-strip span { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; line-height: 1.5; }

.home-section { padding: clamp(88px, 9vw, 130px) var(--gutter); }
.section-heading { max-width: 730px; margin-bottom: clamp(44px, 5vw, 70px); }
.section-heading h2, .quality-section h2 {
    margin: 0 0 22px;
    font-family: var(--sans);
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 510;
    line-height: 1.04;
    letter-spacing: -.045em;
}
.section-heading > p:last-child { max-width: 590px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.system-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.system-media { height: clamp(380px, 34vw, 530px); padding: 38px; overflow: hidden; background: var(--mist); }
.system-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .55s cubic-bezier(.2, .7, .25, 1); }
.system-link:hover .system-media img { transform: scale(1.025); }
.system-link h3 { margin: 28px 0 12px; font-size: clamp(26px, 2.3vw, 34px); font-weight: 510; line-height: 1.1; letter-spacing: -.035em; }
.system-link p { max-width: 530px; margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.system-link > span { font-size: 11px; font-weight: 650; }

.selected-products { background: #fbfaf7; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-media { aspect-ratio: 1.15 / 1; overflow: hidden; background: var(--mist); }
.product-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) brightness(1.03); transition: transform .5s cubic-bezier(.2, .7, .25, 1); }
.product-link:hover .product-media img { transform: scale(1.025); }
.product-link small { display: block; margin-top: 19px; color: var(--muted); font-size: 10px; }
.product-link h3 { margin: 8px 0; font-size: 18px; font-weight: 570; line-height: 1.3; }
.product-link p { margin: 0; color: var(--muted); font-size: 10px; }
.selected-products > .text-link { margin-top: 48px; }

.oem-section { display: grid; grid-template-columns: 1fr 1fr; }
.oem-section__copy { padding: clamp(92px, 9vw, 132px) var(--gutter); }
.oem-section h2 { margin: 0 0 26px; font-size: clamp(42px, 4vw, 58px); font-weight: 510; line-height: 1.04; letter-spacing: -.045em; }
.oem-section__copy > p { max-width: 530px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.oem-section dl { margin: 45px 0; border-top: 1px solid var(--line); }
.oem-section dl div { padding: 20px 0; display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); font-size: 12px; }
.oem-section dt { font-weight: 650; }
.oem-section dd { margin: 0; color: var(--muted); text-align: right; }
.oem-section__media { min-height: 760px; padding: 70px; display: grid; place-items: center; background: var(--mist); }
.oem-section__media img { max-height: 610px; object-fit: contain; filter: drop-shadow(0 32px 38px rgba(39, 78, 96, .12)); }

.manufacturing-section { position: relative; min-height: 760px; overflow: hidden; color: var(--white); background: #173a49; }
.manufacturing-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.manufacturing-section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 58, 73, .9) 0%, rgba(23, 58, 73, .65) 42%, rgba(23, 58, 73, .12) 78%); }
.manufacturing-section__content { position: relative; z-index: 2; max-width: 650px; padding: 140px var(--gutter); }
.manufacturing-section h2 { margin: 0 0 27px; font-size: clamp(44px, 4.2vw, 62px); font-weight: 510; line-height: 1.03; letter-spacing: -.045em; }
.manufacturing-section p:not(.section-kicker) { max-width: 510px; color: #d6e2e5; font-size: 13px; line-height: 1.75; }
.manufacturing-section .button { margin-top: 28px; }
.manufacturing-section > small { position: absolute; right: 22px; bottom: 18px; z-index: 3; padding: 8px 10px; color: var(--ink); background: rgba(255, 255, 255, .88); font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }

.quality-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; }
.quality-list { border-top: 1px solid var(--line); }
.quality-list article { padding: 27px 0; border-bottom: 1px solid var(--line); }
.quality-list h3 { margin: 0 0 8px; font-size: 20px; font-weight: 570; }
.quality-list p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.quality-list .text-link { padding-top: 27px; }

.final-cta { padding: clamp(88px, 8vw, 118px) var(--gutter); display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; color: var(--white); background: var(--accent); }
.final-cta h2 { max-width: 780px; margin: 0 0 20px; font-size: clamp(43px, 4vw, 58px); font-weight: 510; line-height: 1.04; letter-spacing: -.045em; }
.final-cta p:not(.section-kicker) { max-width: 580px; margin: 0; color: rgba(255, 255, 255, .7); font-size: 12px; line-height: 1.75; }

.has-js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .75s cubic-bezier(.2, .7, .25, 1); }
.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); }

.site-footer { color: var(--white); background: var(--accent); }
.site-footer__main { width: min(100%, var(--content)); margin-inline: auto; padding: clamp(72px, 8vw, 112px) var(--gutter); display: grid; grid-template-columns: 1.25fr 2fr 1fr; gap: clamp(54px, 7vw, 110px); }
.site-footer__logo { width: 126px; padding: 8px 10px; display: block; background: var(--white); line-height: 0; }
.site-footer__logo img { width: 100%; height: auto; }
.site-footer__brand p, .site-footer__contact p { max-width: 330px; margin: 28px 0 0; color: rgba(255, 255, 255, .72); font-size: 13px; line-height: 1.7; }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 34px; }
.site-footer__nav div { display: grid; align-content: start; gap: 12px; }
.site-footer__nav h2 { margin: 0 0 10px; font-size: 11px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; }
.site-footer__nav a, .site-footer__bottom a { color: rgba(255, 255, 255, .72); font-size: 12px; line-height: 1.5; }
.site-footer__nav a:hover, .site-footer__bottom a:hover { color: var(--white); }
.site-footer__contact { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .22); }
.site-footer__contact p { margin-top: 0; }
.site-footer__contact > a { display: inline-block; margin-top: 28px; padding-bottom: 7px; border-bottom: 1px solid rgba(255, 255, 255, .65); font-size: 12px; }
.site-footer__bottom { width: min(100%, var(--content)); min-height: 64px; margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: rgba(255, 255, 255, .54); border-top: 1px solid rgba(255, 255, 255, .17); font-size: 10px; }
.site-footer__bottom > span:nth-child(2) { text-align: center; }
.site-footer__bottom > div { justify-self: end; display: flex; gap: 18px; }

.page-shell, .content-shell, .error-page { min-height: 65vh; padding: clamp(78px, 9vw, 140px) var(--gutter); }
.page-hero { max-width: 940px; padding-bottom: clamp(48px, 7vw, 92px); }
.page-hero h1, .error-page h1 { margin: 0; font-family: var(--serif); font-size: clamp(54px, 7vw, 104px); font-weight: 400; line-height: .95; letter-spacing: -.055em; }
.page-content { max-width: 860px; color: var(--muted); line-height: 1.8; }
.page-content h2, .page-content h3 { color: var(--ink); }
.content-entry { max-width: 860px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.content-entry h1 { margin: 0 0 15px; font-size: 42px; font-weight: 520; letter-spacing: -.035em; }
.content-entry__body, .error-page > p { max-width: 650px; color: var(--muted); line-height: 1.75; }
.error-page .hero-actions { margin-top: 34px; }

@media (max-width: 1120px) {
    .site-header__inner { grid-template-columns: 150px 1fr auto; gap: 20px; }
    .site-nav__list { gap: 20px; }
    .site-header__quote { padding-inline: 16px; }
}

@media (max-width: 920px) {
    :root { --header-height: 68px; }
    .admin-bar .site-header { top: 46px; }
    .site-header__inner { grid-template-columns: 1fr auto; }
    .site-nav, .site-search, .site-header__quote { display: none; }
    .site-header__actions { gap: 0; }
    .menu-toggle { display: block; }
    .site-logo { width: 124px; }

    .home-hero { min-height: auto; grid-template-columns: 1fr; }
    .home-hero__copy { min-height: 520px; padding: 68px var(--gutter) 52px; }
    .home-hero h1 { font-size: clamp(52px, 11vw, 76px); }
    .home-hero__visual { left: 0; width: 100%; min-height: min(76vw, 690px); clip-path: none; background: #ead7c5; }
    .home-hero__visual::after { inset: 0 0 auto; width: 100%; height: 14%; background: linear-gradient(180deg, var(--paper), transparent); }
    .home-hero__visual img { object-fit: cover; object-position: center; }

    .system-grid, .product-grid { grid-template-columns: 1fr; gap: 56px; }
    .system-media { height: min(72vw, 520px); }
    .product-media { aspect-ratio: 1.2 / 1; }
    .oem-section { grid-template-columns: 1fr; }
    .oem-section__media { min-height: 560px; }
    .quality-section { grid-template-columns: 1fr; gap: 48px; }
    .final-cta { grid-template-columns: 1fr; gap: 42px; }
    .site-footer__main { grid-template-columns: 1fr; }
    .site-footer__contact { padding: 30px 0 0; border-top: 1px solid rgba(255, 255, 255, .22); border-left: 0; }
}

@media (max-width: 600px) {
    :root { --gutter: 24px; }
    .admin-bar .site-header { top: 0; }
    .home-hero__copy { min-height: 500px; padding-top: 58px; }
    .home-hero h1 { font-size: clamp(47px, 14vw, 62px); line-height: .94; }
    .home-hero__intro { margin: 25px 0; font-size: 12px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .home-hero__visual { min-height: 100vw; }
    .proof-strip { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
    .home-section { padding-block: 76px; }
    .section-heading h2, .quality-section h2 { font-size: 36px; }
    .system-media { height: 82vw; padding: 24px; }
    .oem-section__copy { padding-block: 76px; }
    .oem-section h2 { font-size: 38px; }
    .oem-section dl div { display: grid; gap: 6px; }
    .oem-section dd { text-align: left; }
    .oem-section__media { min-height: 430px; padding: 34px; }
    .manufacturing-section { min-height: 680px; }
    .manufacturing-section__content { padding-block: 92px; }
    .manufacturing-section h2 { font-size: 40px; }
    .manufacturing-section::after { background: linear-gradient(90deg, rgba(23, 58, 73, .91), rgba(23, 58, 73, .48)); }
    .manufacturing-section > small { right: 12px; bottom: 12px; }
    .final-cta h2 { font-size: 38px; }
    .site-footer__nav { grid-template-columns: 1fr 1fr; row-gap: 42px; }
    .site-footer__bottom { padding-block: 22px; grid-template-columns: 1fr; gap: 9px; }
    .site-footer__bottom > span:nth-child(2) { text-align: left; }
    .site-footer__bottom > div { justify-self: start; }
    .page-hero h1, .error-page h1 { font-size: 54px; }
}

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