/* KAINOS — Design System */

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

:root {
  --bg: #0A0A0A;
  --bg-2: #111111;
  --bg-3: #1A1A1A;
  --text: #F0EBE3;
  --text-2: #8A8078;
  --text-3: #4A4540;
  --gold: #C8A97E;
  --gold-light: #DEC09A;
  --border: rgba(240, 235, 227, 0.07);
  --border-md: rgba(240, 235, 227, 0.12);
  --border-strong: rgba(240, 235, 227, 0.18);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h: 80px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.h-hero {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 112px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.025em;
}

.h-display {
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h-section {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.h-card {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.2;
}

.body-lg { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.body-sm { font-size: 14px; line-height: 1.7; color: var(--text-2); }
.caption {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ─── LAYOUT ─── */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
}

.container-sm {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 56px;
}

.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 56px;
}

.nav__logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.25s;
}

.nav__logo:hover { color: var(--gold); }

.nav__links {
  display: flex;
  gap: 44px;
}

.nav__links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-2);
  transition: color 0.25s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 28px;
  background: transparent;
  border: 1px solid var(--border-md);
  color: var(--text);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.nav__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: all 0.35s var(--ease);
}

/* Mobile overlay menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 998;
  padding: 120px 48px 64px;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav__mobile.open {
  display: flex;
  opacity: 1;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 56px;
}

.nav__mobile-links a {
  font-family: var(--serif);
  font-size: clamp(34px, 8vw, 52px);
  font-weight: 300;
  color: var(--text-2);
  transition: color 0.25s, transform 0.25s;
  display: block;
}

.nav__mobile-links a:hover {
  color: var(--text);
  transform: translateX(8px);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

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

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: none;
  gap: 8px;
}

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

.btn-arrow { position: relative; }
.btn-arrow .arr { transition: transform 0.3s; display: inline-block; }
.btn-arrow:hover .arr { transform: translateX(5px); }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg-3);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.95) 0%,
    rgba(10,10,10,0.45) 40%,
    rgba(10,10,10,0.1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 56px 88px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.hero__eyebrow { margin-bottom: 28px; }
.hero__title { margin-bottom: 32px; }
.hero__sub { max-width: 500px; margin-bottom: 52px; }

.hero__actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ─── SECTION HERO (sub-pages) ─── */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 70%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 56px 72px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* ─── PILLAR CARDS ─── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 80px;
}

.pillar-card {
  position: relative;
  padding: 56px 44px 48px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.35s;
  overflow: hidden;
}

.pillar-card:hover { background: var(--bg-2); }

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.pillar-card:hover::after { transform: scaleX(1); }

.pillar-card__num {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 300;
  color: var(--bg-3);
  position: absolute;
  top: 20px;
  right: 28px;
  line-height: 1;
  pointer-events: none;
  transition: color 0.35s;
}

.pillar-card:hover .pillar-card__num { color: rgba(200,169,126,0.08); }

.pillar-card__icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
}

.pillar-card__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pillar-card__tag {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pillar-card__body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  flex: 1;
}

.pillar-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.25s;
  margin-top: 12px;
}

.pillar-card__cta .arr { transition: transform 0.3s; display: inline-block; }
.pillar-card:hover .pillar-card__cta { color: var(--gold); }
.pillar-card:hover .pillar-card__cta .arr { transform: translateX(5px); }

/* ─── ALTERNATING SECTIONS ─── */
.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.alt-row.flipped { }
.alt-row.flipped .alt-row__img { order: 2; }
.alt-row.flipped .alt-row__content { order: 1; }

.alt-row__img {
  overflow: hidden;
  position: relative;
}

.alt-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.alt-row:hover .alt-row__img img { transform: scale(1.04); }

.alt-row__content {
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-2);
}

.alt-row__eyebrow { margin-bottom: 20px; }
.alt-row__title { margin-bottom: 32px; }

.alt-row__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 48px;
}

.alt-row__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-2);
}

.alt-row__list li::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ─── JOURNEY ─── */
.journey { background: var(--bg-2); }

.journey__header { padding: 0 0 0 0; }

.journey__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--border);
}

.journey__step {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  position: relative;
  opacity: 0.35;
  transition: opacity 0.6s;
}

.journey__step:last-child { border-right: none; }
.journey__step.active { opacity: 1; }

.journey__step-progress {
  position: absolute;
  top: -1px; left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 1.2s var(--ease);
}

.journey__step.active .journey__step-progress { width: 100%; }

