/*
Theme Name: Tanco GC Theme
Author: Tustin Marketing & TancoGC Collaboration
Author URI: https://tustinmarketing.com/
Description: Custom WordPress theme developed by Tustin Marketing, meticulously based on the original design and architectural vision provided by TancoGC. Preserves all original high-end design principles and interactive behaviors.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: tancogc
*/

:root {
  --ink: #0D1821;
  --navy: #152232;
  --navy-mid: #1E3045;
  --slate: #4A6580;
  --mist: #8FA8BC;
  --fog: #C8D5DE;
  --stone: #E8E2D9;
  --white: #F5F1EC;
  --brass: #B09060;
  --brass-lt: #C8A878;
  --brass-dk: #8A7048;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ── PAGE SYSTEM ── */
div.page {
  display: none;
}

div.page.active {
  display: block;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: 72px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  transition: background .4s, box-shadow .4s;
}

.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-card {
  text-decoration: none !important;
}

nav.dark {
  background: rgba(13, 24, 33, .97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(176, 144, 96, .1);
}

nav.light {
  background: rgba(245, 241, 236, .97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(21, 34, 50, .08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
}

.nav-mark svg {
  display: block;
}

.nav-wordmark {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  transition: color .3s;
}

nav.dark .nav-wordmark {
  color: var(--white);
}

nav.light .nav-wordmark {
  color: var(--navy);
}

.nav-links-desktop {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links-desktop a {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 300;
  text-decoration: none;
  cursor: pointer;
  transition: color .25s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

nav.dark .nav-links-desktop a {
  color: var(--fog);
}

nav.dark .nav-links-desktop a:hover,
nav.dark .nav-links-desktop li.current-menu-item a {
  color: var(--brass-lt);
  border-bottom-color: var(--brass);
}

nav.light .nav-links-desktop a {
  color: var(--slate);
}

nav.light .nav-links-desktop a:hover,
nav.light .nav-links-desktop li.current-menu-item a {
  color: var(--navy);
  border-bottom-color: var(--brass);
}

.nav-links-desktop {
  display: flex !important;
  margin-left: auto !important;
  margin-right: 48px !important;
}

.nav-cta-desktop {
  padding: 10px 24px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .nav-cta-desktop {
    display: none !important;
  }
}

/* ── MOBILE NAV ── */
#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1101;
}

#nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: all .3s;
}

nav.dark #nav-toggle { color: var(--white); }
nav.light #nav-toggle { color: var(--navy); }

#nav-mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 1200;
  padding: 40px 64px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

#nav-mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

#nav-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  padding: 10px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--white);
  text-decoration: none;
  font-weight: 300;
  transition: color .3s;
}

.mobile-nav-links li.current-menu-item a {
  color: var(--brass);
}

@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links-desktop { display: none; }
  #nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  #nav-mobile-drawer { padding: 30px 24px; }
  .mobile-nav-links a { font-size: 28px; }
}

.nav-cta {
  padding: 10px 24px;
  background: var(--brass);
  color: var(--ink) !important;
  font-weight: 500 !important;
  border-bottom: none !important;
  transition: background .25s !important;
}

.nav-cta:hover {
  background: var(--brass-lt) !important;
  color: var(--ink) !important;
}

/* ── SHARED ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  letter-spacing: .38em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brass);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--brass);
}

.section-label.light::before {
  background: var(--brass-lt);
}

.section-label.light {
  color: var(--brass-lt);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 68px);
  line-height: .95;
  letter-spacing: -.01em;
}

.section-title em {
  font-style: italic;
  color: var(--slate);
}

.section-title.on-dark {
  color: var(--white);
}

.section-title.on-dark em {
  color: var(--mist);
}

.section-title.on-light {
  color: var(--navy);
}

.btn-brass {
  display: inline-block;
  padding: 15px 40px;
  background: var(--brass);
  color: var(--ink);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s;
  border: none;
}

.btn-brass:hover {
  background: var(--brass-lt);
}

.btn-outline-light {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(176, 144, 96, .5);
  color: var(--brass);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 300;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s;
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--brass);
  color: var(--ink);
  border-color: var(--brass);
}

.btn-outline-dark {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(21, 34, 50, .25);
  color: var(--navy);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 300;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s;
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════
   HOME PAGE
════════════════════════════════ */

/* Hero */
.home-hero {
  min-height: 100vh;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.home-hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(13, 24, 33, .92) 0%, rgba(13, 24, 33, .4) 60%, transparent 100%),
    linear-gradient(to top, rgba(13, 24, 33, .7) 0%, transparent 40%);
}

.home-hero-bg-T {
  position: absolute;
  right: -3vw;
  top: 50%;
  transform: translateY(-52%);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(340px, 48vw, 720px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 144, 96, .06);
  pointer-events: none;
  user-select: none;
  animation: bgIn 2s cubic-bezier(.16, 1, .3, 1) .3s both;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 64px;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 120px;
  animation: contentIn 1.2s cubic-bezier(.16, 1, .3, 1) .1s both;
}

.home-hero-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.home-hero-tag-line {
  width: 40px;
  height: 1px;
  background: var(--brass);
}

.home-hero-tag-text {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--brass);
}

