/* ==========================================================================
   T1 SPACE — Architectural Design Studio (Sydney, Australia)
   1:1 Design System & Layout Stylesheet (Offline Local Assets)
   ========================================================================== */

/* ---------- Local Fonts ---------- */
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../assets/fonts/HankenGrotesk-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../assets/fonts/HankenGrotesk-Italic-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Italic-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Italic-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  --bg-primary: #faf8f5;
  --bg-stone: #e8e3df;
  --bg-dark: #202020;

  --text-primary: #202020;
  --text-secondary: #636363;
  --text-muted: #999999;
  --text-white: #ffffff;
  --text-white-50: rgba(255, 255, 255, 0.5);

  --border-light: rgba(32, 32, 32, 0.14);
  --border-strong: rgba(32, 32, 32, 0.28);
  --border-dark: rgba(232, 227, 223, 0.16);
  --error: #ff2244;
  --error-bg: rgba(255, 34, 68, 0.1);

  --font-display: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1440px;
  --pad-x: 50px;
  --pad-y: 100px;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

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

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ---------- Typography Scale ---------- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.1vw, 88px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.44vw, 64px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

h3, .h3 {
  font-family: var(--font-ui);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h4, .h4 {
  font-family: var(--font-ui);
  font-size: clamp(22px, 2.22vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h6, .h6 {
  font-family: var(--font-ui);
  font-size: clamp(17px, 1.38vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-primary);
}

.h6-regular {
  font-family: var(--font-ui);
  font-size: clamp(17px, 1.38vw, 20px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-secondary);
}

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-white { color: var(--text-white); }
.text-stone { color: var(--bg-stone); }

/* ---------- Layout Containers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
  background-color: var(--bg-primary);
}

.section--stone {
  background-color: var(--bg-stone);
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.section--no-top {
  padding-top: 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-header--lg {
  margin-bottom: 72px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 10px 28px;
  border-radius: 100px;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.18s var(--ease-out-expo), background-color 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
}

.btn-pill:hover {
  background-color: rgba(51, 51, 51, 0.85);
}

.btn-pill:active {
  background-color: rgb(51, 51, 51);
  transform: scale(0.96);
}

.btn-pill--outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.btn-pill--outline:hover {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--text-primary);
}

.breadcrumb .current {
  color: var(--text-primary);
}

/* ==========================================================================
   HEADER (Fixed + mix-blend-mode: exclusion)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 95px;
  z-index: 100;
  mix-blend-mode: exclusion;
  color: #ffffff;
  pointer-events: none;
}

.site-header__inner {
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 32px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  pointer-events: auto;
  transition: opacity 0.25s ease;
}

.site-logo:hover {
  opacity: 0.72;
}

.site-logo svg {
  height: 28px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}

.site-nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  padding: 2px 0;
  transition: opacity 0.25s ease;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out-expo);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__sep {
  color: rgba(255, 255, 255, 0.45);
  user-select: none;
  font-size: 15px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  pointer-events: auto;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: #ffffff;
}

.menu-toggle__line {
  width: 24px;
  height: 1.5px;
  background-color: #ffffff;
  transition: transform 0.35s var(--ease-out-expo), opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-color: var(--bg-dark);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px 24px 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo), visibility 0.4s;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-drawer__link {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--bg-stone);
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 16px;
  transition: color 0.25s ease, padding-left 0.3s var(--ease-out-expo);
}

.mobile-drawer__link:hover,
.mobile-drawer__link.is-active {
  color: var(--text-white);
  padding-left: 10px;
}

.mobile-drawer__meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   HOME — HERO SECTION (1:1 Framer Per-Char Blur + Counter-Motion 1.5s)
   ========================================================================== */
.hero-home {
  padding-top: 140px;
  padding-bottom: 0;
  background-color: var(--bg-primary);
}

.hero-home__top {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 64px;
}

.hero-home__title {
  margin-bottom: 24px;
}

/* Per-character blur + slide reveal */
.char-word {
  display: inline-block;
  white-space: nowrap;
}

.char-letter {
  display: inline-block;
  will-change: transform, opacity, filter;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(16px);
  transition:
    opacity 0.65s cubic-bezier(0.12, 0.23, 0.5, 1),
    filter 0.65s cubic-bezier(0.12, 0.23, 0.5, 1),
    transform 0.65s cubic-bezier(0.12, 0.23, 0.5, 1);
}

.char-reveal.is-visible .char-letter {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}

/* Hero 1.5s Framer tween rise (+80px -> 0) & counter-motion drop (-80px -> 0) */
.hero-rise {
  opacity: 0.001;
  transform: translateY(80px);
  will-change: transform, opacity;
  transition:
    opacity 1.5s cubic-bezier(0.12, 0.23, 0.5, 1),
    transform 1.5s cubic-bezier(0.12, 0.23, 0.5, 1);
}

.hero-rise.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-drop {
  opacity: 0.001;
  transform: translateY(-80px);
  will-change: transform, opacity;
  transition:
    opacity 1.5s cubic-bezier(0.12, 0.23, 0.5, 1),
    transform 1.5s cubic-bezier(0.12, 0.23, 0.5, 1);
}

.hero-drop.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-home__subtitle {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.hero-home__media {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  height: 490px;
  overflow: hidden;
  background-color: var(--bg-dark);
}

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

.hero-home__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 32, 32, 0.08) 0%, rgba(32, 32, 32, 0.35) 52%, rgba(32, 32, 32, 0.86) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px var(--pad-x);
  color: var(--text-white);
}

.hero-home__project-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-home__project-eyebrow {
  font-size: 14px;
  color: var(--text-white-50);
  margin-bottom: 6px;
}

.hero-home__project-title {
  color: var(--text-white);
  margin-bottom: 6px;
  transition: opacity 0.25s ease;
}

.hero-home__project-title:hover {
  opacity: 0.8;
}

.hero-home__project-year {
  font-size: 14px;
  color: var(--text-white-50);
}

.hero-home__meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, auto));
  gap: 28px 40px;
}

