html, body { overflow-x: hidden; width: 100%; max-width: 100vw; }
*, *::before, *::after { box-sizing: border-box; }
img, video, canvas, svg { max-width: 100%; }
html, body { overflow-x: hidden; width: 100%; }
/* ==========================================================================
   AETHEL STUDIO - Architecture & Spatial Design
   Modern Monolithic Architecture Template
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600&family=Syne:wght@500;700;800&display=swap');

:root {
  /* Colors */
  --bg-obsidian: #0c0e12;
  --bg-surface: #13171f;
  --bg-elevated: #1a1f2c;
  --bg-card: rgba(22, 26, 36, 0.7);
  
  --stone-pure: #ffffff;
  --stone-100: #f5f4f0;
  --stone-200: #e5e3dc;
  --stone-300: #c9c7be;
  --stone-400: #9ea3b0;
  --stone-500: #686e7d;
  --stone-700: #2d3342;
  
  --accent-brass: #c8a97e;
  --accent-brass-hover: #dbbc92;
  --accent-brass-dim: rgba(200, 169, 126, 0.15);
  --accent-glow: rgba(200, 169, 126, 0.35);

  --border-hairline: rgba(245, 244, 240, 0.08);
  --border-light: rgba(245, 244, 240, 0.16);
  --border-focus: rgba(200, 169, 126, 0.5);

  /* Typography */
  --font-serif: 'Cinzel', serif;
  --font-display: 'Syne', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --header-height: 80px;
  --container-max: 1440px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Lenis Recommended Reset */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: #252a37;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-brass);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--stone-200);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(200, 169, 126, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(45, 51, 66, 0.3) 0%, transparent 50%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3.5rem);
  padding-right: clamp(1.25rem, 4vw, 3.5rem);
}

.section-padding {
  padding-top: clamp(4.5rem, 9vw, 9rem);
  padding-bottom: clamp(4.5rem, 9vw, 9rem);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

/* Typography Fluid Scale */
h1, h2, h3, h4 {
  color: var(--stone-100);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.display-title {
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  margin-bottom: 1rem;
}

.subtitle {
  font-family: var(--font-serif);
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-brass);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.subtitle::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent-brass);
}

p.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--stone-300);
  line-height: 1.7;
}

/* Navigation Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(12, 14, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-hairline);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--stone-100);
}

.brand-logo span {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--accent-brass);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-400);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--accent-brass);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--stone-100);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--border-light);
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-100);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-brass);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease-out);
  z-index: -1;
}

.nav-cta:hover {
  border-color: var(--accent-brass);
  color: var(--bg-obsidian);
}

.nav-cta:hover::before {
  transform: translateY(0);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--stone-100);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(12, 14, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
  z-index: 1000;
}

.mobile-menu.is-active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu .nav-link {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  position: relative;
}

.btn-primary {
  background: var(--stone-100);
  color: var(--bg-obsidian);
  border: 1px solid var(--stone-100);
}

.btn-primary:hover {
  background: var(--accent-brass);
  border-color: var(--accent-brass);
  color: var(--bg-obsidian);
  box-shadow: 0 10px 25px -5px var(--accent-glow);
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--stone-100);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent-brass);
  color: var(--accent-brass);
  background: var(--accent-brass-dim);
}

.btn-icon {
  width: 1.15em;
  height: 1.15em;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Hero Section (Curtain Reveal + 3D Tilt) */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(200, 169, 126, 0.08);
  border: 1px solid rgba(200, 169, 126, 0.25);
  font-size: 0.75rem;
  font-family: var(--font-serif);
  letter-spacing: 0.15em;
  color: var(--accent-brass);
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-brass);
}

.hero-description {
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-tilt-wrap {
  perspective: 1200px;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-tilt-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 4/5;
  border-radius: 4px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  cursor: crosshair;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
}

/* Curtain Clip Reveal */
.curtain-reveal-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  clip-path: inset(100% 0% 0% 0%); /* Initial curtain down */
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.curtain-reveal-container.is-revealed {
  clip-path: inset(0% 0% 0% 0%);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.curtain-reveal-container.is-revealed .hero-img {
  transform: scale(1);
}

.hero-card-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.75rem;
  border-left: 2px solid var(--accent-brass);
  border-top: 1px solid var(--border-hairline);
  transform: translateZ(40px);
  pointer-events: none;
}

.hero-card-badge .badge-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--stone-100);
}

.hero-card-badge .badge-meta {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--stone-400);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Stats Ribbon */
.stats-ribbon {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(19, 23, 31, 0.4);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-hairline);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--stone-100);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number span {
  color: var(--accent-brass);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-400);
}