.home-hero-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: clamp(52px, 8vw, 118px);
  line-height: .92;
  letter-spacing: -.02em;
  color: var(--white);
}

.home-hero-title em {
  font-style: italic;
  color: var(--mist);
  display: block;
}

.home-hero-sub {
  font-weight: 200;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 24px 0 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-hero-sub::before {
  content: '';
  width: 1px;
  height: 24px;
  background: var(--brass);
  opacity: .45;
  flex-shrink: 0;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.home-hero-scroll-hint {
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--slate), transparent);
}

/* Stats bar */
.home-stats {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  border-top: 1px solid rgba(176, 144, 96, .1);
}

.home-stat {
  flex: 1;
  padding: 24px 40px;
  border-right: 1px solid rgba(176, 144, 96, .07);
}

.home-stat:last-child {
  border-right: none;
}

.home-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 32px;
  color: var(--white);
  line-height: 1;
}

.home-stat-num span {
  font-size: 16px;
  color: var(--brass);
}

.home-stat-label {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--slate);
  margin-top: 4px;
}

/* Services */
.home-services {
  padding: 120px 64px;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.service-card {
  padding: 48px 40px;
  background: var(--stone);
  border-top: 2px solid transparent;
  transition: background .3s, border-color .3s;
  position: relative;
}

.service-card:hover {
  background: var(--navy);
  border-color: var(--brass);
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 48px;
  color: rgba(176, 144, 96, .2);
  line-height: 1;
  margin-bottom: 20px;
  transition: color .3s;
}

.service-card:hover .service-num {
  color: rgba(176, 144, 96, .3);
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 14px;
  transition: color .3s;
}

.service-card:hover .service-title {
  color: var(--white);
}

.service-body {
  font-size: 12px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.9;
  letter-spacing: .03em;
  transition: color .3s;
}

.service-card:hover .service-body {
  color: var(--fog);
}

/* Why Tanco */
.home-why {
  background: var(--navy);
  padding: 120px 64px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}

.why-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.why-item:first-child {
  padding-top: 0;
}

.why-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}

.why-item-body {
  font-size: 12px;
  font-weight: 300;
  color: var(--fog);
  line-height: 1.9;
  letter-spacing: .03em;
}

.why-right {
  background: var(--navy-mid);
  padding: 56px;
  border-top: 2px solid var(--brass);
  position: relative;
}

.why-right-quote {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -.01em;
  margin-bottom: 32px;
}

.why-right-attr {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
}

.why-right-bg {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 180px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 144, 96, .05);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Featured project */
.home-featured {
  padding: 120px 64px;
  background: var(--stone);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 64px;
}

.featured-img {
  aspect-ratio: 4/3;
  background: var(--navy-mid);
  display: flex;
  align-items: flex-end;
  padding: 36px;
  position: relative;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.featured-img-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 24, 33, .9) 0%, rgba(13, 24, 33, .2) 60%, transparent 100%);
}

.featured-img-T {
  position: absolute;
  right: -20px;
  top: -20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 280px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 144, 96, .07);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.featured-img-label {
  position: relative;
  z-index: 2;
}

.featured-img-tag {
  font-size: 8px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 400;
  margin-bottom: 6px;
}

.featured-img-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 26px;
  color: var(--white);
}

.featured-info {
  background: var(--navy);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.featured-info-label {
  font-size: 8px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 400;
}

.featured-info-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(26px, 3vw, 40px);
  color: var(--white);
  line-height: 1.1;
}

.featured-info-body {
  font-size: 12px;
  font-weight: 300;
  color: var(--fog);
  line-height: 1.9;
  letter-spacing: .03em;
}

