/* =============================================
   THE FLOOR COLLECTIVE — SHARED STYLESHEET
   v6 — definitive clean version, no duplicates
============================================= */

/* RESET & ROOT
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sand:         #F2EDE4;
  --linen:        #FAF8F4;
  --warm-white:   #FDFCFA;
  --charcoal:     #282520;
  --mid:          #5A5550;
  --muted:        #6B6260;
  --terra:        #B5602A;
  --border:       rgba(40,37,32,0.1);
  --max-w:        1280px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--linen);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
}

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

/* SKIP LINK
============================================= */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--terra); color: var(--warm-white);
  padding: 12px 24px; font-size: 14px; font-weight: 500;
  z-index: 9999; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* NAV — handled inline in each HTML file, no shared CSS needed
============================================= */

/* BUTTONS
============================================= */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 32px; transition: all 0.2s; cursor: pointer; border: none; }
.btn-dark { background: var(--charcoal); color: var(--warm-white); }
.btn-dark:hover { background: var(--terra); }
.btn-outline { background: transparent; color: var(--charcoal); border: 1px solid rgba(40,37,32,0.25); }
.btn-outline:hover { border-color: var(--charcoal); background: var(--sand); }
.btn-light { background: var(--warm-white); color: var(--terra); white-space: nowrap; flex-shrink: 0; }
.btn-light:hover { background: var(--linen); }

/* SHARED TYPOGRAPHY
============================================= */
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--terra); display: block; flex-shrink: 0; }

.section-title { font-family: var(--font-display); font-size: clamp(36px,4vw,54px); font-weight: 400; line-height: 1.1; color: var(--charcoal); letter-spacing: -0.01em; }
.section-title em { font-style: italic; color: var(--terra); }

.section-body { font-size: 16px; font-weight: 300; color: var(--mid); line-height: 1.75; max-width: 520px; }

.about-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra); margin-top: 12px; transition: gap 0.2s; }
.about-link:hover { gap: 16px; }
.about-link::after { content: '→'; }

/* CTA BAND
============================================= */
.cta-band { background: var(--terra); padding: 72px 48px; }
.cta-band-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band-title { font-family: var(--font-display); font-size: clamp(28px,3.5vw,44px); font-weight: 400; color: var(--warm-white); line-height: 1.1; max-width: 520px; }
.cta-band-title em { font-style: italic; opacity: 0.75; }

/* FOOTER
============================================= */
footer { background: var(--charcoal); padding: 60px 48px 36px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 32px; }
.footer-logo-main { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--warm-white); margin-bottom: 6px; }
.footer-logo-sub { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-tagline { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; }
.footer-col-title { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--warm-white); }
.footer-contact-item { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.footer-contact-item a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--warm-white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-credit { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-credit a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-credit a:hover { color: rgba(255,255,255,0.7); }

/* ANIMATIONS
============================================= */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =============================================
   INDEX PAGE
============================================= */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 68px; }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 80px 60px 80px 48px; background: var(--linen); }
.hero-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--terra); display: block; flex-shrink: 0; }
.hero-title { font-family: var(--font-display); font-size: clamp(52px,6vw,80px); font-weight: 400; line-height: 1.05; color: var(--charcoal); margin-bottom: 28px; letter-spacing: -0.01em; }
.hero-title em { font-style: italic; color: var(--terra); }
.hero-body { font-size: 16px; font-weight: 300; color: var(--mid); max-width: 400px; margin-bottom: 44px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-services { display: flex; margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--border); }
.hero-service-item { flex: 1; padding-right: 24px; }
.hero-service-item + .hero-service-item { padding-left: 24px; border-left: 1px solid var(--border); }
.hero-service-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero-service-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--charcoal); }
.hero-right { position: relative; overflow: hidden; background: var(--sand); min-height: 600px; }
.hero-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-badge { position: absolute; bottom: 48px; left: -1px; background: var(--warm-white); padding: 20px 28px; border-left: 3px solid var(--terra); }
.hero-badge-num { font-family: var(--font-display); font-size: 36px; font-weight: 600; color: var(--charcoal); line-height: 1; }
.hero-badge-label { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; margin-top: 4px; }

