/* HeritEdge Inc — Midnight Premium */
:root {
  --bg: #11151a;
  --bg-deep: #0c0f13;
  --surface: #161b21;
  --surface-2: #1b2128;
  --text: #f1ece2;
  --muted: rgba(241, 236, 226, 0.72);
  --faint: rgba(241, 236, 226, 0.5);
  --accent: #d4a24c;
  --accent-soft: rgba(212, 162, 76, 0.32);
  --line: rgba(241, 236, 226, 0.12);
  --serif: "Playfair Display", "Bodoni 72", Didot, "Didot LT STD", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", "Segoe UI", Arial, system-ui, sans-serif;
  --radius: 2px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: 0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--bg); padding: 10px 16px;
  font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); font-weight: 400;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.eyebrow.plain::before { display: none; }

.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(17, 21, 26, 0.94);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 68px; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter);
}
.primary-nav ul { list-style: none; display: flex; gap: 30px; }
.primary-nav a {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  color: var(--muted); padding: 8px 0; position: relative; transition: color .3s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 1px; width: 0;
  background: var(--accent); transition: width .4s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--accent); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { width: 100%; }
.brand {
  font-family: var(--serif); font-size: 21px; letter-spacing: 0.02em;
  text-decoration: none; color: var(--text); white-space: nowrap;
}
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.mail-link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text);
  min-height: 44px; padding: 0 4px;
}
.mail-link svg { width: 18px; height: 18px; stroke: var(--accent); }
.mail-link:hover { color: var(--accent); }
.menu-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; color: var(--text);
  cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 1px; background: currentColor; position: relative;
  transition: transform .3s var(--ease), background .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border: 1px solid var(--accent); border-radius: var(--radius);
  background: var(--accent); color: #15120c; font-family: var(--sans); font-weight: 500;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--accent); }
.btn.ghost { background: transparent; color: var(--text); }
.btn.ghost:hover { background: var(--accent); color: #15120c; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  padding: 6px 0; border-bottom: 1px solid var(--accent-soft);
}
.text-link::after { content: "\203A"; font-size: 15px; line-height: 1; transition: transform .3s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; background: var(--bg-deep); overflow: hidden;
  min-height: min(82vh, 720px); display: flex; align-items: center;
}
.hero-media { position: absolute; inset: 0 0 0 auto; width: 70%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg-deep) 0%, rgba(12,15,19,.82) 22%, rgba(12,15,19,.25) 55%, rgba(12,15,19,.1) 100%),
    linear-gradient(0deg, rgba(12,15,19,.75) 0%, transparent 35%);
}
.hero-copy { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 96px var(--gutter); }
.hero-copy-inner { max-width: 520px; }
.hero h1 { font-size: clamp(40px, 4.4vw, 62px); margin: 22px 0 18px; }
.hero .sub { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); color: var(--text); margin-bottom: 16px; }
.hero .lead { margin-bottom: 34px; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.hero-index {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 28px; display: flex; gap: 22px;
  list-style: none; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint);
}
.hero-index li { display: flex; align-items: center; gap: 8px; }
.hero-index li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.hero-index li:first-child { color: var(--text); }
.hero-index li:first-child::before { background: var(--accent); }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.tight { padding: clamp(56px, 7vw, 88px) 0; }
.section.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); margin: 16px 0 14px; }
.section-head .eyebrow::before { display: none; }
.section-head p { color: var(--muted); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.split-head h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 14px; }

/* ---------- Highlights ---------- */
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature {
  position: relative; display: block; text-decoration: none; overflow: hidden;
  background: var(--bg-deep); border: 1px solid var(--line); aspect-ratio: 16 / 10;
}
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover img { transform: scale(1.03); }
.feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,12,15,.92) 0%, rgba(10,12,15,.35) 45%, transparent 70%);
}
.feature-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px 30px; }
.feature-copy h3 { font-family: var(--sans); font-weight: 400; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px; }
.feature-copy p { color: var(--muted); font-size: 14px; max-width: 44ch; }
.feature-copy .text-link { margin-top: 14px; }
.img-fragrance { object-position: 100% 50%; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.trio-item { text-decoration: none; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s; }
.trio-item:hover { border-color: var(--accent-soft); }
.trio-item .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.trio-item .ph img { width: 100%; height: 100%; object-fit: cover; }
.trio-item .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.trio-item h3 { font-size: 21px; }
.trio-item p { color: var(--muted); font-size: 14px; }
.trio-item .text-link { align-self: flex-start; margin-top: auto; }

/* ---------- Approach band ---------- */
.approach-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.framed { position: relative; }
.framed::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent-soft); pointer-events: none;
}
.framed img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.framed.wide img { aspect-ratio: 4 / 3; }
.shade { position: relative; }
.shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,21,26,.15), rgba(17,21,26,.55)); pointer-events: none; }
.approach-copy h2 { font-size: clamp(28px, 3vw, 40px); margin: 16px 0 18px; }
.steps { list-style: none; counter-reset: step; margin-top: 36px; border-top: 1px solid var(--line); }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero); font-family: var(--serif); color: var(--accent); font-size: 22px; line-height: 1.2;
}
.steps h3 { font-family: var(--sans); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- Craft + contact row ---------- */
.craft-contact { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.craft h2, .contact-panel h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 14px 0 14px; }
.craft > p { color: var(--muted); max-width: 60ch; }
.craft-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.craft-figures figure { margin: 0; }
.craft-figures img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.craft-figures figcaption { margin-top: 14px; }
.craft-figures figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; margin-bottom: 6px; }
.craft-figures figcaption span { color: var(--muted); font-size: 14px; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 32px; }
.checks li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 1px; background: var(--accent); }

