/* ============================================================
   COYEAGLE ARCHITECTS — Design System
   ============================================================ */

/* --- Imports ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- Custom Properties -------------------------------------- */
:root {
  /* Palette */
  --white:      #FAFAF8;
  --stone-lt:   #F0EDE8;
  --stone:      #E2DDD6;
  --stone-md:   #B8B0A6;
  --mid:        #8C8479;
  --warm-grey:  #5C5650;
  --charcoal:   #2C2824;
  --black:      #141210;
  --accent:     #7A6B55;      /* warm bronze — from logo palette */
  --accent-lt:  #A8957E;

  /* Typography */
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  7rem;
  --sp-2xl: 12rem;

  /* Layout */
  --max-w:      1440px;
  --gutter:     clamp(1.5rem, 5vw, 5rem);
  --col-gap:    clamp(1rem, 2vw, 2rem);

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --duration:   0.4s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

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

/* --- Typography Scale -------------------------------------- */
.t-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 7vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.t-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.t-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1.2;
}

.t-label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.t-body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.75;
}

.t-body-lg {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.8;
}

/* --- Layout Utilities -------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--sp-xl) 0;
}

.section--lg {
  padding: var(--sp-2xl) 0;
}

/* --- Horizontal Rule --------------------------------------- */
.rule {
  border: none;
  border-top: 1px solid var(--stone);
  margin: 0;
}

.rule--accent {
  border-color: var(--accent);
  width: 3rem;
  border-top-width: 1.5px;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.75rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--duration) var(--ease),
              padding var(--duration) var(--ease),
              border-bottom var(--duration) var(--ease);
}

.site-header.scrolled {
  background: var(--white);
  padding: 1.1rem var(--gutter);
  border-bottom: 1px solid var(--stone);
}

.site-header--dark:not(.scrolled) {
  color: var(--white);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-logo img {
  height: 36px;
  width: auto;
  transition: filter var(--duration) var(--ease);
}

.site-header--dark:not(.scrolled) .header-logo img {
  filter: brightness(0) invert(1);
}

.logo-wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.site-nav a {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  transition: opacity var(--duration) var(--ease);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--duration) var(--ease);
}

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

.site-nav a:hover { opacity: 0.65; }

/* Nav CTA */
.nav-cta {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 0.55rem 1.2rem;
  transition: all var(--duration) var(--ease);
}

.nav-cta:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
  opacity: 1 !important;
}

.site-header--dark:not(.scrolled) .nav-cta:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--charcoal);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  color: var(--white);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  transition: color var(--duration) var(--ease);
}

.mobile-menu nav a:hover { color: var(--accent-lt); }

.mobile-menu-footer {
  position: absolute;
  bottom: var(--gutter);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.mobile-menu-footer .t-label { color: var(--mid); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 8s var(--ease);
}

.hero.loaded .hero-bg img { transform: scale(1); }

/* --- Hero slideshow ---------------------------------------- */
.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Default (no-JS fallback): slides stacked, last one visible on top */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity 1.6s var(--ease);
  will-change: opacity;
}

/* Once JS activates the slideshow, only the active slide shows */
.js-slides .hero-slide { opacity: 0; }
.js-slides .hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 7s ease-out;
}

.hero-slide.active img {
  transform: scale(1);
}

/* Slide caption (project name/location) */
.hero-slide-caption {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 7vh, 6rem);
  color: rgba(255,255,255,0.6);
  text-align: right;
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  pointer-events: none;
}

.hero-slide-caption.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-caption .t-label { color: rgba(255,255,255,0.55); }
.hero-slide-caption .slide-name {
  font-family: var(--serif);
  font-size: 1rem;
  margin-top: 0.3rem;
  color: rgba(255,255,255,0.85);
}
.hero-slide-caption .slide-loc {
  font-size: 0.75rem;
  margin-top: 0.2rem;
  color: rgba(255,255,255,0.5);
}

/* Slideshow progress dots */
.hero-dots {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(3rem, 7vh, 6rem);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}

.hero-dot {
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: background var(--duration) var(--ease);
}

.hero-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-dot.active::after {
  animation: dotProgress 6s linear forwards;
}

@keyframes dotProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.4s ease; }
  .hero-slide img { transform: none !important; transition: none; }
  .hero-dot.active::after { animation: none; transform: scaleX(1); }
}