/* Services strip */
.services-strip { background: var(--charcoal); border-top: 1px solid rgba(255,255,255,0.06); }
.services-strip-grid { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: repeat(7,1fr); }
.strip-item { padding: 24px 16px; display: flex; align-items: center; gap: 10px; border-right: 1px solid rgba(255,255,255,0.08); }
.strip-item:first-child { padding-left: 0; }
.strip-item:last-child { border-right: none; }
.strip-dot { width: 6px; height: 6px; background: var(--terra); border-radius: 50%; flex-shrink: 0; }
.strip-label { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.55); letter-spacing: 0.02em; white-space: nowrap; }

/* About intro */
.about-intro { background: var(--warm-white); }
.about-intro-grid { max-width: var(--max-w); margin: 0 auto; padding: 100px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-intro-visual { position: relative; height: 520px; }
.about-img-main { position: absolute; top: 0; left: 0; width: 78%; height: 85%; object-fit: cover; }
.about-img-accent { position: absolute; bottom: 0; right: 0; width: 45%; height: 45%; object-fit: cover; border: 6px solid var(--warm-white); }
.about-pull { position: absolute; bottom: 60px; left: -20px; background: var(--charcoal); padding: 20px 28px; max-width: 200px; }
.about-pull-text { font-family: var(--font-display); font-size: 15px; font-style: italic; line-height: 1.5; color: rgba(255,255,255,0.85); }
.about-para { font-size: 15px; font-weight: 300; color: var(--mid); line-height: 1.8; margin-bottom: 20px; }

/* Services section */
.services-section { background: var(--linen); }
.services-section-inner { max-width: var(--max-w); margin: 0 auto; padding: 100px 48px; }
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.services-subhead { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-top: 40px; }
.services-subhead:first-of-type { margin-top: 0; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border); }
.service-card { background: var(--linen); padding: 44px 36px; transition: background 0.25s; position: relative; }
.service-card:hover { background: var(--sand); }
.service-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: transparent; transition: background 0.25s; }
.service-card:hover::after { background: var(--terra); }
.service-card--cta { background: var(--charcoal); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.service-card--cta:hover { background: #1a1714; }
.service-card--cta::after { display: none; }
.service-card--cta-text { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--warm-white); line-height: 1.3; margin-bottom: 24px; font-style: italic; }
.service-icon-wrap { width: 40px; height: 40px; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; }
.service-icon-wrap svg { width: 32px; height: 32px; stroke: var(--terra); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--charcoal); margin-bottom: 12px; line-height: 1.2; }
.service-desc { font-size: 14px; font-weight: 300; color: var(--mid); line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tag { font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra); border: 1px solid rgba(181,96,42,0.25); padding: 4px 10px; }

/* Gallery preview */
.gallery-preview { background: var(--charcoal); padding: 100px 48px; }
.gallery-preview .eyebrow { color: rgba(255,255,255,0.35); }
.gallery-preview .eyebrow::before { background: rgba(255,255,255,0.35); }
.gallery-header { max-width: var(--max-w); margin: 0 auto 40px; display: flex; align-items: flex-end; justify-content: space-between; }
.gallery-header-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.gallery-header-link:hover { color: var(--warm-white); }
.gallery-header-link::after { content: '→'; }
.gallery-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 4px; }
.gallery-item { overflow: hidden; position: relative; }
.gallery-item:first-child { grid-row: 1/3; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover .gallery-img { transform: scale(1.03); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(40,37,32,0); display: flex; align-items: flex-end; padding: 20px; transition: background 0.3s; }
.gallery-item:hover .gallery-overlay { background: rgba(40,37,32,0.35); }
.gallery-overlay-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0); transition: color 0.3s; }
.gallery-item:hover .gallery-overlay-label { color: rgba(255,255,255,0.8); }

