/* Kontax Stirling Engines — full-width sections, 1340px content container */
:root {
  --ink: #14161a;
  --ink-2: #2a2e35;
  --muted: #646b76;
  --bg: #fbfaf8;
  --surface: #f1eee8;
  --line: #e2ddd3;
  --brass: #b58a3c;
  --brass-dark: #8d6a26;
  --blue: #1f5f99;
  --radius: 14px;
  --container: 1340px;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }

/* Layout: sections run edge to edge, content sits in a 1340px container */
.container { width: 100%; max-width: calc(var(--container) + 48px); margin-inline: auto; padding-inline: 24px; }
section { padding-block: clamp(56px, 8vw, 110px); }

/* Announcement bar */
.announce { background: var(--ink); color: #f4e9d2; font-size: 14px; text-align: center; padding: 9px 16px; }
.announce a { color: var(--brass); font-weight: 600; margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,248,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-weight: 800; font-size: 26px; letter-spacing: .04em; font-family: Georgia, "Times New Roman", serif; }
.logo small { display: block; font-family: "DM Sans", sans-serif; font-weight: 500; font-size: 10px; letter-spacing: .32em; color: var(--muted); margin-top: -4px; }
.logo img { height: 52px; width: auto; display: block; }
.footer-logo img { filter: brightness(0) invert(1); }
.nav { display: flex; gap: 34px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav a { padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { border-color: var(--brass); }
.header-actions { display: flex; gap: 22px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-block; background: var(--brass); color: #fff; padding: 15px 30px; border-radius: 999px; font-weight: 700; transition: background .2s, transform .2s; }
.btn:hover { background: var(--brass-dark); transform: translateY(-2px); }
.btn.ghost { background: transparent; border: 2px solid currentColor; }
.btn.dark { background: var(--ink); }

/* Hero */
.hero { position: relative; padding: 0; min-height: clamp(420px, calc(100vh - 250px), 620px); display: flex; align-items: center; color: #fff; background: #1b1d21 center/cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,.86) 0%, rgba(10,11,13,.5) 55%, rgba(10,11,13,.1) 100%); z-index: -1; }
.hero .copy { max-width: 640px; padding-block: 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: .24em; font-size: 12px; font-weight: 700; color: var(--brass); margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 68px); margin-bottom: 18px; }
.hero p { font-size: 20px; color: #e6e1d6; margin: 0 0 34px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Trust strip */
.trust { background: var(--ink); color: #f1ece1; padding-block: 34px; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust strong { display: block; font-size: 22px; color: var(--brass); font-family: Georgia, serif; }
.trust span { font-size: 14px; color: #bdb7a8; }

/* Section heads */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 50px); }
.section-head p { color: var(--muted); max-width: 460px; margin: 0; }
.link-arrow { font-weight: 700; border-bottom: 2px solid var(--brass); white-space: nowrap; }

/* Category grid */
.cats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.cat { text-align: center; }
.cat .img { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #f1f1f1; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.cat img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.cat:hover img { transform: scale(1.06); }
.cat h3 { font-size: 15px; letter-spacing: 0; }

/* Product grid */
.alt { background: var(--surface); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: 0 18px 40px rgba(20,22,26,.12); transform: translateY(-4px); }
.card .photo { position: relative; aspect-ratio: 1; background: #f1f1f1; display: flex; align-items: center; justify-content: center; }
.card .photo img { width: 100%; height: 100%; object-fit: contain; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; padding: 5px 10px; border-radius: 999px; }
.badge.out { background: #6b6f76; }
.card .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.stars { color: var(--brass); font-size: 14px; letter-spacing: 2px; }
.stars span { color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 22px; font-weight: 800; }
.price a { font-size: 13px; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; }
.price a:hover { background: var(--brass); }

/* Split feature */
.split .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; height: auto; max-height: 560px; object-fit: contain; background: #f1f1f1; }
.split h2 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 20px; }
.split p { color: var(--muted); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.checks li::before { content: "✓"; color: var(--brass); font-weight: 800; margin-right: 12px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.step .n { font-family: Georgia, serif; font-size: 44px; color: var(--brass); }
.step h3 { font-size: 24px; margin: 8px 0 10px; }
.step p { color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4vw, 52px); margin-bottom: 14px; }
.cta-band p { color: #bdb7a8; max-width: 620px; margin: 0 auto 30px; font-size: 18px; }

/* Page banner */
.banner { background: var(--ink); color: #fff; padding-block: clamp(56px, 7vw, 96px); }
.banner h1 { font-size: clamp(38px, 5vw, 66px); }
.banner p { color: #bdb7a8; font-size: 19px; max-width: 640px; margin: 14px 0 0; }
.prose { max-width: 860px; font-size: 18px; }
.prose h2 { font-size: 32px; margin: 36px 0 12px; }
.prose p { color: #3a3f47; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.panel h3 { font-size: 24px; margin-bottom: 12px; }
form { display: grid; gap: 16px; }
label { font-weight: 600; font-size: 14px; display: grid; gap: 6px; }
input, textarea, select { font: inherit; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
input:focus, textarea:focus { outline: 2px solid var(--brass); border-color: transparent; }

/* Footer */
.site-footer { background: #0d0e10; color: #bdb7a8; padding-block: 70px 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #25272b; }
.site-footer h4 { color: #fff; margin: 0 0 16px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--brass); }
.legal { padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* Responsive */
@media (max-width: 1200px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .trust .container, .process, .footer-grid { grid-template-columns: 1fr 1fr; }
  .split .container, .grid-2 { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: start; }
}
@media (max-width: 560px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .products, .process, .trust .container, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
}
