:root {
  --bg: #f5f2ee;
  --surface: #faf8f5;
  --surface-dark: #1c1a18;
  --ink: #1a1714;
  --ink-2: #3d3830;
  --muted: #7a7168;
  --muted-2: #a09588;
  --gold: #b08d57;
  --gold-light: #c9a96e;
  --gold-pale: #e8d9c0;
  --gold-soft: #f2ead8;
  --charcoal: #2a2520;
  --charcoal-2: #3d3730;
  --rule: rgba(176, 141, 87, 0.22);
  --rule-dark: rgba(176, 141, 87, 0.15);
  --shadow: 0 20px 60px rgba(26, 23, 20, 0.10);
  --shadow-soft: 0 8px 28px rgba(26, 23, 20, 0.07);
  --radius: 4px;
  --radius-lg: 6px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font: inherit; }

/* Texture overlay removed — was creating stacking context */

.wrap {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  position: fixed;
  z-index: 9999;
  background: var(--charcoal);
  color: white;
  padding: .75rem 1rem;
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 242, 238, 0.97);
  border-bottom: 1px solid var(--rule);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  height: 40px;
  width: auto;
}

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

.site-nav a {
  font-family: 'Manrope', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0.5rem 0.85rem;
  border-radius: 2px;
  transition: color 0.18s ease, background 0.18s ease;
}

.site-nav a:hover {
  color: var(--gold);
  background: var(--gold-soft);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 999px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn.primary {
  background: var(--charcoal);
  color: var(--gold-pale);
  border-color: var(--charcoal);
  box-shadow: 0 12px 32px rgba(26, 23, 20, 0.22);
}

.btn.primary:hover {
  background: var(--charcoal-2);
  box-shadow: 0 16px 40px rgba(26, 23, 20, 0.28);
}

.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

.btn.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn.gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(176, 141, 87, 0.30);
}

.btn.gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  padding: 0.75rem 1.2rem;
  display: inline-flex;
  align-items: center;
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── MENU (mobile) ─── */
.menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ─── HERO ─── */
.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-media {
  position: relative;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--bg) 100%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 3rem;
  position: relative;
}

.hero-copy::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.hero-copy h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 48ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1rem;
}

.fine {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  color: var(--muted-2);
}

.fine a { text-decoration: underline; color: var(--ink-2); }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--charcoal);
  padding: 1.2rem 0;
  border-top: 1px solid rgba(176, 141, 87, 0.2);
  border-bottom: 1px solid rgba(176, 141, 87, 0.2);
}

.trust-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-pale);
}

.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
}

/* ─── SECTIONS ─── */
section { padding: 5.5rem 0; position: relative; z-index: 1; }

.section-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--gold);
}

h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

h2 em { font-style: italic; color: var(--gold); }

h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
}

/* ─── BUILT FOR ─── */
.built-for { background: var(--surface); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  border-top: 1px solid var(--rule);
}

.card-body .title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.card-body .text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── SERVICES ─── */
.services-section { background: var(--charcoal); }
.services-section h2 { color: var(--gold-pale); }
.services-section .section-label { color: var(--gold); }
.services-section .lead { color: rgba(232, 217, 192, 0.65); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(176, 141, 87, 0.15);
  border: 1px solid rgba(176, 141, 87, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
}

.service-item {
  background: var(--charcoal);
  padding: 2rem 1.8rem;
  transition: background 0.2s ease;
}

.service-item:hover { background: var(--charcoal-2); }

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid rgba(176, 141, 87, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--gold);
}

.service-item h3 {
  color: var(--gold-pale);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.service-item p {
  font-size: 0.88rem;
  color: rgba(232, 217, 192, 0.55);
  line-height: 1.65;
}

/* ─── PROCESS ─── */
.process-section { background: var(--bg); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale), var(--gold));
  opacity: 0.4;
}

.step-item {
  padding: 0 1.5rem 2rem;
  text-align: center;
}

.step-num {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.step-label {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── PROJECTS ─── */
.projects-section { background: var(--surface); }

/* ─── SERVICE AREA ─── */
.area-section { background: var(--charcoal); }
.area-section h2 { color: var(--gold-pale); }
.area-section .section-label { color: var(--gold); }
.area-section .lead { color: rgba(232, 217, 192, 0.65); }

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(176, 141, 87, 0.15);
  border: 1px solid rgba(176, 141, 87, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2.5rem;
}

.area-item {
  background: var(--charcoal);
  padding: 2rem 1.8rem;
}

.area-item .area-name {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-pale);
  margin-bottom: 0.6rem;
}

.area-item .area-cities {
  font-size: 0.88rem;
  color: rgba(232, 217, 192, 0.5);
  line-height: 1.7;
}

/* ─── CONTACT ─── */
.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info .lead { margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-detail-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-detail-value {
  font-size: 1rem;
  color: var(--ink-2);
}

.contact-detail-value a:hover { color: var(--gold); }

/* Form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.field label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

input, select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.12);
}

textarea { min-height: 120px; resize: vertical; }

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(176, 141, 87, 0.2);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(176, 141, 87, 0.15);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(232, 217, 192, 0.5);
  line-height: 1.6;
  max-width: 28ch;
}

.footer-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(232, 217, 192, 0.55);
  transition: color 0.18s ease;
}

.footer-links a:hover { color: var(--gold-pale); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  color: rgba(232, 217, 192, 0.3);
}

.footer-credit a { color: inherit; }
.footer-credit a:hover { color: var(--gold); }

/* ─── GALLERY PAGE ─── */
.page-hero {
  padding: 4rem 0 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.03); }

/* ─── ESTIMATE PAGE ─── */
.estimate-hero {
  padding: 4rem 0 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { height: 50vh; }
  .hero-media::after { background: linear-gradient(180deg, transparent 60%, var(--bg) 100%); }
  .hero-copy { padding: 3rem 2rem; }
  .hero-copy::before { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}

@media (max-width: 820px) {
  .menu { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .menu.open {
    display: flex;
    position: fixed;
    top: var(--header-h, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    z-index: 1001;
    border-top: 1px solid var(--rule);
    overflow-y: auto;
  }
  .site-nav { flex-direction: column; align-items: stretch; width: 100%; gap: 0.25rem; }
  .site-nav a { padding: 0.85rem 1rem; font-size: 0.9rem; }
  .nav-cta { flex-direction: column; width: 100%; }
  .nav-cta a, .nav-cta .btn, .nav-cta .btn-outline { width: 100%; text-align: center; justify-content: center; }
  body.menu-open { overflow: hidden; }
  .grid-3, .area-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-copy { padding: 2rem 1.5rem; }
  h2 { font-size: 1.75rem; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trust-bar .wrap { gap: 1.5rem; }
}