/* ---------- Inquiry composer ---------- */
.contact-panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.contact-panel > p { color: var(--muted); font-size: 15px; }
.inquiry { margin-top: 24px; display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--radius);
  background: var(--bg); color: var(--text); border: 1px solid var(--line);
  font: inherit; font-size: 15px; transition: border-color .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(-45deg, transparent 50%, var(--accent) 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.field [aria-invalid="true"] { border-color: #e08a6b; }
.inquiry .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--faint); }
.form-status { font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #eaa58c; }
.direct { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; }
.direct a { color: var(--accent); }

/* ---------- Page heads ---------- */
.breadcrumb { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--accent-soft); }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); }

/* Collections banner: centered title over wide image */
.banner { position: relative; min-height: 340px; display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--bg-deep); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,15,19,.55), rgba(12,15,19,.72) 50%, rgba(12,15,19,.45)); }
.banner-copy { position: relative; z-index: 1; padding: 64px var(--gutter); max-width: 760px; }
.banner h1 { font-size: clamp(32px, 4vw, 52px); margin: 16px 0 14px; }
.banner p { color: var(--text); opacity: .86; }

.toolbar { display: flex; gap: 16px; align-items: end; padding: 28px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.toolbar .field { min-width: 200px; }
.toolbar .field.grow { flex: 1; }
.toolbar output { font-size: 13px; color: var(--faint); margin-left: auto; padding-bottom: 12px; }

.catalog { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 28px; padding-top: 40px; }
.cat-card { display: flex; flex-direction: column; text-decoration: none; }
.cat-card .ph { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-deep); }
.cat-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-card:hover .ph img { transform: scale(1.03); }
.cat-card .meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.cat-card h2 { font-family: var(--sans); font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; margin: 8px 0 8px; }
.cat-card p { color: var(--muted); font-size: 15px; }
.cat-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.cat-card .tags li { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 3px 10px; }
.cat-card[hidden] { display: none; }
.empty-note { padding: 40px 0; color: var(--muted); }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 400; }
.compare tbody th { font-family: var(--serif); font-weight: 400; font-size: 18px; width: 28%; }
.compare td { color: var(--muted); }
.compare a { color: var(--text); text-decoration-color: var(--accent-soft); }
.table-scroll { overflow-x: auto; }

/* Detail pages: asymmetric frame */
.detail-hero { padding: 40px 0 clamp(64px, 8vw, 104px); }
.detail-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: 40px; }
.detail-grid h1 { font-size: clamp(34px, 3.8vw, 54px); margin: 18px 0 20px; }
.detail-grid .benefit { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--text); border-left: 1px solid var(--accent); padding-left: 18px; margin: 24px 0 32px; }
.detail-photo { position: relative; }
.detail-photo::before { content: ""; position: absolute; top: -20px; right: -20px; width: 40%; height: 60%; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); pointer-events: none; }
.detail-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-note { margin-top: 12px; font-size: 12px; color: var(--faint); }

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.cols-3 > * { padding: 32px 28px 8px 0; }
.cols-3 > * + * { padding-left: 28px; border-left: 1px solid var(--line); }
.cols-3 h3 { font-size: 22px; margin-bottom: 12px; }
.cols-3 p { color: var(--muted); font-size: 15px; }

.two-col { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); }
.two-col h2 { font-size: clamp(26px, 2.8vw, 36px); margin-top: 14px; }
.scenario-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.scenario-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.scenario-list strong { display: block; font-weight: 400; font-size: 16px; margin-bottom: 4px; }
.scenario-list span { color: var(--muted); font-size: 14px; }

