/* ══════════════════════════════════════════════
   Mzizi Living & Plants — Stylesheet
   ══════════════════════════════════════════════ */

:root {
  --black: #0C0C0A;
  --charcoal: #1A1A16;
  --carbon: #2A2A24;
  --moss: #6B8E23;
  --moss-light: #8DB87A;
  --moss-pale: #C8D8B8;
  --terra: #B85C3A;
  --terra-light: #D4826A;
  --gold: #C8A050;
  --gold-soft: #E0C888;
  --cream: #F5F3EE;
  --warm: #EDEAE4;
  --stone: #D4CFC6;
  --text: #1A1A16;
  --text-mid: #5A564E;
  --text-quiet: #8A8680;
  --surface: #FFFFFF;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Outfit', 'Segoe UI', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --black: #F5F3EE;
    --charcoal: #E8E4DC;
    --carbon: #C8C4BA;
    --moss: #8DB87A;
    --moss-light: #A0CC8A;
    --moss-pale: #1E2A18;
    --terra: #D4826A;
    --terra-light: #E8A08A;
    --gold: #E0C888;
    --gold-soft: #C8A050;
    --cream: #0E0E0C;
    --warm: #161614;
    --stone: #2A2A24;
    --text: #E8E4DC;
    --text-mid: #A8A49C;
    --text-quiet: #6A665E;
    --surface: #1A1A16;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --black: #F5F3EE;
  --charcoal: #E8E4DC;
  --carbon: #C8C4BA;
  --moss: #8DB87A;
  --moss-light: #A0CC8A;
  --moss-pale: #1E2A18;
  --terra: #D4826A;
  --terra-light: #E8A08A;
  --gold: #E0C888;
  --gold-soft: #C8A050;
  --cream: #0E0E0C;
  --warm: #161614;
  --stone: #2A2A24;
  --text: #E8E4DC;
  --text-mid: #A8A49C;
  --text-quiet: #6A665E;
  --surface: #1A1A16;
  color-scheme: dark;
}

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

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

.wrap { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 24px; }
.wrap-narrow { max-width: 800px; margin: 0 auto; width: 100%; padding: 0 24px; }

/* ── PAGE SYSTEM ── */
.page { display: none; }
.page.active { display: block; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 60;
  padding: 0 24px;
  background: #0C0C0A;
  transition: transform 0.35s ease;
}

.nav.nav-hidden {
  transform: translateY(-100%);
}

.nav.scrolled {
  background: #0C0C0A;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.nav-logo {
  text-decoration: none;
  color: #F5F3EE;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.nav-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 4px;
}

.nav-logo-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #F5F3EE;
}

.nav-logo-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.5);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  padding: 0;
}

.nav-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s;
  cursor: pointer;
}

.nav-links a:hover { color: var(--moss); }
.nav-links a.active { color: var(--moss); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 768px) {
  .nav-burger { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: #0C0C0A;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 70;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
}

/* ── HERO SLIDESHOW (Home) ── */
.hero {
  min-height: 70vh;
  min-height: 70svh;
  max-height: 780px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background: #0C0C0A;
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
}

.hero-slide:nth-child(1) .hero-slide-bg { background-image: url(../images/hero-hibiscus-garden.jpg); }
.hero-slide:nth-child(2) .hero-slide-bg { background-image: url(../images/hero-tropical.jpg); }
.hero-slide:nth-child(3) .hero-slide-bg { background-image: url(../images/hero-green-tunnel.jpg); }

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.05) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding: 0 40px 48px;
}

.hero-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 14px;
}

.hero h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: #F5F3EE;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.hero-award {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.45);
  margin-top: 8px;
}

.hero-dots {
  position: absolute;
  bottom: 48px;
  right: 40px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245,243,238,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}

.hero-dot.active { background: var(--moss); }

.hero-footer {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 5;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  color: rgba(245,243,238,0.35);
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(245,243,238,0.08);
}

.hero-footer a { color: rgba(245,243,238,0.35); text-decoration: none; transition: color 0.2s; }
.hero-footer a:hover { color: rgba(245,243,238,0.7); }

.hero-social { display: flex; gap: 16px; }

@media (max-width: 600px) {
  .hero { min-height: 60vh; min-height: 60svh; max-height: none; }
  .hero-footer { display: none; }
}

/* ── PAGE HERO (sub-pages) ── */
.page-hero {
  height: 50vh;
  height: 50svh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #0C0C0A;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 12s ease-in-out infinite alternate;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 5;
  padding: 0 40px 48px;
  max-width: 1200px;
}

