/* ============================================
   TRIBU CONSTRUCT
   Design : architectural · luxe · editorial
   Refonte complete
   ============================================ */

:root {
  --navy: #1C2B38;
  --navy-deep: #0E1820;
  --navy-soft: #243749;
  --gold: #B09B6E;
  --gold-light: #C9B68B;
  --gold-soft: #D6C49E;
  --cream: #EEE8E0;
  --cream-light: #F6F1E9;
  --cream-dark: #E0D8CB;
  --white: #FFFFFF;
  --grey: #8A8579;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --container: 1400px;
  --gutter: clamp(24px, 5vw, 80px);

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; }

/* ============================================
   UTILITY
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.section-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.section-label.gold { color: var(--gold-light); }

.section-title,
.page-title,
.intro-title,
.cta-title {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

.section-title {
  font-size: clamp(36px, 5vw, 68px);
  color: var(--navy);
}
.italic { font-style: italic; color: var(--gold); font-weight: 400; }

.section-header {
  margin-bottom: clamp(60px, 8vw, 100px);
  max-width: 800px;
}
.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 0;
  transition: all 0.5s var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: opacity 0.3s;
}
.logo:hover { opacity: 0.75; }
.logo-icon {
  width: 38px;
  height: auto;
  transition: opacity 0.4s;
}
.logo-wordmark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.4s;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
  align-items: center;
}
.nav-link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-link.active { color: var(--gold-light); }

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

/* Lang switcher */
.lang-switcher { position: relative; }
.lang-current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(238, 232, 224, 0.4);
  transition: all 0.3s;
}
.lang-current:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.lang-current svg { width: 9px; transition: transform 0.3s; }
.lang-switcher.open .lang-current svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--cream);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s var(--ease-out);
  z-index: 200;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: block;
  padding: 12px 18px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid rgba(28, 43, 56, 0.08);
  transition: all 0.2s;
}
.lang-option:last-child { border-bottom: 0; }
.lang-option:hover { background: var(--navy); color: var(--cream); }
.lang-option.active { color: var(--gold); }

/* Burger mobile */
.burger {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  background: transparent;
  border: 0;
}
.burger span {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--cream);
  transition: all 0.3s;
}
.burger span:nth-child(1) { top: 8px; }
.burger span:nth-child(2) { top: 16px; }
.burger.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 12px; transform: rotate(-45deg); }

/* Nav state: scrolled OR on internal pages */
.nav.scrolled,
.nav.always-light {
  background: rgba(238, 232, 224, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(28, 43, 56, 0.08);
}
.nav.scrolled .logo-icon-gold,
.nav.always-light .logo-icon-gold { display: none; }
.nav.scrolled .logo-icon-navy,
.nav.always-light .logo-icon-navy { display: block; }
.nav:not(.scrolled):not(.always-light) .logo-icon-navy { display: none; }
.nav:not(.scrolled):not(.always-light) .logo-icon-gold { display: block; }

.nav.scrolled .logo-wordmark,
.nav.always-light .logo-wordmark { color: var(--navy); }
.nav.scrolled .nav-link,
.nav.always-light .nav-link { color: var(--navy); }
.nav.scrolled .lang-current,
.nav.always-light .lang-current {
  color: var(--navy);
  border-color: var(--navy);
}
.nav.scrolled .lang-current:hover,
.nav.always-light .lang-current:hover {
  background: var(--navy);
  color: var(--cream);
}
.nav.scrolled .burger span,
.nav.always-light .burger span { background: var(--navy); }

/* ============================================
   PAGE TRANSITIONS
   ============================================ */
.page { display: none; }
.page.active {
  display: block;
  animation: pageIn 0.5s var(--ease-out);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 38px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid;
  background: transparent;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-arrow { width: 22px; transition: transform 0.4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(6px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(238, 232, 224, 0.5);
}
.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.btn-dark {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: transparent;
  color: var(--navy);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--navy);
  transition: all 0.3s;
}
.link-arrow svg { width: 22px; transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 24, 32, 0.55) 0%, rgba(14, 24, 32, 0.65) 50%, rgba(14, 24, 32, 0.85) 100%),
    linear-gradient(90deg, rgba(14, 24, 32, 0.5) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 900px;
}

.hero-mark {
  width: 56px;
  height: auto;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.1s forwards;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.25s forwards;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold-light);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 116px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 44px;
}
.hero-title span {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.1s var(--ease-out) forwards;
}
.hero-title span:nth-child(1) { animation-delay: 0.4s; }
.hero-title span:nth-child(2) {
  animation-delay: 0.6s;
  padding-left: clamp(24px, 6vw, 100px);
}