@media (max-width: 768px) {
  .hero-dots { left: var(--gutter); bottom: 2rem; }
  .hero-slide-caption { display: none; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Layered, elegant scrim:
     1) horizontal — darker on the LEFT (where the copy sits), fading to clear
        on the right so the architecture stays visible and premium
     2) gentle bottom lift for the body text, dots and slide caption
     3) gentle top lift for the logo and navigation */
  background:
    /* 1) Strong pool of shadow anchored in the lower-LEFT, exactly where the
          eyebrow, headline, body and buttons sit — near-opaque so the white
          text is always readable whatever the image behind it */
    radial-gradient(
      135% 130% at 0% 100%,
      rgba(8, 7, 6, 0.96) 0%,
      rgba(8, 7, 6, 0.86) 28%,
      rgba(8, 7, 6, 0.62) 50%,
      rgba(8, 7, 6, 0.34) 72%,
      rgba(8, 7, 6, 0.16) 92%
    ),
    /* 2) Horizontal reinforcement on the left column */
    linear-gradient(
      to right,
      rgba(8, 7, 6, 0.55) 0%,
      rgba(8, 7, 6, 0.26) 40%,
      rgba(8, 7, 6, 0.08) 72%
    ),
    /* 3) Top lift so logo + navigation stay legible on bright skies */
    linear-gradient(
      to bottom,
      rgba(8, 7, 6, 0.50) 0%,
      rgba(8, 7, 6, 0.12) 18%,
      rgba(8, 7, 6, 0) 32%
    ),
    /* 4) Uniform base tint — darkens the whole photo so white text always reads */
    linear-gradient(
      rgba(8, 7, 6, 0.55),
      rgba(8, 7, 6, 0.55)
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) clamp(3rem, 7vh, 6rem);
  color: var(--white);
}

/* Soft contrast reinforcement directly on the text */
.hero-content .hero-title { text-shadow: 0 2px 32px rgba(0, 0, 0, 0.55); }
.hero-content .hero-sub   { text-shadow: 0 1px 20px rgba(0, 0, 0, 0.7); }
.hero-eyebrow .t-label    { text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7); }
.hero-slide-caption,
.hero-dots                { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6); }

/* Header logo + nav over the hero get a faint shadow for bright-sky legibility */
.site-header--dark:not(.scrolled) .logo-wordmark,
.site-header--dark:not(.scrolled) .site-nav a,
.site-header--dark:not(.scrolled) .nav-cta {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

/* On smaller screens the copy spans the full width and sits lower,
   so use a stronger vertical scrim across the whole lower half */
@media (max-width: 768px) {
  .hero-overlay {
    background:
      linear-gradient(
        to top,
        rgba(15, 13, 11, 0.86) 0%,
        rgba(15, 13, 11, 0.62) 32%,
        rgba(15, 13, 11, 0.40) 52%,
        rgba(15, 13, 11, 0.18) 72%,
        rgba(15, 13, 11, 0.14) 100%
      );
  }
  .hero-content .hero-sub { text-shadow: 0 1px 16px rgba(0, 0, 0, 0.75); }
  .hero-eyebrow .t-label  { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75); }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--accent-lt);
}

.hero-eyebrow .t-label { color: var(--accent-lt); }

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 6.5vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 12ch;
  margin-bottom: 2.5rem;
}

.hero-sub {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  max-width: 38ch;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
}

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

.hero-project-label {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 7vh, 6rem);
  color: rgba(255,255,255,0.55);
  text-align: right;
  z-index: 2;
}

.hero-project-label .t-label { color: rgba(255,255,255,0.55); }

.hero-scroll {
  position: absolute;
  bottom: clamp(3rem, 7vh, 6rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.5);
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 3.5rem;
  background: rgba(255,255,255,0.35);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* ============================================================
   BUTTONS / CTAs
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  transition: all var(--duration) var(--ease);
  position: relative;
}

.btn-primary {
  background: var(--white);
  color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-outline {
  border: 1px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
}

.btn-dark {
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
}

.btn-dark:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-arrow::after {
  content: '→';
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0;
  transition: transform var(--duration) var(--ease);
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  transition: gap var(--duration) var(--ease);
}

.link-arrow::after { content: '→'; font-family: var(--sans); letter-spacing: 0; }

.link-arrow:hover { gap: 1rem; }

/* ============================================================
   INTRODUCTION SECTION
   ============================================================ */
.intro-section {
  padding: var(--sp-2xl) 0;
  background: var(--white);
}

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.intro-left {
  padding-top: 0.4rem;
}

.intro-number {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.intro-tagline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.intro-body { color: var(--warm-grey); max-width: 52ch; }

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--stone);
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label { color: var(--mid); font-size: 0.7rem; }

/* ============================================================
   SELECTED PROJECTS (Homepage)
   ============================================================ */
.projects-section { padding: 0 0 var(--sp-2xl); }

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: var(--sp-lg) 0;
  border-top: 1px solid var(--stone);
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

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

.section-count {
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--mid);
  margin-top: 0.5rem;
}

