@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --red: #c41e26;
  --red-dark: #9e161d;
  --ink: #2c2c2c;
  --charcoal: #333333;
  --slate: #3d3d3d;
  --muted: #6a6a6a;
  --bronze: #b08a6a;
  --paper: #ffffff;
  --mist: #f4f4f4;
  --line: #e6e6e6;
  --soft: #fafafa;
  --footer: #1f1f1f;
  --header: 84px;
  --max: 1180px;
  --gutter: 28px;
  --font: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 4000;
  background: var(--red); color: #fff; padding: 10px 16px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 300;
  height: var(--header);
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: stretch;
  padding: 0 36px;
  overflow: visible;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0; align-self: center;
}
.logo img { width: 42px; height: 42px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong {
  font-size: 1.22rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--ink); text-transform: none;
}
.logo-text span {
  font-size: 0.68rem; font-weight: 500; color: var(--muted);
  letter-spacing: 0.04em; margin-top: 3px;
}

.nav {
  display: flex; align-items: stretch; gap: 2px;
  margin-left: auto;
}
.nav > li { position: relative; }
.nav > li > a,
.nav-toggle {
  display: flex; align-items: center; gap: 6px;
  height: var(--header);
  padding: 0 16px;
  font-size: 0.95rem; font-weight: 600;
  color: var(--ink); background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent;
  box-sizing: border-box;
}
.nav > li > a:hover,
.nav-toggle:hover,
.nav > li > a.is-active,
.nav-toggle.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}
.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  padding: 10px 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(4px);
  transition: 0.18s ease;
  z-index: 20;
}
.nav > li:hover > .dropdown,
.nav > li:focus-within > .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: none;
}
.dropdown a {
  display: block; padding: 9px 20px;
  font-size: 0.9rem; font-weight: 500; color: var(--slate);
}
.dropdown a:hover { color: var(--red); background: var(--mist); }
.dropdown .group-label {
  padding: 12px 20px 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bronze);
}

.header-utils { display: flex; align-items: center; gap: 6px; margin-left: 8px; align-self: center; }
.icon-btn {
  width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
  color: var(--ink); font-size: 1.15rem; display: grid; place-items: center;
}
.icon-btn:hover { color: var(--red); }
.menu-btn { display: none; }

.search-panel {
  position: fixed; inset: 0; background: rgba(20,20,20,0.55);
  z-index: 400; display: none; align-items: flex-start; justify-content: center;
  padding-top: 120px;
}
.search-panel.open { display: flex; }
.search-panel form {
  width: min(640px, calc(100% - 40px));
  background: #fff; padding: 28px;
  display: flex; gap: 10px;
}
.search-panel input {
  flex: 1; border: 1px solid var(--line); padding: 12px 14px; font-size: 1rem;
}
.search-panel button[type="submit"] {
  background: var(--red); color: #fff; border: 0; padding: 12px 20px;
  font-weight: 700; cursor: pointer;
}
.search-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer;
}

.drawer {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  z-index: 350; display: none;
}
.drawer.open { display: block; }
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw);
  background: #fff; padding: 88px 28px 40px; overflow: auto;
}
.drawer-panel a {
  display: block; padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600; color: var(--ink);
}
.drawer-panel a.sub { font-weight: 500; padding-left: 12px; color: var(--muted); font-size: 0.92rem; }
.drawer-panel a:hover { color: var(--red); }

/* Page title band */
.page-band {
  padding: 42px 0 8px;
  position: relative;
  overflow: hidden;
}
.page-band h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em;
}
.crumb {
  font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; font-weight: 500;
}
.crumb a:hover { color: var(--red); }

.section { padding: 56px 0; }
.section-tight { padding: 36px 0 56px; }
.section-mist { background: var(--mist); }
.section h2.sec-title {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700; color: var(--ink);
  margin-bottom: 28px;
}

/* Stats — Cemcoa-style charcoal tiles */
.stats-well {
  background: var(--mist);
  padding: 28px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat {
  background: var(--charcoal);
  color: #fff;
  min-height: 168px;
  padding: 22px 22px 20px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative;
}
.stat svg {
  position: absolute; top: 18px; left: 20px;
  width: 34px; height: 34px;
  stroke: var(--bronze); fill: none; stroke-width: 1.6;
}
.stat strong {
  font-size: 2.15rem; font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em;
}
.stat span {
  display: block; margin-top: 6px;
  font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.82);
  line-height: 1.35;
}

/* Split article */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .split-media { order: -1; }
.split-copy h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700; margin-bottom: 16px;
}
.split-copy p { margin-bottom: 14px; color: var(--slate); }
.split-copy .lead {
  font-size: 1.12rem; font-weight: 600; color: var(--ink); line-height: 1.55;
}
.split-media img {
  width: 100%; height: 420px; object-fit: cover;
}
.split-media figcaption {
  font-size: 0.8rem; color: var(--muted); margin-top: 8px;
}
.kicker {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 40px;
}
.value {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: 8px 0 18px;
}
.value-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
}
.value-icon svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.7; }
.value h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 0.98rem; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: 0 14px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }
.card img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card .more {
  margin-top: 14px; color: var(--red); font-weight: 700; font-size: 0.88rem;
}
.card .more::after { content: " →"; }