.featured-info-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.spec-key {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 300;
}

.spec-val {
  font-size: 12px;
  font-weight: 400;
  color: var(--fog);
}

/* CTA strip */
.home-cta {
  background: var(--brass);
  padding: 80px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.home-cta-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1;
}

.home-cta-text em {
  font-style: italic;
}

.btn-cta-dark {
  padding: 16px 44px;
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s;
  border: none;
  display: inline-block;
  flex-shrink: 0;
}

.btn-cta-dark:hover {
  background: var(--navy);
}

/* ════════════════════════════════
   ABOUT PAGE
════════════════════════════════ */
.about-hero {
  min-height: 56vh;
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  padding: 0 64px 72px;
  position: relative;
  overflow: hidden;
}

.about-hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 24, 33, .95) 0%, rgba(13, 24, 33, .5) 70%, transparent 100%), linear-gradient(to top, rgba(13, 24, 33, .6) 0%, transparent 50%);
  pointer-events: none;
}

.about-hero-bg {
  position: absolute;
  right: -40px;
  bottom: -60px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(280px, 40vw, 560px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 144, 96, .05);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
}

.page-eyebrow {
  font-size: 9px;
  letter-spacing: .38em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--brass);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--brass);
}

.page-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  color: var(--white);
  letter-spacing: -.02em;
  line-height: .92;
}

.page-title em {
  font-style: italic;
  color: var(--mist);
}

.about-intro {
  padding: 100px 64px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.about-intro-left {}

.about-intro-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.95;
  letter-spacing: .03em;
  margin-top: 40px;
}

.about-intro-body p+p {
  margin-top: 20px;
}

.about-intro-right {
  padding-top: 8px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-value {
  padding: 24px 0;
  border-bottom: 1px solid var(--fog);
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.about-value:first-child {
  border-top: 1px solid var(--fog);
}

.about-value-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--brass);
  flex-shrink: 0;
  width: 28px;
}

.about-value-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 4px;
}

.about-value-body {
  font-size: 11px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.8;
  letter-spacing: .03em;
}

/* ── TEAM CARDS XL (Executive) ── */
.team-card-xl {
  background: var(--navy-mid);
  display: flex;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}

.team-card-xl:hover {
  background: #243550;
}

.team-photo-wrap {
  width: 220px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.04);
  transition: filter .4s, transform .4s;
}

.team-card-xl:hover .team-photo {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.02);
}

.team-card-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-name-xl {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--white);
  margin-bottom: 4px;
}

.team-role-xl {
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brass);
  margin-bottom: 6px;
}

.team-email-xl {
  font-size: 10px;
  font-weight: 300;
  color: var(--slate);
  letter-spacing: .08em;
  margin-bottom: 20px;
}

.team-rule-xl {
  width: 28px;
  height: 1px;
  background: var(--brass);
  margin-bottom: 16px;
}

.team-bio-xl {
  font-size: 12px;
  font-weight: 300;
  color: var(--fog);
  line-height: 1.9;
  letter-spacing: .03em;
}

/* ── TEAM CARDS SM (Staff + Supers) ── */
.team-grid-sm {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.team-card-sm {
  background: var(--navy-mid);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}

.team-card-sm:hover {
  background: #243550;
}

.team-photo-sm-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.team-photo-sm-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.04);
  transition: filter .4s, transform .4s;
}

.team-card-sm:hover .team-photo-sm-wrap img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-photo-placeholder::after {
  content: 'Photo';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(176, 144, 96, .4);
  font-weight: 400;
}

.team-photo-placeholder span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 36px;
  color: rgba(176, 144, 96, .25);
}

.team-photo-placeholder--super {
  background: #172840;
}

.team-photo-placeholder--super span {
  color: rgba(176, 144, 96, .18);
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  letter-spacing: .1em;
}

.team-card-sm-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-name-sm {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 19px;
  color: var(--white);
  margin-bottom: 3px;
}

.team-role-sm {
  font-size: 8px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brass);
  margin-bottom: 5px;
}

