/* ============================================================
   Optic Homes — Design System
   Dark, editorial, gold-on-ink luxury property development site
   ============================================================ */

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

:root {
  --ink: #0a0a08;
  --ink-alt: #121110;
  --ink-raised: #17150f;
  --paper: #f5f0e4;
  --paper-dim: rgba(245, 240, 228, 0.66);
  --paper-faint: rgba(245, 240, 228, 0.4);
  --gold: #c9a961;
  --gold-light: #e9d6a3;
  --gold-deep: #8a6c33;
  --line: rgba(201, 169, 97, 0.22);
  --line-soft: rgba(245, 240, 228, 0.1);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --max: 1240px;
  --pad: clamp(24px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--paper);
  margin: 0;
  letter-spacing: 0.01em;
}

em, .accent {
  font-style: italic;
  color: var(--gold-light);
}

.lede {
  font-size: 18px;
  color: var(--paper-dim);
  font-weight: 300;
  max-width: 640px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 18px 30px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color: #16130a;
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-line {
  border-color: var(--line);
  color: var(--paper);
}
.btn-line:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 100;
  padding: 22px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: linear-gradient(to bottom, rgba(8,7,5,0.85), rgba(8,7,5,0));
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.solid {
  background: rgba(8, 7, 5, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
  justify-self: start;
  grid-column: 1;
}
.brand img { width: 40px; height: 40px; }
.brand .word {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--paper);
  line-height: 1;
}
.brand .word small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 3px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  justify-self: end;
  grid-column: 3;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-self: center;
  grid-column: 2;
}
.main-nav a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); border-color: var(--gold); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 1px; background: var(--paper); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink) 0%, rgba(10,10,8,0.55) 45%, rgba(10,10,8,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) 110px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-content .eyebrow { margin-bottom: 26px; }
.hero-title {
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.02;
  margin-bottom: 26px;
}
.hero-title .line2 { color: var(--gold-light); font-style: italic; display: block; }
.hero-actions { display: flex; gap: 18px; margin-top: 36px; flex-wrap: wrap; }

