/* ============================================================
   TRUE LINE CONTRACTING — Luxury Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Montserrat:wght@300;400;500;600&display=swap');

/* ── Root Variables ─────────────────────────────────────── */
:root {
  --charcoal:    #1a1917;
  --charcoal-mid:#2e2d2a;
  --gold:        #b89d6e;
  --gold-light:  #d4b98a;
  --gold-pale:   #f0e8d8;
  --stone:       #8a8278;
  --stone-light: #c4bdb4;
  --cream:       #f9f7f4;
  --white:       #ffffff;
  --text-dark:   #2c2a27;
  --text-mid:    #5a5752;
  --border:      rgba(184,157,110,0.25);
  --border-light:rgba(184,157,110,0.12);

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Montserrat', 'Helvetica Neue', sans-serif;

  --max-width:   1200px;
  --nav-height:  88px;

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
p  { font-size: 0.9375rem; line-height: 1.85; color: var(--text-mid); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-nav.scrolled {
  background: rgba(26,25,23,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.site-nav.light-nav {
  background: transparent;
}
.site-nav.light-nav.scrolled {
  background: rgba(26,25,23,0.97);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.55em;
}
.nav-logo-primary {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
}
.nav-logo-sub {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--gold);
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
  padding: 0.5rem 0;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold); }

/* Dropdown */
.nav-links .dropdown {
  position: absolute;
  top: calc(100% + 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(26,25,23,0.98);
  border: 1px solid var(--border);
  padding: 1.25rem 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  transform: translateX(-50%) translateY(-8px);
}
.nav-links > li:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.65rem 1.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s, padding-left 0.2s;
}
.dropdown a:hover { color: var(--gold); padding-left: 2.1rem; }

.nav-cta {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal) !important;
  background: var(--gold);
  padding: 0.75rem 1.75rem !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--charcoal) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.05em;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(184,157,110,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
}
.btn-arrow::after {
  content: '→';
  font-size: 1rem;
  transition: transform 0.2s;
}
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── Page Hero ───────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0 clamp(1.5rem, 5vw, 4rem) 4rem;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, #2a2420 60%, #3d3020 100%);
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,25,23,0.85) 0%, transparent 60%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.page-hero h1 { color: var(--white); }
.page-hero p {
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-top: 1rem;
  font-size: 1rem;
}

/* ── Section Layout ─────────────────────────────────────── */
.section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 4rem);
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-header {
  max-width: 680px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-header h2 { margin-bottom: 1.25rem; }
.section-header p { font-size: 1rem; }

.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-dark  { background: var(--charcoal); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.6); }
.section-dark .eyebrow { color: var(--gold); }

/* ── Gold Divider ───────────────────────────────────────── */
.gold-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
}
.gold-line-center { margin-left: auto; margin-right: auto; }

/* ── Cards ───────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-top: 3px solid transparent;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26,25,23,0.12);
}
.service-card-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.service-card h3 { margin-bottom: 1rem; color: var(--charcoal); }
.service-card p  { margin-bottom: 1.5rem; }
.service-card a  {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}
.service-card a:hover { gap: 0.85rem; }

/* ── Feature Split ──────────────────────────────────────── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 560px;
}
.feature-split.reverse .feature-image { order: 2; }
.feature-split.reverse .feature-text  { order: 1; }
.feature-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.feature-image-bg {
  position: absolute;
  inset: 0;
}
.feature-text {
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-text h2 { margin-bottom: 1.5rem; }
.feature-text p  { margin-bottom: 1.5rem; max-width: 480px; }

/* ── Process Steps ─────────────────────────────────────── */
.process-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.process-step:last-child { border-bottom: none; }
.step-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  padding-top: 0.25rem;
}
.step-content h3 { margin-bottom: 0.75rem; color: var(--charcoal); }

/* ── Stat Bar ────────────────────────────────────────────── */
.stat-bar {
  background: var(--charcoal);
  padding: 4rem clamp(1.5rem, 5vw, 4rem);
}
.stat-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-top: 0.5rem;
}

/* ── Testimonial ─────────────────────────────────────────── */
.testimonial-block {
  background: var(--charcoal-mid);
  padding: 4rem clamp(2rem, 6vw, 6rem);
  border-left: 3px solid var(--gold);
  margin: 3rem 0;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.testimonial-author {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Accordion ─────────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--charcoal);
  transition: color 0.2s;
}
.accordion-trigger:hover { color: var(--gold); }
.accordion-trigger .icon {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.accordion-trigger.open .icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion-body-inner { padding-bottom: 1.75rem; }

/* ── CTA Band ────────────────────────────────────────────── */
.cta-band {
  background: var(--charcoal);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.cta-band-inner {
  max-width: 700px;
  margin: 0 auto;
}
.cta-band h2 { color: var(--white); margin-bottom: 1.25rem; }
.cta-band p  { color: rgba(255,255,255,0.6); margin-bottom: 2.5rem; font-size: 1rem; }
.cta-band .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Checklist ─────────────────────────────────────────── */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9375rem;
  color: var(--text-mid);
}
.checklist li::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9l4 4 8-8' stroke='%23b89d6e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ── Image Mosaic ────────────────────────────────────────── */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 6px;
}
.mosaic-tall { grid-row: span 2; }
.mosaic-cell {
  position: relative;
  overflow: hidden;
}
.mosaic-cell-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
}
.mosaic-cell:hover .mosaic-cell-bg { transform: scale(1.04); }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.55);
  padding: 5rem clamp(1.5rem, 5vw, 4rem) 2.5rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-brand .tagline {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}
.footer-brand p { font-size: 0.875rem; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col .contact-item {
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-associations {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.footer-associations .assoc-label {
  color: var(--gold);
  opacity: 0.7;
  font-size: 0.65rem;
  white-space: nowrap;
  margin-right: 0.5rem;
}
.footer-associations span:not(.assoc-label) { white-space: nowrap; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.footer-bottom a:hover { color: var(--gold); }
.footer-gold-line {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* ── Contact Form ────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-field.full { grid-column: span 2; }
label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
}
input, select, textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid rgba(26,25,23,0.15);
  padding: 1rem 1.25rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
}
textarea { resize: vertical; min-height: 140px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7l5 5 5-5' stroke='%23b89d6e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; }

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-gold   { color: var(--gold) !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-2 { gap: 1rem; }

/* ── Decorative Elements ─────────────────────────────────── */
.angle-divider {
  width: 100%;
  height: 80px;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
}

/* Subtle texture overlay for hero sections */
.texture-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(184,157,110,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(184,157,110,0.04) 0%, transparent 40%);
  pointer-events: none;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top  { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .stat-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse .feature-image { order: 0; }
  .feature-split.reverse .feature-text  { order: 0; }
  .feature-image { min-height: 320px; }

  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: span 1; }

  .mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .mosaic-tall { grid-row: span 1; height: 240px; }
  .mosaic-cell { height: 200px; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .stat-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .process-step { grid-template-columns: 50px 1fr; }
}

@media (max-width: 480px) {
  .stat-bar-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .cta-band .btn-group { flex-direction: column; align-items: center; }
}