.team-email-sm {
  font-size: 9px;
  font-weight: 300;
  color: var(--slate);
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.team-rule-sm {
  width: 22px;
  height: 1px;
  background: var(--brass);
  margin-bottom: 12px;
}

.team-bio-sm {
  font-size: 11px;
  font-weight: 300;
  color: var(--fog);
  line-height: 1.85;
  letter-spacing: .03em;
}

.about-stats {
  background: var(--stone);
  padding: 80px 64px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 52px;
}

.stat-block {
  background: var(--white);
  padding: 40px 36px;
  border-top: 2px solid transparent;
  transition: border-color .3s;
}

.stat-block:hover {
  border-color: var(--brass);
}

.stat-block-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 52px;
  color: var(--navy);
  line-height: 1;
}

.stat-block-num span {
  font-size: 24px;
  color: var(--brass);
}

.stat-block-label {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--slate);
  margin-top: 8px;
}

/* ════════════════════════════════
   PORTFOLIO PAGE
════════════════════════════════ */
.portfolio-hero {
  min-height: 50vh;
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  padding: 0 64px 72px;
  position: relative;
  overflow: hidden;
}

.portfolio-hero-bg {
  position: absolute;
  right: -40px;
  bottom: -60px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(280px, 40vw, 540px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 144, 96, .05);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.portfolio-filter {
  padding: 48px 64px 0;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-btn {
  padding: 10px 22px;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--slate);
  background: transparent;
  border: 1px solid var(--fog);
  cursor: pointer;
  transition: all .25s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.portfolio-filter-bar {
  background: var(--white);
  padding: 24px 64px;
  border-bottom: 1px solid rgba(13, 24, 33, .05);
}

.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--stone);
  border: none;
  padding: 12px 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.portfolio-filter {
  display: flex;
  gap: 8px;
}

.filter-modal-header {
  display: none;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 0 64px 120px;
}

.portfolio-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-card {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.portfolio-card-bg-T {
  position: absolute;
  right: -12px;
  top: -12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 220px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 144, 96, .06);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  transition: opacity .3s;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 24, 33, .92) 0%, rgba(13, 24, 33, .2) 55%, transparent 100%);
  z-index: 1;
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 24, 33, .6);
  opacity: 0;
  transition: opacity .3s;
  z-index: 1;
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-content {
  position: relative;
  z-index: 2;
}

.portfolio-card-type {
  font-size: 8px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 400;
  margin-bottom: 5px;
}

.portfolio-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 3px;
}

.portfolio-card-sub {
  font-size: 9px;
  font-weight: 300;
  color: var(--mist);
  letter-spacing: .08em;
}

.portfolio-card-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(176, 144, 96, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  font-size: 18px;
  opacity: 0;
  transition: opacity .3s;
}

.portfolio-card:hover .portfolio-card-arrow {
  opacity: 1;
}

.portfolio-card.large {
  grid-column: span 2;
}

/* ════════════════════════════════
   CONTACT PAGE
════════════════════════════════ */
.contact-hero {
  min-height: 46vh;
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  padding: 0 64px 72px;
  position: relative;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  right: -40px;
  bottom: -60px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(280px, 40vw, 520px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 144, 96, .05);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.contact-body {
  padding: 100px 64px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--navy);
  line-height: 1.1;
}

.contact-info-title em {
  font-style: italic;
  color: var(--slate);
}

.contact-info-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.95;
  letter-spacing: .03em;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  padding: 18px 0;
  border-bottom: 1px solid var(--fog);
}

.contact-detail:first-child {
  border-top: 1px solid var(--fog);
}

.contact-detail-label {
  font-size: 8px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 400;
  margin-bottom: 5px;
}

.contact-detail-value {
  font-size: 14px;
  font-weight: 300;
  color: var(--navy);
  letter-spacing: .04em;
}

.contact-form-wrap {
  background: var(--navy);
  padding: 52px;
}

.contact-form-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-form-sub {
  font-size: 10px;
  font-weight: 300;
  color: var(--slate);
  letter-spacing: .12em;
  margin-bottom: 36px;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brass);
  display: block;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 300;
  padding: 14px 16px;
  outline: none;
  transition: border-color .25s;
  letter-spacing: .04em;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--slate);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(176, 144, 96, .5);
}

.form-select {
  appearance: none;
  cursor: pointer;
}

.form-select option {
  background: var(--navy);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--brass);
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .3s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--brass-lt);
}

.contact-map {
  background: var(--stone);
  padding: 80px 64px;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2px;
  margin-top: 48px;
}