.page-hero {
  position: relative;
  min-height: 60vh;
  padding-bottom: 0;
  display: flex;
  align-items: flex-end;
  background: #000;
  overflow: hidden;
}
.page-hero .hero-media { opacity: 0.4; }
.page-hero.no-media {
  background: radial-gradient(ellipse at 20% 0%, rgba(201,169,97,0.14), transparent 55%), var(--ink);
  min-height: 46vh;
}
.page-hero .hero-content { padding-bottom: 70px; }
.page-hero .hero-title { font-size: clamp(38px, 6vw, 68px); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

/* ---------------- Sections ---------------- */
section { padding: 120px 0; position: relative; }
.section-alt { background: var(--ink-alt); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 18px; max-width: 620px; }

.pillars, .card-grid-3, .card-grid-4 {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.pillars { grid-template-columns: repeat(3, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pillar, .feature-card {
  background: var(--ink);
  padding: 44px 38px;
}
.section-alt .pillar, .section-alt .feature-card { background: var(--ink-alt); }
.pillar .num, .feature-card .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.pillar h3, .feature-card h3 {
  font-size: 24px;
  margin: 18px 0 12px;
}
.pillar p, .feature-card p {
  color: var(--paper-dim);
  font-size: 15px;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split .lede { max-width: none; }

/* ---------------- Portfolio / project cards ---------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.category-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #000;
}
.category-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.16,1,.3,1), filter 0.6s ease;
  filter: grayscale(0.15) brightness(0.72);
}
.category-card:hover img { transform: scale(1.06); filter: grayscale(0) brightness(0.85); }
.category-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.05) 100%);
}
.category-card .cc-body {
  position: relative;
  z-index: 2;
  padding: 34px;
  width: 100%;
}
.category-card .cc-index {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  margin-bottom: 10px;
  display: block;
}
.category-card h3 { font-size: 30px; margin-bottom: 8px; }
.category-card p { color: var(--paper-dim); font-size: 14px; margin: 0 0 16px; }
.category-card .cc-link {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 3px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}
.project-card { display: block; }
.project-card .thumb {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--ink-alt);
  margin-bottom: 18px;
}
.project-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(.16,1,.3,1);
}
.project-card:hover .thumb img { transform: scale(1.05); }
.project-card .thumb .year-tag {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  background: rgba(10,10,8,0.7);
  border: 1px solid var(--line);
  color: var(--gold-light);
}
.project-card h3 { font-size: 24px; margin-bottom: 6px; }
.project-card p { color: var(--paper-faint); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; margin: 0; }

/* ---------------- Project detail ---------------- */
.meta-strip {
  display: flex;
  gap: 60px;
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.meta-item .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.meta-item .value { font-family: var(--font-display); font-size: 22px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 70px;
  align-items: start;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.gallery .span-2 { grid-column: span 2; }

.project-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  margin-top: 90px;
}
.project-nav a {
  flex: 1;
  padding: 40px var(--pad);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
  transition: color 0.3s ease, background 0.3s ease;
}
.project-nav a:hover { color: var(--gold-light); background: var(--ink-alt); }
.project-nav a:last-child { text-align: right; }
.project-nav a span.label { display: block; color: var(--gold); margin-bottom: 8px; }
.project-nav a span.title { font-family: var(--font-display); font-size: 20px; color: var(--paper); }

/* ---------------- Finance / list blocks ---------------- */
.finance-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
  margin-top: 30px;
}
.finance-list li {
  list-style: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.finance-list li::before { content: '—'; color: var(--gold); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.stat-row .stat .n {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  color: var(--gold-light);
}
.stat-row .stat .l {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-top: 8px;
}

/* ---------------- Prose / FAQ ---------------- */
.detail-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 30px);
  margin: 0 0 22px;
}
.prose { max-width: 780px; }
.prose p {
  color: var(--paper-dim);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 20px;
}
.prose p:last-child { margin-bottom: 0; }

.faq-item {
  padding: 30px 0;
  border-top: 1px solid var(--line-soft);
}
.faq-item:first-child { border-top: none; padding-top: 0; }
.faq-item h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.faq-item p {
  color: var(--paper-dim);
  font-size: 15px;
  max-width: 760px;
  margin: 0;
}

/* ---------------- Project timeline ---------------- */
.timeline {
  display: flex;
  overflow-x: auto;
  padding: 10px 0 30px;
  margin-top: 10px;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
  flex-shrink: 0;
  padding: 0 20px;
  text-align: center;
}
.tl-year {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-faint);
  height: 20px;
  transition: color 0.3s ease;
}
.tl-dot-wrap {
  position: relative;
  height: 34px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-dot-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  transform: translateY(-50%);
  z-index: 0;
}
.timeline-item:first-child .tl-dot-wrap::before { left: 50%; }
.timeline-item:last-child .tl-dot-wrap::before { right: 50%; }
.tl-dot {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--gold);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.tl-name {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--paper-dim);
  transition: color 0.3s ease;
  max-width: 150px;
}
.timeline-item:hover .tl-dot, .timeline-item:focus-visible .tl-dot {
  transform: scale(1.5);
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201,169,97,0.18);
}
.timeline-item:hover .tl-name, .timeline-item:focus-visible .tl-name {
  color: var(--gold-light);
}
.timeline-item:hover .tl-year, .timeline-item:focus-visible .tl-year {
  color: var(--gold);
}
.timeline-item:focus-visible { outline: none; }

/* ---------------- Check list ---------------- */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  max-width: 900px;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--paper-dim);
  font-size: 15px;
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
@media (max-width: 640px) {
  .check-list { grid-template-columns: 1fr; }
}

/* ---------------- Slideshow ---------------- */
.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #000;
}
.slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 0;
}
.slideshow .slide.active { opacity: 1; z-index: 1; }
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10,10,8,0.55);
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.slide-arrow:hover { background: var(--gold); color: #16130a; border-color: var(--gold); }
.slide-arrow.prev { left: 20px; }
.slide-arrow.next { right: 20px; }
.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245,240,228,0.4);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.slide-dot.active { background: var(--gold); transform: scale(1.3); }
.slide-counter {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--paper-dim);
  background: rgba(10,10,8,0.55);
  border: 1px solid var(--line-soft);
  padding: 6px 12px;
}
@media (max-width: 640px) {
  .slide-arrow { width: 38px; height: 38px; font-size: 15px; }
  .slide-arrow.prev { left: 10px; }
  .slide-arrow.next { right: 10px; }
}

/* ---------------- Video embed ---------------- */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------- Trusted partners ---------------- */
.trust-partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.trust-partner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 36px;
  border: 1px solid var(--line-soft);
}
.tp-logo {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 14px;
}
.tp-logo img { width: 100%; height: 100%; object-fit: contain; }
.trust-partner h3 { font-size: 22px; margin-bottom: 8px; }
.trust-partner p { color: var(--paper-dim); font-size: 15px; margin: 0; }
@media (max-width: 640px) {
  .trust-partners { grid-template-columns: 1fr; }
  .trust-partner { flex-direction: column; text-align: center; }
}