.journey__step-num {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 28px;
}

.journey__step-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.journey__step-body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ─── WHY KAINOS ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 72px;
}

.why-item {
  padding: 52px 44px;
  background: var(--bg);
  transition: background 0.3s;
}

.why-item:hover { background: var(--bg-2); }

.why-item__icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 28px;
}

.why-item__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.why-item__body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ─── PROJECTS MASONRY ─── */
.proj-masonry {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 56px;
}

.proj-row {
  display: grid;
  gap: 2px;
}

.proj-row--1 { grid-template-columns: 1fr; }
.proj-row--2 { grid-template-columns: 1fr 1fr; }
.proj-row--3 { grid-template-columns: 2fr 1fr; }

.proj-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  cursor: pointer;
}

.proj-card--xl { aspect-ratio: 21/8; }
.proj-card--lg { aspect-ratio: 4/3; }
.proj-card--md { aspect-ratio: 3/4; }
.proj-card--std { aspect-ratio: 16/9; }
.proj-card--wide { aspect-ratio: 16/7; }

.proj-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.proj-card:hover .proj-card__img { transform: scale(1.05); }

.proj-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.88) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}

.proj-card:hover .proj-card__overlay { opacity: 1; }

.proj-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 36px;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s var(--ease);
}

.proj-card:hover .proj-card__info { transform: none; opacity: 1; }

.proj-card__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}

.proj-card__tags {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.proj-card__tags span::before { content: '· '; }
.proj-card__tags span:first-child::before { display: none; }

/* ─── FILTER BAR ─── */
.filter-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.filter-btn {
  padding: 9px 20px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-3);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}

.filter-btn:hover { border-color: var(--border-strong); color: var(--text-2); }
.filter-btn.active { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ─── GALLERY ─── */
.gallery-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin: 64px 0 80px;
}

.gallery-cat {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}

.gallery-cat__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-cat:hover .gallery-cat__img { transform: scale(1.07); }

.gallery-cat__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.42);
  display: flex;
  align-items: flex-end;
  padding: 32px;
  transition: background 0.3s;
}

.gallery-cat:hover .gallery-cat__overlay { background: rgba(10,10,10,0.58); }

.gallery-cat__label {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gallery-grid {
  columns: 3;
  column-gap: 3px;
  margin-top: 8px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 3px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--ease);
}

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

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.55);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 28px;
  right: 36px;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-3);
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.25s;
}

.lightbox__close:hover { color: var(--text); }

/* ─── PROJECT DETAIL ─── */
.proj-hero {
  height: 90vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.proj-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proj-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.15) 70%);
}

.proj-hero__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 80px 80px;
}

.proj-hero__title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.proj-hero__meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.proj-hero__meta span { display: flex; align-items: center; gap: 8px; }
.proj-hero__meta span::before { content: '·'; color: var(--text-3); }
.proj-hero__meta span:first-child::before { display: none; }

/* Project sections */
.proj-section { padding: 96px 0; }
.proj-section + .proj-section { border-top: 1px solid var(--border); }

.proj-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proj-stat__num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.proj-stat__label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }

.proj-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 48px 0;
}

.proj-img-full {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
}

.proj-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.proj-img-pair img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ─── MATERIALS PALETTE ─── */
.material-palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin: 40px 0;
}

.material-swatch {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.material-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-swatch__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px;
  background: rgba(10,10,10,0.75);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ─── ABOUT TIMELINE ─── */
.timeline-h {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 72px 0;
}

.timeline-item {
  padding: 52px 44px;
  background: var(--bg-2);
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0; left: 44px;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.timeline-item__year {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.timeline-item__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
}

.timeline-item__body { font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* ─── AI DESIGN PAGE ─── */
.ai-upload-zone {
  border: 1px dashed var(--border-strong);
  padding: 80px;
  text-align: center;
  background: var(--bg-2);
  transition: border-color 0.3s;
  cursor: pointer;
}

.ai-upload-zone:hover { border-color: var(--gold); }

.ai-upload-zone__icon {
  width: 56px;
  height: 56px;
  color: var(--gold);
  margin: 0 auto 24px;
}

.ai-journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 72px;
}

.ai-step {
  padding: 44px 36px;
  background: var(--bg);
}

.ai-step__num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--bg-3);
  line-height: 1;
  margin-bottom: 24px;
}

.ai-step__title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.ai-step__body { font-size: 13px; color: var(--text-2); line-height: 1.75; }

/* ─── ESTIMATOR ─── */
.estimator-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.estimator-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 56px;
}