.map-info {
  background: var(--navy);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.map-address {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 20px;
  color: var(--white);
  line-height: 1.5;
}

.map-sub {
  font-size: 10px;
  font-weight: 300;
  color: var(--slate);
  letter-spacing: .1em;
  line-height: 1.9;
}

.map-placeholder {
  background: var(--navy-mid);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-placeholder-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  opacity: .5;
}

.map-pin {
  position: relative;
  z-index: 2;
  text-align: center;
}

.map-pin-icon {
  width: 40px;
  height: 40px;
  background: var(--brass);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin-inner {
  width: 14px;
  height: 14px;
  background: var(--ink);
  border-radius: 50%;
  transform: rotate(45deg);
}

.map-pin-label {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fog);
  font-weight: 300;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.site-footer {
  background: var(--ink);
}

.footer-main {
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  border-bottom: 1px solid rgba(176, 144, 96, .08);
}

.footer-brand-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-brand-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 20px;
}

.footer-brand-body {
  font-size: 11px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.9;
  letter-spacing: .03em;
  max-width: 260px;
}

.footer-col-title {
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 400;
  margin-bottom: 20px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-menu li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-col-links a,
.footer-nav-menu a {
  font-size: 11px;
  font-weight: 300;
  color: var(--slate);
  text-decoration: none;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .25s;
}

.footer-col-links a:hover {
  color: var(--fog);
}

.footer-bottom {
  padding: 22px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: .16em;
  color: var(--slate);
}

.footer-lic {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: .12em;
  color: var(--slate);
  opacity: .6;
}

/* ── ANIMATIONS ── */
@keyframes bgIn {
  from {
    opacity: 0;
    transform: translateY(-52%) translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateY(-52%) translateX(0);
  }
}

@keyframes contentIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ════════════════════════════════
   DEPTH SYSTEM
════════════════════════════════ */

/* 1 — GRAIN TEXTURE OVERLAY
   Applied to all dark sections via ::after pseudo-element */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.grain {
  position: relative;
}

/* Light grain — slightly stronger on stone/white sections */
.grain-light::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

.grain-light {
  position: relative;
}

/* 2 — PARALLAX PHOTO BACKGROUNDS */
.parallax-hero {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Hero photo layer */
.hero-photo-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .18;
  transition: opacity .4s;
}

/* Sub-page hero photo */
.subpage-photo-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .14;
}

/* 3 — CARD LIFT & DIMENSION */
.lift {
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, .22), 0 4px 16px rgba(0, 0, 0, .1);
}

/* Dark card lift */
.lift-dark {
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .2);
}

.lift-dark:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .45), 0 4px 20px rgba(0, 0, 0, .2);
}

/* Section overlap — pulls next section up to create depth */
.overlap-up {
  margin-top: -52px;
  position: relative;
  z-index: 2;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, .18);
}

/* Floating stat bar */
.stat-bar-float {
  box-shadow: 0 -2px 0 rgba(176, 144, 96, .15), 0 16px 48px rgba(0, 0, 0, .3);
}

/* 4 — SECTION DEPTH DIVIDERS
   Angled cuts between sections */
.angle-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
  margin-bottom: -1px;
}

.angle-top {
  clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%);
  margin-top: -1px;
  padding-top: calc(120px + 48px) !important;
}

/* Portfolio card photo backgrounds */
.portfolio-card[data-photo] {
  background-size: cover;
  background-position: center;
}

/* Why-right card depth */
.depth-card {
  box-shadow: 24px 24px 0 rgba(13, 24, 33, .4), 0 8px 32px rgba(0, 0, 0, .3);
}

/* Image panel with parallax */
.parallax-panel {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

.parallax-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 24, 33, .88) 0%, rgba(13, 24, 33, .5) 60%, rgba(13, 24, 33, .2) 100%);
}

/* Brass accent bar that floats */
.brass-bar-float {
  height: 3px;
  background: linear-gradient(to right, var(--brass), var(--brass-lt), var(--brass));
  box-shadow: 0 0 16px rgba(176, 144, 96, .4);
}

/* Stats bar depth */
.home-stats {
  box-shadow: 0 -1px 0 rgba(176, 144, 96, .1), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.home-stat {
  transition: background .3s;
}

.home-stat:hover {
  background: rgba(255, 255, 255, .03);
}

/* ── SINGLE PROJECT ── */
.project-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 64px;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
  border-bottom: 1px solid rgba(13, 24, 33, .1);
  padding-bottom: 60px;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--brass);
  margin-bottom: 12px;
  font-weight: 600;
}

