/* ============================================================
   OPULENT DESIGN — GLOBAL STYLESHEET
   Color palette derived from logo: warm off-white, charcoal,
   deep espresso, warm gold, soft taupe
   ============================================================ */

:root {
  --bg:          #f0ebe3;        /* warm off-white from logo bg */
  --bg-alt:      #e8e0d6;        /* slightly deeper warm cream */
  --bg-card:     #ece6de;
  --text:        #1e1812;        /* near-black from logo letterform */
  --text-2:      #4a3f35;        /* warm dark brown */
  --text-muted:  #8a7a6e;        /* muted taupe */
  --accent:      #2a2118;        /* deep espresso (logo stroke) */
  --gold:        #a08060;        /* warm gold accent */
  --gold-light:  #c4a882;
  --border:      #d4c9be;
  --border-dark: #b8a899;
  --nav-h:       120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 2px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(30,24,18,0.08); }

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-icon {
  width: 42px; height: 42px;
  color: var(--accent);
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--text);
}
.logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--text-2);
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

.nav-contact {
  border: 1px solid var(--border-dark);
  padding: 6px 18px !important;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-contact:hover {
  background: var(--accent) !important;
  color: var(--bg) !important;
  border-color: var(--accent) !important;
}
.nav-contact::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 24px 40px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul { list-style: none; }
.mobile-menu ul li { border-bottom: 1px solid var(--border); }
.mobile-menu ul li a {
  display: block;
  padding: 16px 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-2);
  text-transform: uppercase;
  transition: color 0.2s;
}
.mobile-menu ul li a:hover { color: var(--text); }

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 60px;
}
.hero-content {
  flex: 1;
  max-width: 580px;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 420px;
}
.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  transition: background 0.3s, color 0.3s;
  border-radius: 2px;
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}
.btn-outline {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--border-dark);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  border-radius: 2px;
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 480px;
  background: linear-gradient(180deg, rgba(240,235,227,0.24), rgba(30,24,18,0.16));
}
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-visual .hero-ring,
.hero-visual .hero-monogram {
  z-index: 1;
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
}
.hero-ring-1 {
  width: 360px; height: 360px;
  animation: spin-slow 30s linear infinite;
}
.hero-ring-2 {
  width: 480px; height: 480px;
  border-style: dashed;
  animation: spin-slow 50s linear infinite reverse;
  opacity: 0.5;
}
.hero-monogram {
  width: 200px; height: 200px;
  color: var(--accent);
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================================
   INTRO STRIP
   ============================================================ */
.intro-strip {
  background: var(--accent);
  padding: 60px 40px;
  text-align: center;
}
.intro-strip p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 300;
  color: var(--bg);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.7;
  font-style: italic;
  letter-spacing: 0.02em;
}
.intro-strip p em {
  color: var(--gold-light);
  font-style: normal;
}

/* ============================================================
   CASE STUDIES GRID
   ============================================================ */
.case-studies {
  padding: 100px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text);
}
.view-all {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.2s;
}
.view-all:hover { letter-spacing: 0.25em; }

.grid-projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  group: true;
}
.project-card--wide {
  grid-column: span 2;
}
.project-card:hover .card-img { transform: scale(1.04); }
.project-card:hover .card-overlay { opacity: 0.6; }
.project-card:hover .card-info { transform: translateY(0); opacity: 1; }

.card-img {
  aspect-ratio: 4/3;
  transition: transform 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-placeholder-icon {
  font-size: 40px;
  opacity: 0.3;
  position: relative;
  z-index: 1;
}
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--accent) 0%, transparent 60%);
  opacity: 0.3;
  transition: opacity 0.4s;
}
.card-info {
  padding: 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.card-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}
.card-info span {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr);
  align-items: center;
  gap: 60px;
  padding: calc(var(--nav-h) + 80px) 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}
.page-hero .hero-content {
  max-width: 100%;
}
.page-hero .hero-visual {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-visual .hero-ring {
  border-color: rgba(46,34,26,0.2);
}
.page-hero .hero-visual .hero-monogram {
  width: 180px;
  height: 180px;
  opacity: 0.65;
  color: var(--accent);
}
.page-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.page-hero p {
  font-size: 16px;
  color: rgba(244,239,231,0.85);
  max-width: 620px;
  line-height: 1.8;
}
.page-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 36px 0;
}
@media (max-width: 1024px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-hero .hero-visual { min-height: 360px; }
}
@media (max-width: 768px) {
  .page-hero { padding: calc(var(--nav-h) + 48px) 24px 40px; }
  .page-hero .hero-visual { min-height: 280px; }
}

