/* Minar Chemicals International — site styles (no framework, system fonts for speed)
   Brand colours from the official logo: navy #0B2A3D, gold #E0A33A, teal #0E8C8C. */
:root {
  --ink: #0a1f2e;
  --navy: #0b2a3d;
  --navy-2: #12405c;
  --gold: #e0a33a;
  --gold-hover: #ebb65a;
  --gold-light: #f3c879;   /* gold for small text on dark/photo backgrounds (AA) */
  --teal: #0e8c8c;
  --teal-text: #075c5c;    /* teal dark enough for small text on light backgrounds (AA) */
  --text: #1a2633;
  --muted: #4a5664;        /* ≥4.5:1 on white and on every light glass surface */
  --line: #dfe5ec;
  --bg: #ffffff;
  --bg-alt: #f2f5f8;
  --ok: #17663d;
  --err: #b42318;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(10, 31, 46, .05), 0 10px 30px rgba(10, 31, 46, .09);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --tap: 44px;
  --section-y: clamp(56px, 8vw, 120px);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Glass surfaces (opaque fallbacks below for browsers without backdrop-filter) */
  --glass-blur: blur(16px) saturate(160%);
  --glass-light: rgba(255, 255, 255, .68);
  --glass-border: rgba(255, 255, 255, .65);
}
@media (min-width: 1600px) {
  :root { --container: 1400px; }
  html { font-size: 106.25%; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: clamp(1rem, .2vw + .95rem, 1.0625rem); line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
address { font-style: normal; }
h1, h2, h3, .h3 { color: var(--ink); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .6em; overflow-wrap: break-word; }
h1 { font-size: clamp(1.9rem, 4vw + .6rem, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 2vw + .85rem, 2.5rem); font-weight: 720; }
h3, .h3 { font-size: clamp(1.1rem, .4vw + 1rem, 1.25rem); font-weight: 680; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.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; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--gold); color: var(--ink); padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* TODO placeholders — deliberately loud so they are not shipped by accident */
.todo { display: inline-block; font: 600 .8rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: #6b4200; background: #fff4d6; border: 1px dashed #c98a00; border-radius: 4px; padding: 2px 6px; letter-spacing: 0; }

/* ---------- Glass ---------- */
.glass { background: var(--glass-light); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  :root { --glass-light: rgba(255, 255, 255, .96); }
  .site-header::before { background: rgba(255, 255, 255, .98); }
  .site-nav.is-open { background: #fff; }
  .person { background: rgba(255, 255, 255, .1) !important; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: var(--tap); padding: .65em 1.25em; border-radius: 10px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: .85em 1.6em; font-size: 1.05rem; }
.btn-accent { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(224, 163, 58, .28); }
.btn-accent:hover { background: var(--gold-hover); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.btn-outline { color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header: translucent, blurred, sticky ---------- */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(10, 31, 46, .08); transition: box-shadow .25s; }
/* The glass lives on a pseudo-element: an element with backdrop-filter stops its children
   (the mobile menu) from blurring the page, so the header box itself must not have one. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 31, 46, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name { font-weight: 780; font-size: 1.1rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-text); white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.site-nav ul { display: flex; gap: clamp(14px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); text-decoration: none; font-weight: 560; font-size: .98rem; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--ink); border-color: var(--gold); }
.nav-toggle { display: none; flex: none; background: none; border: 0; width: var(--tap); height: var(--tap); padding: 10px; margin-right: -10px; cursor: pointer; border-radius: 8px; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 8px var(--gutter) 24px;
    max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(10, 31, 46, .08); box-shadow: 0 18px 30px rgba(10, 31, 46, .12);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: flex; min-height: 50px; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--navy-2); font-weight: 700; }
  .nav-cta { margin-top: 8px; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .16em; }
  .brand-mark { width: 40px; height: 40px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(86vh, 780px); min-height: min(86svh, 780px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); padding: clamp(64px, 10vw, 112px) 0 clamp(120px, 14vw, 170px); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
/* Softer overlay: photo shows through on the right; the text side stays dark enough for AA (≥4.5:1 white text) */
.hero-overlay { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 31, 46, .86) 0%, rgba(10, 31, 46, .68) 45%, rgba(10, 31, 46, .2) 100%),
  linear-gradient(0deg, rgba(10, 31, 46, .55) 0%, transparent 38%); }
@media (max-width: 960px) {
  /* Text spans the full width here, so darken evenly instead of left-to-right */
  .hero-overlay { background: linear-gradient(180deg, rgba(10, 31, 46, .74) 0%, rgba(10, 31, 46, .78) 60%, rgba(10, 31, 46, .88) 100%); }
  .hero-bg { object-position: 70% 30%; }
}
.hero-inner { position: relative; }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.hero-lede { font-size: clamp(1.05rem, .6vw + .95rem, 1.3rem); max-width: 52ch; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3vw, 32px); }
@media (max-width: 420px) { .hero-actions .btn { flex: 1 1 100%; } }
@media (max-height: 520px) and (orientation: landscape) { .hero { min-height: auto; padding: 40px 0 112px; } .hero h1 { font-size: clamp(1.6rem, 2.4vw + .6rem, 2.4rem); } }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-text); margin-bottom: .8em; }
.eyebrow-light { color: var(--gold-light); }

/* ---------- Stats bar: glass card over the hero edge ---------- */
.stats { position: relative; z-index: 2; margin-top: clamp(-96px, -8vw, -64px); }
.stats-bar { --glass-light: rgba(255, 255, 255, .8); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 0; border-radius: var(--radius); border-top: 4px solid var(--gold); overflow: hidden; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: clamp(18px, 2.4vw, 30px) clamp(16px, 2.4vw, 32px); border-left: 1px solid rgba(10, 31, 46, .1); }
.stat:first-child { border-left: 0; }
.stat dd { margin: 0 0 4px; font-size: clamp(1.8rem, 2.2vw + 1rem, 2.8rem); font-weight: 780; color: var(--navy); line-height: 1.1; }
.stat dt { color: var(--muted); font-size: .95rem; line-height: 1.35; }
@media (max-width: 559px) {
  .stats-bar { grid-auto-flow: row; grid-auto-columns: auto; }
  .stat { flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 16px; border-left: 0; border-top: 1px solid rgba(10, 31, 46, .1); padding: 14px 18px; }
  .stat:first-child { border-top: 0; }
  .stat dd { flex: none; margin: 0; min-width: 3.2ch; font-size: 1.9rem; } /* number keeps its width; label wraps */
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-alt); }
/* Soft colour fields so the glass cards on top have something to blur */
.section-glow { background:
  radial-gradient(55% 45% at 0% 0%, rgba(224, 163, 58, .2), transparent 70%),
  radial-gradient(50% 55% at 100% 100%, rgba(14, 140, 140, .18), transparent 70%),
  radial-gradient(40% 40% at 70% 10%, rgba(18, 64, 92, .08), transparent 70%),
  var(--bg-alt); }