.mail-cta { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--accent-soft); background: linear-gradient(120deg, var(--surface-2), var(--bg)); }
.mail-cta h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 12px 0 10px; }
.mail-cta p { color: var(--muted); max-width: 60ch; }
.mail-cta .addr { margin-top: 10px; font-size: 14px; color: var(--faint); }

.related { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related a { display: block; text-decoration: none; border-top: 1px solid var(--accent); padding-top: 14px; }
.related span { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.related strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; margin-top: 6px; }
.related a:hover strong { color: var(--accent); }

/* About */
.about-hero { display: grid; grid-template-columns: 6fr 6fr; min-height: 560px; background: var(--bg-deep); }
.about-hero .copy { padding: clamp(48px, 7vw, 104px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.about-hero h1 { font-size: clamp(34px, 3.8vw, 54px); margin: 18px 0 20px; }
.about-hero .media { position: relative; }
.about-hero .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-hero .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-deep), rgba(12,15,19,.25) 35%, rgba(12,15,19,.35)); }
.prose p { color: var(--muted); margin-bottom: 18px; font-size: 17px; }
.prose p:first-child { color: var(--text); font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.45; }
.fact-list { display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--line); margin: 0; }
.fact-list dt, .fact-list dd { padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; }
.fact-list dt { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); padding-top: 22px; }
.fact-list dd { color: var(--text); }
.fact-list a { color: var(--text); text-decoration-color: var(--accent-soft); }
.wide-photo { position: relative; }
.wide-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 60% 50%; }
.wide-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,21,26,.7), transparent 50%); }
.wide-photo figcaption { position: absolute; z-index: 1; left: var(--gutter); bottom: 22px; font-size: 12px; color: var(--muted); }

/* Contact page */
.contact-hero { padding: clamp(56px, 7vw, 96px) 0 0; }
.contact-hero h1 { font-size: clamp(34px, 3.8vw, 54px); margin: 18px 0 18px; max-width: 16ch; }
.contact-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.big-mail { display: inline-block; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 44px); color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 6px; margin: 28px 0 8px; word-break: break-word; }
.big-mail:hover { color: var(--accent); }
.prep { list-style: none; counter-reset: prep; border-top: 1px solid var(--line); margin-top: 24px; }
.prep li { counter-increment: prep; padding: 18px 0 18px 48px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); }
.prep li::before { content: counter(prep, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--serif); color: var(--accent); }
.prep strong { color: var(--text); font-weight: 400; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer-top { display: grid; grid-template-columns: 4fr 3fr 3fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .brand { font-size: 24px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 40ch; }
.site-footer h2 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; color: var(--muted); font-size: 14px; }
.site-footer ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; }
.footer-nav a { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--accent); }
.footer-contact a { color: var(--text); text-decoration-color: var(--accent-soft); }
.footer-contact address { font-style: normal; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 60px; }
  .brand { order: -1; }
  .primary-nav { order: 5; }
  .menu-toggle { display: inline-flex; }
  .mail-link .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .primary-nav {
    grid-column: 1 / -1; display: none; padding: 8px 0 20px; border-top: 1px solid var(--line);
  }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { display: block; padding: 14px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }

  .hero { display: block; min-height: 0; }
  .hero-copy { padding: 44px var(--gutter) 28px; }
  .hero-media { position: relative; width: 100%; aspect-ratio: 4 / 3; }
  .hero-media::after { background: linear-gradient(180deg, var(--bg-deep) 0%, transparent 22%, transparent 70%, rgba(12,15,19,.6) 100%); }
  .hero-index { display: none; }

  .feature-pair, .trio, .approach-grid, .craft-contact, .detail-grid, .two-col, .contact-grid, .about-hero, .split-head { grid-template-columns: 1fr; }
  .trio { gap: 20px; }
  .about-hero .media { min-height: 300px; order: -1; }
  .about-hero .media::after { background: linear-gradient(0deg, var(--bg-deep), transparent 45%); }
  .catalog { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: 1fr; }
  .cols-3 > *, .cols-3 > * + * { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .related { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .framed::before { inset: 12px -10px -12px 12px; }
  .detail-photo::before { top: -12px; right: -10px; }
}
@media (max-width: 640px) {
  .feature { aspect-ratio: 4 / 3; }
  .feature-copy { padding: 20px; }
  .field-row, .checks, .craft-figures, .scenario-list { grid-template-columns: 1fr; }
  .mail-cta { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .fact-list { grid-template-columns: 1fr; }
  .fact-list dt { border-bottom: 0; padding-bottom: 0; }
  .toolbar .field { min-width: 0; width: 100%; }
  .toolbar output { margin-left: 0; }
  .banner { min-height: 280px; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .compare th, .compare td { border: 0; padding: 4px 0; }
  .wide-photo img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
