/* ============================================================
   LOVAT TOWER — Shared Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700&family=Inter:wght@400;500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --stone:      #f5f0eb;
  --bone:       #ede7de;
  --charcoal:   #1a1f2b;
  --slate:      #2e3440;
  --slate-mid:  #5e5e5e;
  --pine:       #2d5016;
  --pine-light: #4a7c28;
  --rust:       #c0430f;
  --rust-light: #d9622e;
  --gold:       #b89a4e;
  --white:      #ffffff;
  --text:       #1b1b1b;

  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max-content: 1120px;
  --max-prose:   680px;
  --section-v:   4.5rem;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
  color: var(--text);
}

/* Display sizes use Bebas Neue — matches the logo wordmark energy */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  letter-spacing: 0.05em;
  line-height: 0.95;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
}
.display-md {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.display-sm {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pine);
}
.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--slate-mid);
}
p { margin-bottom: 1em; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: var(--section-v) 0; }
.section--dark {
  background: var(--charcoal);
  color: var(--white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--stone { background: var(--stone); }
.section--bone  { background: var(--bone); }
.section--pine  { background: var(--pine); color: var(--white); }
.section--pine h2,
.section--pine p { color: var(--white); }

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo: styled text matching the Bebas Neue wordmark until image asset is ready.
   When white PNG is available, swap to: <img src="assets/logo-white.png" alt="Lovat Tower"> */
.site-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}

.site-nav { display: flex; align-items: center; gap: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}
.nav-links a.nav-cta {
  background: var(--rust);
  color: var(--white);
  padding: 0.4rem 1.1rem;
  border-radius: 3px;
  border-bottom: none;
}
.nav-links a.nav-cta:hover { background: var(--rust-light); }

/* Hamburger — mobile only */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: 1rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  line-height: 1;
}
.btn-primary  { background: var(--rust);  color: var(--white); border-color: var(--rust); }
.btn-primary:hover  { background: var(--rust-light); border-color: var(--rust-light); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--white); }
.btn-sm { font-size: 0.8rem; padding: 0.5rem 1.25rem; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #0f1a0f 0%, #1a1f2b 55%, #1f1510 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(184,154,78,0.4);
}
.hero h1 { color: var(--white); max-width: 820px; margin-bottom: 1.5rem; }
/* Tagline treatment — primary placement in hero on homepage */
.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero .hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  font-family: var(--font-body);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--bone);
  padding: 2.5rem 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item {
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--bone);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--pine);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-mid);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(26,31,43,0.08), 0 4px 16px rgba(26,31,43,0.04);
}
.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--pine);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.2rem;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.card p { font-size: 0.9rem; color: var(--slate-mid); margin-bottom: 0; }
.card ul { list-style: none; margin-top: 0.75rem; }
.card ul li {
  font-size: 0.875rem;
  color: var(--slate-mid);
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
  border-top: 1px solid var(--bone);
}
.card ul li:first-child { border-top: none; }
.card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--rust);
  font-size: 0.8rem;
}

/* --- Grid helpers --- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-2-fixed { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

/* --- Badge --- */
.badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 2px;
  background: rgba(184,154,78,0.08);
}
.badge-pine {
  border-color: var(--pine);
  color: var(--pine);
  background: rgba(45,80,22,0.07);
}
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* --- Section heading block --- */
.section-header { margin-bottom: 3rem; }
.section-header .section-label { margin-bottom: 0.75rem; display: block; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: var(--max-prose); color: var(--slate-mid); }

/* --- Divider --- */
.divider {
  width: 3rem;
  height: 3px;
  background: var(--rust);
  margin: 0.875rem 0 1.5rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--pine);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-tagline {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem !important;
}

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.footer-tagline { font-size: 0.875rem; margin-bottom: 1.25rem; line-height: 1.6; }
.co-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* --- Forms --- */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-mid);
  margin-bottom: 0.4rem;
}
input, textarea, select {
  width: 100%;
  background: var(--white);
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(45,80,22,0.1);
}
textarea { resize: vertical; min-height: 130px; }

