/* European Pavers Design System — shared tokens & components
   Extracted from europeanpavers.com (real CSS), 2026-05-07
   Direct fonts: Oswald + Plus Jakarta Sans (both Google Fonts, free) */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Plus+Jakarta+Sans:wght@200..800&display=swap');

:root {
  /* color — extracted from europeanpavers.com defaults.css :root */
  --teal: #015760;
  --teal-deep: #01464d;
  --teal-bright: #016e79;
  --green: #c2eb50;
  --green-deep: #a4cd31;
  --beige-lt: #f2f2ef;
  --beige-md: #e8e8db;
  --white: #ffffff;
  --black: #000000;
  --gray: #bfbfbf;
  --gray-lt: #c3c3c3;

  /* derived ink scale (lifted from --teal-gradient-down start) */
  --ink: #162a2c;
  --ink-soft: #2a3a3c;
  --ink-muted: #3e4a4c;
  --ink-quiet: #6b7a7c;

  /* convenience aliases for cross-DS parity */
  --brand: var(--teal);
  --brand-bright: var(--teal-bright);
  --brand-deep: var(--teal-deep);
  --accent-warm: var(--green);
  --bg: var(--white);
  --surface: var(--beige-lt);
  --surface-2: var(--beige-md);
  --border: #d7d7d2;
  --border-strong: var(--gray-lt);
  --text-on-dark: var(--white);
  --text-on-dark-muted: rgba(255,255,255,0.72);

  /* gradients — direct lift from EP defaults.css */
  --beige-gradient: linear-gradient(180deg, #e8e8db 0%, #ffffff 100%);
  --teal-gradient-up: linear-gradient(0deg, #01565f 0%, transparent 100%);
  --teal-gradient-down: linear-gradient(180deg, #162a2c 0%, #01565f44 75%, transparent 100%);

  /* type */
  --font-display: 'Oswald', 'Helvetica Neue Condensed', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-eyebrow: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* layout — EP container values */
  --container-lg: 1640px;
  --container: 1364px;
  --container-narrow: 880px;
  --gutter: 35px;
  --section: 120px;

  /* signature radius — EP CSS --container-border-radius */
  --radius: 22px;
  --radius-pill: 1000px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;            /* EP body weight is 300 — signature */
  letter-spacing: 0.42px;
  line-height: 1.588;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--teal-bright); }
strong { font-weight: 800; }

/* TYPOGRAPHY ----------------------------------------------- */
.hero-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 1.146;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.h1, h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.4em;
}
.h2, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.5em;
}
.h3, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.125;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.5em;
}
.h4, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.222;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.5em;
}
.eyebrow, .small-heading {
  font-family: var(--font-eyebrow);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.42px;
  line-height: 1.588;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 16px;
  display: inline-block;
}
.eyebrow.on-dark { color: var(--green); }
.lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.588;
  letter-spacing: 0.42px;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 56ch;
}
p { margin: 0 0 1.1em; max-width: 72ch; }

/* BUTTONS — real EP button system ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 300ms ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--teal);
  color: var(--white);
}
.btn--green-arrow { padding: 12px 24px 12px 32px; }
.btn--green-arrow .arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform 300ms ease;
}
.btn--green-arrow:hover .arrow { transform: translateX(5px); }

/* secondary text-arrow link */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  transition: color 200ms ease;
}
.btn-arrow .arrow { display: inline-block; transition: transform 200ms ease; }
.btn-arrow:hover { color: var(--teal-bright); }
.btn-arrow:hover .arrow { transform: translateX(4px); }
.btn-arrow.on-dark { color: var(--white); }
.btn-arrow.on-dark:hover { color: var(--green); }

/* outline button on dark */
.btn.outline {
  background: transparent;
  border: 1.5px solid var(--white);
  color: var(--white);
}
.btn.outline:hover { background: var(--white); color: var(--black); }

/* dark-bg hover flips green→white instead of green→teal */
.dark .btn:hover, .on-dark.btn:hover, .dark-bg .btn:hover {
  background: var(--white);
  color: var(--black);
}

/* TAGS / CHIPS — real EP pattern -------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid currentColor;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--teal);
  background: transparent;
}
.tag.on-dark { color: var(--white); }
.tag.solid { background: var(--green); border-color: var(--green); color: var(--black); }

/* LAYOUT --------------------------------------------------- */
.container-lg {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 25px;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section) 0; }
.section-sm { padding: 60px 0; }