.hero-sub {
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: rgba(238, 232, 224, 0.85);
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.8s forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(238, 232, 224, 0.6);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.3s forwards;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(0.4); transform-origin: bottom; opacity: 0.3; }
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro {
  padding: clamp(100px, 14vw, 200px) 0;
  background: var(--cream);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(50px, 10vw, 140px);
  align-items: flex-end;
}
.intro-title {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--navy);
}
.intro-body {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.75;
  color: var(--navy);
  margin-bottom: 40px;
  max-width: 640px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: clamp(100px, 14vw, 200px) 0;
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 60%;
  background: radial-gradient(circle at top right, rgba(176, 155, 110, 0.1), transparent 70%);
  pointer-events: none;
}
.services .section-title { color: var(--cream); }
.services .section-label { color: var(--gold-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.service-card {
  padding: 56px 40px;
  border-left: 1px solid rgba(238, 232, 224, 0.14);
  transition: all 0.5s var(--ease);
  position: relative;
}
.service-card:first-child { border-left: 0; padding-left: 0; }
.service-card:last-child { padding-right: 0; }
.service-card:hover {
  background: linear-gradient(180deg, rgba(176, 155, 110, 0.04) 0%, transparent 100%);
}
.service-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 32px;
}
.service-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 20px;
  line-height: 1.2;
}
.service-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(238, 232, 224, 0.75);
}

/* Services detail page */
.services-detail {
  padding: 0 0 clamp(100px, 14vw, 180px);
  background: var(--navy);
  color: var(--cream);
}

/* ============================================
   PROJECTS
   ============================================ */
.projects-preview,
.projects-full {
  padding: clamp(100px, 14vw, 200px) 0;
  background: var(--cream);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.project-card {
  cursor: default;
  display: flex;
  flex-direction: column;
}

/* Asymmetric layout */
.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; margin-top: clamp(60px, 10vw, 140px); }
.project-card:nth-child(3) { grid-column: span 5; }
.project-card:nth-child(4) { grid-column: span 7; margin-top: clamp(-80px, -6vw, -40px); }

.project-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  overflow: hidden;
  margin-bottom: 28px;
  position: relative;
}
.project-card:nth-child(2) .project-img,
.project-card:nth-child(3) .project-img { aspect-ratio: 4/5; }

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease);
  filter: brightness(0.97);
}
.project-card:hover .project-img img {
  transform: scale(1.05);
  filter: brightness(1.03);
}

.project-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.project-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--navy);
  opacity: 0.65;
  padding-top: 14px;
  border-top: 1px solid rgba(28, 43, 56, 0.18);
}

/* ============================================
   VALUES STRIP
   ============================================ */
.values {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--cream-light);
  border-top: 1px solid rgba(28, 43, 56, 0.08);
  border-bottom: 1px solid rgba(28, 43, 56, 0.08);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.value-item {
  text-align: center;
  position: relative;
  padding: 0 20px;
}
.value-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -30px; top: 15%;
  width: 1px; height: 70%;
  background: rgba(28, 43, 56, 0.18);
}
.value-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 8vw, 104px);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.value-unit {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
}
.value-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--navy);
  opacity: 0.75;
  max-width: 240px;
  margin: 0 auto;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(176, 155, 110, 0.18), transparent 70%),
    radial-gradient(circle at 20% 100%, rgba(176, 155, 110, 0.08), transparent 50%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(40px, 6vw, 84px);
  color: var(--cream);
  margin-bottom: 24px;
}
.cta-title em {
  color: var(--gold-light);
  font-style: italic;
  font-weight: 400;
}
.cta-sub {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: rgba(238, 232, 224, 0.75);
  margin-bottom: 48px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   PAGE HEADERS (services, projects, about, contact)
   ============================================ */
.page-header {
  padding: clamp(140px, 14vw, 200px) 0 clamp(60px, 8vw, 100px);
  background: var(--cream);
}
.page-title {
  font-size: clamp(44px, 7vw, 96px);
  color: var(--navy);
  margin-bottom: 32px;
}
.page-intro {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.85;
  max-width: 720px;
}

/* About header specific */
.about-header-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: flex-end;
}
.about-intro-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.5;
  color: var(--navy);
  padding-left: 28px;
  border-left: 2px solid var(--gold);
}