.hero-home__meta-item dt {
  font-size: 14px;
  color: var(--text-white-50);
  margin-bottom: 4px;
}

.hero-home__meta-item dd {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-white);
}

/* ==========================================================================
   BRANDS MARQUEE
   ========================================================================== */
.brands-section {
  padding: 50px 0;
  background-color: var(--bg-primary);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
  flex-shrink: 0;
  animation: marquee-scroll 28s linear infinite;
}

.marquee:hover .marquee__track,
.marquee.is-paused .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  width: 165px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  opacity: 0.72;
  transition: opacity 0.25s ease;
}

.marquee__item:hover {
  opacity: 1;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ==========================================================================
   ABOUT SPLIT (HOME)
   ========================================================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-split__media {
  overflow: hidden;
  height: 400px;
}

.about-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.about-split__media:hover img {
  transform: scale(1.03);
}

.about-split__lead {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.about-split__body {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ==========================================================================
   STATISTICS — STAGGERED 3-TOP / 2-BOTTOM
   ========================================================================== */
.stats-staggered {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.stats-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.stats-row-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 72%;
  margin: 0 auto;
  width: 100%;
}

.stat-item__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.44vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.stat-item__label {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ==========================================================================
   OUR SERVICES — INTERACTIVE IMAGE SWITCHER (HOME)
   ========================================================================== */
.services-switcher {
  display: grid;
  grid-template-columns: 1fr 599px;
  gap: 60px;
  align-items: start;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.services-list__btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.services-list__btn:first-child {
  border-top: 1px solid var(--border-light);
}

.services-list__left {
  display: flex;
  align-items: baseline;
  gap: 24px;
}

.services-list__num {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  min-width: 28px;
}

.services-list__title {
  font-family: var(--font-ui);
  font-size: clamp(22px, 2.22vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  color: inherit;
}

.services-list__arrow {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
  transform: rotate(0deg);
  transition: transform 0.45s var(--ease-out-expo), color 0.3s ease;
}

.services-list__btn:hover,
.services-list__btn.is-active {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

.services-list__btn:hover .services-list__arrow,
.services-list__btn.is-active .services-list__arrow {
  transform: rotate(-180deg);
}

.services-showcase {
  position: relative;
  width: 100%;
  height: 730px;
  overflow: hidden;
  background-color: var(--bg-stone);
}

.services-showcase__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}

.services-showcase__img.is-active {
  opacity: 1;
  transform: scale(1);
}

.services-showcase__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(32, 32, 32, 0.82) 100%);
  color: var(--text-white);
  z-index: 2;
}

.services-showcase__caption p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 460px;
}

/* ==========================================================================
   FEATURED WORK — 2x2 FULL-BLEED CARDS
   ========================================================================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.featured-card {
  position: relative;
  display: block;
  height: 450px;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.featured-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-card:hover .featured-card__img {
  transform: scale(1.1);
}

.featured-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 32, 32, 0.05) 35%, rgba(32, 32, 32, 0.82) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 36px;
  transition: background 0.35s ease;
}

.featured-card:hover .featured-card__overlay {
  background: linear-gradient(180deg, rgba(32, 32, 32, 0.12) 25%, rgba(32, 32, 32, 0.9) 100%);
}

.featured-card__title {
  color: var(--bg-stone);
  margin-bottom: 8px;
  transition: transform 0.4s var(--ease-out-expo), color 0.25s ease;
}

.featured-card:hover .featured-card__title {
  color: var(--text-white);
  transform: translateX(4px);
}

.featured-card__cat {
  font-size: 15px;
  color: var(--text-muted);
}

.featured-card__badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid rgba(232, 227, 223, 0.45);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-stone);
  background-color: transparent;
  transition: background-color 0.35s var(--ease-out-expo), color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease-out-expo);
}

.featured-card:hover .featured-card__badge {
  background-color: var(--bg-stone);
  border-color: var(--bg-stone);
  color: var(--bg-dark);
  transform: rotate(45deg);
}

/* ==========================================================================
   TESTIMONIALS CAROUSEL (#e8e3df)
   ========================================================================== */
.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-btn {
  height: 48px;
  padding: 0 22px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

.carousel-btn:hover {
  background-color: var(--bg-dark);
  color: var(--text-white);
  border-color: var(--bg-dark);
}

.carousel-btn:active {
  transform: scale(0.9);
}

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  transition: transform 0.65s var(--ease-out-expo);
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 40px;
  align-items: start;
}

.testimonial-slide__avatar {
  width: 95px;
  height: 95px;
  object-fit: cover;
  filter: grayscale(10%);
}

.testimonial-slide__headline {
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 820px;
}

.testimonial-slide__body {
  margin-bottom: 32px;
  max-width: 820px;
}

.testimonial-slide__author {
  color: var(--text-primary);
  margin-bottom: 4px;
}

.testimonial-slide__location {
  font-size: 15px;
  color: var(--text-secondary);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.carousel-dot {
  width: 28px;
  height: 2px;
  background-color: rgba(32, 32, 32, 0.22);
  transition: background-color 0.3s ease, width 0.3s ease;
}

.carousel-dot.is-active {
  width: 48px;
  background-color: var(--text-primary);
}

/* ==========================================================================
   HOW IT WORKS — 3-COLUMN CASCADING STAIRCASE GRID
   ========================================================================== */
.staircase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: start;
}

.staircase-col {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.staircase-col--2 {
  padding-top: 154px;
}

.staircase-col--3 {
  padding-top: 308px;
}

.process-step {
  border-top: 1px solid var(--border-light);
  padding-top: 28px;
}

.process-step__num {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.44vw, 64px);
  font-weight: 500;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.process-step__title {
  margin-bottom: 14px;
}

.process-step__desc {
  color: var(--text-secondary);
}

/* ==========================================================================
   NOTABLE PROJECTS — 3-COLUMN GRID
   ========================================================================== */
.notable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-card__media {
  height: 300px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: var(--bg-stone);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.42s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.project-card:hover .project-card__media img,
.project-card:active .project-card__media img {
  transform: scale(1.1);
}

.project-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.project-card__title {
  margin-bottom: 12px;
  transition: opacity 0.25s ease;
}

.project-card:hover .project-card__title {
  opacity: 0.72;
}

.project-card__excerpt {
  color: var(--text-secondary);
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.cta-split__title {
  margin-bottom: 24px;
}

.cta-split__desc {
  max-width: 480px;
  margin-bottom: 32px;
}

.cta-split__media {
  height: 467px;
  overflow: hidden;
  will-change: transform;
  transform: perspective(1200px) rotateX(10deg);
  transform-origin: center center;
}

.cta-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-expo);
}

.cta-split:hover .cta-split__media img {
  transform: scale(1.05);
}

/* ==========================================================================
   ACCORDIONS (1:1 Framer Border Thickening + -180deg Arrow + Stone Fill)
   ========================================================================== */
.accordion {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  position: relative;
  border-top: 1px solid var(--border-light);
  transition: background-color 0.35s var(--ease-out-expo), border-color 0.3s ease;
}

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

/* 1px -> 4px top border accent bar (no layout shift!) */
.accordion-item::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--text-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease-out-expo);
}

.accordion-item:hover::before,
.accordion-item.is-open::before {
  transform: scaleY(1);
}

/* Services page accordion: stone fill on open */
.accordion--services .accordion-item.is-open {
  background-color: var(--bg-stone);
  padding-left: 24px;
  padding-right: 24px;
}

/* About Why-Choose-Us accordion: 1px -> 2px bottom border + muted -> dark text */
.accordion--why .accordion-item {
  border-top: none;
  border-bottom: 1px solid var(--border-light);
}

.accordion--why .accordion-item::before {
  top: auto;
  bottom: -1px;
  height: 2px;
  transform-origin: bottom;
}

.accordion--why .accordion-trigger {
  color: var(--text-muted);
}

.accordion--why .accordion-item:hover .accordion-trigger,
.accordion--why .accordion-item.is-open .accordion-trigger {
  color: var(--text-primary);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
  text-align: left;
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.accordion-trigger__left {
  display: flex;
  align-items: baseline;
  gap: 28px;
}

.accordion-num {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-muted);
  min-width: 28px;
}

/* 1px bordered arrow button rotating 0deg -> -180deg */
.accordion-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-primary);
  transform: rotate(0deg);
  transition: transform 0.45s var(--ease-out-expo), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.accordion-item:hover .accordion-arrow,
.accordion-item.is-open .accordion-arrow {
  transform: rotate(-180deg);
}

.accordion-item.is-open .accordion-arrow {
  background-color: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text-white);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out-expo);
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel__inner {
  overflow: hidden;
}

