/* ============================================================
   AURORA ARCHITECTURE — Core stylesheet
   Palette: Charcoal #1F1F1F · Warm White #F8F8F5 · Gold #C6A96B
   Type:    Cormorant Garamond (display) · Inter (body)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --charcoal: #1F1F1F;
  --charcoal-90: rgba(31, 31, 31, 0.9);
  --charcoal-70: rgba(31, 31, 31, 0.7);
  --warm-white: #F8F8F5;
  --white: #FFFFFF;
  --gold: #C6A96B;
  --gold-dark: #A98D50;
  --text: #333333;
  --text-soft: #6a6a66;
  --line: rgba(31, 31, 31, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-y: clamp(72px, 11vw, 160px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 60px -28px rgba(31, 31, 31, 0.35);
  --shadow-card: 0 30px 70px -40px rgba(31, 31, 31, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-dark); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--gold); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
p { text-wrap: pretty; }

.display { font-family: var(--font-display); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.centered { justify-content: center; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-tint { background: var(--warm-white); }
.section-dark { background: var(--charcoal); color: var(--warm-white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--warm-white); }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.centered { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--text-soft); margin-top: 1.2rem; font-weight: 300; }
.section-dark .lead { color: rgba(248,248,245,0.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.05em 2.2em;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  background: transparent;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
  z-index: 0;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--charcoal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--warm-white); }
.btn:hover::after { transform: scaleX(1); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-gold { border-color: var(--gold); color: var(--gold-dark); }
.btn-gold::after { background: var(--gold); }
.btn-gold:hover { color: var(--charcoal); }

.btn-light { border-color: rgba(248,248,245,0.5); color: var(--warm-white); }
.btn-light::after { background: var(--warm-white); }
.btn-light:hover { color: var(--charcoal); }

.btn-solid-gold { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.btn-solid-gold::after { background: var(--charcoal); }
.btn-solid-gold:hover { color: var(--warm-white); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 1.4rem;
  transition: background 0.45s var(--ease), padding 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled {
  background: rgba(248, 248, 245, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding-block: 0.85rem;
  box-shadow: 0 1px 0 var(--line);
}

.brand { display: flex; align-items: center; gap: 0.7rem; line-height: 1; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  border-radius: 2px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.brand:hover .brand-mark { background: var(--gold); color: var(--charcoal); }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.brand-tag {
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
}
/* Header over dark hero (top of page, before scroll) */
.site-header.on-dark:not(.scrolled) .brand-name { color: var(--warm-white); }
.site-header.on-dark:not(.scrolled) .nav-link { color: rgba(248,248,245,0.82); }
.site-header.on-dark:not(.scrolled) .nav-link:hover,
.site-header.on-dark:not(.scrolled) .nav-link.active { color: var(--white); }
.site-header.on-dark:not(.scrolled) .hamburger span { background: var(--warm-white); }

.nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); }
.nav-list { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.nav-link {
  position: relative;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-block: 0.4rem;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: var(--gold-dark); }

.nav-cta { display: inline-flex; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px; height: 22px;
  justify-content: center;
  z-index: 120;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--charcoal);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--warm-white);
  background: var(--charcoal);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Hero slideshow — crossfade + slow Ken Burns zoom */
.hero-slideshow { overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s var(--ease);
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  animation: heroKenBurns 8s ease-out forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active { animation: none; transform: scale(1.02); }
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(31,31,31,0.55) 0%, rgba(31,31,31,0.15) 35%, rgba(31,31,31,0.72) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-bottom: clamp(60px, 10vw, 130px); padding-top: 160px; width: 100%; }
.hero h1 { color: var(--warm-white); max-width: 15ch; }
.hero .eyebrow { color: var(--gold); }
.hero-sub {
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(248,248,245,0.85);
}
.hero-actions { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
  position: absolute;
  z-index: 2;
  right: var(--gutter); bottom: clamp(60px, 10vw, 130px);
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(248,248,245,0.7);
  writing-mode: vertical-rl;
}
.hero-scroll .line { width: 1px; height: 60px; background: rgba(248,248,245,0.4); overflow: hidden; position: relative; }
.hero-scroll .line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--gold); animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 60%,100% { top: 100%; } }