/* Alternating project grid */
.project-list { display: flex; flex-direction: column; }

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--col-gap);
  padding: clamp(3rem, 5vw, 6rem) 0;
  border-top: 1px solid var(--stone);
  transition: opacity var(--duration) var(--ease);
}

.project-item:last-child { border-bottom: 1px solid var(--stone); }

.project-item.reverse { direction: rtl; }
.project-item.reverse > * { direction: ltr; }

.project-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s var(--ease);
}

.project-item:hover .project-image-wrap img { transform: scale(1); }

.project-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0);
  transition: background var(--duration) var(--ease);
}

.project-item:hover .project-image-overlay {
  background: rgba(20, 18, 16, 0.08);
}

.project-details {
  padding: clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-number {
  font-family: var(--serif);
  font-size: 0.75rem;
  color: var(--stone-md);
  letter-spacing: 0.1em;
}

.project-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  transition: color var(--duration) var(--ease);
}

.project-item:hover .project-name { color: var(--accent); }

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.project-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.project-meta-row .t-label { color: var(--mid); }

.meta-divider {
  width: 1.5rem;
  height: 1px;
  background: var(--stone);
  flex-shrink: 0;
}

.project-excerpt { color: var(--warm-grey); max-width: 44ch; }

.project-link-wrap { margin-top: 0.5rem; }

/* ============================================================
   FEATURED PROJECT
   ============================================================ */
.featured-section {
  background: var(--charcoal);
  color: var(--white);
  padding: 0;
  overflow: hidden;
}

.featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}

.featured-image {
  position: relative;
  overflow: hidden;
}

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

.featured-image:hover img { transform: scale(1.03); }

.featured-award {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.featured-award .t-label { color: rgba(255,255,255,0.8); }

.award-star { color: var(--accent-lt); font-size: 0.9rem; }

.featured-content {
  padding: clamp(3rem, 6vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.featured-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--accent-lt);
}

.featured-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent-lt);
}

.featured-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.featured-body { color: rgba(255,255,255,0.7); max-width: 44ch; line-height: 1.75; }

.featured-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.featured-detail-label { color: rgba(255,255,255,0.4); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.3rem; }
.featured-detail-value { color: rgba(255,255,255,0.85); font-size: 0.9rem; }

.featured-press {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.featured-press .t-label { color: rgba(255,255,255,0.4); margin-bottom: 0.5rem; }

.press-item {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview {
  padding: var(--sp-2xl) 0;
  background: var(--stone-lt);
}

.about-preview-inner {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: clamp(4rem, 7vw, 9rem);
  align-items: center;
}

.about-preview-text { display: flex; flex-direction: column; gap: 2rem; }

.about-pullquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  position: relative;
  padding-left: 2.5rem;
}

.about-pullquote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 2px;
  background: var(--accent);
}

.about-preview-body { color: var(--warm-grey); max-width: 50ch; }

.about-preview-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

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

.about-preview-image:hover img { transform: scale(1.04); }

.about-preview-image-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   CONTACT CTA SECTION
   ============================================================ */
.contact-cta {
  padding: var(--sp-xl) 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.contact-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.contact-cta .t-label { color: var(--accent-lt); }

.cta-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-align: center;
}

.cta-sub { color: rgba(255,255,255,0.55); max-width: 45ch; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: var(--sp-xl) 0 var(--sp-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 5rem);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { display: flex; flex-direction: column; gap: 1.5rem; }

.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-tagline { color: rgba(255,255,255,0.5); max-width: 34ch; font-size: 0.85rem; }

.footer-social { display: flex; gap: 1rem; margin-top: auto; }

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--duration) var(--ease);
}

.footer-social a:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.footer-col-title {
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-nav { display: flex; flex-direction: column; gap: 0.8rem; }

.footer-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: color var(--duration) var(--ease);
}

.footer-nav a:hover { color: var(--white); }

.footer-contact { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-contact a,
.footer-contact p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: color var(--duration) var(--ease);
  line-height: 1.5;
}

.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.75rem; }

.footer-legal { display: flex; gap: 2rem; }

.footer-legal a {
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--duration) var(--ease);
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.page-hero {
  padding-top: calc(6rem + 80px);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--stone);
}

.page-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.page-hero-text {}

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

.grid-project {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
}

.projects-grid .grid-project:nth-child(3n) { border-right: none; }

.grid-project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.grid-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.grid-project:hover .grid-project-image img { transform: scale(1.06); }