.product-tile {
  position: relative; overflow: hidden; min-height: 240px;
  color: #fff; display: block;
}
.product-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-tile:hover img { transform: scale(1.06); }
.product-tile .shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.82) 0%, rgba(20,20,20,0.15) 60%);
}
.product-tile .pt-body {
  position: relative; z-index: 1;
  padding: 24px; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.product-tile h3 { font-size: 1.15rem; margin-bottom: 4px; }
.product-tile p { font-size: 0.88rem; color: rgba(255,255,255,0.82); }

/* Article / inner pages */
.prose a { color: var(--red); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose p { margin-bottom: 16px; color: var(--slate); }
.prose h2 { font-size: 1.45rem; margin: 32px 0 12px; }
.prose h3 { font-size: 1.12rem; margin: 24px 0 8px; }
.prose ul, .prose ol { margin: 0 0 16px 1.2em; color: var(--slate); }
.prose li { margin: 6px 0; }
.prose blockquote {
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 18px;
  margin: 22px 0;
  font-size: 1.15rem; font-weight: 600; color: var(--ink);
}
.figure-wide { margin: 8px 0 28px; }
.figure-wide img { width: 100%; height: 420px; object-fit: cover; }
.figure-wide figcaption, .figure-pair figcaption {
  font-size: 0.8rem; color: var(--muted); margin-top: 8px;
}
.figure-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 8px 0 28px;
}
.figure-pair img { width: 100%; height: 280px; object-fit: cover; }

.layout-2 {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.side-box {
  background: var(--mist); padding: 22px;
  margin-bottom: 16px;
}
.side-box h3 { font-size: 0.95rem; margin-bottom: 10px; }
.side-box a { display: block; padding: 6px 0; color: var(--slate); font-size: 0.92rem; }
.side-box a:hover { color: var(--red); }
.side-box p { color: var(--muted); font-size: 0.92rem; }

/* Process */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.process-step {
  background: var(--mist); padding: 22px 20px; min-height: 180px;
}
.process-step em {
  display: block; font-style: normal;
  color: var(--red); font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.08em; margin-bottom: 10px;
}
.process-step strong { display: block; font-size: 1.05rem; margin-bottom: 8px; }
.process-step span { color: var(--muted); font-size: 0.92rem; }

/* Markets */
.market-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.market {
  border: 1px solid var(--line); padding: 22px;
  background: #fff;
}
.market h3 { margin-bottom: 8px; }
.market p { color: var(--muted); font-size: 0.95rem; }

/* CTA */
.cta {
  background: var(--charcoal); color: #fff;
  padding: 48px 0;
  position: relative; overflow: hidden;
}
.cta h2 { font-size: 1.6rem; margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,0.78); max-width: 560px; margin-bottom: 22px; }
.btn {
  display: inline-flex; align-items: center;
  background: var(--red); color: #fff;
  padding: 12px 22px; font-weight: 700; font-size: 0.92rem;
}
.btn:hover { background: var(--red-dark); }
.btn-ghost {
  background: transparent; border: 1px solid currentColor; color: inherit;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.deco {
  position: absolute; right: -40px; top: 40px;
  width: 280px; height: 480px; pointer-events: none; opacity: 0.9;
}
.page-band .deco { top: -20px; height: 420px; width: 240px; opacity: 0.32; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.office-card {
  background: var(--mist); padding: 28px;
}
.office-card h3 { margin-bottom: 12px; }
.office-card p { color: var(--slate); margin-bottom: 6px; }
.office-card a { color: var(--red); font-weight: 600; }
form.inquiry {
  display: grid; gap: 12px;
}
form.inquiry label { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
form.inquiry input,
form.inquiry select,
form.inquiry textarea {
  width: 100%; border: 1px solid var(--line); padding: 11px 12px; font-size: 0.95rem;
  background: #fff;
}
form.inquiry textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.form-ok {
  display: none; background: #eef7ee; border: 1px solid #cde8cd;
  padding: 14px; color: #1d5c1d; font-weight: 600;
}
.form-ok.show { display: block; }

/* Insights */
.insight-hero {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center;
}
.insight-hero img { width: 100%; height: 320px; object-fit: cover; }
.meta { font-size: 0.8rem; color: var(--bronze); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }

/* Footer */
.site-footer {
  background: var(--footer); color: rgba(255,255,255,0.78);
  padding: 48px 0 24px;
  position: relative; overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  position: relative; z-index: 1;
}
.site-footer h4 {
  color: #fff; font-size: 0.92rem; margin-bottom: 12px; font-weight: 700;
}
.site-footer a { display: block; padding: 4px 0; font-size: 0.9rem; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; }
.legal-row a { display: inline; }
.footer-brand img { width: 34px; height: 34px; }
.footer-brand strong { font-size: 1.05rem; letter-spacing: 0.04em; }
.legal-row {
  margin-top: 36px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem; position: relative; z-index: 1;
}
.legal-row nav { display: flex; gap: 18px; }
.site-footer .deco { opacity: 0.35; right: -20px; bottom: -80px; top: auto; }

/* Notice */
.notice {
  font-size: 0.82rem; color: var(--muted); margin-top: 28px;
}

@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .stats-grid, .cards, .cards-4, .process { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse, .layout-2, .contact-grid, .insight-hero, .figure-pair {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .deco { display: none; }
  .site-header { padding: 0 18px; }
  .split-media img, .figure-wide img { height: 280px; }
}
@media (max-width: 640px) {
  .stats-grid, .cards, .cards-2, .cards-4, .process, .values-grid, .market-list, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stat { min-height: 140px; }
  .value { grid-template-columns: 56px 1fr; }
  .page-band { padding-top: 28px; }
}