/* NAVIGATION ----------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: transparent;
  transition: background 220ms ease, box-shadow 220ms ease;
}
.nav.scrolled, .nav.solid {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 140ms ease;
}
.nav-links a:hover { color: var(--teal); }
.nav.over-dark .nav-links a { color: var(--white); }
.nav.over-dark.scrolled .nav-links a { color: var(--ink); }
.nav-cta {
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* CARDS ---------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -16px rgba(1,87,96,0.18);
}
.card .img {
  aspect-ratio: 4/3;
  background: var(--surface);
  background-size: cover;
  background-position: center;
}
.card .body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card h3 { margin-top: 0; }

/* DARK SECTIONS (footer, feature blocks) ----------------- */
.dark, .bg-teal {
  background: var(--teal);
  color: var(--text-on-dark);
}
.dark .h1, .dark .h2, .dark .h3, .dark .h4, .dark .hero-text,
.bg-teal .h1, .bg-teal .h2, .bg-teal .h3, .bg-teal .h4 {
  color: var(--white);
}
.dark .lede, .bg-teal .lede { color: var(--text-on-dark-muted); }
.bg-beige { background: var(--beige-lt); }
.bg-beige-md { background: var(--beige-md); }

/* HERO ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 90px;
  color: var(--white);
  overflow: hidden;
}
.hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero .scrim {
  position: absolute;
  inset: 0;
  background: var(--teal-gradient-down);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero .hero-text, .hero .h1 { color: var(--white); max-width: 16ch; }
.hero .lede { color: rgba(255,255,255,0.88); max-width: 50ch; }
.hero .eyebrow { color: var(--green); }

/* FOOTER --------------------------------------------------- */
.footer {
  background: var(--teal);
  color: var(--text-on-dark);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer h4 {
  font-family: var(--font-eyebrow);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 12px; }
.footer ul a {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.3px;
  transition: color 140ms;
}
.footer ul a:hover { color: var(--white); }
.footer-brand img { height: 44px; margin-bottom: 20px; }
.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 300;
  max-width: 320px;
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .socials { display: flex; gap: 12px; }
.footer-bottom .socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,0.7);
  transition: all 200ms ease;
}
.footer-bottom .socials a:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
}

/* RESPONSIVE ---------------------------------------------- */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 80px 0; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ============ SIGNATURE PATTERNS (european-pavers-only) ============ */
/* See brand-spec.md → "Signature patterns" */

/* CHEVRON TEXTURE BAND ------------------------------------ */
.sig-chevron-band {
  width: 100%;
  background-image: url('assets/european-pavers-brand/texture-chevron.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.sig-chevron-band--thin { height: 12px; }
.sig-chevron-band--tall { height: 80px; }
.sig-chevron-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22,42,44,0.7);
}
.sig-chevron-band--warm::after { background: rgba(232,232,219,0.55); }

/* REGIONAL STRIP ------------------------------------------ */
.sig-regional-strip {
  background: var(--beige-md);
  padding: 64px 0;
}
.sig-regional-strip .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sig-regional-strip .region {
  border-left: 2px solid var(--teal);
  padding: 8px 0 8px 32px;
}
.sig-regional-strip .region .label {
  font-family: var(--font-eyebrow);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.sig-regional-strip .region .cities {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink);
}
.sig-regional-strip .region .states {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-quiet);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-top: 12px;
}
@media (max-width: 768px) {
  .sig-regional-strip .grid { grid-template-columns: 1fr; gap: 32px; }
}

/* LEGACY STAT BAND --------------------------------------- */
.sig-legacy-stat {
  position: relative;
  padding: 96px 0;
  background: var(--teal);
  color: var(--white);
  overflow: hidden;
}
.sig-legacy-stat--photo {
  background-size: cover;
  background-position: center;
}
.sig-legacy-stat--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal-gradient-down);
}
.sig-legacy-stat .container { position: relative; z-index: 2; }
.sig-legacy-stat .headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
  position: relative;
  display: inline-block;
}
.sig-legacy-stat .headline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 96px;
  height: 6px;
  background: var(--green);
}
.sig-legacy-stat .support {
  margin-top: 48px;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.85);
  max-width: 50ch;
}

/* ============ DS NAV ============ */
.ds-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
}
.ds-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ds-nav-brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.ds-nav-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}
.ds-nav-tabs a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 999px;
  transition: background 160ms, color 160ms;
}
.ds-nav-tabs a:hover {
  background: var(--surface);
  color: var(--ink);
}
.ds-nav-tabs a.active {
  background: var(--teal);
  color: var(--white);
}