.accordion-panel__content {
  padding: 0 0 32px 56px;
  max-width: 820px;
  color: var(--text-secondary);
}

.accordion-panel__media-wrap {
  padding: 0 0 36px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.accordion-panel__media-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* ==========================================================================
   NEWSLETTER (#e8e3df)
   ========================================================================== */
.newsletter-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: end;
}

.newsletter-desc {
  margin-top: 20px;
  max-width: 480px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 16px;
}

.input-line {
  width: 100%;
  height: 54px;
  padding: 0 4px;
  border-bottom: 1px solid var(--border-strong);
  font-size: 16px;
  color: var(--text-primary);
  background: transparent;
  transition: border-color 0.25s ease;
}

.input-line::placeholder {
  color: var(--text-muted);
}

.input-line:focus {
  border-bottom-color: var(--text-primary);
}

.input-line.is-error {
  border-bottom-color: var(--error);
  background-color: var(--error-bg);
}

.form-feedback {
  margin-top: 12px;
  font-size: 14px;
  min-height: 21px;
}

.form-feedback--error { color: var(--error); }
.form-feedback--success { color: var(--text-primary); font-weight: 500; }

/* ==========================================================================
   FOOTER (#202020)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 88px 0 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 80px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-logo {
  display: inline-flex;
  color: var(--text-white);
}

.footer-logo svg {
  height: 30px;
  width: auto;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-dark);
  color: var(--bg-stone);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social-link:hover,
.social-link:active {
  background-color: var(--text-muted);
  color: var(--bg-dark);
  border-color: var(--text-muted);
}

.footer-quick-title {
  color: var(--text-white);
  margin-bottom: 18px;
}

.footer-links-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 160px));
  gap: 12px 32px;
}

.footer-links-cols a {
  display: inline-block;
  font-size: 16px;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-links-cols a:hover,
.footer-links-cols a:active {
  color: var(--text-white);
  border-bottom-color: var(--text-white);
}

.footer-copy {
  font-size: 14px;
  color: var(--text-muted);
  padding-top: 12px;
}

.footer-contact__heading {
  color: var(--bg-stone);
  margin-bottom: 36px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96px;
  padding: 16px 0;
  border-top: 1px solid var(--border-dark);
  transition: border-color 0.3s ease, padding-left 0.35s var(--ease-out-expo);
}

.footer-contact-row:last-child {
  border-bottom: 1px solid var(--border-dark);
}

.footer-contact-row__label {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-contact-row__val {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-contact-row:hover {
  border-top-color: var(--text-white);
  border-bottom-color: var(--text-white);
  padding-left: 8px;
}

.footer-contact-row:hover .footer-contact-row__val {
  color: var(--text-white);
}

/* ==========================================================================
   SUBPAGES SHARED & SPECIFIC LAYOUTS
   ========================================================================== */
.page-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: var(--bg-primary);
}

