/* ============================================================
   Leader Printing — shared styles
   ============================================================ */

:root {
  --navy: #0B2A5B;
  --navy-900: #061838;
  --navy-700: #14397a;
  --navy-50: #f1f4fb;
  --red: #D62828;
  --red-soft: #fbe9e9;
  --ink: #0A0A0A;
  --ink-2: #1a1d23;
  --mid: #6B7280;
  --mid-2: #9aa0aa;
  --line: #E7E5E0;
  --line-2: #f0eee9;
  --bg: #ffffff;
  --bg-soft: #FAFAF7;
  --bg-cream: #f5f2eb;

  --accent: var(--red);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --max: 1360px;
  --gutter: clamp(20px, 4vw, 56px);

  --shadow-sm: 0 1px 2px rgba(11, 42, 91, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(11, 42, 91, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

button { font-family: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ========================== type ========================== */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.eyebrow.no-mark::before { display: none; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
  color: var(--navy);
  margin: 0;
  font-size: clamp(48px, 7.2vw, 116px);
}
.display em {
  font-style: italic;
  color: var(--ink-2);
}
.display .red {
  color: var(--red);
  font-style: italic;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
}
h2.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
h2.section-title em { font-style: italic; color: var(--ink-2); }

p { margin: 0; }
.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 640px;
}

/* ========================== header ========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,0.94);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 36px; height: 36px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 4px;
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav.primary a {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
nav.primary a:hover { background: var(--bg-soft); color: var(--navy); }
nav.primary a.active { color: var(--navy); }
nav.primary a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--red);
}

.services-menu {
  position: relative;
}
.services-menu > a::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 8px;
  opacity: .55;
}
.services-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 760px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: var(--shadow-md);
}
.services-menu:hover .services-dropdown,
.services-menu:focus-within .services-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.services-dropdown .ddlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.services-dropdown .ddlink:hover { background: var(--bg-soft); color: var(--navy); }
.services-dropdown .ddlink .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid-2);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ========================== language picker ========================== */
.lang {
  position: relative;
}
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.lang-trigger:hover { border-color: var(--navy); }
.lang-trigger svg { width: 14px; height: 14px; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  min-width: 360px;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
@media (max-width: 560px) { .lang-menu { grid-template-columns: 1fr; min-width: 220px; max-height: 60vh; } }
.lang.open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
}
.lang-menu button:hover { background: var(--bg-soft); }
.lang-menu button.active { color: var(--navy); font-weight: 600; }
.lang-menu button.active::after {
  content: "•";
  color: var(--red);
}
.lang-menu .code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid-2);
}

/* ========================== buttons ========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-900); }
.btn-primary .arrow {
  display: inline-block;
  width: 18px; height: 18px;
  background: var(--red);
  border-radius: 50%;
  position: relative;
}
.btn-primary .arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M6 5l6 4-6 4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/14px no-repeat;
}
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-line {
  background: transparent;
  color: var(--navy);
  padding: 12px 0;
  border-radius: 0;
  border-bottom: 1px solid var(--ink-2);
}
.btn-line:hover { color: var(--red); border-color: var(--red); }

/* ========================== sections ========================== */
section { padding-block: clamp(72px, 9vw, 140px); }
section.tight { padding-block: clamp(56px, 6vw, 96px); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .left { display: flex; flex-direction: column; gap: 20px; }
.section-head .right { color: var(--mid); max-width: 480px; justify-self: end; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .right { justify-self: start; }
}

/* ========================== placeholders ========================== */
.ph-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--bg-cream);
}
/* aspect-ratio overrides in contexts that used custom .ph aspect-ratio */
.svc-card .ph-img {
  aspect-ratio: 4/3;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: transform .6s ease;
}
.svc-card:hover .ph-img { transform: scale(1.04); }
.about-img-wrap .ph-img { aspect-ratio: 4/5; }
.about-img-wrap .accent .ph-img { aspect-ratio: 1.4/1; }
.car-slide .ph-img { aspect-ratio: 16/10; min-height: 380px; height: 100%; }
.person .ph-img { aspect-ratio: 4/5; }
.svc-row .preview .ph-img { width: 100%; height: 100%; aspect-ratio: auto; }
.svc-hero-right .ph-img { aspect-ratio: 4/5; min-height: 380px; }
.product-card .ph-img { aspect-ratio: 1/1; transition: transform .6s ease; }
.product-card:hover .ph-img { transform: scale(1.04); }
.ph {
  position: relative;
  background: var(--bg-cream);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(11,42,91,0.05) 0 1px,
      transparent 1px 14px
    );
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: 4px;
}
.ph .ph-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255,255,255,0.85);
  padding: 6px 10px;
  margin: 12px;
  border-radius: 4px;
}
.ph.dark {
  background: var(--navy);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.06) 0 1px,
      transparent 1px 14px
    );
  border-color: var(--navy-900);
}
.ph.dark .ph-label {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.ph.red {
  background: var(--red);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.07) 0 1px,
      transparent 1px 14px
    );
  border-color: #b41f1f;
}
.ph.red .ph-label { background: rgba(255,255,255,0.18); color: #fff; }

.ph.cream {
  background: #efe9da;
}

/* ========================== footer ========================== */
.site-footer {
  background: var(--navy);
  color: #cbd3e3;
  padding-top: 80px;
  padding-bottom: 28px;
  font-size: 14px;
}
.site-footer a { color: #cbd3e3; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-wordmark {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 60px 0 24px;
}
.footer-wordmark em { color: var(--red); font-style: italic; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  gap: 20px;
  flex-wrap: wrap;
}

/* ========================== utility ========================== */
.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.spacer-sm { height: 24px; }
.spacer-md { height: 48px; }

/* mobile nav simplification */
@media (max-width: 980px) {
  nav.primary { display: none; }
  .brand-tag { display: none; }
}