/* Section Header Structure */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-header-left {
  max-width: 600px;
}

/* Horizontal Pinned Gallery (GSAP ScrollTrigger) */
.horizontal-scroll-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.horizontal-container {
  display: flex;
  height: 100vh;
  align-items: center;
  padding: 0 clamp(2rem, 6vw, 6rem);
  width: max-content;
  will-change: transform;
}

.horizontal-intro {
  width: 420px;
  flex-shrink: 0;
  padding-right: 4rem;
}

.horizontal-card {
  width: 480px;
  height: 68vh;
  max-height: 600px;
  flex-shrink: 0;
  margin-right: 2.5rem;
  position: relative;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.horizontal-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-8px);
}

.horizontal-img-wrapper {
  width: 100%;
  height: 70%;
  overflow: hidden;
  position: relative;
}

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

.horizontal-card:hover .horizontal-img {
  transform: scale(1.08);
}

.horizontal-info {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.horizontal-card-meta {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-brass);
  text-transform: uppercase;
}

.horizontal-card-title {
  font-size: 1.45rem;
  margin-top: 0.4rem;
  font-family: var(--font-display);
}

.horizontal-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--stone-400);
}

/* Floating Image Preview on Hover */
.interactive-project-list {
  position: relative;
  border-top: 1px solid var(--border-hairline);
}

.project-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
  cursor: pointer;
  transition: padding-left 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.project-row-item:hover {
  padding-left: 1.5rem;
}

.project-row-item:hover .row-title {
  color: var(--accent-brass);
}

.row-left {
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

.row-index {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--stone-500);
  width: 30px;
}

.row-title {
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
  font-family: var(--font-display);
  font-weight: 700;
  transition: color 0.3s;
}

.row-right {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.row-category {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-400);
}

.row-year {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--stone-500);
}

.row-arrow {
  width: 24px;
  height: 24px;
  stroke: var(--stone-400);
  transition: transform 0.3s var(--ease-out), stroke 0.3s;
}

.project-row-item:hover .row-arrow {
  transform: translateX(6px) rotate(-45deg);
  stroke: var(--accent-brass);
}

/* The Floating Hover Image */
.floating-preview-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 220px;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.25s var(--ease-out), transform 0.35s var(--ease-out);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-light);
}

.floating-preview-image.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.floating-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Filterable Gallery & Grid */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-400);
  border: 1px solid var(--border-hairline);
  background: transparent;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--stone-100);
  border-color: var(--accent-brass);
  background: var(--accent-brass-dim);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
}

.gallery-card {
  grid-column: span 6;
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, opacity 0.4s;
}

.gallery-card.featured-wide {
  grid-column: span 12;
}

.gallery-card:hover {
  border-color: var(--border-focus);
}

.gallery-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  cursor: pointer;
}

.gallery-card.featured-wide .gallery-card-thumb {
  aspect-ratio: 21/9;
}

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

.gallery-card:hover .gallery-card-thumb img {
  transform: scale(1.06);
}

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 14, 18, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: opacity 0.3s;
}

.gallery-card-thumb:hover .gallery-card-overlay {
  opacity: 1;
}

.thumb-action-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--stone-100);
  color: var(--bg-obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.2s, background 0.2s;
}

.thumb-action-btn:hover {
  background: var(--accent-brass);
  transform: scale(1.1);
}

.gallery-card-body {
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.gallery-card-tag {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-brass);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.gallery-card-title {
  font-size: 1.5rem;
}

.gallery-card-link {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-300);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gallery-card-link:hover {
  color: var(--accent-brass);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 14, 0.95);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  padding: 2rem;
}

.lightbox-modal.is-active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border: 1px solid var(--border-hairline);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--stone-200);
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  color: var(--stone-200);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s, transform 0.2s;
}

.lightbox-close:hover {
  color: var(--accent-brass);
  transform: rotate(90deg);
}

/* Case Study / Project Detail */
.project-detail-hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
}

.project-detail-header {
  margin-bottom: 3.5rem;
}

.project-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 4rem;
}

.spec-cell .spec-label {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 0.5rem;
}

.spec-cell .spec-val {
  font-size: 1.15rem;
  color: var(--stone-100);
  font-weight: 500;
}

.case-study-hero-image {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  margin-bottom: 5rem;
  border: 1px solid var(--border-hairline);
}

.case-study-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.narrative-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 6rem);
  margin-bottom: 5rem;
}

.narrative-sticky {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.narrative-text p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--stone-300);
  margin-bottom: 1.75rem;
}

.blueprint-showcase {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: clamp(2rem, 4vw, 4rem);
  margin-bottom: 5rem;
  position: relative;
}