.grid-project-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,18,16,0);
  transition: background 0.5s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.grid-project:hover .grid-project-image-overlay {
  background: rgba(20,18,16,0.35);
}

.grid-view-btn {
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 0.7rem 1.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              background var(--duration) var(--ease);
}

.grid-view-btn:hover { background: rgba(255,255,255,0.15); }
.grid-project:hover .grid-view-btn { opacity: 1; transform: translateY(0); }

.grid-project-info {
  padding: 1.5rem 1.75rem 2rem;
  background: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: background var(--duration) var(--ease);
}

.grid-project:hover .grid-project-info { background: var(--stone-lt); }

.grid-project-num {
  font-size: 0.65rem;
  color: var(--stone-md);
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.grid-project-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--charcoal);
}

.grid-project-type { color: var(--mid); font-size: 0.75rem; }

.grid-project-desc {
  color: var(--warm-grey);
  font-size: 0.82rem;
  line-height: 1.65;
  margin-top: 0.5rem;
}

.grid-project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.75rem;
  transition: gap var(--duration) var(--ease);
}

.grid-project-cta::after { content: '→'; font-family: var(--sans); letter-spacing: 0; }
.grid-project:hover .grid-project-cta { gap: 0.85rem; }

/* Project placeholder */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--mid);
  text-align: center;
  padding: 1rem;
}

.img-placeholder span { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ============================================================
   PROJECT PAGE (Individual)
   ============================================================ */
.project-hero {
  position: relative;
  height: 90vh;
  min-height: 550px;
  overflow: hidden;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20,18,16,0.65) 0%,
    rgba(20,18,16,0.1) 50%
  );
}

.project-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-lg) var(--gutter);
  color: var(--white);
}

.project-page-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.project-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.project-header-meta-item {}

.project-header-meta-item .t-label { color: rgba(255,255,255,0.45); margin-bottom: 0.3rem; }
.project-header-meta-item p { color: rgba(255,255,255,0.85); font-size: 0.85rem; }

/* Project body */
.project-body {
  padding: var(--sp-xl) 0;
}

.project-body-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: clamp(3rem, 6vw, 7rem);
}

.project-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sidebar-detail-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--stone);
}

.sidebar-detail-group:last-child { border-bottom: none; }

.sidebar-label { color: var(--mid); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.3rem; }
.sidebar-value { font-size: 0.9rem; color: var(--charcoal); }

.project-desc { max-width: 62ch; }

.project-desc p { color: var(--warm-grey); line-height: 1.85; margin-bottom: 1.5rem; }
.project-desc p:last-child { margin-bottom: 0; }

.project-gallery {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  margin-top: var(--sp-lg);
}

.project-gallery.two-col {
  grid-template-columns: 1fr 1fr;
}

.project-gallery.main-plus-two {
  grid-template-columns: 2fr 1fr;
}

.project-gallery.main-plus-two .gallery-main { grid-row: 1 / 3; }

.gallery-img {
  overflow: hidden;
  position: relative;
}

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

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

.gallery-img-full { aspect-ratio: 16/9; }
.gallery-img-sq  { aspect-ratio: 1/1; }
.gallery-img-tall { aspect-ratio: 3/4; }
.gallery-img-wide { aspect-ratio: 3/2; }

.gallery-caption {
  margin-top: 0.5rem;
  color: var(--mid);
  font-size: 0.75rem;
  padding-left: 0.1rem;
}

/* Project navigation */
.project-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--stone);
}

.project-nav-item {
  padding: 3rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background var(--duration) var(--ease);
}

.project-nav-item:hover { background: var(--stone-lt); }
.project-nav-item.next { border-left: 1px solid var(--stone); text-align: right; align-items: flex-end; }

.project-nav-item .t-label { color: var(--mid); }
.project-nav-item .nav-project-name {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 300;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding-top: calc(5rem + 80px);
  padding-bottom: var(--sp-xl);
  background: var(--white);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: clamp(4rem, 7vw, 9rem);
  align-items: end;
}

.about-hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-sections { padding: 0 0 var(--sp-2xl); }

.about-section-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 5vw, 6rem);
  padding: var(--sp-lg) 0;
  border-top: 1px solid var(--stone);
}

.about-section-item:last-child { border-bottom: 1px solid var(--stone); }

.about-section-label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  padding-top: 0.35rem;
}

.about-section-content { display: flex; flex-direction: column; gap: 1.5rem; }

.about-section-content h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.15;
  color: var(--charcoal);
}

.about-section-content p { color: var(--warm-grey); max-width: 58ch; line-height: 1.8; }

.about-seafield-callout {
  background: var(--stone-lt);
  padding: var(--sp-xl) 0;
}