.meta-value {
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
}

.project-content-area {
  max-width: 800px;
}

.project-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--navy-mid);
}

.project-description p {
  margin-bottom: 24px;
}

/* ── PROJECT NAV ── */
.project-navigation {
  padding: 100px 64px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.nav-links {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  transition: opacity .3s;
}

.nav-link:hover {
  opacity: .7;
}

.nav-link.next {
  text-align: right;
}

.nav-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--brass);
  margin-bottom: 8px;
}

.nav-title {
  display: block;
  font-size: 24px;
  font-weight: 600;
  font-family: inherit;
}

.back-to-portfolio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  transition: color .3s;
}

.back-to-portfolio:hover {
  color: var(--brass);
}

.back-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(176, 144, 96, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all .3s;
}

.back-to-portfolio:hover .back-icon {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
}

.back-to-portfolio span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 600;
}

@media (max-width: 1200px) {
  nav { padding: 0 32px; }
  .nav-links-desktop { margin-right: 24px; }
  .home-hero-content { padding-left: 32px; }
  .home-services, .home-why, .home-featured, .about-intro, .about-team, .portfolio-grid, .contact-body, .contact-map { padding-left: 32px !important; padding-right: 32px !important; }
}

@media (max-width: 1024px) {
  .portfolio-filter-bar { padding: 20px 24px; }
  .filter-toggle-btn { display: flex; }
  
  .filter-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1150;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .4s cubic-bezier(.16,1,.3,1);
    transform: translateY(20px);
  }

  .filter-modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .filter-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 24px;
    border-bottom: 1px solid rgba(176,144,96,.1);
  }

  .filter-modal-header h3 {
    font-family: 'Raleway', sans-serif;
    color: var(--white);
    font-weight: 300;
    font-size: 24px;
  }

  #filter-modal-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
  }

  .filter-modal-body {
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
  }

  .filter-modal-body .filter-btn {
    width: 100%;
    text-align: left;
    padding: 16px 24px;
    font-size: 14px;
    background: rgba(255,255,255,.03);
    border-color: rgba(176,144,96,.1);
  }

  .filter-modal-body .filter-btn.active {
    background: var(--brass);
    color: var(--ink);
    border-color: var(--brass);
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); margin: 0 32px; padding: 0 0 60px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-right { padding: 40px; }
  .team-grid-sm { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Nav Fixes */
  .nav-links-desktop, .nav-cta-desktop { display: none !important; }
  #nav-toggle { display: flex; }
  nav { height: 64px; }
  .nav-wordmark { font-size: 11px; }

  /* Hero Fixes */
  .home-hero-title { font-size: 64px; }
  .home-hero-content { padding-top: 120px; }
  .home-hero-body-text { font-size: 12px; margin-bottom: 32px; }
  .home-stats { flex-wrap: wrap; }
  .home-stat { flex: none; width: 50%; border-bottom: 1px solid rgba(176,144,96,.1); padding: 20px; }
  .home-stat:nth-child(even) { border-right: none; }
  
  /* Section Layouts */
  .services-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .featured-img { height: 350px; }
  .featured-info { padding: 40px 24px; }
  .why-left { padding: 0; }
  
  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; margin: 0 24px; padding: 0 0 60px; gap: 20px; }
  .portfolio-card.large { grid-column: auto; grid-row: auto; }

  /* About */
  .about-intro { flex-direction: column; gap: 60px; }
  .about-intro-left, .about-intro-right { max-width: 100%; }
  .about-team { padding: 60px 24px !important; }
  .about-team div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  .team-grid-sm { grid-template-columns: 1fr; }
  
  /* Contact */
  .contact-body { grid-template-columns: 1fr; padding: 40px 24px; gap: 60px; }
  .contact-map { padding: 60px 24px !important; }
  .map-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .footer-brand-body { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 32px 24px; }

  /* Single Project */
  .project-meta-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
  .project-container { padding: 60px 24px; }
  .project-description { font-size: 16px; }
  .nav-links { grid-template-columns: 1fr; text-align: center; }
  .nav-link.next { text-align: center; }
  .nav-title { font-size: 20px; }
}

@media (max-width: 480px) {
  .home-hero-title { font-size: 48px; }
  .home-stat { width: 100%; border-right: none; }
  .service-card { padding: 32px 24px; }
  .section-title { font-size: 32px; }
  .page-title { font-size: 40px; }
}