/* ---------------- Founder signature ---------------- */
.founder-sign { margin-top: 44px; }
.founder-sign .founder-name {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 34px;
  color: var(--gold-light);
}
.founder-sign .founder-title {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-top: 10px;
}

/* ---------------- Process blocks ---------------- */
.process-block {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 40px;
  padding: 56px 0;
  border-top: 1px solid var(--line-soft);
}
.process-block:first-child { padding-top: 0; border-top: none; }
.process-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.process-block h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  margin-bottom: 22px;
  max-width: 680px;
}
.process-block p {
  color: var(--paper-dim);
  font-size: 16px;
  max-width: 760px;
  margin: 0 0 18px;
}
.process-block p:last-child { margin-bottom: 0; }

/* ---------------- Development process ---------------- */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 30px;
  flex-wrap: wrap;
  row-gap: 40px;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1 1 0;
  min-width: 110px;
  text-align: center;
}
.process-step .ps-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--gold-light);
  flex-shrink: 0;
}
.process-step .ps-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
@media (max-width: 780px) {
  .process-steps::before { display: none; }
  .process-step { flex: 1 1 30%; }
}

/* ---------------- Partners ---------------- */
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
  opacity: 0.85;
}
.partners-row img { height: 34px; width: auto; filter: grayscale(1) brightness(1.6); }

/* ---------------- Group badge ---------------- */
.group-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 50px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.group-badge:hover { border-color: var(--gold); background: var(--ink-alt); }
.group-badge img { height: 20px; width: auto; object-fit: contain; }
.group-badge span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---------------- Group companies ---------------- */
.group-companies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  max-width: 900px;
  margin: 0 auto;
}
.group-company {
  background: var(--ink);
  padding: 56px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.3s ease;
}
a.group-company:hover { background: var(--ink-alt); }
.group-company img {
  height: 84px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  margin-bottom: 26px;
  transition: filter 0.3s ease;
}
a.group-company:hover img { filter: grayscale(0) brightness(1); }
.group-company h3 { font-size: 22px; margin-bottom: 12px; color: var(--paper); }
.group-company h3 .arrow { color: var(--gold); font-family: var(--font-body); font-size: 14px; margin-left: 6px; }
.group-company p { color: var(--paper-dim); font-size: 15px; margin: 0; max-width: 320px; }
@media (max-width: 640px) {
  .group-companies { grid-template-columns: 1fr; }
}

/* ---------------- CTA banner ---------------- */
.cta-banner {
  text-align: center;
  padding: 150px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,169,97,0.09), transparent 60%), var(--ink);
  border-top: 1px solid var(--line-soft);
}
.cta-banner h2 { font-size: clamp(34px, 5vw, 58px); margin: 22px auto 40px; max-width: 720px; }
.cta-banner .eyebrow { justify-content: center; }

/* ---------------- Forms ---------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-grid .full { grid-column: span 2; }
label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
input, select, textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 10px 2px;
  font-weight: 300;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}
textarea { resize: vertical; min-height: 110px; }
select option { background: var(--ink-alt); }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-details .item .label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.contact-details .item .value { font-family: var(--font-display); font-size: 24px; }
.contact-details .item .value a:hover { color: var(--gold-light); }

/* ---------------- Footer ---------------- */
.site-footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line-soft);
  background: #060504;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-top .brand { margin-bottom: 18px; }
.footer-top p { color: var(--paper-faint); font-size: 14px; max-width: 320px; }
.footer-legal {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  max-width: 320px;
}
.footer-legal span {
  display: block;
  color: var(--paper-faint);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--paper-dim);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-socials svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col a, .footer-col span {
  display: block;
  color: var(--paper-dim);
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--paper-faint);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .pillars, .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .category-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .finance-list { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .process-block { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 520px) {
  .site-header .btn-gold { display: none; }
  .site-header { padding-left: 18px; padding-right: 18px; }
  .brand .word { font-size: 16px; }
  .brand img { width: 32px; height: 32px; }
}
@media (max-width: 640px) {
  .project-grid { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .span-2 { grid-column: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .meta-strip { gap: 30px; }
  .project-nav { flex-direction: column; }
  .project-nav a:last-child { text-align: left; }
}

/* ---------------- Mobile nav drawer ---------------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,7,5,0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer a {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--paper);
}
.mobile-drawer .close-btn {
  position: absolute;
  top: 26px; right: var(--pad);
  background: none; border: none;
  color: var(--paper);
  font-size: 28px;
  cursor: pointer;
}