/* ============================================
   ABOUT STORY
   ============================================ */
.about-story {
  padding: clamp(80px, 10vw, 140px) 0 clamp(100px, 14vw, 180px);
  background: var(--cream);
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 8vw, 140px);
}
.about-aside {
  position: sticky;
  top: 120px;
  height: fit-content;
  text-align: left;
}
.about-aside-mark {
  width: 80px;
  height: auto;
  opacity: 0.35;
  margin-bottom: 20px;
}
.about-aside-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
  opacity: 0.5;
  letter-spacing: 0.04em;
}

.about-body {
  max-width: 720px;
}
.story-block h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.story-block p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.8;
  color: var(--navy);
  opacity: 0.9;
}
.story-block p + p { margin-top: 22px; }
.story-divider {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 56px 0;
  opacity: 0.5;
}

/* ============================================
   TEAM
   ============================================ */
.team-section {
  padding: clamp(100px, 14vw, 160px) 0;
  background: var(--cream-light);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.team-card {
  text-align: center;
}
.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy);
  overflow: hidden;
  margin-bottom: 32px;
  position: relative;
  filter: grayscale(1);
}
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 30%, rgba(238, 232, 224, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.team-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(238, 232, 224, 0.04) 1px, transparent 1px);
  background-size: 100% 14px;
}
.team-photo-initial {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 120px;
  color: var(--gold);
  opacity: 0.65;
  position: relative;
  z-index: 2;
}
.team-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 28px);
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.team-role {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.team-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.75;
  max-width: 300px;
  margin: 0 auto;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
  padding: clamp(140px, 14vw, 200px) 0 clamp(80px, 10vw, 140px);
  background: var(--cream);
  min-height: 100vh;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
}

.contact-left .page-title { margin-bottom: 32px; }
.contact-sub {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.85;
  margin-bottom: 60px;
  max-width: 460px;
}

.contact-info {
  display: grid;
  gap: 36px;
}
.info-block {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(28, 43, 56, 0.15);
}
.info-block:last-child { border-bottom: 0; padding-bottom: 0; }
.info-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 4px;
}
.info-content {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-content a { transition: color 0.3s; }
.info-content a:hover { color: var(--gold); }

/* Form */
.contact-form {
  background: var(--cream-light);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid rgba(28, 43, 56, 0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.form-group { margin-bottom: 32px; }
.form-row .form-group { margin-bottom: 0; }
.form-label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.65;
  margin-bottom: 12px;
}
.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 43, 56, 0.25);
  padding: 10px 0;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy);
  transition: border-color 0.3s;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(176, 155, 110, 0.12);
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--navy);
  line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: clamp(80px, 10vw, 120px) 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  margin-bottom: 60px;
}
.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 28px;
}
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(238, 232, 224, 0.65);
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col a,
.footer-col li {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(238, 232, 224, 0.7);
  transition: color 0.3s;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 36px;
  border-top: 1px solid rgba(238, 232, 224, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(238, 232, 224, 0.4);
  letter-spacing: 0.05em;
}
.footer-bottom a:hover { color: var(--gold); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card {
    border-left: 0;
    border-top: 1px solid rgba(238, 232, 224, 0.14);
    padding: 44px 0;
  }
  .service-card:first-child { border-top: 0; padding-top: 0; }

  .about-header-grid,
  .about-story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-aside { position: static; }
  .about-aside-mark { width: 56px; }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: block; }

  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 50;
  }
  .nav-links.mobile-open .nav-link {
    font-size: 18px;
    color: var(--navy);
  }

  .logo-icon { width: 32px; }
  .logo-wordmark { font-size: 18px; }

  .hero-mark { width: 44px; margin-bottom: 24px; }
  .hero-content { padding-top: 100px; }

  .projects-grid { display: flex; flex-direction: column; gap: 60px; }
  .project-card { grid-column: span 12 !important; margin-top: 0 !important; }
  .project-card:nth-child(2) .project-img,
  .project-card:nth-child(3) .project-img { aspect-ratio: 4/3; }

  .values-grid { grid-template-columns: 1fr; gap: 50px; }
  .value-item:not(:last-child)::after { display: none; }

  .team-grid { grid-template-columns: 1fr; gap: 60px; }

  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .form-row .form-group { margin-bottom: 32px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .info-block {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
