/* =========================================
   INTUITION WEB STUDIO - LUXURY DESIGN SYSTEM
   ========================================= */
:root {
  /* Colors — Refined warm neutrals with gold accent */
  --bg-color: #EDE8DD;
  --bg-alt: #E3DDD0;
  --bg-deep: #1A1917;
  --text-primary: #1C1B18;
  --text-secondary: #55534D;
  --text-muted: #757165;
  --border-color: #D2CDC3;
  --border-subtle: rgba(28, 27, 24, 0.08);
  --accent-color: #9A7B54;
  --accent-light: #B89C71;
  --accent-gradient: linear-gradient(135deg, #9A7B54 0%, #C4A576 50%, #9A7B54 100%);
  --gold-shimmer: linear-gradient(90deg, #9A7B54, #CBAE82, #9A7B54, #CBAE82, #9A7B54);
  --cream: #F8F5EF;
  --cream-90: rgba(248, 245, 239, 0.92);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  /* Layout */
  --container-width: 1440px;
  --container-padding: 1.5rem;
  --container-padding-md: 4rem;
  --section-spacing: 4rem;
  --section-spacing-md: 5rem;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

::selection {
  background-color: var(--accent-color);
  color: var(--cream);
}

img, picture, video {
  max-width: 100%;
  display: block;
}

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

a:hover {
  opacity: 0.7;
}




/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.t-display {
  font-size: clamp(3.5rem, 9vw, 9rem);
  letter-spacing: -0.04em;
  font-weight: 300;
  line-height: 0.95;
}

.t-h1 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.t-h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.t-h3 {
  font-size: clamp(1.25rem, 1.75vw, 1.75rem);
  font-weight: 400;
}

.t-body-lg {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
}

.t-body {
  font-size: 1rem;
  line-height: 1.7;
}

.t-meta {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 400;
}

.t-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.text-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--container-padding-md);
  }
}

.section {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--section-spacing-md);
    padding-bottom: var(--section-spacing-md);
  }
}

.section-sm {
  padding-top: calc(var(--section-spacing) / 2);
  padding-bottom: calc(var(--section-spacing) / 2);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 { grid-template-columns: 1fr; }
.grid-cols-3 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-cols-2 { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
  .grid-cols-3 { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}

/* =========================================
   HEADER
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.25rem 0;
  z-index: 200;
  background-color: transparent;
  color: var(--cream);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.6s var(--ease-out-expo);
}

.header.scrolled, .header.menu-open {
  padding: 1.5rem 0;
  background-color: var(--cream-90);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  text-shadow: none;
}

.header.header--light {
  color: var(--text-primary);
  text-shadow: none;
}

.header.menu-open {
  background-color: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header.header--hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.375rem;
  letter-spacing: 0.04em;
  color: inherit;
  transition: opacity 0.4s var(--ease-out-expo);
}

.logo-img {
  height: 112px;
  width: auto;
  object-fit: contain;
  margin-left: -1.25rem;
  margin-top: -45px;
  margin-bottom: -45px;
  /* Brings the native bright gold down to a richer, darker gold tone */
  filter: brightness(0.75) contrast(1.1) saturate(1.2);
  transition: filter 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

/* Dynamic contrasting color for the logo image when header background turns cream */
.header.scrolled .logo-img,
.header.header--light .logo-img,
.header.menu-open .logo-img {
  /* Slightly darker on light background for perfect WCAG contrast */
  filter: brightness(0.6) contrast(1.2) saturate(1.2);
}

@media (max-width: 768px) {
  .logo {
    font-size: 1.125rem;
  }
  .logo-img {
    height: 80px;
    margin-top: -30px;
    margin-bottom: -30px;
    margin-left: -0.875rem;
  }
}

/* Menu Toggle */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 36px;
  height: 36px;
  z-index: 200;
  position: relative;
  color: inherit;
}

.menu-toggle .line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.6s ease;
  transform-origin: center;
}

.menu-toggle.active .line-1 {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active .line-2 {
  transform: translateY(-4px) rotate(-45deg);
}

/* =========================================
   FULLSCREEN MENU OVERLAY
   ========================================= */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--cream);
  z-index: 150;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.menu-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.menu-overlay-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 70vh;
}

.overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  margin-bottom: auto;
}

.overlay-link {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  transition: all 0.5s var(--ease-out-expo);
  display: inline-block;
}

.overlay-link:hover {
  opacity: 1;
  color: var(--accent-color);
  transform: translateX(1rem);
}

.menu-overlay .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out-expo);
}

.menu-overlay.is-active .fade-up {
  opacity: 1;
  transform: translateY(0);
}

.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 400;
  background-color: var(--text-primary);
  color: var(--cream);
  border: 1px solid var(--text-primary);
  cursor: pointer;
  transition: all 0.5s var(--ease-out-expo);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: -1;
}

.btn:hover {
  opacity: 1;
  border-color: var(--accent-color);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn span,
.btn {
  position: relative;
  z-index: 1;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
}

.btn-outline:hover {
  color: var(--cream);
  border-color: var(--accent-color);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: -1;
  will-change: transform;
  backface-visibility: hidden;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 8, 0.65) 0%,
    rgba(10, 10, 8, 0.35) 35%,
    rgba(10, 10, 8, 0.45) 65%,
    rgba(10, 10, 8, 0.85) 100%
  );
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  will-change: transform;
}

.hero .max-w-md {
  max-width: 90vw;
  position: relative;
  z-index: 2;
  color: var(--cream);
  width: 100%;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  color: rgba(248, 245, 239, 0.75);
  font-size: clamp(0.9375rem, 1.25vw, 1.125rem);
  max-width: 36rem;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.7;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(248, 245, 239, 0.5);
}

.hero-scroll-indicator .scroll-text {
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 400;
}

.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(248, 245, 239, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-scroll-indicator .scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* =========================================
   HORIZONTAL MARQUEE
   ========================================= */
.marquee-section {
  padding: 3rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  white-space: nowrap;
  padding: 0 2rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  opacity: 0.15;
  transition: opacity 0.4s ease;
}

.marquee-item:hover {
  opacity: 0.5;
}

.marquee-divider {
  font-size: clamp(1.5rem, 3vw, 3rem);
  padding: 0 1.5rem;
  color: var(--accent-color);
  opacity: 0.4;
  display: flex;
  align-items: center;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================
   PORTFOLIO GRID
   ========================================= */
.portfolio-card {
  display: block;
  position: relative;
}

.portfolio-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--bg-alt);
  margin-bottom: 1.5rem;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
  will-change: transform;
}

.portfolio-card:hover .portfolio-image {
  transform: scale(1.05);
}

.portfolio-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.portfolio-card:hover .portfolio-image-wrapper::after {
  opacity: 1;
}

.portfolio-title {
  font-size: 1.375rem;
  margin-bottom: 0.375rem;
  transition: color 0.4s ease;
}

.portfolio-card:hover .portfolio-title {
  color: var(--accent-color);
}

.portfolio-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =========================================
   PROCESS SECTION
   ========================================= */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    grid-auto-rows: 1fr;
  }
}

.process-item {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--text-primary);
  position: relative;
}

@media (min-width: 768px) {
  .process-item {
    padding: 2.5rem 2rem;
    border-top: none;
    border-left: 1px solid var(--text-primary);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }
  .process-item:first-child {
    border-left: none;
    padding-left: 0;
  }
}

.process-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3rem, 5vw, 5rem);
  color: var(--accent-color);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 2rem;
  transition: opacity 0.5s ease;
}

.process-item:hover .process-num {
  opacity: 0.8;
}

