/* Mosaic Landscapes — corporate stylesheet */

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

:root {
  --green: #3C4A37;
  --green-dark: #3C4A37;
  --green-darker: #2E3A2A;
  --green-light: #E9EEE5;
  --charcoal: #262922;
  --stone: #F7F6F2;
  --white: #FFFFFF;
  --border: #D8DDD2;
  --max-width: 1180px;
  --font-body: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-bold: 'EB Garamond', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.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;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--green);
  line-height: 1.6;
  font-size: 18px;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-bold);
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

.eyebrow {
  font-family: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* ---------- Header ---------- */
header {
  background: var(--green-darker);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Shared logo layout — used by both the header mark and the big hero mark.
   Keeps "LANDSCAPES" stretched to the same width as "mosaic" above it. */
.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  line-height: 1.05;
  font-weight: 400;
}

.brand-mark .logo-main {
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-align: center;
}

.brand-mark .logo-sub {
  display: flex;
  justify-content: space-between;
}

/* Header-specific placement/sizing */
.logo {
  order: 2;
  justify-self: center;
  color: var(--white);
}

.logo .logo-main { font-size: 1.6rem; }

.logo .logo-sub {
  font-size: 0.68rem;
  margin-top: 3px;
  color: var(--white);
  opacity: 0.85;
}

nav { order: 1; justify-self: start; }
.nav-cta { order: 3; justify-self: end; }

nav ul {
  list-style: none;
  display: flex;
  gap: 2.2rem;
  font-size: 1.02rem;
}

nav a { color: var(--white); }
nav a:hover { color: var(--green-light); }

.nav-cta {
  background: var(--green-dark);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 0.95rem;
}

.nav-cta:hover { background: var(--green-darker); }

/* ---------- Hero ---------- */
.hero {
  background: var(--green-darker);
  color: var(--white);
  padding: 90px 32px 80px;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 { color: var(--white); margin-bottom: 1.2rem; }

.hero p.lead {
  font-size: 1.3rem;
  color: var(--green-light);
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 2px;
  font-size: 1.02rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--green); color: var(--charcoal); }
.btn-primary:hover { background: var(--white); }

.btn-outline { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-dark { background: var(--green-darker); color: var(--white); }
.btn-dark:hover { background: var(--charcoal); }

/* ---------- Homepage hero reel ---------- */
.hero-reel {
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 82vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--green-darker);
}

.hero-reel-bg { position: absolute; inset: 0; }

.hero-reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-reel-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,24,18,0.15) 0%, rgba(20,24,18,0.35) 55%, rgba(20,24,18,0.6) 100%);
}

.hero-reel-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  padding: 0 24px;
}

.hero-logo {
  color: var(--white);
  opacity: 0.82;
}

.hero-logo .logo-main {
  font-size: clamp(2.8rem, 9vw, 5.5rem);
}

.hero-logo .logo-sub {
  font-size: clamp(0.85rem, 2vw, 1.5rem);
  margin-top: 0.9rem;
}

.hero-contact-btn { font-family: var(--font-bold); font-weight: 500; letter-spacing: 0.02em; }

.hero-info { padding: 70px 0; }

.hero-info .container { max-width: 720px; }

.hero-info p.lead-dark {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1.6rem;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--green);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.14);
}

.stat-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding: 28px 32px;
}

.stat { text-align: center; flex: 1; min-width: 150px; }
.stat strong { display: block; font-family: var(--font-bold); font-size: 1.8rem; font-weight: 500; }
.stat span { font-size: 0.95rem; opacity: 0.9; }

/* ---------- Sections ---------- */
section { padding: 80px 0; border-top: 1px solid rgba(255,255,255,0.14); }

.section-alt {
  background: var(--green);
  color: var(--white);
}

.section-head { max-width: 700px; margin-bottom: 2.8rem; }

/* Small content cards (service tiles, panels) keep a pale tint —
   never plain white — with dark text, regardless of which section
   they sit in. */
.service-card,
.panel {
  color: var(--charcoal);
}

.service-card h3,
.panel h3 {
  color: var(--green-darker);
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.featured-card {
  background: var(--green-light);
  color: var(--charcoal);
  border: 1px solid var(--border);
  overflow: hidden;
}

.featured-image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.featured-card h3 {
  margin: 18px 20px 0.4rem;
  color: var(--green-darker);
}

.featured-card p {
  margin: 0 20px 20px;
}

.division { margin-bottom: 3rem; }
.division:last-child { margin-bottom: 0; }
.division-title {
  font-family: var(--font-bold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  color: var(--green-light);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 0.6rem;
  margin-bottom: 1.4rem;
}

.service-card {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green-darker);
  padding: 32px 28px;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-darker);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}

/* ---------- Founder ---------- */
.founder-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.founder-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
}

.founder-name {
  font-family: var(--font-bold);
  font-weight: 500;
  color: var(--white);
}

.founder-role {
  font-size: 0.9rem;
  color: var(--green-light);
}

/* ---------- Work gallery ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}

.work-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--green-darker);
}

.work-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.work-layer-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-layer.visible { opacity: 1; }

/* Applied to lower-resolution photos only, and only in the hero,
   so upscaling to full-bleed size doesn't look pixelated. */
.work-layer.soft-focus {
  filter: blur(1.5px);
  transform: scale(1.015);
}

.work-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(20,24,18,0.85), rgba(20,24,18,0));
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.work-cell.show-caption .work-caption { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,24,18,0.94);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  max-width: 900px;
  max-height: 85vh;
  text-align: center;
}

.lightbox-inner img,
.lightbox-inner video {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-inner p {
  color: var(--white);
  margin-top: 1.2rem;
  font-size: 1.05rem;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Full-bleed video reel ---------- */
/* ---------- Two column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

.panel {
  background: var(--green-light);
  border-left: 4px solid var(--green-darker);
  padding: 2rem 2.2rem;
}

.panel ul { padding-left: 1.2rem; }
.panel li { margin-bottom: 0.6rem; }

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

.area-card {
  border: 1px solid var(--border);
  padding: 1.6rem;
  background: var(--green-light);
  color: var(--charcoal);
}

.area-card h4 { color: var(--green-darker); margin-bottom: 0.4rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--green-darker);
  color: var(--white);
  text-align: center;
}

.cta-banner h2 { color: var(--white); }

.cta-banner p { color: var(--green-light); max-width: 560px; margin: 0 auto 1.8rem; }

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer {
  background: var(--charcoal);
  color: var(--stone);
  padding: 56px 0 28px;
  font-size: 0.95rem;
}

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

footer h4 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

footer a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  opacity: 0.75;
  font-size: 0.85rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.form-group { margin-bottom: 1.3rem; }

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-bold);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--charcoal);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.6rem;
  align-items: flex-start;
}

.contact-detail .service-icon { flex-shrink: 0; margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav ul { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
}
