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

:root {
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --line: #e2e8f0;
  --bg: #fff;
  --bg-2: #f8fafc;
  --bg-3: #f1f5f9;
  --brand: #17304f;
  --brand-2: #24466e;
  --accent: #b7791f;
  --accent-soft: #fdf6e7;
  --radius: 6px;
  --max: 1180px;
  --pad: clamp(1rem, 4vw, 2rem);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 28px -16px rgba(15, 23, 42, .25);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.skip {
  position: absolute; left: -9999px;
  background: var(--brand); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 0; top: 0; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }

.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  border-radius: 4px; font-weight: 700; font-size: .95rem; letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 680; font-size: 1.02rem; }
.brand-sub { font-size: .7rem; color: var(--ink-3); letter-spacing: .07em; text-transform: uppercase; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .8rem; border-radius: var(--radius);
  color: var(--ink-2); font-size: .94rem; font-weight: 500;
}
.nav a:hover { background: var(--bg-3); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 640; }
.nav .btn { margin-left: .5rem; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .45rem .7rem; font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink-2);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.35rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  background: var(--brand); color: #fff;
}
.btn:hover { background: var(--brand-2); color: #fff; }
.btn--accent { background: var(--accent); }
.btn--accent:hover { background: #96620f; }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-3); color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* hero */
.hero {
  background: linear-gradient(160deg, var(--brand) 0%, #0d1f33 100%);
  color: #fff;
  padding: clamp(3.5rem, 9vw, 7rem) 0;
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero .lede { color: #b9c8da; font-size: 1.1rem; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 1.1rem;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(183, 121, 31, .5);
  padding: .3rem .8rem; border-radius: 100px;
}
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hero .btn-row { margin-top: 1.8rem; }

/* stats strip */
.stats { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line);
}
.stat { background: var(--bg-2); padding: 1.6rem 1rem; text-align: center; }
.stat-num {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700;
  color: var(--brand); line-height: 1.1;
}
.stat-label { font-size: .82rem; color: var(--ink-3); margin-top: .35rem; letter-spacing: .02em; }

/* grid + cards */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cbd5e1; color: inherit; }
.card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .92rem; color: var(--ink-2); margin-bottom: .7rem; }
.card-more { margin-top: auto; font-size: .86rem; font-weight: 600; color: var(--accent); }

/* placeholder image block */
.ph {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, #eef2f7 0 12px, #e7edf4 12px 24px);
  display: grid; place-items: center;
  color: var(--ink-3); font-size: .8rem; letter-spacing: .06em;
  text-transform: uppercase; text-align: center; padding: 1rem;
  border-bottom: 1px solid var(--line);
}
.ph--wide { aspect-ratio: 16 / 9; }

/* prose */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }

/* specs table */
.specs { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .94rem; }
.specs th, .specs td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
.specs th { width: 34%; color: var(--ink-2); font-weight: 600; background: var(--bg-2); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

/* breadcrumbs */
.crumbs { font-size: .84rem; color: var(--ink-3); padding: 1.1rem 0 0; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--accent); }
.crumbs span::before { content: " / "; }

/* page head */
.page-head {
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 2.2rem 0 2.6rem;
}
.page-head h1 { margin-bottom: .5rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-label { flex: 0 0 96px; font-size: .84rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; padding-top: .1rem; }
.contact-value { font-weight: 550; word-break: break-word; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .7rem .85rem; font: inherit; font-size: .95rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--brand-2); outline-offset: 1px; border-color: var(--brand-2);
}
.field textarea { min-height: 130px; resize: vertical; }
.hint { font-size: .82rem; color: var(--ink-3); }

/* footer */
.site-footer { background: var(--brand); color: #a9bacd; padding: 3rem 0 2rem; margin-top: 0; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem; }
.site-footer a { color: #a9bacd; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; font-size: .92rem; }
.footer-brand { color: #fff; font-weight: 650; margin-bottom: .6rem; font-size: 1.05rem; }
.footer-note { font-size: .88rem; line-height: 1.6; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .84rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}

/* cta band */
.cta-band {
  background: var(--accent-soft); border-block: 1px solid #f0e0bd;
  padding: clamp(2.2rem, 5vw, 3.2rem) 0;
}
.cta-band h2 { margin-bottom: .5rem; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta-inner p { margin: 0; color: var(--ink-2); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1rem;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .8rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: .8rem 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { position: relative; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .contact-list li { flex-direction: column; gap: .2rem; }
  .contact-label { flex: none; }
}

/* product photography */
.card img.shot {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  background: var(--bg-3); border-bottom: 1px solid var(--line);
}
.card img.shot--contain { object-fit: contain; padding: 1rem; }

.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: .9rem; margin: 1.5rem 0 2rem;
}
.gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-3);
}
.gallery img.contain { object-fit: contain; padding: .75rem; }

.shot-lead {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-3); margin-bottom: 2.5rem;
}
.shot-lead--contain { object-fit: contain; padding: 2rem; }

/* hero with image */
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-grid img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
}

/* factory strip */
.factory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.factory-grid figure { margin: 0; }
.factory-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.factory-grid figcaption { font-size: .84rem; color: var(--ink-3); margin-top: .5rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid img { max-width: 420px; margin-inline: auto; order: -1; }
}