.page-hero-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 14px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: #F5F3EE;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.page-hero p {
  font-size: 0.95rem;
  color: rgba(245,243,238,0.6);
  max-width: 480px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .page-hero { height: 45vh; height: 45svh; }
}

/* ── INTRO ── */
.intro {
  padding: 100px 0 80px;
  text-align: center;
}

.intro-text {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto;
  text-wrap: balance;
}

.intro-text em { color: var(--moss); font-style: italic; }

.intro-line {
  width: 40px;
  height: 1px;
  background: var(--stone);
  margin: 36px auto 0;
}

/* ── HOME FEATURED PROJECTS (3 items) ── */
.featured {
  background: #0C0C0A;
  padding: 0;
}

.featured-header {
  padding: 64px 40px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #F5F3EE;
}

.view-all {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s;
}

.view-all:hover { opacity: 0.7; }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}

.featured-grid .port-item { aspect-ratio: 3/4; }

@media (max-width: 768px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid .port-item { aspect-ratio: 16/10; }
}

/* ── PORTFOLIO GRID ── */
.port-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: default;
}

.port-item-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.port-item:hover .port-item-bg { transform: scale(1.05); }

.port-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 45%);
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.4s;
}

.port-item:hover::after { opacity: 1; }

.port-item-content {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 24px 28px;
  z-index: 2;
}

.port-item-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: #F5F3EE;
  margin-bottom: 4px;
}

.port-item-tag {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.5);
}

.port-item-award {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(200,160,80,0.4);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ── GALLERY FILTERS ── */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 48px 24px 32px;
  flex-wrap: wrap;
  background: #0C0C0A;
}

.gf-btn {
  padding: 8px 20px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.45);
  background: transparent;
  border: 1px solid rgba(245,243,238,0.12);
  cursor: pointer;
  transition: all 0.3s;
}

.gf-btn:hover { color: rgba(245,243,238,0.8); border-color: rgba(245,243,238,0.3); }
.gf-btn.active { color: var(--moss-light); border-color: var(--moss); background: rgba(107,142,35,0.1); }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #0C0C0A;
}

.gal-item {
  position: relative;
  overflow: hidden;
  cursor: default;
  aspect-ratio: 3/4;
}

/* all gallery items same size */

.gal-item-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.gal-item:hover .gal-item-bg { transform: scale(1.05); }

.gal-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s;
}

.gal-item:hover::after { opacity: 1; }

.gal-item-content {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 20px 24px;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s;
}

.gal-item:hover .gal-item-content { opacity: 1; transform: translateY(0); }

.gal-item-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: #F5F3EE;
  margin-bottom: 3px;
}

.gal-item-tag {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.5);
}

.gal-item[hidden] { display: none !important; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gal-item { aspect-ratio: 4/3 !important; }
}

/* ── SERVICES ── */
.services { padding: 80px 0; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: default;
}

.svc-item-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.svc-item:hover .svc-item-bg { transform: scale(1.05); }

.svc-item:nth-child(1) .svc-item-bg { background-image: url(../images/tropical-room.jpg); }
.svc-item:nth-child(2) .svc-item-bg { background-image: url(../images/moss-path.jpg); }
.svc-item:nth-child(3) .svc-item-bg { background-image: url(../images/stepping-stones.jpg); }
.svc-item:nth-child(4) .svc-item-bg { background-image: url(../images/veranda-dining.jpg); }
.svc-item:nth-child(5) .svc-item-bg { background-image: url(../images/bamboo-bench.jpg); }
.svc-item:nth-child(6) .svc-item-bg { background-image: url(../images/woven-baskets.jpg); }

.svc-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.05) 100%);
  z-index: 1;
}

.svc-item-content {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 28px 24px;
  z-index: 2;
}

.svc-num {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss-light);
  margin-bottom: 10px;
  display: block;
}

.svc-item h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #F5F3EE;
  margin-bottom: 8px;
}

.svc-item p {
  font-size: 0.78rem;
  color: rgba(245,243,238,0.6);
  line-height: 1.6;
}

@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-item { aspect-ratio: 4/3; }
}

/* ── PHILOSOPHY ── */
.philosophy {
  background: var(--warm);
  padding: 80px 0;
}

.philosophy .wrap-narrow { text-align: center; }

.phil-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 36px;
}

.phil-quote strong {
  font-style: normal;
  font-weight: 600;
  color: var(--moss);
}