.process-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.process-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  flex-grow: 1;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  position: relative;
  padding: 10rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(166, 138, 100, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand .logo {
  display: block;
  margin-bottom: 1.25rem;
}

.footer-brand .logo-img {
  display: inline-block;
  margin-left: -1.25rem;
  height: 112px;
  width: auto;
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .footer-brand .logo-img {
    height: 80px;
    margin-left: -0.875rem;
  }
}

.footer-brand p {
  max-width: 280px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  gap: 5rem;
}

.footer-nav h4 {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--accent-color);
  opacity: 1;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom-accent {
  width: 40px;
  height: 1px;
  background: var(--accent-gradient);
  display: none;
}

@media (min-width: 768px) {
  .footer-bottom-accent {
    display: block;
  }
}

/* =========================================
   UTILITIES
   ========================================= */
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--text-primary); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 1.5rem; }
.mb-16 { margin-bottom: 3rem; }
.mb-24 { margin-bottom: 4.5rem; }
.mt-4 { margin-top: 0.75rem; }
.mt-8 { margin-top: 1.5rem; }
.mt-16 { margin-top: 3rem; }
.pt-8 { padding-top: 1.5rem; }
.w-full { width: 100%; }
.max-w-md { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.hidden { display: none; }

/* =========================================
   TYPOGRAPHY — DISPLAY SCALE (shared across pages)
   ========================================= */
.t-statement-xl {
  font-size: clamp(2.5rem, 5.5vw, 6rem);
  line-height: 1.05;
}

.t-statement-lg {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.08;
}

.t-statement-md {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
}

.t-lead-serif {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.t-accent { color: var(--accent-color); }
.t-accent-light { color: var(--accent-light); }

.text-balance { text-wrap: balance; }

/* =========================================
   LAYOUT — SECTION & CONTENT WIDTH
   ========================================= */
.section--flush-b { padding-bottom: 0; }
.section--flush-t { padding-top: 0; }
.section--spacious-b { padding-bottom: 6rem; }

.max-w-36ch { max-width: 36rem; }
.max-w-40ch { max-width: 40rem; }
.max-w-420 { max-width: 420px; }
.max-w-480 { max-width: 480px; }
.max-w-520 { max-width: 520px; }
.max-w-720 { max-width: 720px; }
.max-w-1200 { max-width: 1200px; }

/* =========================================
   MENU OVERLAY — FOOTER LINE
   ========================================= */
.overlay-kicker {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.overlay-email {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* =========================================
   PAGE SHELLS
   ========================================= */
.main--below-header {
  padding-top: 10rem;
  min-height: 80vh;
}

.hero--compact {
  min-height: 70vh;
}

.hero__inner--center {
  text-align: center;
}

.hero-eyebrow {
  color: rgba(248, 245, 239, 0.65);
  letter-spacing: 0.2em;
}

/* =========================================
   GRIDS — editorial spacing
   ========================================= */
.grid--split-wide {
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.grid--split-form {
  gap: clamp(2.5rem, 6vw, 6rem);
}

.grid--case-meta {
  gap: clamp(2.5rem, 6vw, 6rem);
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.form-label-optional {
  opacity: 0.45;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 300;
}

.contact-mailto {
  display: inline-block;
  font-weight: 400;
}

.contact-visual {
  margin-top: 2.5rem;
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: min(72vh, 640px);
  background-color: var(--bg-alt);
  border: 1px solid var(--border-subtle);
}

.contact-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .contact-visual {
    margin-top: 2rem;
    max-height: none;
    aspect-ratio: 16 / 11;
  }
}

.t-meta--accent {
  display: block;
  color: var(--accent-color);
}

/* =========================================
   PORTFOLIO INDEX
   ========================================= */
.portfolio-title--lg {
  font-size: 1.5rem;
}

.portfolio-empty {
  padding: 6rem 0;
  width: 100%;
  text-align: center;
}

.portfolio-empty .t-h3 {
  color: var(--text-muted);
  font-style: italic;
}

.portfolio-empty .t-meta {
  color: var(--text-muted);
}

.cta-section--tight {
  padding-top: 6rem;
}

/* =========================================
   SERVICES — DELIVERABLES LIST
   ========================================= */
.deliverables-list {
  list-style: none;
  border-top: 1px solid var(--border-color);
}

.deliverables-list .value-item {
  border-bottom-color: var(--border-color);
}

.deliverables-list .value-num {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* =========================================
   CASE STUDY — PROJECT META
   ========================================= */
.project-meta--padded {
  padding-top: 2rem;
}

.meta-field {
  margin-bottom: 2.5rem;
}

.meta-field:last-child {
  margin-bottom: 0;
}

.meta-field .t-meta {
  color: var(--accent-color);
}

.meta-field .meta-value {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.75;
}

.portrait-tall {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cta-section--case {
  padding: 6rem 0;
}

.case-cta-kicker {
  color: var(--text-muted);
}

/* =========================================
   IN-PAGE CTA COPY (on cream / light bg)
   ========================================= */
.cta-subtext {
  color: var(--text-secondary);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.9375rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.referral-lead {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   FOCUS — keyboard visibility
   ========================================= */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

.menu-toggle:focus-visible {
  outline-offset: 4px;
}

/* Skip link — keyboard & screen reader */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--text-primary);
  color: var(--cream);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transform: translateY(-120%);
  transition: transform 0.35s var(--ease-out-expo);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Contact — post-submit confirmation */
.form-success-banner {
  max-width: 42rem;
  margin: 0 auto 3rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-color);
  background: var(--cream);
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.6;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.form-success-banner:focus {
  outline: none;
  border-color: var(--accent-color);
}




/* =========================================
   ATMOSPHERE OVERLAY (subtle client photography, not procedural noise)
   ========================================= */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.055;
  background-image: url("../images/phase4-client/hero-rustic-living-fireplace.png");
  background-size: cover;
  background-position: center;
  filter: blur(80px) saturate(0.9);
  transform: scale(1.15);
}

/* =========================================
   LENIS SCROLL OVERRIDES
   ========================================= */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-scroll-container] {
  scroll-behavior: auto !important;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* =========================================
   SPLIT TEXT ANIMATION BASE
   ========================================= */
.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotate(5deg);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.split-text.is-visible .char {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* =========================================
   CLIENT OUTCOMES (homepage)
   ========================================= */
.client-outcomes {
  background: linear-gradient(180deg, rgba(227, 221, 208, 0.45) 0%, transparent 100%);
  border-top: 1px solid var(--border-subtle);
}

/* =========================================
   PAGE SPECIFIC: SERVICES
   ========================================= */
.pricing-card {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0;
  background: transparent;
  position: relative;
}

.pricing-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gradient);
  transition: width 0.8s var(--ease-out-expo);
}

.pricing-card:hover::after {
  width: 100%;
}

.referral-box {
  background-color: transparent;
  color: var(--text-primary);
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

/* =========================================
   PAGE SPECIFIC: ABOUT
   ========================================= */
.values-list {
  list-style: none;
  border-top: 1px solid var(--text-primary);
}

.value-item {
  padding: 4rem 0;
  border-bottom: 1px solid var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4rem;
  transition: background-color 0.5s var(--ease-out-expo);
}

.value-item:hover {
  background-color: rgba(166, 138, 100, 0.03);
}

.value-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3rem, 6vw, 6rem);
  color: var(--accent-color);
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.value-item:hover .value-num {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .value-item {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

/* =========================================
   PAGE SPECIFIC: CONTACT
   ========================================= */
.form-group {
  margin-bottom: 3rem;
}

.form-label {
  display: block;
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 400;
}

.form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 0 0 1rem 0;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--text-primary);
  transition: border-color 0.5s var(--ease-out-expo);
}

.form-control:focus {
  outline: none;
  border-bottom-color: var(--accent-color);
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.25;
  font-style: italic;
}

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

.contact-info {
  padding-bottom: 0;
  margin-bottom: 2.5rem;
}

.contact-info h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  line-height: 1.4;
}

/* =========================================
   PAGE SPECIFIC: PORTFOLIO
   ========================================= */
.filter-nav {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.filter-btn:hover, .filter-btn.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-color);
}

.portfolio-card.hidden {
  display: none;
}

/* =========================================
   PAGE SPECIFIC: PORTFOLIO DETAIL
   ========================================= */
.screenshot-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.screenshot-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  transition: transform 0.6s var(--ease-out-expo);
}

.screenshot-img:hover {
  transform: scale(1.01);
}

.project-meta {
  margin-bottom: 2rem;
}

.project-meta span {
  display: block;
  margin-bottom: 0.5rem;
}

/* =========================================
   RESPONSIVE REFINEMENTS
   ========================================= */
@media (max-width: 768px) {
  .hero-scroll-indicator {
    bottom: 1.5rem;
  }

  .hero-scroll-indicator .scroll-line {
    height: 28px;
  }

  .marquee-item {
    font-size: 2rem;
    padding: 0 1rem;
  }

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

  .cta-section {
    padding: 6rem 0;
  }

  .process-item {
    padding: 2rem 0;
  }
}