.page-hero__split {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.page-hero__banner {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.page-hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Page */
.services-overview-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.4fr;
  gap: 32px;
  align-items: baseline;
  padding: 32px 0;
  border-top: 1px solid var(--border-light);
}

.services-overview-row:last-child {
  border-bottom: 1px solid var(--border-light);
}

.why-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
}

.why-split__media {
  height: 560px;
  overflow: hidden;
}

.why-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
}

.about-stats-media {
  height: 440px;
  overflow: hidden;
}

.about-stats-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.team-card__media {
  height: 420px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: var(--bg-stone);
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease-out-expo);
}

.team-card:hover .team-card__media img {
  transform: scale(1.04);
}

.team-card__name {
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 16px;
  color: var(--text-muted);
}

/* Services Page Hero */
.services-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
}

.services-hero-images {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  margin-top: 56px;
}

.services-hero-images img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Projects Filter */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  height: 42px;
  padding: 0 22px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  font-size: 15px;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  background-color: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text-white);
}

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

/* Project Detail Page */
.detail-hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: end;
}

.detail-meta-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.detail-meta-list dt {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-meta-list dd {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}

.detail-hero-media {
  height: 500px;
  overflow: hidden;
}

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

.detail-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.detail-bento__left {
  height: 610px;
  overflow: hidden;
}

.detail-bento__left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-bento__right {
  display: grid;
  grid-template-rows: 250px 340px;
  gap: 20px;
}

.detail-bento__right-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.detail-bento__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specs-table {
  display: flex;
  flex-direction: column;
}

.specs-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--border-light);
}