.phil-pillars {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.phil-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.phil-dot { width: 7px; height: 7px; border-radius: 50%; }
.phil-dot-1 { background: var(--moss); }
.phil-dot-2 { background: var(--terra); }
.phil-dot-3 { background: var(--gold); }

/* ── CTA BAND ── */
.cta-band {
  height: 55vh;
  height: 55svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background: url(../images/green-corridor.jpg) center/cover no-repeat;
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.cta-band-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.cta-band-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  color: #F5F3EE;
  margin-bottom: 28px;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: transparent;
  color: #F5F3EE;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid rgba(245,243,238,0.4);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-light:hover {
  background: rgba(245,243,238,0.1);
  border-color: rgba(245,243,238,0.7);
}

/* ── ABOUT US ── */
.about-intro { padding: 80px 0 60px; }
.about-intro .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-logo-block { text-align: center; }
.about-logo-img { width: 180px; height: auto; margin-bottom: 20px; }
.about-logo-block p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; font-style: italic; }
.about-text h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.2; margin-bottom: 20px; }
.about-text p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }

.about-markets { padding: 60px 0; background: var(--warm); }
.about-markets .wrap-narrow { text-align: center; }
.about-markets h3 { font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 400; margin-bottom: 24px; }
.market-tags { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.market-tag { padding: 8px 20px; border: 1px solid var(--stone); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mid); }

.about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.about-gallery-item { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.about-gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.sustainability { padding: 80px 0; }
.sustainability .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sustainability-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(107,142,35,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.sustainability h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 400; margin-bottom: 16px; }
.sustainability p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; }
.sustain-pillars { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.sustain-pill { display: flex; align-items: flex-start; gap: 12px; }
.sustain-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--moss); margin-top: 6px; flex-shrink: 0; }
.sustain-pill h4 { font-family: var(--serif); font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.sustain-pill p { font-size: 0.82rem; color: var(--text-quiet); line-height: 1.6; margin: 0; }
.sustain-img { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; }
.sustain-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
  .about-intro .wrap { grid-template-columns: 1fr; gap: 40px; }
  .about-gallery { grid-template-columns: 1fr; }
  .sustainability .wrap { grid-template-columns: 1fr; }
}

/* ── CONTACT ── */
.contact { padding: 80px 0; }

.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-left h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-left > p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.cd-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.85rem;
  color: var(--text-mid);
  text-decoration: none;
  line-height: 1.6;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-quiet);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--stone);
  outline: none;
  transition: border-color 0.3s;
}

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--moss); }

.field textarea {
  resize: vertical;
  min-height: 90px;
  border: 1.5px solid var(--stone);
  padding: 12px 14px;
  margin-top: 4px;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--text);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s;
  align-self: flex-start;
}

.btn-dark:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .contact .wrap { grid-template-columns: 1fr; gap: 48px; }
  .contact-form .row-2 { grid-template-columns: 1fr; }
}

/* ── PROJECTS PAGE: Philosophy section ── */
.projects-philosophy {
  padding: 80px 0;
  text-align: center;
}

.projects-philosophy blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
}

.projects-philosophy blockquote strong {
  font-style: normal;
  color: var(--moss);
}

/* ── FOOTER ── */
footer {
  background: #0C0C0A;
  padding: 48px 0 36px;
}

footer .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.ft-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ft-logo-img { width: 48px; height: 48px; object-fit: contain; border-radius: 2px; }

.ft-logo-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #F5F3EE;
}

.ft-desc {
  font-size: 0.8rem;
  color: rgba(245,243,238,0.4);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.ft-social { display: flex; gap: 14px; }

.ft-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245,243,238,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}

.ft-social a:hover { border-color: rgba(245,243,238,0.4); }

.ft-col h5 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.9rem;
  color: #F5F3EE;
  margin-bottom: 16px;
}

.ft-col ul { list-style: none; padding: 0; }
.ft-col li { margin-bottom: 10px; }

.ft-col a {
  font-size: 0.8rem;
  color: rgba(245,243,238,0.4);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.ft-col a:hover { color: rgba(245,243,238,0.8); }

.ft-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,243,238,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.7rem;
  color: rgba(245,243,238,0.3);
  letter-spacing: 0.04em;
}

.ft-bottom a {
  color: rgba(245,243,238,0.3);
  text-decoration: none;
  margin-left: 16px;
  cursor: pointer;
}

.ft-bottom a:hover { color: rgba(245,243,238,0.6); }

@media (max-width: 768px) { footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer .wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .port-item:hover .port-item-bg { transform: none; }
  .hero-slide-bg { animation: none; transform: none; }
}