/* --- Image placeholders --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--bone) 0%, #d8d0c4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-mid);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
}
.img-placeholder--dark {
  background: linear-gradient(135deg, #1e2a1e 0%, #2a3525 100%);
  color: rgba(255,255,255,0.3);
}

/* --- Process steps (vertical list) --- */
.process-steps { counter-reset: steps; }
.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  align-items: flex-start;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--rust);
  line-height: 1;
  min-width: 2.75rem;
  letter-spacing: 0.04em;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.process-step p { font-size: 0.875rem; color: var(--slate-mid); margin: 0; }

/* --- Process steps horizontal (homepage) --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.process-col {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--bone);
  padding-left: 2rem;
}
.process-col:first-child { padding-left: 0; }
.process-col:last-child { border-right: none; }
.process-col .step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--rust);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.process-col h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.process-col p { font-size: 0.875rem; color: var(--slate-mid); margin: 0; }

/* --- Product card --- */
.product-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(26,31,43,0.08), 0 4px 16px rgba(26,31,43,0.04);
}
.product-img { width: 100%; height: 220px; }
.product-body { padding: 1.25rem; }
.product-category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 0.4rem;
}
.product-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}
.product-desc { font-size: 0.875rem; color: var(--slate-mid); margin-bottom: 0.75rem; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--text);
}
.badge-coming-soon {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bone);
  color: var(--slate-mid);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

/* --- Heritage section --- */
.heritage-accent {
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
}
.heritage-accent p {
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.75;
}

/* --- Heritage facts grid --- */
.heritage-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.heritage-fact {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,154,78,0.25);
  border-radius: 3px;
  padding: 1rem;
  text-align: center;
}
.heritage-fact-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.heritage-fact-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* --- Why section (2-col split) --- */
.why-list {
  list-style: none;
  margin-top: 1rem;
}
.why-list li {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-top: 1px solid var(--bone);
  font-size: 0.95rem;
  color: var(--slate-mid);
  align-items: flex-start;
}
.why-list li:first-child { border-top: none; padding-top: 0; }
.why-list li::before {
  content: '—';
  color: var(--rust);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* --- Gear callout strip --- */
.gear-callout {
  background: var(--stone);
  border-top: 1px solid var(--bone);
  border-bottom: 1px solid var(--bone);
  padding: 1.75rem 0;
}
.gear-callout .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.gear-callout-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--slate);
  text-transform: uppercase;
}
.gear-callout-text span { color: var(--slate-mid); font-weight: 400; text-transform: none; font-family: var(--font-body); font-size: 0.9rem; margin-left: 0.5rem; letter-spacing: 0; }

/* --- Page header band --- */
.page-header {
  background: var(--charcoal);
  padding: 5rem 0 4rem;
}
.page-header .section-label { color: var(--gold); display: block; margin-bottom: 0.75rem; }
.page-header h1 { color: var(--white); margin-bottom: 1rem; }
.page-header p { color: rgba(255,255,255,0.6); max-width: 580px; font-size: 1rem; line-height: 1.7; }

/* --- Prose (privacy / long-form) --- */
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ul li { margin-bottom: 0.35rem; font-size: 0.95rem; }
.prose hr { border: none; border-top: 1px solid var(--bone); margin: 2.5rem 0; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-col { border-right: none; border-bottom: 1px solid var(--bone); }
  .process-col:last-child { border-bottom: none; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--bone); }
}

@media (max-width: 768px) {
  .grid-2-fixed { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero-content { padding: 3.5rem 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-top: none;
  }
  .nav-links a.nav-cta {
    margin-top: 1rem;
    text-align: center;
    border-radius: 3px;
    padding: 0.75rem;
  }
  .site-nav.nav-open .nav-links { display: flex; }
  .gear-callout .container { flex-direction: column; align-items: flex-start; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-right: none; }
}

@media (max-width: 480px) {
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none !important; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--bone) !important; }
  .heritage-facts { grid-template-columns: 1fr 1fr; }
}