.specs-row:last-child {
  border-bottom: 1px solid var(--border-light);
}

.detail-testimonial {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.detail-testimonial__avatar {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.detail-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 48px;
  margin-top: 64px;
  border-top: 1px solid var(--border-light);
}

/* Pricing Page */
.pricing-hero-images {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 20px;
  margin-top: 56px;
}

.pricing-hero-images img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 32px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-primary);
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out-expo);
}

.pricing-card:hover {
  border-color: var(--text-primary);
  transform: translateY(-4px);
}

.pricing-card--featured {
  background-color: var(--bg-dark);
  color: var(--text-white);
  border-color: var(--bg-dark);
}

.pricing-card--featured .h4,
.pricing-card--featured .h3 {
  color: var(--text-white);
}

.pricing-card--featured .pricing-card__cat,
.pricing-card--featured .pricing-card__features li {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-card--featured .btn-pill {
  background-color: var(--bg-stone);
  color: var(--bg-dark);
}

.pricing-card--featured .btn-pill:hover {
  background-color: var(--text-white);
}

.pricing-card__cat {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-card__price {
  margin: 24px 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-card--featured .pricing-card__price {
  border-bottom-color: var(--border-dark);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pricing-card__features li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-card__features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.textarea-line {
  width: 100%;
  min-height: 140px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-strong);
  resize: vertical;
  font-size: 16px;
  color: var(--text-primary);
  background: transparent;
}

.textarea-line:focus {
  border-bottom-color: var(--text-primary);
}

.textarea-line.is-error {
  border-bottom-color: var(--error);
  background-color: var(--error-bg);
}

/* 404 Page */
.not-found {
  min-height: 78vh;
  padding: 150px 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.display-404 {
  font-family: var(--font-display);
  font-size: clamp(110px, 15.2vw, 220px);
  font-weight: 500;
  line-height: 0.95;
  color: var(--text-primary);
  margin: 16px 0 24px;
}

.not-found__copy {
  max-width: 520px;
  margin-bottom: 40px;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (1:1 Framer Left-Slide Headings + Smooth Fade-Up)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Signature Framer Section Title Horizontal Slide (-40px -> 0) */
.reveal-left {
  opacity: 0.001;
  transform: translateX(-40px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .hero-rise,
  .hero-drop,
  .char-letter {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
  .cta-split__media {
    transform: none !important;
  }
  .marquee__track {
    animation: none;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet <= 1080px, Mobile <= 768px)
   ========================================================================== */
@media (max-width: 1080px) {
  .services-switcher {
    grid-template-columns: 1fr 420px;
    gap: 40px;
  }
  .services-showcase {
    height: 560px;
  }
  .hero-home__meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 28px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .detail-hero-grid,
  .detail-bento,
  .why-split,
  .about-stats-split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .detail-bento__left {
    height: 420px;
  }
}

@media (max-width: 820px) {
  :root {
    --pad-x: 20px;
    --pad-y: 60px;
  }

  .site-header {
    height: 77px;
  }

  .site-header__inner {
    padding: 20px var(--pad-x);
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-home {
    padding-top: 96px;
  }

  .hero-home__top {
    margin-bottom: 40px;
  }

  .hero-home__media {
    height: 440px;
  }

  .hero-home__overlay {
    padding: 24px 20px;
  }

  .section-header,
  .section-header--lg {
    margin-bottom: 36px;
  }

  .about-split,
  .services-switcher,
  .featured-grid,
  .notable-grid,
  .cta-split,
  .newsletter-grid,
  .page-hero__split,
  .services-hero-grid,
  .services-hero-images,
  .pricing-hero-images,
  .projects-grid,
  .team-grid,
  .services-overview-row,
  .accordion-panel__media-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .featured-card {
    height: 350px;
  }

  .services-showcase {
    height: 400px;
  }

  .stats-row-top,
  .stats-row-bottom {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 28px;
  }

  .staircase-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .staircase-col {
    gap: 36px;
  }

  .staircase-col--2,
  .staircase-col--3 {
    padding-top: 0;
  }

  .testimonials-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .specs-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-testimonial {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-testimonial__avatar {
    width: 120px;
    height: 120px;
  }

  .detail-bento__right {
    grid-template-rows: auto auto;
  }

  .detail-bento__right-top {
    grid-template-columns: 1fr;
  }

  .detail-bento__right img {
    height: 260px;
  }

  .accordion-panel__content,
  .accordion-panel__media-wrap {
    padding-left: 0;
  }

  .page-hero {
    padding-top: 104px;
    padding-bottom: 48px;
  }

  .page-hero__banner {
    height: 320px;
  }
}