.section-dark { background:
  radial-gradient(50% 60% at 90% 10%, rgba(14, 140, 140, .32), transparent 70%),
  radial-gradient(45% 55% at 0% 100%, rgba(224, 163, 58, .16), transparent 70%),
  var(--ink); color: rgba(255, 255, 255, .88); }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--gold-light); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.lede { font-size: clamp(1.05rem, .4vw + 1rem, 1.18rem); color: var(--muted); max-width: 62ch; }
.section-dark .lede { color: rgba(255, 255, 255, .8); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.card.glass { background: var(--glass-light); border-color: var(--glass-border); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.vm-grid { display: grid; gap: 20px; }
.vm-card { border-left: 4px solid var(--gold); }
.vm-card p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); } /* 6 categories → 3/2/1, never an orphan row */
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { position: relative; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: 0 2px 4px rgba(10, 31, 46, .06), 0 18px 40px rgba(10, 31, 46, .14); transform: translateY(-3px); }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* whole card clickable */
.product-card > p { color: var(--muted); font-size: .98rem; }
.product-names { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.product-names li { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-size: .82rem; font-weight: 560; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.card-link { margin-top: auto; font-weight: 650; color: var(--navy-2); }

.swatch { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); background: #ccc; }
.swatch-lg { width: 44px; height: 44px; margin-bottom: 14px; }
.swatch-red { background: #c62828; } .swatch-black { background: #1b1b1b; } .swatch-yellow { background: #f4c20d; } .swatch-blue { background: #1e5bb8; }
.swatch-green { background: #2e8b57; } .swatch-purple { background: #6a3d9a; } .swatch-orange { background: #ef7d00; } .swatch-white { background: #fff; }

/* ---------- Principals & network logos: always full colour, evenly sized ---------- */
.logo-grid { --cols: 5; --gap: clamp(12px, 2vw, 20px); list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.logo-grid li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); height: clamp(96px, 10vw, 132px); }
.logo-grid a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: clamp(14px, 2vw, 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; }
.logo-grid a:hover { border-color: var(--teal); box-shadow: 0 8px 22px rgba(11, 42, 61, .1); transform: translateY(-2px); }
.logo-grid img { width: auto; height: auto; max-width: 88%; max-height: clamp(40px, 4.5vw, 60px); object-fit: contain; }
.logo-grid .logo-square img { max-height: clamp(56px, 6.5vw, 84px); } /* round mark: optically match the wordmarks */
@media (max-width: 900px) { .logo-grid { --cols: 3; } }
@media (max-width: 520px) { .logo-grid { --cols: 2; } }

/* ---------- Gallery collage ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 15vw, 250px); gap: clamp(8px, 1vw, 14px); }
.gallery li { overflow: hidden; border-radius: 10px; background: #dde3ea; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery li:hover img { transform: scale(1.04); }
.gallery .g-feature { grid-column: span 2; grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(110px, 32vw, 200px); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.people { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.person { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.person-name { color: #fff; font-weight: 650; font-size: 1.08rem; }
.person-role { font-size: .9rem; color: rgba(255, 255, 255, .72); margin-bottom: 2px; }
.person-link { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--gold-light); font-size: .95rem; font-weight: 560; overflow-wrap: break-word; max-width: 100%; }
.person-link + .person-link { margin-top: -6px; }
.contact-meta { margin: 0; display: grid; gap: 16px; }
.contact-meta dt { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.contact-meta dd { margin: 4px 0 0; color: #fff; }
/* Side by side whenever there's room (MD's card on the left); stacked on small phones */
.people { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

.quote-form { --glass-light: rgba(255, 255, 255, .9); color: var(--text); border-radius: 16px; padding: clamp(18px, 4vw, 40px); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; min-width: 0; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
/* 16px+ font stops iOS zooming into fields */
.field input, .field select, .field textarea { width: 100%; min-height: 48px; font: inherit; font-size: max(1rem, 16px); color: var(--text); background: #fff; border: 1px solid #b9c4d0; border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(18, 64, 92, .2); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-error { color: var(--err); font-size: .88rem; margin: 4px 0 0; }
.field-error:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.quote-form .btn { width: 100%; margin-top: 6px; }
.form-status { margin: 14px 0 0; font-weight: 560; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--ok); background: #e8f6ee; border: 1px solid #b6e2c8; padding: 12px 14px; border-radius: 10px; }
.form-status.is-err { color: var(--err); background: #fdecea; border: 1px solid #f5c2bd; padding: 12px 14px; border-radius: 10px; }

/* ---------- Inner pages ---------- */
.page-hero { background:
  radial-gradient(50% 80% at 100% 0%, rgba(14, 140, 140, .35), transparent 70%),
  radial-gradient(40% 70% at 0% 100%, rgba(224, 163, 58, .14), transparent 70%),
  linear-gradient(135deg, var(--ink), var(--navy-2));
  color: rgba(255, 255, 255, .88); padding: clamp(32px, 6vw, 64px) 0 clamp(40px, 7vw, 72px); }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: rgba(255, 255, 255, .85); margin-bottom: 28px; }
.page-hero-tall { padding: clamp(64px, 12vw, 128px) 0; }
.page-hero .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
.page-hero .btn-outline:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 420px) { .page-hero .btn-lg { width: 100%; } }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin: 0 0 12px; padding: 0; font-size: .92rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .55); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); color: rgba(255, 255, 255, .85); }
.breadcrumb [aria-current] { color: #fff; }

.item-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(14px, 2vw, 20px); margin-bottom: clamp(28px, 4vw, 40px); }
.item-grid-swatches { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.item-grid > .card:only-child { max-width: 640px; }
@media (max-width: 380px) { .item-grid-swatches { grid-template-columns: 1fr 1fr; } .item-grid-swatches .card { padding: 16px; } }
.item-card h3 { margin-bottom: .3em; }
.item-full { color: var(--navy-2); font-weight: 600; font-size: .95rem; margin-bottom: .5em; }
.item-card p:last-child { margin-bottom: 0; color: var(--muted); }
.spec-note { border: 1px dashed #b9c4d0; border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); background: rgba(255, 255, 255, .7); }
.spec-note p { color: var(--muted); max-width: 70ch; }
.related { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 8px 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink); }
.related a:hover { border-color: var(--navy-2); }

.cta-band { background: linear-gradient(100deg, var(--gold), #e9b85f); padding: clamp(32px, 5vw, 48px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; font-size: clamp(1.35rem, 1.5vw + .9rem, 2rem); }
.cta-band .btn-accent { background: var(--ink); color: #fff; box-shadow: none; }
.cta-band .btn-accent:hover { background: var(--navy-2); }
@media (max-width: 420px) { .cta-band .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: #07141e; color: rgba(255, 255, 255, .72); padding: clamp(48px, 6vw, 72px) 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 32px 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.brand-footer { color: #fff; }
.brand-footer .brand-mark { border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .22); }
.brand-footer .brand-sub { color: #7fd0d0; }
.footer-about { margin-top: 14px; max-width: 38ch; }
.footer-h { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.footer-address { margin-bottom: 4px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a { display: inline-flex; align-items: center; min-height: var(--tap); overflow-wrap: anywhere; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