@media (max-width: 768px) {
  .project-container {
    padding: 60px 24px;
  }
  .project-meta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }
  .nav-links {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .nav-link.next {
    text-align: center;
  }
  .nav-title {
    font-size: 20px;
  }
}

/* ── ABOUT TEAM GLOBAL ── */
.about-team {
  padding: 120px 64px;
}

.about-team .section-title {
  color: var(--navy) !important;
}

.about-team .section-title em {
  color: var(--slate) !important;
}

/* -- FEATURED SLIDER -- */
.featured-slider-container {
  position: relative !important;
  margin-top: 40px !important;
  padding: 0 0 80px !important;
  display: block !important;
  width: 100% !important;
}

/* The track holds all slides stacked; active one is on top */
.featured-slider-track {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
}

/* All slides default: invisible, stacked absolutely */
.featured-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.9s ease, visibility 0.9s ease !important;
  z-index: 1;
}

/* The first slide is relative to give the track its height */
.featured-slide:first-child {
  position: relative !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.featured-slide:first-child.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Active slide: visible on top */
.featured-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 2;
}

.featured-slide .featured-grid {
  margin-top: 0 !important;
}

.slider-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: var(--navy) !important;
  border: 1px solid var(--brass) !important;
  color: var(--brass) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
}

.slider-arrow.prev {
  left: 16px !important;
  right: auto !important;
}

.slider-arrow.next {
  right: 16px !important;
  left: auto !important;
}

.slider-arrow svg {
  width: 24px !important;
  height: 24px !important;
}

.slider-arrow:hover {
  background: var(--brass) !important;
  color: var(--navy) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.slider-dots {
  display: flex !important;
  gap: 12px !important;
  justify-content: center !important;
  position: absolute !important;
  bottom: 30px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 500;
  width: auto !important;
  min-width: 100px !important;
}

.slider-dot {
  width: 12px !important;
  height: 12px !important;
  border: none !important;
  border-radius: 50% !important;
  background: rgba(176,144,96,0.3) !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.3s ease !important;
}

.slider-dot.active {
  background: var(--brass) !important;
  transform: scale(1.4) !important;
}

@media (max-width: 768px) {
    .featured-slider-container { margin: 0 !important; padding-bottom: 60px !important; }
    .featured-grid { margin: 0 !important; }
    /* On mobile the grid stacks: image on top (~350px), info below.
       Position arrows to sit centered on the image panel, not the info panel */
    .slider-arrow {
        width: 40px !important;
        height: 40px !important;
        /* Move arrows to be centered on the image portion (350px tall) */
        top: 175px !important;
    }
    .slider-arrow.prev { left: 12px !important; }
    .slider-arrow.next { right: 12px !important; }
}

/* ════════════════════════════════
   SINGLE PROJECT PAGE
════════════════════════════════ */

/* ── Hero ── */
.portfolio-hero {
  min-height: 70vh;
  background: var(--ink);
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(13,24,33,.98) 0%, rgba(13,24,33,.6) 40%, transparent 85%),
    linear-gradient(to top, rgba(13,24,33,.4) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.project-hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 64px 80px;
  width: 100%;
  max-width: 760px;
}

.portfolio-hero-bg {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(120px, 22vw, 380px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(176,144,96,.05);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  letter-spacing: .08em;
  z-index: 1;
}

.page-eyebrow {
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brass);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.breadcrumb-link {
  color: var(--brass);
  text-decoration: none;
  transition: opacity 0.3s;
}

.breadcrumb-link:hover {
  opacity: 0.7;
}

.breadcrumb-sep {
  opacity: 0.4;
  margin: 0 -4px;
}

.page-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--brass);
  flex-shrink: 0;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .96;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.project-hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 300;
  color: var(--mist);
  text-transform: uppercase;
}

.project-hero-location svg {
  flex-shrink: 0;
  opacity: .7;
  color: var(--brass);
}

/* ── Specs Bar ── */
.project-specs-bar {
  display: flex;
  background: var(--navy);
  border-top: 1px solid rgba(176,144,96,.12);
  border-bottom: 1px solid rgba(176,144,96,.08);
}

.spec-bar-item {
  flex: 1;
  padding: 28px 36px;
  border-right: 1px solid rgba(176,144,96,.08);
}

.spec-bar-item:last-child {
  border-right: none;
}

