:root {
    --ink: #11233b;
    --navy: #0b3970;
    --navy-deep: #071f3f;
    --blue: #126fe8;
    --sky: #199edf;
    --green: #15b986;
    --muted: #586f84;
    --pale: #eff7fb;
    --paper: #fff;
    --line: rgba(17, 35, 59, .14);
    --shadow: 0 25px 70px rgba(11, 57, 112, .11);
    --sans: "DM Sans", Arial, sans-serif;
    --display: "Manrope", Arial, sans-serif;
    --serif: "Playfair Display", Georgia, serif;
    --container: 1800px;
    --header-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.04em; line-height: 1.08; }
h1 { font-size: clamp(3.2rem, 6.8vw, 7.5rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 4.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); }
::selection { color: #fff; background: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: clamp(85px, 10vw, 145px) 0; }
.section-pale { background: var(--pale); }
.eyebrow { margin-bottom: 22px; color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow-light { color: #8adcc2; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.35rem); }
.muted { color: var(--muted); }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; padding: 9px 15px; color: #fff; background: var(--navy); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 18px; padding: 0 25px; border: 1px solid transparent; border-radius: 2px; font-size: .82rem; font-weight: 700; transition: .25s; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: #0757bd; }
.button-dark { color: #fff; background: var(--navy); }
.button-dark:hover { background: var(--navy-deep); }
.button-light { color: var(--navy); background: #fff; }
.button-outline { color: var(--ink); border-color: var(--line); background: transparent; }
.button-outline:hover { border-color: var(--blue); color: var(--blue); }
.button-full { width: 100%; }
.text-link { display: inline-flex; gap: 10px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: .83rem; font-weight: 700; }
.empty-state { padding: 65px 30px; border: 1px solid var(--line); background: var(--pale); text-align: center; }

/* Header */
.store-header { position: relative; z-index: 1000; height: var(--header-height); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); }
.store-header.is-sticky { position: fixed; inset: 0 0 auto; height: 72px; box-shadow: 0 10px 35px rgba(11,57,112,.07); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.store-brand { display: flex; gap: 15px; align-items: center; }
.store-logo-crop { position: relative; display: block; width: 124px; height: 38px; overflow: hidden; flex: 0 0 auto; }
.store-logo-crop img { position: absolute; top: 50%; left: 50%; width: 170px; max-width: none; transform: translate(-50%,-50%); }
.store-brand-label { display: grid; padding-left: 15px; border-left: 1px solid var(--line); line-height: 1.2; }
.store-brand-label strong { font-family: var(--display); font-size: .76rem; letter-spacing: .02em; }
.store-brand-label small { margin-top: 4px; color: var(--muted); font-size: .53rem; letter-spacing: .08em; text-transform: uppercase; }
.store-nav { display: flex; gap: 36px; align-items: center; }
.store-nav ul { display: flex; gap: clamp(18px,2.2vw,34px); margin: 0; padding: 0; list-style: none; }
.store-nav ul a { position: relative; font-size: .78rem; font-weight: 600; }
.store-nav ul a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; content: ""; background: var(--blue); transform: scaleX(0); transition: .2s; }
.store-nav ul a:hover::after, .store-nav ul a.active::after { transform: scaleX(1); }
.cart-link { display: flex; gap: 10px; align-items: center; padding: 11px 16px; color: #fff; background: var(--navy); font-size: .75rem; font-weight: 700; }
.cart-link span { display: grid; width: 20px; aspect-ratio: 1; place-items: center; border-radius: 50%; color: var(--navy); background: #fff; font-size: .62rem; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: .2s; }

/* Hero */
.store-hero { position: relative; min-height: calc(100vh - var(--header-height)); display: grid; align-items: center; padding: clamp(75px,9vw,130px) 0; overflow: hidden; background: linear-gradient(135deg,#fff 61%,#dceef7 61%); }
.store-hero::before { position: absolute; width: 720px; height: 720px; right: -260px; top: -380px; content: ""; border: 1px solid rgba(18,111,232,.2); border-radius: 50%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(60px,9vw,150px); align-items: center; }
.hero-copy { max-width: 920px; }
.hero-copy h1 { margin-bottom: 28px; }
.hero-copy h1 em { color: var(--blue); font-family: var(--serif); font-weight: 500; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem,1.45vw,1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 35px; }
.hero-art { position: relative; min-height: 570px; overflow: hidden; color: #fff; background: linear-gradient(145deg,var(--navy),var(--blue) 58%,var(--green)); box-shadow: var(--shadow); }
.hero-art::before { position: absolute; inset: 0; content: ""; opacity: .13; background: repeating-linear-gradient(108deg,transparent 0 18px,#fff 19px,transparent 20px); }
.hero-art-ring { position: absolute; width: 480px; height: 480px; right: -80px; top: -120px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.hero-art-content { position: absolute; z-index: 2; right: 40px; bottom: 38px; left: 40px; }
.hero-art-content span { display: block; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.35); font-size: .67rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* Catalogue */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 52px; }
.section-heading h2 { max-width: 850px; margin-bottom: 0; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-visual { position: relative; display: grid; min-height: 300px; place-items: center; overflow: hidden; background: linear-gradient(145deg,#e9f5fb,#d9edf7); }
.product-visual::before, .product-visual::after { position: absolute; content: ""; border-radius: 50%; }
.product-visual::before { width: 270px; height: 270px; top: -120px; right: -90px; border: 1px solid rgba(18,111,232,.25); }
.product-visual::after { width: 150px; height: 150px; bottom: -70px; left: -50px; background: linear-gradient(145deg,rgba(18,111,232,.15),rgba(21,185,134,.2)); }
.blade-symbol { position: relative; z-index: 2; display: grid; width: 94px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(17,35,59,.22); border-radius: 50%; color: var(--navy); font-family: var(--serif); font-size: 2.2rem; }
.product-image { width: 100%; height: 300px; object-fit: contain; background: #fff; }
.product-card-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.product-meta { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 14px; color: var(--muted); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
.product-card h3 { margin-bottom: 22px; font-size: 1.25rem; }
.price { margin: auto 0 18px; color: var(--blue); font-weight: 700; }
.product-card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.icon-button { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--line); color: var(--navy); background: #fff; font-weight: 700; }

.page-hero { padding: clamp(80px,9vw,130px) 0 70px; background: var(--pale); }
.page-hero-grid { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.page-hero h1 { margin-bottom: 0; font-size: clamp(3rem,6vw,6.4rem); }
.page-hero p:last-child { max-width: 520px; margin-bottom: 12px; color: var(--muted); }
.catalogue-toolbar { display: grid; grid-template-columns: 1fr 260px; gap: 16px; margin-bottom: 35px; }
.search-field { position: relative; }
.search-field input, .filter-select, .field input, .field select, .field textarea { width: 100%; min-height: 52px; border: 1px solid var(--line); border-radius: 0; padding: 13px 16px; color: var(--ink); background: #fff; outline: none; }
.search-field input { padding-left: 46px; }
.search-field span { position: absolute; top: 50%; left: 17px; color: var(--muted); transform: translateY(-50%); }
.search-field input:focus, .filter-select:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,111,232,.1); }
.catalogue-results { margin-bottom: 18px; color: var(--muted); font-size: .75rem; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px,8vw,130px); align-items: start; }
.product-detail-visual { position: sticky; top: 100px; min-height: 650px; }
.product-detail-visual .product-visual { min-height: 650px; }
.product-info { max-width: 700px; padding-top: 30px; }
.breadcrumbs { display: flex; gap: 9px; margin-bottom: 38px; color: var(--muted); font-size: .7rem; }
.product-info h1 { margin-bottom: 22px; font-size: clamp(2.8rem,5.2vw,5.8rem); }
.product-status { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.availability { color: var(--green); font-size: .75rem; font-weight: 700; }
.product-description { margin: 32px 0; color: var(--muted); }
.specifications { margin: 36px 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: .7fr 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; font-weight: 600; }
.purchase-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; margin-top: 35px; }
.quantity-control { display: grid; grid-template-columns: 44px 1fr 44px; min-height: 44px; border: 1px solid var(--line); }
.quantity-control button { border: 0; color: var(--navy); background: var(--pale); }
.quantity-control input { width: 100%; border: 0; text-align: center; outline: none; }

/* Cart */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: clamp(45px,7vw,110px); align-items: start; }
.cart-items { border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 105px 1fr 150px 34px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-item-visual { display: grid; height: 95px; place-items: center; background: var(--pale); }
.cart-item h3 { margin: 0 0 4px; font-size: 1rem; }
.cart-item p { margin: 0; color: var(--muted); font-size: .72rem; }
.remove-button { min-width: 44px; min-height: 44px; border: 0; color: var(--muted); background: transparent; font-size: 1.2rem; }
.summary-card { position: sticky; top: 100px; padding: 32px; color: #fff; background: linear-gradient(145deg,var(--navy),var(--blue)); }
.summary-card h2 { font-size: 1.7rem; }
.summary-row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.2); font-size: .8rem; }
.summary-note { margin: 22px 0; color: rgba(255,255,255,.7); font-size: .75rem; }

/* Forms */
.form-panel { padding: clamp(28px,4vw,52px); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.form-panel h2 { margin-bottom: 8px; font-size: clamp(1.8rem,3vw,2.8rem); }
.form-panel > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 35px; }
.field { margin-bottom: 20px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: .72rem; font-weight: 700; }
.field label span { color: var(--blue); }
.field textarea { min-height: 125px; resize: vertical; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-message { display: none; margin-top: 18px; padding: 12px; font-size: .8rem; }
.form-message.error { display: block; color: #8a2633; background: #fff0f2; }
.form-message.success { display: block; color: #075c45; background: #e8fbf5; }
.inquiry-layout { display: grid; grid-template-columns: .65fr 1fr; gap: clamp(55px,9vw,140px); }
.inquiry-aside h2 { max-width: 600px; }
.inquiry-aside p { max-width: 520px; color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.contact-card { min-height: 260px; padding: 30px; color: #fff; background: linear-gradient(145deg,var(--navy),var(--blue)); }
.contact-card:nth-child(2) { background: linear-gradient(145deg,var(--blue),var(--sky)); }
.contact-card:nth-child(3) { background: linear-gradient(145deg,var(--sky),var(--green)); }
.contact-card span { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.contact-card h3 { margin-top: 100px; }
.contact-card p, .contact-card a { margin: 0; font-size: .82rem; }

/* Footer */
.store-cta { padding: 70px 0; color: #fff; background: linear-gradient(105deg,var(--blue),var(--sky),var(--green)); }
.store-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.store-cta h2 { max-width: 900px; margin: 0; }
.store-footer { padding: 70px 0 25px; background: var(--pale); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .6fr .7fr; gap: 90px; padding-bottom: 55px; }
.footer-summary { max-width: 400px; margin-top: 25px; color: var(--muted); font-size: .82rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links h3 { margin-bottom: 13px; color: var(--navy); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a, .footer-links p { margin: 0; color: var(--muted); font-size: .78rem; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .65rem; }
.footer-bottom p { margin: 0; }
.toast { position: fixed; z-index: 1200; right: 22px; bottom: 22px; max-width: 330px; padding: 13px 18px; color: #fff; background: var(--navy); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(15px); transition: .25s; }
.toast.show { opacity: 1; transform: none; }

/* 404 */
.error-page { min-height: 70vh; display: grid; place-items: center; padding: 90px 0; text-align: center; }
.error-code { color: var(--blue); font: 500 clamp(6rem,15vw,13rem)/.8 var(--serif); }
.error-page h1 { margin: 28px 0 18px; }
.error-page p { max-width: 520px; margin: 0 auto 28px; color: var(--muted); }

@media (max-width: 1100px) {
    .js .nav-toggle { display: block; position: relative; z-index: 1002; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .js .store-nav { position: fixed; z-index: 1001; inset: 0; flex-direction: column; align-items: stretch; justify-content: center; padding: 90px 8vw 45px; background: #fff; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s; }
    .js .store-nav.open { opacity: 1; visibility: visible; transform: none; }
    .js .store-nav ul { display: block; }
    .js .store-nav ul a { display: block; padding: 8px 0; font-family: var(--display); font-size: clamp(1.8rem,6vw,3.2rem); }
    .js .cart-link { align-self: flex-start; margin-top: 24px; }
    html:not(.js) .store-header { height: auto; }
    html:not(.js) .header-inner { min-height: var(--header-height); flex-wrap: wrap; padding-block: 12px; }
    html:not(.js) .store-nav { width: 100%; overflow-x: auto; padding-top: 12px; }
    html:not(.js) .store-nav ul { white-space: nowrap; }
    .product-grid { grid-template-columns: repeat(2,1fr); }
    .hero-art { min-height: 500px; }
}

@media (max-width: 800px) {
    .container { width: min(calc(100% - 32px),var(--container)); }
    .section { padding: 78px 0; }
    .store-brand-label { display: none; }
    .store-hero { min-height: auto; }
    .hero-grid, .product-detail, .cart-layout, .checkout-layout, .inquiry-layout { grid-template-columns: 1fr; }
    .hero-grid { gap: 55px; }
    .hero-art { min-height: 480px; }
    .section-heading, .page-hero-grid { display: block; }
    .section-heading > p, .page-hero-grid > p { margin-top: 20px; }
    .catalogue-toolbar { grid-template-columns: 1fr; }
    .product-detail-visual { position: relative; top: auto; min-height: 440px; }
    .product-detail-visual .product-visual { min-height: 440px; }
    .summary-card { position: relative; top: auto; }
    .contact-cards { grid-template-columns: 1fr; }
    .contact-card { min-height: 210px; }
    .contact-card h3 { margin-top: 65px; }
    .store-cta-inner { display: block; }
    .store-cta .button { margin-top: 28px; }
    .footer-grid { grid-template-columns: repeat(2,1fr); gap: 50px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .store-logo-crop { width: 108px; height: 34px; }
    .store-logo-crop img { width: 150px; }
    .store-hero { padding: 65px 0; }
    .hero-copy h1 { font-size: clamp(3rem,16vw,4.6rem); }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-art { min-height: 390px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-visual { min-height: 260px; }
    .product-card-actions { grid-template-columns: 1fr 48px; }
    .purchase-row { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 75px 1fr 28px; gap: 13px; }
    .cart-item-visual { height: 75px; }
    .cart-item .quantity-control { grid-column: 2; width: 130px; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .field-full { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}

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