.blueprint-header {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
}

.blueprint-meta {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--accent-brass);
}

.blueprint-diagram {
  background: #090b0e;
  border: 1px solid var(--border-hairline);
  padding: 2.5rem;
  border-radius: 2px;
}

.next-project-banner {
  border-top: 1px solid var(--border-hairline);
  padding: 5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.next-project-banner:hover {
  background: rgba(255, 255, 255, 0.02);
}

.next-project-tag {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--stone-500);
  text-transform: uppercase;
}

.next-project-title {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-family: var(--font-display);
  margin-top: 0.5rem;
  color: var(--stone-100);
  transition: color 0.3s;
}

.next-project-banner:hover .next-project-title {
  color: var(--accent-brass);
}

/* Studio Page */
.manifesto-box {
  background: linear-gradient(135deg, rgba(20, 24, 34, 0.7) 0%, rgba(12, 14, 18, 0.9) 100%);
  border: 1px solid var(--border-hairline);
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  margin-bottom: 6rem;
}

.manifesto-box::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-family: var(--font-serif);
  font-size: 9rem;
  line-height: 1;
  color: rgba(200, 169, 126, 0.08);
  pointer-events: none;
}

.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  line-height: 1.45;
  color: var(--stone-100);
  margin-bottom: 2rem;
}

.manifesto-author {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--accent-brass);
  text-transform: uppercase;
}

/* Timeline */
.timeline-section {
  position: relative;
  border-left: 1px solid var(--border-hairline);
  margin-left: 1rem;
  padding-left: 2.5rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-2.5rem - 5px);
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg-obsidian);
  border: 2px solid var(--accent-brass);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-brass);
  margin-bottom: 0.35rem;
}

.timeline-heading {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  color: var(--stone-400);
  font-size: 0.95rem;
}

/* Team Grid */
.team-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  overflow: hidden;
}

.team-photo-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.team-card:hover .team-photo-wrap img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.75rem;
}

.team-name {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-brass);
  text-transform: uppercase;
}

/* Awards Table */
.awards-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.awards-table th,
.awards-table td {
  padding: 1.5rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-hairline);
}

.awards-table th {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--stone-500);
  text-transform: uppercase;
  font-weight: 400;
}

.awards-table td {
  font-size: 1rem;
  color: var(--stone-200);
}

.awards-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--stone-100);
}

/* Contact Page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2rem, 5vw, 6rem);
}

.location-card {
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  margin-bottom: 1.5rem;
  transition: border-color 0.3s;
}

.location-card:hover {
  border-color: var(--border-light);
}

.location-city {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.location-city h4 {
  font-size: 1.4rem;
}

.location-coords {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--accent-brass);
  letter-spacing: 0.1em;
}

.location-detail {
  font-size: 0.9rem;
  color: var(--stone-400);
  line-height: 1.6;
}

/* Contact Form */
.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 0.6rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(19, 23, 31, 0.8);
  border: 1px solid var(--border-hairline);
  border-radius: 0;
  color: var(--stone-100);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease-out), background 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-brass);
  background: rgba(22, 26, 36, 0.95);
  box-shadow: 0 0 15px -3px var(--accent-glow);
}

.form-select option {
  background-color: var(--bg-obsidian);
  color: var(--stone-100);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Form Feedback States */
.form-feedback {
  margin-top: 1.5rem;
  padding: 1.25rem;
  display: none;
  border-radius: 2px;
  font-size: 0.9rem;
}

.form-feedback.is-success {
  display: block;
  background: rgba(46, 125, 50, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #a5d6a7;
}

.form-feedback.is-error {
  display: block;
  background: rgba(211, 47, 47, 0.15);
  border: 1px solid rgba(239, 83, 80, 0.4);
  color: #ef9a9a;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-hairline);
  background: #090a0d;
  padding-top: 5rem;
  padding-bottom: 3rem;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  color: var(--stone-400);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.footer-col h5 {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-300);
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--stone-400);
}

.footer-col ul li a:hover {
  color: var(--accent-brass);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.8rem;
  color: var(--stone-500);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .horizontal-container {
    height: auto;
    width: 100%;
    flex-direction: column;
    padding: 3rem 1.5rem;
  }
  .horizontal-intro {
    width: 100%;
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .horizontal-card {
    width: 100%;
    height: 480px;
    margin-right: 0;
    margin-bottom: 2rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .gallery-card {
    grid-column: span 12;
  }
  .project-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .narrative-grid {
    grid-template-columns: 1fr;
  }
  .narrative-sticky {
    position: static;
  }
  .row-right {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