.spec-bar-label {
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brass);
  margin-bottom: 6px;
}

.spec-bar-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 20px;
  color: var(--white);
  line-height: 1.2;
}

/* ── Body ── */
.project-details {
  padding: 100px 64px;
  background: var(--white);
}

.project-container {
  max-width: 860px;
  margin: 0 auto;
}

.project-excerpt {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.55;
  color: var(--navy);
  border-left: 2px solid var(--brass);
  padding-left: 32px;
  margin-bottom: 64px;
}

.project-excerpt p {
  margin: 0;
}

.project-content-area {
  margin-top: 0;
}

.project-description {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.95;
  letter-spacing: .03em;
  color: var(--slate);
}

.project-description p {
  margin-bottom: 24px;
}

.project-description p:last-child {
  margin-bottom: 0;
}

/* ── Navigation ── */
.project-navigation {
  background: var(--navy);
  padding: 80px 64px;
  border-top: 1px solid rgba(176,144,96,.12);
}

.project-navigation .nav-container {
  max-width: none;
  margin: 0;
}

.nav-links {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.nav-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  transition: opacity .3s;
}

.nav-link:hover { opacity: .75; }

.nav-link.prev {
  text-align: left;
  align-items: flex-start;
}

.nav-label {
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brass);
}

.nav-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--white);
  line-height: 1.3;
}

.nav-link.next {
  text-align: right;
  align-items: flex-end;
}

.back-to-portfolio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--mist);
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 300;
  transition: color .3s;
  flex-shrink: 0;
}

.back-to-portfolio:hover {
  color: var(--brass);
}

.back-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(176,144,96,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.back-to-portfolio:hover .back-icon {
  border-color: var(--brass);
  background: rgba(176,144,96,.1);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .project-hero-content { padding: 100px 40px 60px; }
  .project-specs-bar { flex-wrap: wrap; }
  .spec-bar-item { flex: 1 1 33.33%; min-width: 150px; }
  .project-details { padding: 80px 40px; }
  .project-navigation { padding: 48px 40px; }
}

@media (max-width: 768px) {
  .project-hero-content { padding: 90px 24px 48px; }
  .project-specs-bar { flex-direction: column; }
  .spec-bar-item { border-right: none; border-bottom: 1px solid rgba(176,144,96,.08); padding: 20px 24px; }
  .spec-bar-item:last-child { border-bottom: none; }
  .project-details { padding: 60px 24px; }
  .project-excerpt { font-size: 18px; padding-left: 20px; margin-bottom: 40px; }
  .project-navigation { padding: 40px 24px; }
  .nav-links { flex-direction: column; gap: 32px; align-items: center; }
  .nav-link, .nav-link.next { text-align: center; align-items: center; max-width: 100%; }
}


/* ── Project Gallery ── */
.project-gallery {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--fog);
  cursor: zoom-in;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
  opacity: 0.85;
}

/* ── Lightbox Modal ── */
#tanco-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 24, 33, 0.98);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  cursor: zoom-out;
}

#tanco-lightbox.open {
  opacity: 1;
  visibility: visible;
}

#tanco-lightbox img {
  max-width: 85%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

#tanco-lightbox.open img {
  transform: translateY(0) scale(1);
  opacity: 1;
}

#tanco-lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(176, 144, 96, 0.1);
  border: 1px solid rgba(176, 144, 96, 0.3);
  border-radius: 50%;
  color: var(--mist);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10001;
}

#tanco-lightbox-close:hover {
  background: var(--brass);
  color: #fff;
  border-color: var(--brass);
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  #tanco-lightbox-close { top: 20px; right: 20px; width: 40px; height: 40px; font-size: 24px; }
  #tanco-lightbox img { max-width: 95%; }
}

.tanco-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(176,144,96,0.05);
  border: 1px solid rgba(176,144,96,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10002;
  user-select: none;
}

.tanco-lightbox-nav:hover {
  background: var(--brass);
  border-color: var(--brass);
  box-shadow: 0 10px 30px rgba(176,144,96,0.3);
}

.tanco-lightbox-nav.prev { left: 40px; }
.tanco-lightbox-nav.next { right: 40px; }

@media (max-width: 768px) {
  .tanco-lightbox-nav { width: 44px; height: 44px; font-size: 18px; }
  .tanco-lightbox-nav.prev { left: 20px; }
  .tanco-lightbox-nav.next { right: 20px; }
}