.callout-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 6rem);
  align-items: center;
}

.callout-text { display: flex; flex-direction: column; gap: 2rem; }

.callout-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
}

.callout-body { color: var(--warm-grey); max-width: 48ch; }

.callout-press { display: flex; flex-direction: column; gap: 0.6rem; }
.callout-press-label { color: var(--mid); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.25rem; }
.callout-press-item { font-family: var(--serif); font-style: italic; color: var(--warm-grey); }

.callout-image { overflow: hidden; aspect-ratio: 4/5; }
.callout-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.callout-image:hover img { transform: scale(1.04); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
  padding-top: calc(5rem + 80px);
  padding-bottom: var(--sp-2xl);
  min-height: 100vh;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 7vw, 9rem);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--stone);
}

.contact-details { display: flex; flex-direction: column; gap: 3rem; }

.contact-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.contact-detail-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-detail-group-label { color: var(--mid); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.25rem; }

.contact-detail-group a,
.contact-detail-group p { color: var(--charcoal); font-size: 0.95rem; transition: color var(--duration) var(--ease); }

.contact-detail-group a:hover { color: var(--accent); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 2.5rem; }

.form-intro { color: var(--warm-grey); max-width: 42ch; }

.form-fields { display: flex; flex-direction: column; gap: 1.5rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
}

.form-input,
.form-textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--stone);
  background: transparent;
  padding: 0.75rem 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--duration) var(--ease);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-input:focus,
.form-textarea:focus { border-color: var(--accent); }

.form-input::placeholder,
.form-textarea::placeholder { color: var(--stone-md); }

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

.form-submit {
  align-self: flex-start;
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid var(--charcoal);
  padding: 1rem 2.5rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-submit:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.form-submit::after {
  content: '→';
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0;
  transition: transform var(--duration) var(--ease);
}

.form-submit:hover::after { transform: translateX(4px); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease),
              transform 0.7s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   BREADCRUMB / PAGE INDICATOR
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color var(--duration) var(--ease);
}

.breadcrumb a:hover { color: var(--charcoal); }
.breadcrumb .separator { color: var(--stone); }
.breadcrumb .current { color: var(--charcoal); }

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .intro-inner { grid-template-columns: 1fr; gap: 3rem; }
  .intro-stats { grid-template-columns: repeat(3, 1fr); }

  .featured-inner { grid-template-columns: 1fr; min-height: auto; }
  .featured-image { aspect-ratio: 16/9; }

  .about-preview-inner { grid-template-columns: 1fr; }
  .about-preview-image { max-width: 400px; aspect-ratio: 4/3; }

  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .footer-brand { grid-column: 1 / -1; }

  .project-item { grid-template-columns: 1fr; gap: 0; }
  .project-item.reverse { direction: ltr; }
  .project-details { padding: 2.5rem 0; }

  .about-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-section-item { grid-template-columns: 1fr; gap: 1.5rem; }

  .callout-inner { grid-template-columns: 1fr; }
  .callout-image { max-width: 450px; }

  .contact-grid { grid-template-columns: 1fr; }

  .project-body-grid { grid-template-columns: 1fr; }
  .project-sidebar { position: static; }

  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid .grid-project:nth-child(3n) { border-right: 1px solid var(--stone); }
  .projects-grid .grid-project:nth-child(2n) { border-right: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  .hero-title { font-size: clamp(2.8rem, 11vw, 4rem); }
  .hero-project-label { display: none; }
  .hero-scroll { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .intro-stats { grid-template-columns: 1fr 1fr; }

  .projects-grid { grid-template-columns: 1fr; }
  .projects-grid .grid-project { border-right: none; }

  .project-gallery.two-col { grid-template-columns: 1fr; }
  .project-gallery.main-plus-two { grid-template-columns: 1fr; }
  .project-gallery.main-plus-two .gallery-main { grid-row: auto; }

  .project-nav { grid-template-columns: 1fr; }
  .project-nav-item.next { border-left: none; border-top: 1px solid var(--stone); text-align: left; align-items: flex-start; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .form-row { grid-template-columns: 1fr; }

  .featured-details { grid-template-columns: 1fr; }

  .page-hero-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-mid   { color: var(--mid); }
.text-accent { color: var(--accent); }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }

/* ============================================================
   HEADER SOCIAL — X / Twitter (discreet)
   ============================================================ */
.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: inherit;
  opacity: 0.68;
  transition: opacity var(--duration) var(--ease);
}
.nav-social:hover { opacity: 1; }
.nav-social svg { width: 14px; height: 14px; fill: currentColor; display: block; }
.nav-social--mobile { opacity: 0.55; }