/* ============================================================
   PROJECTS GRID (inner pages)
   ============================================================ */
.projects-section {
  padding: 60px 40px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.projects-section .section-header { margin-bottom: 48px; }

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

/* ============================================================
   PROCESS PAGE
   ============================================================ */
.process-section {
  padding: 60px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
}
.philosophy-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: start;
}
.philosophy-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--text);
}
.philosophy-text p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 16px;
}

.process-diagram {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.process-step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  min-width: 48px;
}
.step-body h4 {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-section {
  padding: 60px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
}
.studio-intro {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 52px;
  margin-bottom: 72px;
}
.studio-intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--text);
}
.studio-intro p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.85;
  max-width: 680px;
}

.principals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.principal-card {
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  transition: box-shadow 0.3s;
}
.principal-card:hover { box-shadow: 0 8px 40px rgba(30,24,18,0.10); }
.principal-avatar {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--bg-alt) 0%, var(--border) 100%);
  font-size: 80px;
  letter-spacing: -0.02em;
}
.principal-body {
  padding: 36px;
}
.principal-body .role {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.principal-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}
.principal-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 24px;
}
.contact-list { list-style: none; }
.contact-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list li a { color: var(--gold); transition: color 0.2s; }
.contact-list li a:hover { color: var(--text); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 60px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 52px;
}
.contact-card .role-title {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-card .role-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.contact-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-card .sub-role {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail a {
  font-size: 14px;
  color: var(--text-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-detail a:hover { color: var(--gold); }
.contact-detail .icon {
  color: var(--gold);
  font-size: 14px;
  width: 20px;
  text-align: center;
}

.address-block {
  margin-top: 48px;
  background: var(--accent);
  padding: 44px;
  color: var(--bg);
}
.address-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 16px;
  color: var(--bg);
}
.address-block p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(240,235,227,0.75);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--accent);
  color: var(--bg);
  padding: 64px 40px 0;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(240,235,227,0.15);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-logo-icon {
  width: 44px; height: 44px;
  color: var(--gold-light);
  flex-shrink: 0;
}
.footer-name {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--bg);
  margin-bottom: 4px;
}
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: rgba(240,235,227,0.55);
  letter-spacing: 0.08em;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,235,227,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--bg); }
.footer-contact p {
  font-size: 13px;
  color: rgba(240,235,227,0.6);
  line-height: 1.9;
}
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 11px;
  color: rgba(240,235,227,0.35);
  letter-spacing: 0.08em;
}
.footer-tags {
  display: flex;
  gap: 16px;
}
.footer-tags span {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(240,235,227,0.25);
  text-transform: uppercase;
}

/* ============================================================
   PAGE TRANSITION FADE
   ============================================================ */
body {
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-projects { grid-template-columns: repeat(2, 1fr); }
  .project-card--wide { grid-column: span 2; }
  .philosophy-block { grid-template-columns: 1fr; }
  .principals-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; padding: 20px 24px; }

  .hero { flex-direction: column; padding: calc(var(--nav-h) + 40px) 24px 60px; min-height: auto; }
  .hero-visual { min-height: 280px; }
  .hero-ring-1 { width: 220px; height: 220px; }
  .hero-ring-2 { width: 300px; height: 300px; }
  .hero-monogram { width: 120px; height: 120px; }

  .intro-strip { padding: 40px 24px; }
  .case-studies, .projects-section { padding: 60px 24px 80px; }
  .page-hero { padding: calc(var(--nav-h) + 48px) 24px 40px; }
  .process-section, .team-section, .contact-section { padding: 40px 24px 80px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-projects { grid-template-columns: 1fr 1fr; }
  .project-card--wide { grid-column: span 2; }
  .studio-intro { padding: 32px; }
  .contact-card { padding: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .philosophy-block { gap: 36px; }
}

@media (max-width: 480px) {
  .grid-projects { grid-template-columns: 1fr; }
  .project-card--wide { grid-column: span 1; }
  .grid-3 { grid-template-columns: 1fr; }
  .principals-grid { gap: 24px; }
}

.page-hero h1{
  color: var(--accent);
}

.page-hero-eyebrow ,.hero-content p{
  color: var(--accent) !important;
}

.nav-logo img ,.footer-brand img{
  width: 100px;
  border-radius: 8px;
}