/* Accessories-N-Covers site styles */

:root {
    --red: #d3141c;
    --red-dark: #a80f16;
    --ink: #16181d;
    --ink-2: #2a2e37;
    --text: #3b404a;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #ffffff;
    --bg-soft: #f5f6f8;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08);
    --shadow-lg: 0 2px 4px rgba(16, 24, 40, .06), 0 20px 48px rgba(16, 24, 40, .14);
    --wrap: 1180px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Barlow Condensed", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .01em;
    color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip-link {
    position: absolute; left: 12px; top: -48px; z-index: 100;
    padding: 8px 14px; background: var(--ink); color: #fff; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Top bar ---------- */

.topbar { background: var(--ink); color: #c9ccd3; font-size: .875rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: #e5e7eb; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Status pill ---------- */

.status {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 500;
}
.status::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: #9ca3af; box-shadow: 0 0 0 3px rgba(156, 163, 175, .25);
}
.status.is-open::before { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 220px; }

.nav-toggle {
    display: none;
    align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.main-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a {
    display: block; padding: 10px 14px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: .95rem; color: var(--ink-2); text-decoration: none;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--red); }
.main-nav .nav-cta a { margin-left: 8px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border: 2px solid transparent; border-radius: 999px;
    font: 600 .95rem/1 var(--font); text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary, .main-nav .nav-cta a { background: var(--red); color: #fff; }
.btn-primary:hover, .main-nav .nav-cta a:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
    position: relative; isolation: isolate;
    display: flex; align-items: flex-end;
    min-height: min(78vh, 640px);
    padding: 120px 0 72px;
    background: var(--ink) center / cover no-repeat;
    color: #fff;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(10, 11, 14, .88) 0%, rgba(10, 11, 14, .55) 55%, rgba(10, 11, 14, .2) 100%),
        linear-gradient(0deg, rgba(10, 11, 14, .6) 0%, rgba(10, 11, 14, 0) 45%);
}
.hero-inner { max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: .3em; }
.hero-lead { font-size: 1.15rem; color: #e5e7eb; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .status {
    padding: 6px 14px; margin-bottom: 22px;
    border-radius: 999px; background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: .875rem; color: #fff;
}

.eyebrow {
    display: inline-block; margin-bottom: 10px;
    font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--red);
}

/* ---------- Page header ---------- */

.page-header {
    position: relative; overflow: hidden;
    padding: 64px 0 56px;
    background: var(--ink); color: #c9ccd3;
}
.page-header::after {
    content: ""; position: absolute; right: -80px; top: 0; bottom: 0; width: 360px;
    background: repeating-linear-gradient(-60deg, transparent 0 22px, rgba(211, 20, 28, .9) 22px 34px);
    opacity: .9;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
            mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-header h1 { color: #fff; margin: 0; }
.crumbs { display: flex; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; font-size: .875rem; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6b7280; }
.crumbs a { color: #c9ccd3; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Sections ---------- */

.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Info cards (home) ---------- */

.info-strip { position: relative; z-index: 2; margin-top: -48px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 24px; border-radius: var(--radius);
    background: #fff; box-shadow: var(--shadow-lg);
    color: var(--text); text-decoration: none;
}
a.info-card { transition: transform .2s, box-shadow .2s; }
a.info-card:hover { transform: translateY(-3px); color: var(--text); }
.info-card h3 { margin: 0 0 4px; font-family: var(--font); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-card p { margin: 0; font-weight: 600; color: var(--ink); }
.info-icon {
    display: grid; place-items: center; flex: none;
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(211, 20, 28, .1); color: var(--red);
}
.info-icon .icon { width: 22px; height: 22px; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 85% 50%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.cta-band {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
    padding: 44px 48px; border-radius: var(--radius);
    background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color: #fde8e8;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; }
.cta-band .btn { background: #fff; color: var(--red); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* ---------- Products ---------- */

.product-grid {
    display: grid; gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    margin: 0; padding: 0; list-style: none;
}
.product-card {
    display: flex; flex-direction: column; height: 100%;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; overflow: hidden;
    color: var(--ink); text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.product-logo { display: flex; align-items: center; justify-content: center; height: 170px; padding: 24px; background: #fff; }
.product-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.product-name {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 14px 18px; border-top: 1px solid var(--line);
    font-weight: 600; font-size: .95rem;
}
.product-name .icon { color: var(--muted); transition: color .2s, transform .2s; }
a.product-card:hover .product-name .icon { color: var(--red); transform: translate(2px, -2px); }

/* ---------- About ---------- */

.story { display: grid; gap: 88px; }
.story-item { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-item:nth-child(even) .story-media { order: 2; }
.story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.story-text p { white-space: pre-line; font-size: 1.05rem; }
.story-item.no-media { grid-template-columns: 1fr; max-width: 760px; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .info-icon { width: 42px; height: 42px; border-radius: 10px; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--red); }

.card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card-raised { border-color: transparent; box-shadow: var(--shadow-lg); }
.card h2 { font-size: 1.8rem; }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 600; color: var(--ink); }
.hours td { text-align: right; color: var(--text); }
.hours .is-closed td { color: var(--muted); }
.hours .is-today th, .hours .is-today td { color: var(--red); }
.hours .note { display: block; font-size: .8rem; color: var(--muted); }

.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; color: var(--ink); }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row input, .form-row textarea {
    width: 100%; padding: 12px 14px;
    border: 1px solid #d1d5db; border-radius: var(--radius-sm);
    background: #fff; color: var(--ink);
    font: inherit; font-size: 1rem;
    transition: border-color .15s, box-shadow .15s;
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(211, 20, 28, .12); }
.form-row .errorlist { margin: 6px 0 0; padding: 0; list-style: none; font-size: .85rem; color: var(--red); }

.map { margin-top: 64px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */

.site-footer { margin-top: auto; background: var(--ink); color: #9ca3af; font-size: .925rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.site-footer h4 { font-family: var(--font); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #c9ccd3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand img { width: 200px; padding: 12px 14px; margin-bottom: 16px; background: #fff; border-radius: var(--radius-sm); }
.footer-social { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .split, .story-item, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .story-item:nth-child(even) .story-media { order: 0; }
    .story { gap: 64px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .topbar-links .hide-sm { display: none; }
    .nav-toggle { display: inline-flex; }
    .main-nav {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        padding: 12px 20px 20px;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    }
    .nav-open .main-nav { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .main-nav a { padding: 12px 14px; font-size: 1rem; }
    .main-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
    .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .section { padding: 56px 0; }
    .brand img { width: 170px; }
    .site-header .wrap { min-height: 64px; }
    .hero { min-height: 0; padding: 96px 0 88px; }
    .page-header { padding: 44px 0 40px; }
    .page-header::after { width: 160px; right: -60px; }
    .card { padding: 24px; }
    .cta-band { padding: 32px 24px; }
    .form-2col { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .map iframe { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