/* ---------- Intro / split rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: 2px; box-shadow: var(--shadow-soft); }
.stat-badge {
  position: absolute;
  bottom: -28px; right: -20px;
  background: var(--charcoal);
  color: var(--warm-white);
  padding: 1.6rem 2rem;
  border-radius: 2px;
  box-shadow: var(--shadow-card);
}
.stat-badge .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.stat-badge .lbl { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 0.4rem; color: rgba(248,248,245,0.75); }
.body-copy p + p { margin-top: 1.2rem; }
.signature { margin-top: 2rem; font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-dark); }
.signature small { display: block; font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-soft); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--white);
  padding: clamp(28px, 3.4vw, 48px);
  transition: background 0.45s var(--ease), transform 0.45s var(--ease);
}
.service:hover { background: var(--warm-white); }
.service .idx { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); }
.service .icon { width: 44px; height: 44px; color: var(--gold-dark); margin: 1.2rem 0 1.4rem; }
.service h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
.service p { font-size: 0.98rem; color: var(--text-soft); }

/* ---------- Featured projects ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}
.feature-card.span-4 { grid-column: span 4; }
.feature-card.span-3 { grid-column: span 3; }
.feature-card.span-2 { grid-column: span 2; }
.feature-card.tall { min-height: 520px; }
.feature-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.feature-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(31,31,31,0.85) 100%);
  transition: opacity 0.5s var(--ease);
}
.feature-card:hover img { transform: scale(1.06); }
.feature-body { position: relative; z-index: 2; padding: clamp(24px, 3vw, 40px); color: var(--warm-white); width: 100%; }
.feature-body .cat { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.feature-body h3 { color: var(--warm-white); font-size: clamp(1.4rem, 2.2vw, 2rem); margin-top: 0.5rem; }
.feature-body .meta { font-size: 0.82rem; color: rgba(248,248,245,0.75); margin-top: 0.5rem; letter-spacing: 0.04em; }

/* ---------- Philosophy (dark + accent) ---------- */
.philosophy { position: relative; overflow: hidden; }
.philosophy .principles {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
}
.principle { border-top: 1px solid var(--line-light); padding-top: 1.6rem; }
.principle .p-num { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold); }
.principle h3 { color: var(--warm-white); font-size: 1.6rem; margin: 0.4rem 0 0.7rem; }
.principle p { color: rgba(248,248,245,0.7); font-size: 0.98rem; }