.form-group { margin-bottom: 28px; }

.form-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

.form-select, .form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.25s;
  border-radius: 0;
}

.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8078' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }

.form-select:focus, .form-input:focus { outline: none; border-color: var(--gold); }
.form-select option { background: #1A1A1A; }

.form-range {
  width: 100%;
  accent-color: var(--gold);
  margin-top: 8px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.estimator-result-panel {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 100px;
}

.est-range {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  color: var(--gold);
  line-height: 1.1;
}

.est-note { font-size: 12px; color: var(--text-3); font-style: italic; margin-top: 8px; }

/* ─── JOURNAL ─── */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}

.j-card { cursor: pointer; }

.j-card__img-wrap {
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 4/3;
}

.j-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.j-card:hover .j-card__img-wrap img { transform: scale(1.05); }

.j-card__cat { margin-bottom: 10px; }

.j-card__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 12px;
  transition: color 0.25s;
}

.j-card:hover .j-card__title { color: var(--gold); }

.j-card__body { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.j-card__date { font-size: 11px; color: var(--text-3); letter-spacing: 0.08em; margin-top: 16px; text-transform: uppercase; }

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 88px 0 52px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 88px;
}

.footer__logo {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
  display: block;
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 32px;
}

.footer__col-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.25s;
}

.footer__links a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
}

/* ─── CTA SECTION ─── */
.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.cta-band__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 56px;
}

.cta-band__title { margin-bottom: 24px; }
.cta-band__sub { margin-bottom: 48px; }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; align-items: center; }

/* ─── SCROLL ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.fade-up.visible { opacity: 1; transform: none; }

.fade-in {
  opacity: 0;
  transition: opacity 0.85s var(--ease);
}

.fade-in.visible { opacity: 1; }

.stagger > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }

/* ─── STAT STRIP ─── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.stat-item {
  padding: 52px 44px;
  background: var(--bg);
}

.stat-item__num {
  font-family: var(--serif);
  font-size: clamp(44px, 4vw, 64px);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ─── MISC ─── */
.divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 32px 0;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--border);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .container, .container-sm { padding: 0 40px; }
  .nav__inner { padding: 0 40px; }
  .hero__content, .page-hero__content { padding-left: 40px; padding-right: 40px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .journey__steps { grid-template-columns: repeat(3, 1fr); }
  .ai-journey { grid-template-columns: repeat(3, 1fr); }
  .gallery-cats { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .estimator-wrap { grid-template-columns: 1fr; }
  .estimator-result-panel { position: static; }
  .proj-stats { grid-template-columns: repeat(2, 1fr); }
  .material-palette { grid-template-columns: repeat(3, 1fr); }
  .timeline-h { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .container, .container-sm { padding: 0 28px; }
  .nav__inner { padding: 0 28px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero__content, .page-hero__content { padding-left: 28px; padding-right: 28px; padding-bottom: 56px; }
  .section { padding: 80px 0; }
  .alt-row { grid-template-columns: 1fr; }
  .alt-row.flipped .alt-row__img { order: 0; }
  .alt-row.flipped .alt-row__content { order: 0; }
  .alt-row__content { padding: 56px 28px; }
  .alt-row__img img { min-height: 360px; }
  .journey__steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .proj-row--2 { grid-template-columns: 1fr; }
  .proj-row--3 { grid-template-columns: 1fr; }
  .proj-hero__content { padding: 0 28px 48px; }
  .proj-hero__meta { flex-direction: column; gap: 6px; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .estimator-form { padding: 36px 28px; }
  .estimator-result-panel { padding: 36px 28px; }
  .ai-journey { grid-template-columns: 1fr 1fr; }
  .cta-band__actions { flex-direction: column; }
  .proj-img-pair { grid-template-columns: 1fr; }
  .proj-img-pair img { height: 300px; }
}

@media (max-width: 600px) {
  .container, .container-sm { padding: 0 20px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .gallery-cats { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 1; }
  .journal-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .ai-journey { grid-template-columns: 1fr; }
  .proj-stats { grid-template-columns: 1fr 1fr; }
  .material-palette { grid-template-columns: repeat(2, 1fr); }
  .hero__scroll { display: none; }
  .cta-band__content { padding: 80px 20px; }
}

/* SEO editorial additions */
.editorial-j-card{display:block}.editorial-j-card .j-card__title{margin-bottom:12px}.editorial-j-card:hover .j-card__title{color:var(--gold)}
