@font-face { font-family: 'Bricolage Grotesque'; src: url('../fonts/bricolage.woff2') format('woff2'); font-weight: 700 800; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/instrument.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }

:root {
    --ink: #12202E; --accent: #E4622E; --accent-dark: #B44C1E;
    --ivory: #F7F3EC; --white: #FFF; --slate: #4A5A69; --border: #DCD4C8;
    --display: 'Bricolage Grotesque', Georgia, serif;
    --body: 'Instrument Sans', system-ui, sans-serif;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --maxw: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 0; }
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }
.wrap { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }

.topbar { background: var(--ink); color: var(--ivory); padding-block: 1.2rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wordmark { font: 800 1.25rem/1 var(--display); letter-spacing: -.035em; text-decoration: none; }
.wordmark span { color: var(--accent); }
.topbar a.back { font-size: .9rem; text-decoration: none; color: var(--ivory); opacity: .85; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a.back:hover { opacity: 1; text-decoration: underline; text-underline-offset: .22em; }

.hero { background: var(--ink); color: var(--ivory); padding-block: clamp(3rem, 8vw, 5.5rem) clamp(3.5rem, 9vw, 6rem); }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); max-width: 16ch; }
.hero h1 span { color: var(--accent); }
.hero p { margin-top: 1.5rem; max-width: 56ch; font-size: 1.1rem; color: #C9D2DA; }
.hero .note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--slate); font-size: .9rem; color: #A9B6C1; max-width: 60ch; }

.grid { display: grid; gap: 1.6rem; }
.group { padding-block: clamp(3rem, 7vw, 4.5rem) 0; }
.group:last-of-type { padding-bottom: clamp(3rem, 7vw, 5rem); }
.group-head { display: grid; gap: .6rem; margin-bottom: 1.8rem; max-width: 46rem; }
.group-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.group-head p { color: var(--slate); }
.group-head .eyebrow { color: var(--accent-dark); margin-bottom: 0; }
.group + .group { border-top: 1px solid var(--border); margin-top: clamp(3rem, 7vw, 4.5rem); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -32px rgba(18, 32, 46, .45); }
.card-img { display: block; border-bottom: 1px solid var(--border); background: var(--ivory); }
.card-img img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.card-body { padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.trade { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.card h2 { font-size: 1.5rem; margin-block: .6rem .7rem; }
.card p { color: var(--slate); font-size: .95rem; }
.feat { margin-top: 1.1rem; margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.feat li { font-size: .78rem; background: var(--ivory); border: 1px solid var(--border); border-radius: 999px; padding: .3rem .7rem; color: var(--slate); }
.card .btn { margin-top: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.4rem; border-radius: 10px; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); font-weight: 600; text-decoration: none; transition: background-color .16s, border-color .16s, color .16s; }
.btn:hover { background: var(--slate); border-color: var(--slate); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn.ghost { background: transparent; color: var(--ivory); border-color: rgba(247, 243, 236, .4); }
.btn.ghost:hover { background: rgba(247, 243, 236, .12); border-color: var(--ivory); }

.closer { background: var(--white); border-top: 1px solid var(--border); padding-block: clamp(3rem, 7vw, 5rem); }
.closer h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 20ch; }
.closer p { margin-top: 1rem; color: var(--slate); max-width: 52ch; }
.closer .row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.foot { background: var(--ink); color: #A9B6C1; padding-block: 2rem; font-size: .88rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }
.foot a { color: var(--accent); }

@media (min-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