/* ---------- Stats / counters ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); text-align: center; }
.stat .figure { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); color: var(--gold); line-height: 1; font-weight: 500; }
.stat .figure .suffix { font-size: 0.5em; }
.stat .caption { margin-top: 0.8rem; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-soft); }
.section-dark .stat .caption { color: rgba(248,248,245,0.6); }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; }
.testi-track { position: relative; min-height: 240px; }
.testi {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s var(--ease);
  max-width: 900px; margin-inline: auto; text-align: center;
}
.testi.active { opacity: 1; visibility: visible; position: relative; }
.testi .quote { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.35; color: var(--charcoal); font-weight: 500; }
.section-dark .testi .quote { color: var(--warm-white); }
.testi .quote::before { content: "\201C"; color: var(--gold); }
.testi .quote::after { content: "\201D"; color: var(--gold); }
.testi .who { margin-top: 1.6rem; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); }
.testi .who span { display: block; color: var(--text-soft); letter-spacing: 0.06em; text-transform: none; font-size: 0.85rem; margin-top: 0.3rem; }
.section-dark .testi .who span { color: rgba(248,248,245,0.6); }
.testi-dots { display: flex; gap: 0.6rem; justify-content: center; margin-top: 2.4rem; }
.testi-dots button { width: 34px; height: 2px; background: var(--line); transition: background 0.3s; }
.section-dark .testi-dots button { background: rgba(248,248,245,0.25); }
.testi-dots button.active { background: var(--gold); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; text-align: center; color: var(--warm-white); background: var(--charcoal); }
.cta-banner .cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-banner .cta-media img, .cta-banner .cta-media video { width: 100%; height: 100%; object-fit: cover; }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(31,31,31,0.7); }
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--warm-white); max-width: 18ch; margin-inline: auto; }
.cta-banner .lead { color: rgba(248,248,245,0.8); max-width: 52ch; margin-inline: auto; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(150px, 20vw, 260px);
  padding-bottom: clamp(60px, 9vw, 120px);
  color: var(--warm-white);
  background: var(--charcoal);
  overflow: hidden;
}
.page-hero .ph-media { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-media img, .page-hero .ph-media video { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(31,31,31,0.6), rgba(31,31,31,0.55)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--warm-white); }
.page-hero .lead { color: rgba(248,248,245,0.82); max-width: 54ch; }
.breadcrumb { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(248,248,245,0.65); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--gold); }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; max-width: 820px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding-left: 3rem; padding-bottom: clamp(32px, 4vw, 56px); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -5px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--warm-white); }
.tl-year { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-dark); }
.tl-item h3 { font-size: 1.3rem; margin: 0.2rem 0 0.5rem; }
.tl-item p { color: var(--text-soft); font-size: 0.98rem; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--white); padding: clamp(28px, 3vw, 44px); }
.value .v-icon { width: 40px; height: 40px; color: var(--gold-dark); margin-bottom: 1.2rem; }
.value h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.value p { color: var(--text-soft); font-size: 0.96rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.member { position: relative; }
.member-photo { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 4/5; background: var(--warm-white); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: grayscale(0.15); }
.member:hover .member-photo img { transform: scale(1.05); filter: grayscale(0); }
.member-social {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 0.8rem; justify-content: center;
  padding: 1.2rem;
  background: linear-gradient(0deg, rgba(31,31,31,0.85), transparent);
  transform: translateY(100%); opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.member:hover .member-social { transform: translateY(0); opacity: 1; }
.member-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); border-radius: 50%; transition: background 0.3s, color 0.3s; }
.member-social a:hover { background: var(--gold); color: var(--charcoal); }
.member-info { padding-top: 1.4rem; }
.member-info h3 { font-size: 1.5rem; }
.member-info .role { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); margin: 0.4rem 0 0.9rem; }
.member-info p { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Projects filter + grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: clamp(36px, 5vw, 60px); }
.filter-btn {
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  padding: 0.7em 1.4em; border: 1px solid var(--line); color: var(--text-soft);
  border-radius: 2px; transition: all 0.35s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--warm-white); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.project-card {
  position: relative; overflow: hidden; border-radius: 2px;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.project-card.hide { display: none; }
.project-thumb { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project-card:hover .project-thumb img { transform: scale(1.07); }
.project-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(31,31,31,0.9)); opacity: 0.9; }
.project-overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 2.4vw, 32px); color: var(--warm-white); }
.project-overlay .cat { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.project-overlay h3 { color: var(--warm-white); font-size: clamp(1.35rem, 2vw, 1.8rem); margin: 0.4rem 0; }
.project-overlay .meta { font-size: 0.8rem; color: rgba(248,248,245,0.78); display: flex; gap: 1rem; flex-wrap: wrap; }
.project-overlay .desc { font-size: 0.9rem; color: rgba(248,248,245,0.8); margin-top: 0.8rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.5s var(--ease), margin 0.5s var(--ease); }
.project-card:hover .project-overlay .desc { max-height: 120px; opacity: 1; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info .info-item { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:first-of-type { padding-top: 0; }
.info-item .ii-icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-dark); border-radius: 50%; }
.info-item .ii-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-soft); }
.info-item .ii-value { font-size: 1.05rem; color: var(--charcoal); margin-top: 0.2rem; }
.info-item .ii-value a { color: var(--charcoal); }
.info-item .ii-value a:hover { color: var(--gold-dark); }

.form-field { margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form-field label { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.6rem; font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 0.95rem 1.1rem;
  border: 1px solid var(--line); border-radius: 2px; background: var(--white);
  color: var(--charcoal); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,169,107,0.15);
}
.form-field.invalid input, .form-field.invalid textarea { border-color: #b04a3f; }
.field-error { color: #b04a3f; font-size: 0.78rem; margin-top: 0.4rem; display: none; }
.form-field.invalid .field-error { display: block; }
.form-note { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.4rem; }
.form-success {
  display: none; align-items: center; gap: 0.8rem;
  background: rgba(198,169,107,0.12); border: 1px solid var(--gold);
  color: var(--gold-dark); padding: 1rem 1.2rem; border-radius: 2px; margin-bottom: 1.4rem;
}
.form-success.show { display: flex; }
.map-embed { position: relative; aspect-ratio: 16/7; margin-top: clamp(40px, 5vw, 64px); border-radius: 2px; overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(248,248,245,0.7); padding-top: clamp(60px, 8vw, 100px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 64px); }
.footer-brand .brand-name { color: var(--warm-white); }
.footer-brand p { margin-top: 1.2rem; max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 600; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col a { color: rgba(248,248,245,0.7); font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 0.6rem; margin-bottom: 0.9rem; font-size: 0.95rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(248,248,245,0.25); border-radius: 50%; color: rgba(248,248,245,0.75); transition: all 0.3s var(--ease); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(248,248,245,0.12);
  padding-block: 1.8rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-bottom .legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ---------- Scroll to top ---------- */
.to-top {
  position: fixed; right: clamp(18px, 3vw, 34px); bottom: clamp(18px, 3vw, 34px);
  width: 50px; height: 50px; z-index: 90;
  display: grid; place-items: center;
  background: var(--charcoal); color: var(--gold);
  border-radius: 50%; box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: var(--charcoal); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

/* ---------- Utility ---------- */
.icon-svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.mt-4 { margin-top: 2.4rem; }