/* Process */
.process-section { background: var(--sand); padding: 100px 48px; }
.process-inner { max-width: var(--max-w); margin: 0 auto; }
.process-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 72px; }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); position: relative; }
.process-steps::before { content: ''; position: absolute; top: 16px; left: 8px; right: 8px; height: 1px; background: var(--border); }
.process-step { padding: 0 8px; }
.step-marker { width: 32px; height: 32px; border: 1px solid var(--border); background: var(--warm-white); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; position: relative; z-index: 1; }
.step-num { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--terra); }
.step-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--charcoal); margin-bottom: 10px; line-height: 1.2; }
.step-desc { font-size: 13px; font-weight: 300; color: var(--mid); line-height: 1.7; }

/* =============================================
   ABOUT PAGE
============================================= */
.page-hero-about { min-height: 60vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 68px; }
.page-hero-left { display: flex; flex-direction: column; justify-content: center; padding: 80px 60px 80px 48px; }
.page-hero-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.page-hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--terra); display: block; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(44px,5vw,68px); font-weight: 400; line-height: 1.05; color: var(--charcoal); letter-spacing: -0.01em; }
.page-hero-title em { font-style: italic; color: var(--terra); }
.page-hero-right { background: var(--charcoal); position: relative; overflow: hidden; min-height: 400px; }
.page-hero-right img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-copy { background: var(--warm-white); padding: 100px 48px; display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; max-width: var(--max-w); margin: 0 auto; }
.about-copy-label { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); padding-top: 8px; }
.about-pull-quote { font-family: var(--font-display); font-size: clamp(24px,2.5vw,34px); font-weight: 400; font-style: italic; color: var(--charcoal); line-height: 1.3; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.about-para { font-size: 15px; font-weight: 300; color: var(--mid); line-height: 1.85; margin-bottom: 20px; }
.about-copy-wrap { background: var(--warm-white); }
.photo-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; height: 280px; }
.photo-strip-item { overflow: hidden; }
.photo-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-strip-item:hover img { transform: scale(1.05); }
.values { background: var(--sand); padding: 100px 48px; }
.values-inner { max-width: var(--max-w); margin: 0 auto; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border); margin-top: 60px; }
.value-card { background: var(--sand); padding: 44px 36px; }
.value-num { font-family: var(--font-display); font-size: 48px; font-weight: 400; color: rgba(40,37,32,0.08); line-height: 1; margin-bottom: 20px; }
.value-name { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--charcoal); margin-bottom: 12px; }
.value-desc { font-size: 14px; font-weight: 300; color: var(--mid); line-height: 1.7; }
.why { background: var(--charcoal); padding: 100px 48px; }
.why-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.why-eyebrow::before { content: ''; width: 28px; height: 1px; background: rgba(255,255,255,0.3); display: block; }
.why-title { font-family: var(--font-display); font-size: clamp(32px,4vw,50px); font-weight: 400; color: var(--warm-white); margin-bottom: 28px; line-height: 1.1; }
.why-title em { font-style: italic; color: var(--terra); }
.why-body { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 20px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.why-list li { display: flex; align-items: flex-start; gap: 16px; font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.6; }
.why-list li::before { content: ''; width: 5px; height: 5px; background: var(--terra); border-radius: 50%; margin-top: 8px; flex-shrink: 0; }
.why-visual { position: relative; height: 440px; }
.why-block-1 { position: absolute; top: 0; left: 0; width: 75%; height: 72%; background: linear-gradient(160deg,#8B6347 0%,#5C3D1E 100%); }
.why-block-2 { position: absolute; bottom: 0; right: 0; width: 52%; height: 50%; background: var(--terra); opacity: 0.15; }
.why-block-3 { position: absolute; bottom: 15%; left: 60%; width: 16%; height: 24%; background: var(--terra); }
.why-quote { position: absolute; bottom: 40px; left: -10px; background: var(--warm-white); padding: 20px 24px; border-left: 3px solid var(--terra); max-width: 220px; }
.why-quote-text { font-family: var(--font-display); font-size: 14px; font-style: italic; color: var(--charcoal); line-height: 1.5; }

/* =============================================
   SERVICES PAGE
============================================= */
.page-hero-services { padding: 140px 48px 80px; background: var(--charcoal); }
.page-hero-services-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.section-divider { background: var(--linen); padding: 48px 48px 0; }
.section-divider-inner { max-width: var(--max-w); margin: 0 auto; }
.section-divider h2 { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.service-detail { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-img { position: relative; overflow: hidden; min-height: 420px; }
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.service-detail-content { padding: 72px 60px; display: flex; flex-direction: column; justify-content: center; }
.bg-linen { background: var(--linen); }
.bg-warm { background: var(--warm-white); }
.bg-sand { background: var(--sand); }
.bg-charcoal { background: var(--charcoal); }
.bg-charcoal .section-title { color: var(--warm-white); }
.bg-charcoal .eyebrow { color: rgba(255,255,255,0.35); }
.bg-charcoal .eyebrow::before { background: rgba(255,255,255,0.35); }
.service-detail-title { font-family: var(--font-display); font-size: clamp(30px,3vw,42px); font-weight: 400; line-height: 1.1; color: var(--charcoal); margin-bottom: 20px; letter-spacing: -0.01em; }
.service-detail-title em { font-style: italic; color: var(--terra); }
.service-body { font-size: 15px; font-weight: 300; color: var(--mid); line-height: 1.8; margin-bottom: 16px; }
.service-body.on-dark { color: rgba(255,255,255,0.55); }
.service-includes { margin: 24px 0; }
.service-includes-title { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.service-includes-title.on-dark { color: rgba(255,255,255,0.3); }
.includes-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.includes-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 300; color: var(--mid); line-height: 1.5; }
.includes-list li.on-dark { color: rgba(255,255,255,0.55); }
.includes-list li::before { content: ''; width: 5px; height: 5px; background: var(--terra); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.img-ph { width: 100%; height: 100%; position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 32px; }
.img-ph-s6 { background: linear-gradient(160deg,#5C7A3E 0%,#3A5225 100%); }
.img-ph-s7 { background: linear-gradient(160deg,#4A6B8A 0%,#2A4560 100%); }
.img-caption { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.finishes-section { background: var(--sand); padding: 80px 48px; }
.finishes-section-inner { max-width: var(--max-w); margin: 0 auto; }
.finishes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border); margin-top: 48px; }
.finish-card { background: var(--sand); padding: 36px 32px; }
.finish-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--charcoal); margin-bottom: 10px; }
.finish-desc { font-size: 14px; font-weight: 300; color: var(--mid); line-height: 1.7; }
.finish-tag { display: inline-block; margin-top: 16px; font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra); border: 1px solid rgba(181,96,42,0.3); padding: 4px 10px; }

/* =============================================
   GALLERY PAGE
============================================= */
.page-hero-gallery { padding: 140px 48px 80px; border-bottom: 1px solid var(--border); }
.page-hero-gallery-inner { max-width: var(--max-w); margin: 0 auto; }
.filter-bar { padding: 28px 48px; background: var(--warm-white); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-bar-inner { max-width: var(--max-w); margin: 0 auto; display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 20px; border: 1px solid var(--border); background: transparent; color: var(--mid); cursor: pointer; transition: all 0.2s; }
.filter-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
.filter-btn.active { background: var(--charcoal); color: var(--warm-white); border-color: var(--charcoal); }
.gallery-section { padding: 60px 48px 100px; }
.gallery-section-inner { max-width: var(--max-w); margin: 0 auto; }
.masonry-grid { columns: 3; column-gap: 12px; }
.masonry-item { break-inside: avoid; margin-bottom: 12px; position: relative; overflow: hidden; cursor: pointer; transition: opacity 0.3s; }
.masonry-item.hidden { opacity: 0; height: 0; margin: 0; overflow: hidden; pointer-events: none; }
.masonry-img { width: 100%; display: block; transition: transform 0.5s ease; object-fit: cover; }
.masonry-item:hover .masonry-img { transform: scale(1.04); }
.masonry-overlay { position: absolute; inset: 0; background: rgba(40,37,32,0); transition: background 0.3s; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.masonry-item:hover .masonry-overlay { background: rgba(40,37,32,0.5); }
.masonry-label { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: rgba(255,255,255,0); transition: color 0.3s; line-height: 1.2; }
.masonry-item:hover .masonry-label { color: rgba(255,255,255,0.9); }
.masonry-tag { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0); transition: color 0.3s; margin-top: 4px; }
.masonry-item:hover .masonry-tag { color: rgba(255,255,255,0.55); }
.gp5 { background: linear-gradient(160deg,#5C7A3E 0%,#3A5225 100%); }
.video-section { background: var(--charcoal); padding: 80px 48px; }
.video-section-inner { max-width: var(--max-w); margin: 0 auto; }
.video-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.video-eyebrow::before { content: ''; width: 28px; height: 1px; background: rgba(255,255,255,0.3); display: block; }
.video-title { font-family: var(--font-display); font-size: clamp(28px,3.5vw,44px); font-weight: 400; color: var(--warm-white); margin-bottom: 36px; }
.video-title em { font-style: italic; color: var(--terra); }
.video-main { position: relative; background: #1a1410; aspect-ratio: 16/9; overflow: hidden; }
.video-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; background: linear-gradient(160deg,#3A2410 0%,#1A0E06 100%); }
.video-play { width: 64px; height: 64px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s; cursor: pointer; background: transparent; }
.video-play:hover { border-color: var(--terra); }
.video-play::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent rgba(255,255,255,0.7); margin-left: 4px; }
.video-caption { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); }

/* =============================================
   CONTACT PAGE
============================================= */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; padding-top: 68px; }
.contact-left { background: var(--charcoal); padding: 80px 60px 80px 48px; display: flex; flex-direction: column; justify-content: space-between; }
.contact-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-eyebrow::before { content: ''; width: 28px; height: 1px; background: rgba(255,255,255,0.3); display: block; }
.contact-title { font-family: var(--font-display); font-size: clamp(40px,4.5vw,60px); font-weight: 400; color: var(--warm-white); line-height: 1.05; margin-bottom: 24px; letter-spacing: -0.01em; }
.contact-title em { font-style: italic; color: var(--terra); }
.contact-body { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.8; max-width: 380px; margin-bottom: 52px; }
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail-label { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 6px; }
.contact-detail-value { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.65); }
.contact-detail-value a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.contact-detail-value a:hover { color: var(--warm-white); }
.contact-quick { display: flex; gap: 12px; margin-top: 40px; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: white; padding: 12px 24px; font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; transition: opacity 0.2s; text-decoration: none; }
.btn-whatsapp:hover { opacity: 0.9; }
.btn-email { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); color: var(--warm-white); padding: 12px 24px; font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s; text-decoration: none; }
.btn-email:hover { background: rgba(255,255,255,0.18); }
.contact-service-list { margin-top: 60px; padding-top: 52px; border-top: 1px solid rgba(255,255,255,0.08); }
.contact-service-list-title { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-bottom: 16px; }
.stags { display: flex; flex-wrap: wrap; gap: 8px; }
.stag { font-size: 11px; font-weight: 400; letter-spacing: 0.06em; color: rgba(255,255,255,0.35); border: 1px solid rgba(255,255,255,0.1); padding: 6px 14px; }
.contact-right { background: var(--warm-white); padding: 80px 48px 80px 60px; display: flex; flex-direction: column; justify-content: center; }
.form-title { font-family: var(--font-display); font-size: 28px; font-weight: 400; color: var(--charcoal); margin-bottom: 8px; }
.form-subtitle { font-size: 14px; font-weight: 300; color: var(--mid); margin-bottom: 6px; }
.form-required-note { font-size: 11px; color: var(--muted); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-input,.form-select,.form-textarea { width: 100%; background: var(--linen); border: 1px solid var(--border); color: var(--charcoal); padding: 13px 16px; font-family: var(--font-body); font-size: 14px; font-weight: 300; outline: none; transition: border-color 0.2s; -webkit-appearance: none; }
.form-input:focus,.form-select:focus,.form-textarea:focus { border-color: var(--terra); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-fieldset { border: none; margin: 0 0 20px; padding: 0; }
.form-fieldset legend { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: block; width: 100%; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 300; color: var(--mid); cursor: pointer; }
.checkbox-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--terra); cursor: pointer; flex-shrink: 0; }
.form-submit { width: 100%; background: var(--charcoal); color: var(--warm-white); border: none; padding: 16px; font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background 0.2s; margin-top: 8px; }
.form-submit:hover { background: var(--terra); }
.form-note { font-size: 12px; font-weight: 300; color: var(--muted); margin-top: 12px; }
.success-msg { display: none; background: var(--sand); border-left: 3px solid var(--terra); padding: 20px 24px; margin-top: 20px; }
.success-msg p { font-size: 14px; font-weight: 400; color: var(--charcoal); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  /* Index */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { min-height: 400px; }
  .hero-left { padding: 60px 48px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-intro-visual { height: 360px; }
  .services-header { grid-template-columns: 1fr; gap: 20px; }
  .process-header { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-row: auto; }
  /* About */
  .page-hero-about { grid-template-columns: 1fr; }
  .page-hero-right { min-height: 300px; }
  .page-hero-left { padding: 80px 48px 60px; }
  .about-copy { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { height: 320px; }
  /* Services */
  .page-hero-services-inner { grid-template-columns: 1fr; gap: 28px; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
  .service-detail-img { min-height: 320px; }
  .service-detail-content { padding: 48px; }
  .finishes-grid { grid-template-columns: 1fr 1fr; }
  .section-divider { padding: 40px 48px 0; }
  /* Gallery */
  .masonry-grid { columns: 2; }
  /* Contact */
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-left { padding: 60px 48px; }
  .contact-right { padding: 60px 48px; }
  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* nav handled inline */
  /* Index */
  .services-strip-grid { padding: 0 20px; grid-template-columns: 1fr 1fr; }
  .strip-item { padding: 16px 8px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .strip-item:last-child { border-bottom: none; }
  .about-intro-grid { padding: 72px 20px; }
  .services-section-inner { padding: 72px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-preview { padding: 72px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .process-section { padding: 72px 20px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps::before { display: none; }
  .hero-left { padding: 48px 20px 60px; }
  .hero-services { flex-direction: column; gap: 16px; }
  .hero-service-item + .hero-service-item { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 16px; }
  /* About */
  .page-hero-left { padding: 60px 20px; }
  .about-copy { padding: 72px 20px; }
  .values { padding: 72px 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; height: 200px; }
  .why { padding: 72px 20px; }
  /* Services */
  .page-hero-services { padding: 100px 20px 48px; }
  .service-detail-content { padding: 48px 20px; }
  .finishes-section { padding: 60px 20px; }
  .finishes-grid { grid-template-columns: 1fr; }
  .section-divider { padding: 32px 20px 0; }
  /* Gallery */
  .page-hero-gallery { padding: 100px 20px 48px; }
  .filter-bar { padding: 20px; }
  .gallery-section { padding: 40px 20px 72px; }
  .masonry-grid { columns: 2; column-gap: 8px; }
  .masonry-item { margin-bottom: 8px; }
  .video-section { padding: 60px 20px; }
  /* Contact */
  .contact-left { padding: 48px 20px; }
  .contact-right { padding: 48px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .contact-quick { flex-direction: column; }
  /* CTA & Footer */
  .cta-band { padding: 60px 20px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  footer { padding: 48px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) { .masonry-grid { columns: 1; } }
